Class DefaultDaoActionHook<T extends de.xima.cmn.dao.interfaces.IEntity<Long>>

    • Constructor Detail

      • DefaultDaoActionHook

        public DefaultDaoActionHook()
    • 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 interface de.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 interface de.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 interface de.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 interface de.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 interface de.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 interface de.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