Package org.nuiton.topiatest
Class TypeDAOAbstract<E extends Type>
java.lang.Object
org.nuiton.topia.persistence.TopiaDAOImpl<E>
org.nuiton.topiatest.TypeDAOAbstract<E>
- All Implemented Interfaces:
java.lang.Iterable<E>,org.nuiton.topia.persistence.TopiaDAO<E>,org.nuiton.topia.persistence.TopiaDAODeprecated<E>
- Direct Known Subclasses:
TypeDAOImpl
public abstract class TypeDAOAbstract<E extends Type>
extends org.nuiton.topia.persistence.TopiaDAOImpl<E>
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
Constructors Constructor Description TypeDAOAbstract() -
Method Summary
Modifier and Type Method Description voiddelete(E entity)java.util.List<E>findAllByName(java.lang.String 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)EfindByName(java.lang.String 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, 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
-
TypeDAOAbstract
public TypeDAOAbstract()
-
-
Method Details
-
getEntityClass
-
getTopiaEntityEnum
-
delete
-
findByName
- Throws:
org.nuiton.topia.TopiaException
-
findAllByName
- 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 -
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
-