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