org.nuiton.topiatest
Class PersonneDAOAbstract<E extends Personne>

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>
All Implemented Interfaces:
org.nuiton.topia.persistence.TopiaDAO<E>
Direct Known Subclasses:
PersonneDAOImpl

public abstract class PersonneDAOAbstract<E extends Personne>
extends Party2DAOImpl<E>
implements org.nuiton.topia.persistence.TopiaDAO<E>


Field Summary
 
Fields inherited from class org.nuiton.topia.persistence.TopiaDAOImpl
context, entityClass
 
Constructor Summary
PersonneDAOAbstract()
           
 
Method Summary
 void delete(E entity)
          delete :
 List<E> findAllByAddress(Address v)
          findAllByAddress : Retourne les éléments ayant comme valeur pour l'attribut address le paramètre.
 List<E> findAllByGender(Gender v)
          findAllByGender : Retourne les éléments ayant comme valeur pour l'attribut gender le paramètre.
 List<E> findAllByName(String v)
          findAllByName : Retourne les éléments ayant comme valeur pour l'attribut name le paramètre.
 List<E> findAllByOtherGender(Gender v)
          findAllByOtherGender : Retourne les éléments ayant comme valeur pour l'attribut otherGender le paramètre.
 List<E> findAllContainsOtherNames(String v)
          findAllContainsOtherNames : Retourne les éléments ayant comme valeur pour l'attribut otherNames le paramètre.
 List<E> findAllContainsTitle(Title v)
          findAllContainsTitle : Retourne les éléments ayant comme valeur pour l'attribut title le paramètre.
 Map<Class<? extends org.nuiton.topia.persistence.TopiaEntity>,List<? extends org.nuiton.topia.persistence.TopiaEntity>> findAllUsages(E entity)
          findAllUsages :
 E findByAddress(Address v)
          findByAddress : Retourne le premier élément trouvé ayant comme valeur pour l'attribut address le paramètre.
 E findByGender(Gender v)
          findByGender : Retourne le premier élément trouvé ayant comme valeur pour l'attribut gender le paramètre.
 E findByName(String v)
          findByName : Retourne le premier élément trouvé ayant comme valeur pour l'attribut name le paramètre.
 E findByOtherGender(Gender v)
          findByOtherGender : Retourne le premier élément trouvé ayant comme valeur pour l'attribut otherGender le paramètre.
 E findContainsOtherNames(String v)
          findContainsOtherNames : Retourne le premier élément ayant comme valeur pour l'attribut otherNames le paramètre.
 E findContainsTitle(Title v)
          findContainsTitle : Retourne le premier élément ayant comme valeur pour l'attribut title 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.deletetest.Party2DAOAbstract
findAllContainsContacts, findContainsContacts
 
Methods inherited from class org.nuiton.topia.persistence.TopiaDAOImpl
addTopiaEntityListener, addTopiaEntityVetoable, count, countByQuery, create, create, create, createQuery, createQuery, 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
 
Methods inherited from interface org.nuiton.topia.persistence.TopiaDAO
addTopiaEntityListener, addTopiaEntityVetoable, count, countByQuery, create, create, create, createQuery, createQuery, existByProperties, existByQuery, existByTopiaId, findAll, findAllByProperties, findAllByProperties, findAllByProperty, findAllByQuery, findAllContains, findAllIds, findAllMappedByQuery, findAllMappedByQuery, findAllWithOrder, findByPrimaryKey, findByPrimaryKey, findByProperties, findByProperties, findByProperty, findByQuery, findByTopiaId, findContains, getContext, getRequestPermission, init, newInstance, removeTopiaEntityListener, removeTopiaEntityVetoable, update
 

Constructor Detail

PersonneDAOAbstract

public PersonneDAOAbstract()
Method Detail

getEntityClass

public Class<E> getEntityClass()
getEntityClass :

Specified by:
getEntityClass in interface org.nuiton.topia.persistence.TopiaDAO<E extends Personne>
Overrides:
getEntityClass in class Party2DAOAbstract<E extends Personne>
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 Personne>
Overrides:
delete in class Party2DAOAbstract<E extends Personne>
Parameters:
entity -
Throws:
org.nuiton.topia.TopiaException

findByName

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

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

findAllByName

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

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

findContainsOtherNames

public E findContainsOtherNames(String v)
                                          throws org.nuiton.topia.TopiaException
findContainsOtherNames : Retourne le premier élément ayant comme valeur pour l'attribut otherNames le paramètre.

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

findAllContainsOtherNames

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

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

findByGender

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

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

findAllByGender

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

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

findByOtherGender

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

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

findAllByOtherGender

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

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

findByAddress

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

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

findAllByAddress

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

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

findContainsTitle

public E findContainsTitle(Title v)
                                     throws org.nuiton.topia.TopiaException
findContainsTitle : Retourne le premier élément ayant comme valeur pour l'attribut title le paramètre.

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

findAllContainsTitle

public List<E> findAllContainsTitle(Title v)
                                              throws org.nuiton.topia.TopiaException
findAllContainsTitle : Retourne les éléments ayant comme valeur pour l'attribut title 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 Personne>
Overrides:
findUsages in class Party2DAOAbstract<E extends Personne>
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 Personne>
Overrides:
findAllUsages in class Party2DAOAbstract<E extends Personne>
Parameters:
entity -
Returns:
Map, List>
Throws:
org.nuiton.topia.TopiaException


Copyright © 2004-2011 CodeLutin. All Rights Reserved.