Package org.nuiton.topiatest
Class DepartmentDAOAbstract<E extends Department>
java.lang.Object
org.nuiton.topia.persistence.TopiaDAOImpl<E>
org.nuiton.topiatest.DepartmentDAOAbstract<E>
- All Implemented Interfaces:
java.lang.Iterable<E>,org.nuiton.topia.persistence.TopiaDAO<E>,org.nuiton.topia.persistence.TopiaDAODeprecated<E>
- Direct Known Subclasses:
DepartmentDAOImpl
public abstract class DepartmentDAOAbstract<E extends Department>
extends org.nuiton.topia.persistence.TopiaDAOImpl<E>
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
Constructors Constructor Description DepartmentDAOAbstract() -
Method Summary
Modifier and Type Method Description java.util.List<E>findAllByCompany(Company v)java.util.List<E>findAllByLeader(Employe v)java.util.List<E>findAllByName(java.lang.String v)java.util.List<E>findAllContainsProduct(Product v)java.util.Map<java.lang.Class<? extends org.nuiton.topia.persistence.TopiaEntity>,java.util.List<? extends org.nuiton.topia.persistence.TopiaEntity>>findAllUsages(E entity)EfindByCompany(Company v)EfindByLeader(Employe v)EfindByName(java.lang.String v)EfindContainsProduct(Product v)<U extends org.nuiton.topia.persistence.TopiaEntity>
java.util.List<U>findUsages(java.lang.Class<U> type, E entity)java.lang.Class<E>getEntityClass()TopiaTestDAOHelper.TopiaTestEntityEnumgetTopiaEntityEnum()Methods inherited from class org.nuiton.topia.persistence.TopiaDAOImpl
addTopiaEntityListener, addTopiaEntityVetoable, computeAndAddRecordsToPager, count, countByQuery, countByQuery, create, create, create, createQuery, createQuery, createSimpleQuery, delete, deleteAll, existByProperties, existByQuery, existByTopiaId, existsByQuery, findAll, findAllByProperties, findAllByProperties, findAllByProperty, findAllByQuery, findAllByQuery, findAllByQuery, findAllByQueryAndPager, findAllByQueryAndPager, findAllByQueryWithBound, findAllByQueryWithBound, findAllContains, findAllIds, findAllLazyByQuery, findAllLazyByQuery, findAllLazyByQuery, findAllLazyByQuery, findAllMappedByQuery, findAllMappedByQuery, findAllWithOrder, findByPrimaryKey, findByPrimaryKey, findByProperties, findByProperties, findByProperty, findByQuery, findByQuery, findByQuery, findByTopiaId, findContains, getBatchSize, getContext, getId, getId, getRequestPermission, init, iterator, newInstance, removeTopiaEntityListener, removeTopiaEntityVetoable, setBatchSize, update
-
Constructor Details
-
DepartmentDAOAbstract
public DepartmentDAOAbstract()
-
-
Method Details
-
getEntityClass
- Specified by:
getEntityClassin interfaceorg.nuiton.topia.persistence.TopiaDAO<E extends Department>- Overrides:
getEntityClassin classorg.nuiton.topia.persistence.TopiaDAOImpl<E extends Department>
-
getTopiaEntityEnum
- Specified by:
getTopiaEntityEnumin interfaceorg.nuiton.topia.persistence.TopiaDAO<E extends Department>- Overrides:
getTopiaEntityEnumin classorg.nuiton.topia.persistence.TopiaDAOImpl<E extends Department>
-
findByName
- Throws:
org.nuiton.topia.TopiaException
-
findAllByName
- Throws:
org.nuiton.topia.TopiaException
-
findByLeader
- Throws:
org.nuiton.topia.TopiaException
-
findAllByLeader
- Throws:
org.nuiton.topia.TopiaException
-
findByCompany
- Throws:
org.nuiton.topia.TopiaException
-
findAllByCompany
- Throws:
org.nuiton.topia.TopiaException
-
findContainsProduct
- Throws:
org.nuiton.topia.TopiaException
-
findAllContainsProduct
- Throws:
org.nuiton.topia.TopiaException
-
findUsages
public <U extends org.nuiton.topia.persistence.TopiaEntity> java.util.List<U> findUsages(java.lang.Class<U> type, E entity) throws org.nuiton.topia.TopiaException- Specified by:
findUsagesin interfaceorg.nuiton.topia.persistence.TopiaDAO<E extends Department>- Overrides:
findUsagesin classorg.nuiton.topia.persistence.TopiaDAOImpl<E extends Department>- Throws:
org.nuiton.topia.TopiaException
-
findAllUsages
public java.util.Map<java.lang.Class<? extends org.nuiton.topia.persistence.TopiaEntity>,java.util.List<? extends org.nuiton.topia.persistence.TopiaEntity>> findAllUsages(E entity) throws org.nuiton.topia.TopiaException- Specified by:
findAllUsagesin interfaceorg.nuiton.topia.persistence.TopiaDAO<E extends Department>- Overrides:
findAllUsagesin classorg.nuiton.topia.persistence.TopiaDAOImpl<E extends Department>- Throws:
org.nuiton.topia.TopiaException
-