public interface AnyTypeDao
Modifier and Type | Method and Description |
---|---|
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.
|
<T> int |
removeAllPersistentObjectsByType(Class<T> type)
Remove all of the persistent objects of the specified type
|
Object findByHandle(com.atlassian.bonnie.Handle handle)
handle
- the handleObject 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 removeCopyright © 2003–2020 Atlassian. All rights reserved.