public interface GenericDao
Modifier and Type | Method and Description |
---|---|
void |
deleteAll(List<? extends DomainObjectBase> objectsToDelete) |
List<Integer> |
getIdsOfReferencesToScope(com.jamasoftware.contour.api.service.delete.DomainEntityList<? extends DomainObjectBase> entityList,
Class<? extends ScopedObject> mappingClass) |
<T extends DomainObjectBase> |
getObject(Class<T> cls,
Serializable id)
Gets an object by its unique identifier.
|
DomainObjectBase |
getObjectByScopeRef(Integer scope,
Integer refId)
Gets an object by scope/ref
|
<T extends DomainObjectBase> |
getObjectsByIds(Class<T> cls,
List<Integer> ids) |
<T extends DomainObjectBase> |
remove(Class<T> cls,
Serializable id) |
<T extends DomainObjectBase> T getObject(Class<T> cls, Serializable id)
<T extends DomainObjectBase> List<T> getObjectsByIds(Class<T> cls, List<Integer> ids)
<T extends DomainObjectBase> void remove(Class<T> cls, Serializable id)
DomainObjectBase getObjectByScopeRef(Integer scope, Integer refId)
scope
- A scope integerrefId
- The referenced idList<Integer> getIdsOfReferencesToScope(com.jamasoftware.contour.api.service.delete.DomainEntityList<? extends DomainObjectBase> entityList, Class<? extends ScopedObject> mappingClass)
void deleteAll(List<? extends DomainObjectBase> objectsToDelete)
Copyright (c) 2013-2014 Jama Software, Inc. All Rights Reserved.