Package de.xima.fc.dao.hook
Class DefaultDaoActionHook<T extends de.xima.cmn.dao.interfaces.IEntity<Long>>
- java.lang.Object
-
- de.xima.fc.dao.hook.DefaultDaoActionHook<T>
-
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IDaoActionHook<T,IEntityContext>
,IFCDaoActionHook<T>
public class DefaultDaoActionHook<T extends de.xima.cmn.dao.interfaces.IEntity<Long>> extends Object implements IFCDaoActionHook<T>
-
-
Constructor Summary
Constructors Constructor Description DefaultDaoActionHook()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <Q extends de.xima.cmn.criteria.interfaces.IFilterableCriteriaManager & de.xima.cmn.criteria.interfaces.IQueryHintProviding>
voidbulkDelete(IEntityContext ec, Q cm)
<Q extends de.xima.cmn.criteria.interfaces.IFilterableCriteriaManager & de.xima.cmn.criteria.interfaces.IUpdateableCriterionManager & de.xima.cmn.criteria.interfaces.IQueryHintProviding>
voidbulkUpdate(IEntityContext ec, Q cm)
T
create(IEntityContext ec, T entity)
void
delete(IEntityContext ec, T entity)
void
read(IEntityContext ec, T entity)
T
update(IEntityContext ec, T entity)
-
-
-
Method Detail
-
create
public T create(IEntityContext ec, T entity) throws de.xima.cmn.dao.exceptions.AbstractDaoException, de.xima.cmn.dao.exceptions.AbstractDaoRuntimeException
- Specified by:
create
in interfacede.xima.cmn.dao.interfaces.IDaoActionHook<T extends de.xima.cmn.dao.interfaces.IEntity<Long>,IEntityContext>
- Throws:
de.xima.cmn.dao.exceptions.AbstractDaoException
de.xima.cmn.dao.exceptions.AbstractDaoRuntimeException
-
update
public T update(IEntityContext ec, T entity) throws de.xima.cmn.dao.exceptions.AbstractDaoException, de.xima.cmn.dao.exceptions.AbstractDaoRuntimeException
- Specified by:
update
in interfacede.xima.cmn.dao.interfaces.IDaoActionHook<T extends de.xima.cmn.dao.interfaces.IEntity<Long>,IEntityContext>
- Throws:
de.xima.cmn.dao.exceptions.AbstractDaoException
de.xima.cmn.dao.exceptions.AbstractDaoRuntimeException
-
delete
public void delete(IEntityContext ec, T entity) throws de.xima.cmn.dao.exceptions.AbstractDaoException, de.xima.cmn.dao.exceptions.AbstractDaoRuntimeException
- Specified by:
delete
in interfacede.xima.cmn.dao.interfaces.IDaoActionHook<T extends de.xima.cmn.dao.interfaces.IEntity<Long>,IEntityContext>
- Throws:
de.xima.cmn.dao.exceptions.AbstractDaoException
de.xima.cmn.dao.exceptions.AbstractDaoRuntimeException
-
read
public void read(IEntityContext ec, T entity) throws de.xima.cmn.dao.exceptions.AbstractDaoException, de.xima.cmn.dao.exceptions.AbstractDaoRuntimeException
- Specified by:
read
in interfacede.xima.cmn.dao.interfaces.IDaoActionHook<T extends de.xima.cmn.dao.interfaces.IEntity<Long>,IEntityContext>
- Throws:
de.xima.cmn.dao.exceptions.AbstractDaoException
de.xima.cmn.dao.exceptions.AbstractDaoRuntimeException
-
bulkUpdate
public <Q extends de.xima.cmn.criteria.interfaces.IFilterableCriteriaManager & de.xima.cmn.criteria.interfaces.IUpdateableCriterionManager & de.xima.cmn.criteria.interfaces.IQueryHintProviding> void bulkUpdate(IEntityContext ec, Q cm) throws de.xima.cmn.dao.exceptions.AbstractDaoException, de.xima.cmn.dao.exceptions.AbstractDaoRuntimeException
- Specified by:
bulkUpdate
in interfacede.xima.cmn.dao.interfaces.IDaoActionHook<T extends de.xima.cmn.dao.interfaces.IEntity<Long>,IEntityContext>
- Throws:
de.xima.cmn.dao.exceptions.AbstractDaoException
de.xima.cmn.dao.exceptions.AbstractDaoRuntimeException
-
bulkDelete
public <Q extends de.xima.cmn.criteria.interfaces.IFilterableCriteriaManager & de.xima.cmn.criteria.interfaces.IQueryHintProviding> void bulkDelete(IEntityContext ec, Q cm) throws de.xima.cmn.dao.exceptions.AbstractDaoException, de.xima.cmn.dao.exceptions.AbstractDaoRuntimeException
- Specified by:
bulkDelete
in interfacede.xima.cmn.dao.interfaces.IDaoActionHook<T extends de.xima.cmn.dao.interfaces.IEntity<Long>,IEntityContext>
- Throws:
de.xima.cmn.dao.exceptions.AbstractDaoException
de.xima.cmn.dao.exceptions.AbstractDaoRuntimeException
-
-