org.nuiton.topia.security.entities.user
Class TopiaUserDAOAbstract<E extends TopiaUser>

java.lang.Object
  extended by org.nuiton.topia.persistence.TopiaDAOImpl<E>
      extended by org.nuiton.topia.security.entities.user.TopiaUserDAOAbstract<E>
All Implemented Interfaces:
TopiaDAO<E>
Direct Known Subclasses:
TopiaUserDAOImpl

public abstract class TopiaUserDAOAbstract<E extends TopiaUser>
extends TopiaDAOImpl<E>
implements TopiaDAO<E>


Field Summary
 
Fields inherited from class org.nuiton.topia.persistence.TopiaDAOImpl
context, entityClass
 
Constructor Summary
TopiaUserDAOAbstract()
           
 
Method Summary
 void delete(E entity)
          delete :
 List<E> findAllByEmail(String v)
          findAllByEmail : Retourne les éléments ayant comme valeur pour l'attribut email le paramètre.
 List<E> findAllByLinkApplication(String v)
          findAllByLinkApplication : Retourne les éléments ayant comme valeur pour l'attribut linkApplication le paramètre.
 List<E> findAllByLogin(String v)
          findAllByLogin : Retourne les éléments ayant comme valeur pour l'attribut login le paramètre.
 List<E> findAllByNote(String v)
          findAllByNote : Retourne les éléments ayant comme valeur pour l'attribut note le paramètre.
 List<E> findAllByPassword(String v)
          findAllByPassword : Retourne les éléments ayant comme valeur pour l'attribut password le paramètre.
 Map<Class<? extends TopiaEntity>,List<? extends TopiaEntity>> findAllUsages(E entity)
          findAllUsages :
 E findByEmail(String v)
          findByEmail : Retourne le premier élément trouvé ayant comme valeur pour l'attribut email le paramètre.
 E findByLinkApplication(String v)
          findByLinkApplication : Retourne le premier élément trouvé ayant comme valeur pour l'attribut linkApplication le paramètre.
 E findByLogin(String v)
          findByLogin : Retourne le premier élément trouvé ayant comme valeur pour l'attribut login le paramètre.
 E findByNote(String v)
          findByNote : Retourne le premier élément trouvé ayant comme valeur pour l'attribut note le paramètre.
 E findByPassword(String v)
          findByPassword : Retourne le premier élément trouvé ayant comme valeur pour l'attribut password le paramètre.
<U extends TopiaEntity>
List<U>
findUsages(Class<U> type, E entity)
          findUsages :
 Class<E> getEntityClass()
          getEntityClass :
 
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, findAllIds, findAllMappedByQuery, findAllMappedByQuery, findAllWithOrder, findByPrimaryKey, findByPrimaryKey, findByProperties, findByProperties, findByProperty, findByQuery, findByTopiaId, getContext, getId, getId, getRequestPermission, init, newInstance, removeTopiaEntityListener, removeTopiaEntityVetoable, 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, count, countByQuery, create, create, create, createQuery, createQuery, existByProperties, existByQuery, existByTopiaId, findAll, findAllByProperties, findAllByProperties, findAllByProperty, findAllByQuery, findAllIds, findAllMappedByQuery, findAllMappedByQuery, findAllWithOrder, findByPrimaryKey, findByPrimaryKey, findByProperties, findByProperties, findByProperty, findByQuery, findByTopiaId, getContext, getRequestPermission, init, newInstance, removeTopiaEntityListener, removeTopiaEntityVetoable, size, update
 

Constructor Detail

TopiaUserDAOAbstract

public TopiaUserDAOAbstract()
Method Detail

getEntityClass

public Class<E> getEntityClass()
getEntityClass :

Specified by:
getEntityClass in interface TopiaDAO<E extends TopiaUser>
Overrides:
getEntityClass in class TopiaDAOImpl<E extends TopiaUser>
Returns:
Class

delete

public void delete(E entity)
            throws TopiaException
delete :

Specified by:
delete in interface TopiaDAO<E extends TopiaUser>
Overrides:
delete in class TopiaDAOImpl<E extends TopiaUser>
Parameters:
entity -
Throws:
TopiaException

findByLogin

public E findByLogin(String v)
                                throws TopiaException
findByLogin : Retourne le premier élément trouvé ayant comme valeur pour l'attribut login le paramètre.

Parameters:
v -
Returns:
E
Throws:
TopiaException

findAllByLogin

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

Parameters:
v -
Returns:
List
Throws:
TopiaException

findByEmail

public E findByEmail(String v)
                                throws TopiaException
findByEmail : Retourne le premier élément trouvé ayant comme valeur pour l'attribut email le paramètre.

Parameters:
v -
Returns:
E
Throws:
TopiaException

findAllByEmail

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

Parameters:
v -
Returns:
List
Throws:
TopiaException

findByPassword

public E findByPassword(String v)
                                   throws TopiaException
findByPassword : Retourne le premier élément trouvé ayant comme valeur pour l'attribut password le paramètre.

Parameters:
v -
Returns:
E
Throws:
TopiaException

findAllByPassword

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

Parameters:
v -
Returns:
List
Throws:
TopiaException

findByNote

public E findByNote(String v)
                               throws TopiaException
findByNote : Retourne le premier élément trouvé ayant comme valeur pour l'attribut note le paramètre.

Parameters:
v -
Returns:
E
Throws:
TopiaException

findAllByNote

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

Parameters:
v -
Returns:
List
Throws:
TopiaException

findByLinkApplication

public E findByLinkApplication(String v)
                                          throws TopiaException
findByLinkApplication : Retourne le premier élément trouvé ayant comme valeur pour l'attribut linkApplication le paramètre.

Parameters:
v -
Returns:
E
Throws:
TopiaException

findAllByLinkApplication

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

Parameters:
v -
Returns:
List
Throws:
TopiaException

findUsages

public <U extends TopiaEntity> List<U> findUsages(Class<U> type,
                                                  E entity)
                                       throws TopiaException
findUsages :

Specified by:
findUsages in interface TopiaDAO<E extends TopiaUser>
Overrides:
findUsages in class TopiaDAOImpl<E extends TopiaUser>
Parameters:
type -
entity -
Returns:
List
Throws:
TopiaException

findAllUsages

public Map<Class<? extends TopiaEntity>,List<? extends TopiaEntity>> findAllUsages(E entity)
                                                                            throws TopiaException
findAllUsages :

Specified by:
findAllUsages in interface TopiaDAO<E extends TopiaUser>
Overrides:
findAllUsages in class TopiaDAOImpl<E extends TopiaUser>
Parameters:
entity -
Returns:
Map, List>
Throws:
TopiaException


Copyright © 2004-2010 CodeLutin. All Rights Reserved.