|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UniversalManager
Business Facade interface.
Method Summary | |
---|---|
java.lang.Object |
get(java.lang.Class<?> clazz,
java.io.Serializable id)
Generic method to get an object based on class and identifier. |
java.util.List<?> |
getAll(java.lang.Class<?> clazz)
Generic method used to get a all objects of a particular type. |
void |
remove(java.lang.Class<?> clazz,
java.io.Serializable id)
Generic method to delete an object based on class and id |
java.lang.Object |
save(java.lang.Object o)
Generic method to save an object. |
Method Detail |
---|
java.util.List<?> getAll(java.lang.Class<?> clazz)
clazz
- the type of objects
java.lang.Object get(java.lang.Class<?> clazz, java.io.Serializable id)
clazz
- model class to lookupid
- the identifier (primary key) of the class
ObjectRetrievalFailureException
java.lang.Object save(java.lang.Object o)
o
- the object to save
void remove(java.lang.Class<?> clazz, java.io.Serializable id)
clazz
- model class to lookupid
- the identifier of the class
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |