|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AnyTypeDao
DAO for loading persistent objects of various types
Method Summary | ||
---|---|---|
java.util.List |
findAllPersistentObjects()
Finds all persistent objects. |
|
java.util.List<com.atlassian.bonnie.Handle> |
findAllPersistentObjectsHandles()
Finds handles for all persistent objects. |
|
java.lang.Object |
findByHandle(com.atlassian.bonnie.Handle handle)
Find a persistent object by its handle. |
|
java.util.List |
findByIdsAndClassName(java.util.List<java.lang.Long> ids,
java.lang.String className)
Find a list of objects from the same persistent class. |
|
java.lang.Object |
getByIdAndType(long id,
java.lang.Class type)
Find a persistent object by its id and type. |
|
|
removeAllPersistentObjectsByType(java.lang.Class<T> type)
Remove all of the persistent objects of the specified type |
Method Detail |
---|
java.lang.Object findByHandle(com.atlassian.bonnie.Handle handle)
handle
- the handle
java.lang.Object getByIdAndType(long id, java.lang.Class type)
java.util.List findByIdsAndClassName(java.util.List<java.lang.Long> ids, java.lang.String className)
className
- the persistent class's fully qualified class name.java.util.List<com.atlassian.bonnie.Handle> findAllPersistentObjectsHandles()
java.util.List findAllPersistentObjects()
<T> int removeAllPersistentObjectsByType(java.lang.Class<T> type)
type
- the class of the persistent objects to remove
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |