public interface IGenericHandler extends IAPIHandler
Modifier and Type | Method and Description |
---|---|
<T extends ITransferableEntity> |
create(Class<T> entityClass,
UserContext uc,
T... entities)
Creates the.
|
<T extends ITransferableEntity> |
create(Class<T> entityClass,
UserContext uc,
T entity)
Creates the.
|
<T extends ITransferableEntity> |
delete(Class<T> entityClass,
UserContext uc,
T... entities)
Delete.
|
<T extends ITransferableEntity> |
delete(Class<T> entityClass,
UserContext uc,
T entities)
Delete.
|
<T extends ITransferableEntity> |
deleteBy(Class<T> entityClass,
UserContext uc,
de.xima.cmn.criteria.QueryCriteriaManager qcm)
Delete by.
|
<T extends ITransferableEntity> |
deleteById(Class<T> entityClass,
UserContext uc,
Integer id)
Delete by id.
|
<T extends ITransferableEntity> |
getAll(Class<T> entityClass,
UserContext uc)
Gets the all.
|
<T extends ITransferableEntity> |
getAllBy(Class<T> entityClass,
UserContext uc,
de.xima.cmn.criteria.QueryCriteriaManager qcm)
Gets the all by.
|
<T extends ITransferableEntity> |
getBy(Class<T> entityClass,
UserContext uc,
de.xima.cmn.criteria.QueryCriteriaManager qcm)
Gets the by.
|
<T extends ITransferableEntity> |
getById(Class<T> entityClass,
UserContext uc,
Integer id)
Gets the by id.
|
<T extends ITransferableEntity> |
getById(String entityClass,
UserContext uc,
String id)
Gets the by id.
|
<T extends ITransferableEntity> |
resultTotalCount(Class<T> entityClass,
UserContext uc,
de.xima.cmn.criteria.QueryCriteriaManager qcm)
Result total count.
|
<T extends ITransferableEntity> |
update(Class<T> entityClass,
UserContext uc,
T... entities)
Update.
|
<T extends ITransferableEntity> |
update(Class<T> entityClass,
UserContext uc,
T entity)
Update.
|
getName
<T extends ITransferableEntity> List<T> getAll(Class<T> entityClass, UserContext uc)
T
- the generic typeentityClass
- the entity classuc
- the uc<T extends ITransferableEntity> List<T> getAllBy(Class<T> entityClass, UserContext uc, de.xima.cmn.criteria.QueryCriteriaManager qcm)
T
- the generic typeentityClass
- the entity classuc
- the ucqcm
- the qcm<T extends ITransferableEntity> T getBy(Class<T> entityClass, UserContext uc, de.xima.cmn.criteria.QueryCriteriaManager qcm)
T
- the generic typeentityClass
- the entity classuc
- the ucqcm
- the qcm<T extends ITransferableEntity> T getById(Class<T> entityClass, UserContext uc, Integer id)
T
- the generic typeentityClass
- the entity classuc
- the ucid
- the id<T extends ITransferableEntity> T getById(String entityClass, UserContext uc, String id)
T
- the generic typeentityClass
- the entity classuc
- the ucid
- the id<T extends ITransferableEntity> T[] create(Class<T> entityClass, UserContext uc, T... entities)
T
- the generic typeentityClass
- the entity classuc
- the ucentities
- the entities<T extends ITransferableEntity> T create(Class<T> entityClass, UserContext uc, T entity)
T
- the generic typeentityClass
- the entity classuc
- the ucentity
- the entity<T extends ITransferableEntity> T[] update(Class<T> entityClass, UserContext uc, T... entities)
T
- the generic typeentityClass
- the entity classuc
- the ucentities
- the entities<T extends ITransferableEntity> T update(Class<T> entityClass, UserContext uc, T entity)
T
- the generic typeentityClass
- the entity classuc
- the ucentity
- the entity<T extends ITransferableEntity> Boolean delete(Class<T> entityClass, UserContext uc, T... entities)
T
- the generic typeentityClass
- the entity classuc
- the ucentities
- the entities<T extends ITransferableEntity> Boolean delete(Class<T> entityClass, UserContext uc, T entities)
T
- the generic typeentityClass
- the entity classuc
- the ucentities
- the entities<T extends ITransferableEntity> Boolean deleteBy(Class<T> entityClass, UserContext uc, de.xima.cmn.criteria.QueryCriteriaManager qcm)
T
- the generic typeentityClass
- the entity classuc
- the ucqcm
- the qcm<T extends ITransferableEntity> Boolean deleteById(Class<T> entityClass, UserContext uc, Integer id)
T
- the generic typeentityClass
- the entity classuc
- the ucid
- the id<T extends ITransferableEntity> Integer resultTotalCount(Class<T> entityClass, UserContext uc, de.xima.cmn.criteria.QueryCriteriaManager qcm)
T
- the generic typeentityClass
- the entity classuc
- the ucqcm
- the qcmCopyright © 2018 XIMA MEDIA GmbH. All rights reserved.