|
||||||||||
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 | ||
---|---|---|
List |
findAllPersistentObjects()
Finds all persistent objects. |
|
List<com.atlassian.bonnie.Handle> |
findAllPersistentObjectsHandles()
Finds handles for all persistent objects. |
|
Object |
findByHandle(com.atlassian.bonnie.Handle handle)
Find a persistent object by its handle. |
|
List |
findByIdsAndClassName(List<Long> ids,
String className)
Find a list of objects from the same persistent class. |
|
Object |
getByIdAndType(long id,
Class type)
Find a persistent object by its id and type. |
|
|
removeAllPersistentObjectsByType(Class<T> type)
Remove all of the persistent objects of the specified type |
Method Detail |
---|
Object findByHandle(com.atlassian.bonnie.Handle handle)
handle
- the handle
Object getByIdAndType(long id, Class type)
List findByIdsAndClassName(List<Long> ids, String className)
className
- the persistent class's fully qualified class name.List<com.atlassian.bonnie.Handle> findAllPersistentObjectsHandles()
List findAllPersistentObjects()
<T> int removeAllPersistentObjectsByType(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 |