|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ObjectDao
Method Summary | |
---|---|
java.util.List |
findAll()
Find all objects currently persisted of a particular type. |
java.util.List |
findAllSorted(java.lang.String sortField)
Find all objects currently persisted of a particular type and sort results by named property. |
java.util.List |
findAllSorted(java.lang.String sortField,
boolean cacheable,
int offset,
int maxResultCount)
Find all objects currently persisted of a particular type and sort results by named property. |
java.lang.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(java.lang.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(java.lang.Object objectToReplicate)
java.util.List findAll()
java.util.List findAllSorted(java.lang.String sortField)
sortField
- the name of the property to be sorted on. This should be null if no sorting is required.java.util.List findAllSorted(java.lang.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)
java.lang.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 |