Blame view

src/main/java/fr/plil/sio/examen/services/AnimalService.java 431 Bytes
589e1ad3   jcartign   First version
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
  package fr.plil.sio.examen.services;

  

  import fr.plil.sio.examen.api.Animal;

  import fr.plil.sio.examen.api.Owner;

  

  public interface AnimalService {

      

      /**

       * Create an animal attached to an owner

       */

      Animal create(String name, Owner owner);

      

      /**

       * Delete an animal and ALL comment associated.

       * 

       * TODO: complete this method.

       */    

      void delete(Animal animal);

  }