View Javadoc

1   package be.dvw.administration.services.families;
2   
3   import be.dvw.administration.model.Person;
4   import be.dvw.administration.model.Family;
5   
6   import java.util.List;
7   
8   /***
9    * Created by IntelliJ IDEA.
10   * User: Toon.Timbermont
11   * Date: Jul 10, 2005
12   * Time: 6:07:25 PM
13   * To change this template use File | Settings | File Templates.
14   */
15  public interface FamilyService {
16  
17      public List getCurrent();
18  
19      public List getAllFamilies();
20  
21      public void saveFamily(Family f);
22  
23      public Person loadFamily(int id);
24  
25      public List searchFamilies(String searchString);
26  
27      public void addToFamily(Person p, Family f);
28  
29      public void removeFromFamily(Person p, Family f);
30  
31      public int getTotalNumber();
32  
33  }