org.nuiton.topiatest
Class EmployeDAOAbstract<E extends Employe>

java.lang.Object
  extended by org.nuiton.topia.persistence.TopiaDAOImpl<E>
      extended by org.nuiton.topiatest.deletetest.Party2DAOAbstract<E>
          extended by org.nuiton.topiatest.deletetest.Party2DAOImpl<E>
              extended by org.nuiton.topiatest.PersonneDAOAbstract<E>
                  extended by org.nuiton.topiatest.PersonneDAOImpl<E>
                      extended by org.nuiton.topiatest.EmployeDAOAbstract<E>
All Implemented Interfaces:
org.nuiton.topia.persistence.TopiaDAO<E>
Direct Known Subclasses:
EmployeDAOImpl

public abstract class EmployeDAOAbstract<E extends Employe>
extends PersonneDAOImpl<E>
implements org.nuiton.topia.persistence.TopiaDAO<E>


Field Summary
 
Fields inherited from class org.nuiton.topia.persistence.TopiaDAOImpl
context, entityClass
 
Constructor Summary
EmployeDAOAbstract()
           
 
Method Summary
 void delete(E entity)
          delete :
 List<E> findAllBySalary(int v)
          findAllBySalary : Retourne les éléments ayant comme valeur pour l'attribut salary le paramètre.
 Map<Class<? extends org.nuiton.topia.persistence.TopiaEntity>,List<? extends org.nuiton.topia.persistence.TopiaEntity>> findAllUsages(E entity)
          findAllUsages :
 E findBySalary(int v)
          findBySalary : Retourne le premier élément trouvé ayant comme valeur pour l'attribut salary le paramètre.
<U extends org.nuiton.topia.persistence.TopiaEntity>
List<U>
findUsages(Class<U> type, E entity)
          findUsages :
 Class<E> getEntityClass()
          getEntityClass :
 
Methods inherited from class org.nuiton.topiatest.PersonneDAOAbstract
findAllByAddress, findAllByName, findAllContainsOtherNames, findByAddress, findByName, findContainsOtherNames
 
Methods inherited from class org.nuiton.topiatest.deletetest.Party2DAOAbstract
findAllContainsContacts, findContainsContacts
 
Methods inherited from class org.nuiton.topia.persistence.TopiaDAOImpl
addTopiaEntityListener, addTopiaEntityVetoable, commitTransaction, create, create, create, createQuery, createQuery, findAll, findAllByProperties, findAllByProperties, findAllByProperty, findAllByQuery, findAllContainsProperties, findAllContainsProperties, findAllIds, findAllMappedByQuery, findAllMappedByQuery, findAllWithOrder, findByPrimaryKey, findByPrimaryKey, findByProperties, findByProperties, findByProperty, findByQuery, findByTopiaId, findContainsProperties, findContainsProperties, getContext, getId, getId, getRequestPermission, init, newInstance, removeTopiaEntityListener, removeTopiaEntityVetoable, rollbackTransaction, size, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.nuiton.topia.persistence.TopiaDAO
addTopiaEntityListener, addTopiaEntityVetoable, commitTransaction, create, create, create, createQuery, createQuery, findAll, findAllByProperties, findAllByProperties, findAllByProperty, findAllByQuery, findAllContainsProperties, findAllContainsProperties, findAllIds, findAllMappedByQuery, findAllMappedByQuery, findAllWithOrder, findByPrimaryKey, findByPrimaryKey, findByProperties, findByProperties, findByProperty, findByQuery, findByTopiaId, findContainsProperties, findContainsProperties, getContext, getRequestPermission, init, newInstance, removeTopiaEntityListener, removeTopiaEntityVetoable, rollbackTransaction, size, update
 

Constructor Detail

EmployeDAOAbstract

public EmployeDAOAbstract()
Method Detail

getEntityClass

public Class<E> getEntityClass()
getEntityClass :

Specified by:
getEntityClass in interface org.nuiton.topia.persistence.TopiaDAO<E extends Employe>
Overrides:
getEntityClass in class PersonneDAOAbstract<E extends Employe>
Returns:
Class

delete

public void delete(E entity)
            throws org.nuiton.topia.TopiaException
delete :

Specified by:
delete in interface org.nuiton.topia.persistence.TopiaDAO<E extends Employe>
Overrides:
delete in class PersonneDAOAbstract<E extends Employe>
Parameters:
entity -
Throws:
org.nuiton.topia.TopiaException

findBySalary

public E findBySalary(int v)
                               throws org.nuiton.topia.TopiaException
findBySalary : Retourne le premier élément trouvé ayant comme valeur pour l'attribut salary le paramètre.

Parameters:
v -
Returns:
E
Throws:
org.nuiton.topia.TopiaException

findAllBySalary

public List<E> findAllBySalary(int v)
                                        throws org.nuiton.topia.TopiaException
findAllBySalary : Retourne les éléments ayant comme valeur pour l'attribut salary le paramètre.

Parameters:
v -
Returns:
List
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
findUsages :

Specified by:
findUsages in interface org.nuiton.topia.persistence.TopiaDAO<E extends Employe>
Overrides:
findUsages in class PersonneDAOAbstract<E extends Employe>
Parameters:
type -
entity -
Returns:
List
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
findAllUsages :

Specified by:
findAllUsages in interface org.nuiton.topia.persistence.TopiaDAO<E extends Employe>
Overrides:
findAllUsages in class PersonneDAOAbstract<E extends Employe>
Parameters:
entity -
Returns:
Map, List>
Throws:
org.nuiton.topia.TopiaException


Copyright © 2004-2010 CodeLutin. All Rights Reserved.