1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 package ca.pjer.cm.api.store;
19
20 import java.io.Serializable;
21 import java.util.List;
22
23 /***
24 * @TODO comment me.<br />
25 * <br />
26 * $Id: StoreService.java,v 1.2 2004/05/19 03:29:16 pjer Exp $<br />
27 * <br />
28 * $RCSfile: StoreService.java,v $<br />
29 * $Revision: 1.2 $<br />
30 * $Author: pjer $<br />
31 * $Date: 2004/05/19 03:29:16 $<br />
32 */
33 public interface StoreService {
34
35 Object create(Object object)
36 throws StoreServiceSystemException, DuplicateObjectException;
37
38 Object update(Object object)
39 throws StoreServiceSystemException, ObjectNotFoundException;
40
41 Object get(Class clazz, Serializable id)
42 throws StoreServiceSystemException, ObjectNotFoundException;
43
44 List list(Class clazz)
45 throws StoreServiceSystemException;
46
47 List listFromTemplate(Object template)
48 throws StoreServiceSystemException;
49
50 void remove(Object object)
51 throws StoreServiceSystemException, ObjectNotFoundException;
52 }