|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RiotDao
Interface that provides access to an underlying data store.
Method Summary | |
---|---|
void |
delete(Object entity,
Object parent)
Deletes the given entity. |
Class<?> |
getEntityClass()
Returns the class that is accessed by the DAO. |
int |
getListSize(Object parent,
ListParams params)
Returns the total number of entities. |
String |
getObjectId(Object entity)
Returns the id of the given entity. |
Collection<?> |
list(Object parent,
ListParams params)
Returns a list of entities. |
Object |
load(String id)
Returns the entity with the given id. |
Object |
merge(Object entity)
Re-attaches the given entity. |
void |
save(Object entity,
Object parent)
Saves the given entity. |
void |
update(Object entity)
Updates the given entity. |
Method Detail |
---|
Class<?> getEntityClass()
String getObjectId(Object entity)
load()
method.
Object load(String id) throws DataAccessException
DataAccessException
Object merge(Object entity) throws DataAccessException
DataAccessException
void update(Object entity) throws DataAccessException
DataAccessException
void save(Object entity, Object parent) throws DataAccessException
DataAccessException
void delete(Object entity, Object parent) throws DataAccessException
DataAccessException
Collection<?> list(Object parent, ListParams params) throws DataAccessException
DataAccessException
int getListSize(Object parent, ListParams params) throws DataAccessException
DataAccessException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |