org.nuiton.topiatest
Class DepartmentDAOAbstract<E extends Department>

java.lang.Object
  extended by org.nuiton.topia.persistence.TopiaDAOImpl<E>
      extended by org.nuiton.topiatest.DepartmentDAOAbstract<E>
All Implemented Interfaces:
org.nuiton.topia.persistence.TopiaDAO<E>
Direct Known Subclasses:
DepartmentDAOImpl

public abstract class DepartmentDAOAbstract<E extends Department>
extends org.nuiton.topia.persistence.TopiaDAOImpl<E>


Field Summary
 
Fields inherited from class org.nuiton.topia.persistence.TopiaDAOImpl
context, entityClass
 
Constructor Summary
DepartmentDAOAbstract()
           
 
Method Summary
 List<E> findAllByCompany(Company v)
           
 List<E> findAllByLeader(Employe v)
           
 List<E> findAllByName(String v)
           
 List<E> findAllContainsProduct(Product v)
           
 Map<Class<? extends org.nuiton.topia.persistence.TopiaEntity>,List<? extends org.nuiton.topia.persistence.TopiaEntity>> findAllUsages(E entity)
           
 E findByCompany(Company v)
           
 E findByLeader(Employe v)
           
 E findByName(String v)
           
 E findContainsProduct(Product v)
           
<U extends org.nuiton.topia.persistence.TopiaEntity>
List<U>
findUsages(Class<U> type, E entity)
           
 Class<E> getEntityClass()
           
 TopiaTestDAOHelper.TopiaTestEntityEnum getTopiaEntityEnum()
           
 
Methods inherited from class org.nuiton.topia.persistence.TopiaDAOImpl
addTopiaEntityListener, addTopiaEntityVetoable, count, countByQuery, create, create, create, createQuery, createQuery, delete, existByProperties, existByQuery, existByTopiaId, findAll, findAllByProperties, findAllByProperties, findAllByProperty, findAllByQuery, findAllContains, findAllIds, findAllMappedByQuery, findAllMappedByQuery, findAllWithOrder, findByPrimaryKey, findByPrimaryKey, findByProperties, findByProperties, findByProperty, findByQuery, findByTopiaId, findContains, getContext, getId, getId, getRequestPermission, init, newInstance, removeTopiaEntityListener, removeTopiaEntityVetoable, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DepartmentDAOAbstract

public DepartmentDAOAbstract()
Method Detail

getEntityClass

public Class<E> getEntityClass()
Specified by:
getEntityClass in interface org.nuiton.topia.persistence.TopiaDAO<E extends Department>
Overrides:
getEntityClass in class org.nuiton.topia.persistence.TopiaDAOImpl<E extends Department>

getTopiaEntityEnum

public TopiaTestDAOHelper.TopiaTestEntityEnum getTopiaEntityEnum()
Specified by:
getTopiaEntityEnum in interface org.nuiton.topia.persistence.TopiaDAO<E extends Department>
Overrides:
getTopiaEntityEnum in class org.nuiton.topia.persistence.TopiaDAOImpl<E extends Department>

findByName

public E findByName(String v)
                                throws org.nuiton.topia.TopiaException
Throws:
org.nuiton.topia.TopiaException

findAllByName

public List<E> findAllByName(String v)
                                         throws org.nuiton.topia.TopiaException
Throws:
org.nuiton.topia.TopiaException

findByLeader

public E findByLeader(Employe v)
                                  throws org.nuiton.topia.TopiaException
Throws:
org.nuiton.topia.TopiaException

findAllByLeader

public List<E> findAllByLeader(Employe v)
                                           throws org.nuiton.topia.TopiaException
Throws:
org.nuiton.topia.TopiaException

findByCompany

public E findByCompany(Company v)
                                   throws org.nuiton.topia.TopiaException
Throws:
org.nuiton.topia.TopiaException

findAllByCompany

public List<E> findAllByCompany(Company v)
                                            throws org.nuiton.topia.TopiaException
Throws:
org.nuiton.topia.TopiaException

findContainsProduct

public E findContainsProduct(Product v)
                                         throws org.nuiton.topia.TopiaException
Throws:
org.nuiton.topia.TopiaException

findAllContainsProduct

public List<E> findAllContainsProduct(Product v)
                                                  throws org.nuiton.topia.TopiaException
Throws:
org.nuiton.topia.TopiaException

findUsages

public <U extends org.nuiton.topia.persistence.TopiaEntity> List<U> findUsages(Class<U> type,
                                                                               E entity)
                                                                    throws org.nuiton.topia.TopiaException
Specified by:
findUsages in interface org.nuiton.topia.persistence.TopiaDAO<E extends Department>
Overrides:
findUsages in class org.nuiton.topia.persistence.TopiaDAOImpl<E extends Department>
Throws:
org.nuiton.topia.TopiaException

findAllUsages

public Map<Class<? extends org.nuiton.topia.persistence.TopiaEntity>,List<? extends org.nuiton.topia.persistence.TopiaEntity>> findAllUsages(E entity)
                                                                                                                                      throws org.nuiton.topia.TopiaException
Specified by:
findAllUsages in interface org.nuiton.topia.persistence.TopiaDAO<E extends Department>
Overrides:
findAllUsages in class org.nuiton.topia.persistence.TopiaDAOImpl<E extends Department>
Throws:
org.nuiton.topia.TopiaException


Copyright © 2004-2011 CodeLutin. All Rights Reserved.