public class GenericDao<T extends de.xima.cmn.dao.interfaces.IEntity<Long>> extends de.xima.cmn.dao.AbstractDao<T,Long,IEntityContext> implements IGenericDao<T>
Constructor and Description |
---|
GenericDao(Class<T> resultType) |
Modifier and Type | Method and Description |
---|---|
Set<de.xima.cmn.dao.interfaces.IEntity<Long>> |
getEntityRefs(IEntityContext ec,
T entity) |
protected IFCDaoActionHook<T> |
getPostActionHook() |
protected IFCDaoActionHook<T> |
getPreActionHook() |
T |
read(IEntityContext ec,
Integer id) |
all, bulkDelete, bulkUpdate, cb, checkLockingVersion, cq, create, create, delete, delete, deleteAll, executePagedDaoAction, getAttributes, getAttributes, getSingleAttributes, getSingleAttributes, getTransactionHandler, notifyListener, notifyListener, read, registerListener, registerListener, registerListener, resultTotalCount, setTransactionHandler, singleElement, unregisterListener, unregisterListener, unregisterListener, update, update
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
all, bulkDelete, bulkUpdate, checkLockingVersion, create, create, delete, delete, deleteAll, executePagedDaoAction, getAttributes, getAttributes, getSingleAttributes, getSingleAttributes, getTransactionHandler, read, registerListener, registerListener, registerListener, resultTotalCount, setTransactionHandler, singleElement, unregisterListener, unregisterListener, unregisterListener, update, update
public T read(IEntityContext ec, Integer id) throws de.xima.cmn.dao.exceptions.ReadException
read
in interface IGenericDao<T extends de.xima.cmn.dao.interfaces.IEntity<Long>>
de.xima.cmn.dao.exceptions.ReadException
public Set<de.xima.cmn.dao.interfaces.IEntity<Long>> getEntityRefs(IEntityContext ec, T entity)
getEntityRefs
in interface IGenericDao<T extends de.xima.cmn.dao.interfaces.IEntity<Long>>
protected IFCDaoActionHook<T> getPreActionHook()
getPreActionHook
in class de.xima.cmn.dao.AbstractDao<T extends de.xima.cmn.dao.interfaces.IEntity<Long>,Long,IEntityContext>
protected IFCDaoActionHook<T> getPostActionHook()
getPostActionHook
in class de.xima.cmn.dao.AbstractDao<T extends de.xima.cmn.dao.interfaces.IEntity<Long>,Long,IEntityContext>
Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.