|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ObjectDao
| Method Summary | |
|---|---|
List |
findAll()
Find all objects currently persisted of a particular type. |
List |
findAllSorted(String sortField)
Find all objects currently persisted of a particular type and sort results by named property. |
List |
findAllSorted(String sortField,
boolean cacheable,
int offset,
int maxResultCount)
Find all objects currently persisted of a particular type and sort results by named property. |
Class |
getPersistentClass()
|
void |
refresh(com.atlassian.core.bean.EntityObject objectToRrfresh)
Refreshes the object again with the fresh data from db. |
void |
remove(com.atlassian.core.bean.EntityObject object)
Remove object from persistence. |
void |
replicate(Object objectToReplicate)
Replicate the object. |
void |
save(com.atlassian.core.bean.EntityObject objectToSave)
|
void |
saveRaw(com.atlassian.core.bean.EntityObject objectToSave)
saves the object. |
| Method Detail |
|---|
void remove(com.atlassian.core.bean.EntityObject object)
void refresh(com.atlassian.core.bean.EntityObject objectToRrfresh)
void replicate(Object objectToReplicate)
List findAll()
List findAllSorted(String sortField)
sortField - the name of the property to be sorted on. This should be null if no sorting is required.
List findAllSorted(String sortField,
boolean cacheable,
int offset,
int maxResultCount)
sortField - the name of the property to be sorted on. This should be null if no sorting is required.cacheable - control whether the results should be cachedoffset - the index of the first result to be returnedmaxResultCount - the maximum number of results required. Use -1 to specify no limit.void save(com.atlassian.core.bean.EntityObject objectToSave)
Class getPersistentClass()
void saveRaw(com.atlassian.core.bean.EntityObject objectToSave)
objectToSave -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||