ca.pjer.cm.api.store
Interface StoreService
- public interface StoreService
Method Summary |
java.lang.Object |
create(java.lang.Object object)
|
java.lang.Object |
get(java.lang.Class clazz,
java.io.Serializable id)
|
java.util.List |
list(java.lang.Class clazz)
|
java.util.List |
listFromTemplate(java.lang.Object template)
|
void |
remove(java.lang.Object object)
|
java.lang.Object |
update(java.lang.Object object)
|
create
public java.lang.Object create(java.lang.Object object)
throws StoreServiceSystemException,
DuplicateObjectException
- Throws:
StoreServiceSystemException
DuplicateObjectException
update
public java.lang.Object update(java.lang.Object object)
throws StoreServiceSystemException,
ObjectNotFoundException
- Throws:
StoreServiceSystemException
ObjectNotFoundException
get
public java.lang.Object get(java.lang.Class clazz,
java.io.Serializable id)
throws StoreServiceSystemException,
ObjectNotFoundException
- Throws:
StoreServiceSystemException
ObjectNotFoundException
list
public java.util.List list(java.lang.Class clazz)
throws StoreServiceSystemException
- Throws:
StoreServiceSystemException
listFromTemplate
public java.util.List listFromTemplate(java.lang.Object template)
throws StoreServiceSystemException
- Throws:
StoreServiceSystemException
remove
public void remove(java.lang.Object object)
throws StoreServiceSystemException,
ObjectNotFoundException
- Throws:
StoreServiceSystemException
ObjectNotFoundException
Copyright © 2004 PjEr.ca. All Rights Reserved.