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

    • Field Summary

      • Fields inherited from class de.xima.cmn.dao.AbstractDao

        entityClass, LOG
    • Constructor Summary

      Constructors 
      Constructor Description
      GenericDao​(Class<T> resultType)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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)  
      • Methods inherited from class de.xima.cmn.dao.AbstractDao

        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
      • Methods inherited from interface de.xima.cmn.dao.interfaces.IAbstractDao

        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
    • Constructor Detail

      • GenericDao

        public GenericDao​(Class<T> resultType)
    • Method Detail

      • read

        public T read​(IEntityContext ec,
                      Integer id)
               throws de.xima.cmn.dao.exceptions.ReadException
        Specified by:
        read in interface IGenericDao<T extends de.xima.cmn.dao.interfaces.IEntity<Long>>
        Throws:
        de.xima.cmn.dao.exceptions.ReadException
      • getPreActionHook

        protected IFCDaoActionHook<T> getPreActionHook()
        Overrides:
        getPreActionHook in class de.xima.cmn.dao.AbstractDao<T extends de.xima.cmn.dao.interfaces.IEntity<Long>,​Long,​IEntityContext>
      • getPostActionHook

        protected IFCDaoActionHook<T> getPostActionHook()
        Overrides:
        getPostActionHook in class de.xima.cmn.dao.AbstractDao<T extends de.xima.cmn.dao.interfaces.IEntity<Long>,​Long,​IEntityContext>