public class GenericHandler extends AMSApiHandler implements IGenericHandler
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
LOG |
| Constructor and Description |
|---|
GenericHandler() |
| 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) |
<T extends ITransferableEntity> |
deleteById(Class<T> entityClass,
UserContext uc,
Long 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) |
<T extends ITransferableEntity> |
getById(Class<T> entityClass,
UserContext uc,
Long 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.
|
getNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNamepublic <T extends ITransferableEntity> List<T> getAll(Class<T> entityClass, UserContext uc)
getAll in interface IGenericHandlerT - the generic typeentityClass - the entity classuc - the ucpublic <T extends ITransferableEntity> List<T> getAllBy(Class<T> entityClass, UserContext uc, de.xima.cmn.criteria.QueryCriteriaManager qcm)
getAllBy in interface IGenericHandlerT - the generic typeentityClass - the entity classuc - the ucqcm - the qcmpublic <T extends ITransferableEntity> T getBy(Class<T> entityClass, UserContext uc, de.xima.cmn.criteria.QueryCriteriaManager qcm)
getBy in interface IGenericHandlerT - the generic typeentityClass - the entity classuc - the ucqcm - the qcmpublic <T extends ITransferableEntity> T getById(Class<T> entityClass, UserContext uc, Long id)
getById in interface IGenericHandlerT - the generic typeentityClass - the entity classuc - the ucid - the idpublic <T extends ITransferableEntity> T getById(Class<T> entityClass, UserContext uc, Integer id)
getById in interface IGenericHandlerpublic <T extends ITransferableEntity> T getById(String entityClass, UserContext uc, String id)
getById in interface IGenericHandlerT - the generic typeentityClass - the entity classuc - the ucid - the idpublic <T extends ITransferableEntity> T[] create(Class<T> entityClass, UserContext uc, T... entities)
create in interface IGenericHandlerT - the generic typeentityClass - the entity classuc - the ucentities - the entitiespublic <T extends ITransferableEntity> T create(Class<T> entityClass, UserContext uc, T entity)
create in interface IGenericHandlerT - the generic typeentityClass - the entity classuc - the ucentity - the entitypublic <T extends ITransferableEntity> T[] update(Class<T> entityClass, UserContext uc, T... entities)
update in interface IGenericHandlerT - the generic typeentityClass - the entity classuc - the ucentities - the entitiespublic <T extends ITransferableEntity> T update(Class<T> entityClass, UserContext uc, T entity)
update in interface IGenericHandlerT - the generic typeentityClass - the entity classuc - the ucentity - the entitypublic <T extends ITransferableEntity> Boolean delete(Class<T> entityClass, UserContext uc, T... entities)
delete in interface IGenericHandlerT - the generic typeentityClass - the entity classuc - the ucentities - the entitiespublic <T extends ITransferableEntity> Boolean delete(Class<T> entityClass, UserContext uc, T entities)
delete in interface IGenericHandlerT - the generic typeentityClass - the entity classuc - the ucentities - the entitiespublic <T extends ITransferableEntity> Boolean deleteBy(Class<T> entityClass, UserContext uc, de.xima.cmn.criteria.QueryCriteriaManager qcm)
deleteBy in interface IGenericHandlerT - the generic typeentityClass - the entity classuc - the ucqcm - the qcmpublic <T extends ITransferableEntity> Boolean deleteById(Class<T> entityClass, UserContext uc, Long id)
deleteById in interface IGenericHandlerT - the generic typeentityClass - the entity classuc - the ucid - the idpublic <T extends ITransferableEntity> Boolean deleteById(Class<T> entityClass, UserContext uc, Integer id)
deleteById in interface IGenericHandlerpublic <T extends ITransferableEntity> Integer resultTotalCount(Class<T> entityClass, UserContext uc, de.xima.cmn.criteria.QueryCriteriaManager qcm)
resultTotalCount in interface IGenericHandlerT - the generic typeentityClass - the entity classuc - the ucqcm - the qcmCopyright © 2020 XIMA MEDIA GmbH. All rights reserved.