Rev 457 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
90 | jmachado | 1 | package pt.estgp.estgweb.services.common; |
2 | |||
3 | import pt.estgp.estgweb.domain.UserSession; |
||
163 | jmachado | 4 | import pt.estgp.estgweb.domain.DomainObject; |
90 | jmachado | 5 | |
156 | jmachado | 6 | import java.util.List; |
7 | |||
90 | jmachado | 8 | /** |
9 | * @author Jorge Machado |
||
10 | * @date 24/Abr/2008 |
||
11 | * @time 14:59:16 |
||
12 | * @see pt.estgp.estgweb.services.common |
||
13 | */ |
||
14 | public interface IModuleCommonServices |
||
15 | { |
||
16 | |||
17 | public int countSearch(1.5.0/docs/api/java/lang/String.html">String search, SearchTypeEnum searchType, UserSession userSession); |
||
18 | public ISearchResults search(1.5.0/docs/api/java/lang/String.html">String search, SearchTypeEnum searchType, int page, int maxResults, UserSession userSession); |
||
165 | jmachado | 19 | public ISearchResults search(1.5.0/docs/api/java/lang/String.html">String from, 1.5.0/docs/api/java/lang/String.html">String search, SearchTypeEnum searchType, int page, int maxResults, UserSession userSession); |
90 | jmachado | 20 | |
457 | jmachado | 21 | public List<ISearchResults> searchList(1.5.0/docs/api/java/lang/String.html">String moduleInternalKey, 1.5.0/docs/api/java/lang/String.html">String search, SearchTypeEnum searchType, int page, int maxResults, UserSession userSession); |
22 | public List<ISearchResults> searchList(1.5.0/docs/api/java/lang/String.html">String moduleInternalKey, 1.5.0/docs/api/java/lang/String.html">String from, 1.5.0/docs/api/java/lang/String.html">String search, SearchTypeEnum searchType, int page, int maxResults, UserSession userSession); |
||
23 | |||
90 | jmachado | 24 | public int countToDo(UserSession userSession); |
25 | public IToDoCat getToDo(UserSession userSession); |
||
156 | jmachado | 26 | public List<IToDo> getAllToDos(UserSession userSession); |
90 | jmachado | 27 | |
163 | jmachado | 28 | /*This method is invoked from object creation*/ |
29 | public void adviseNew(DomainObject object); |
||
30 | public void adviseUpdate(DomainObject object); |
||
31 | |||
90 | jmachado | 32 | } |