org.nuiton.topia.taas.entities
Class TaasUserDAOAbstract<E extends TaasUser>

java.lang.Object
  extended by org.nuiton.topia.persistence.TopiaDAOImpl<E>
      extended by org.nuiton.topia.taas.entities.TaasUserDAOAbstract<E>
All Implemented Interfaces:
TopiaDAO<E>
Direct Known Subclasses:
TaasUserDAOImpl

public abstract class TaasUserDAOAbstract<E extends TaasUser>
extends TopiaDAOImpl<E>


Field Summary
 
Fields inherited from class org.nuiton.topia.persistence.TopiaDAOImpl
context, entityClass
 
Constructor Summary
TaasUserDAOAbstract()
           
 
Method Summary
 List<E> findAllByEmail(String v)
           
 List<E> findAllByEnabled(boolean v)
           
 List<E> findAllByLastConnectionDate(Date v)
           
 List<E> findAllByLink(String v)
           
 List<E> findAllByLogin(String v)
           
 List<E> findAllByNumberOfConnection(int v)
           
 List<E> findAllByPassword(String v)
           
 List<E> findAllContainsPrincipals(TaasPrincipal v)
           
 Map<Class<? extends TopiaEntity>,List<? extends TopiaEntity>> findAllUsages(E entity)
           
 E findByEmail(String v)
           
 E findByEnabled(boolean v)
           
 E findByLastConnectionDate(Date v)
           
 E findByLink(String v)
           
 E findByLogin(String v)
           
 E findByNumberOfConnection(int v)
           
 E findByPassword(String v)
           
 E findContainsPrincipals(TaasPrincipal v)
           
<U extends TopiaEntity>
List<U>
findUsages(Class<U> type, E entity)
           
 Class<E> getEntityClass()
           
 TopiaSecurityDAOHelper.TopiaSecurityEntityEnum 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

TaasUserDAOAbstract

public TaasUserDAOAbstract()
Method Detail

getEntityClass

public Class<E> getEntityClass()
Specified by:
getEntityClass in interface TopiaDAO<E extends TaasUser>
Overrides:
getEntityClass in class TopiaDAOImpl<E extends TaasUser>

getTopiaEntityEnum

public TopiaSecurityDAOHelper.TopiaSecurityEntityEnum getTopiaEntityEnum()
Specified by:
getTopiaEntityEnum in interface TopiaDAO<E extends TaasUser>
Overrides:
getTopiaEntityEnum in class TopiaDAOImpl<E extends TaasUser>

findByLogin

public E findByLogin(String v)
                               throws TopiaException
Throws:
TopiaException

findAllByLogin

public List<E> findAllByLogin(String v)
                                        throws TopiaException
Throws:
TopiaException

findByPassword

public E findByPassword(String v)
                                  throws TopiaException
Throws:
TopiaException

findAllByPassword

public List<E> findAllByPassword(String v)
                                           throws TopiaException
Throws:
TopiaException

findByEmail

public E findByEmail(String v)
                               throws TopiaException
Throws:
TopiaException

findAllByEmail

public List<E> findAllByEmail(String v)
                                        throws TopiaException
Throws:
TopiaException

findByEnabled

public E findByEnabled(boolean v)
                                 throws TopiaException
Throws:
TopiaException

findAllByEnabled

public List<E> findAllByEnabled(boolean v)
                                          throws TopiaException
Throws:
TopiaException

findByLastConnectionDate

public E findByLastConnectionDate(Date v)
                                            throws TopiaException
Throws:
TopiaException

findAllByLastConnectionDate

public List<E> findAllByLastConnectionDate(Date v)
                                                     throws TopiaException
Throws:
TopiaException

findByNumberOfConnection

public E findByNumberOfConnection(int v)
                                            throws TopiaException
Throws:
TopiaException

findAllByNumberOfConnection

public List<E> findAllByNumberOfConnection(int v)
                                                     throws TopiaException
Throws:
TopiaException

findByLink

public E findByLink(String v)
                              throws TopiaException
Throws:
TopiaException

findAllByLink

public List<E> findAllByLink(String v)
                                       throws TopiaException
Throws:
TopiaException

findContainsPrincipals

public E findContainsPrincipals(TaasPrincipal v)
                                          throws TopiaException
Throws:
TopiaException

findAllContainsPrincipals

public List<E> findAllContainsPrincipals(TaasPrincipal v)
                                                   throws TopiaException
Throws:
TopiaException

findUsages

public <U extends TopiaEntity> List<U> findUsages(Class<U> type,
                                                  E entity)
                                       throws TopiaException
Specified by:
findUsages in interface TopiaDAO<E extends TaasUser>
Overrides:
findUsages in class TopiaDAOImpl<E extends TaasUser>
Throws:
TopiaException

findAllUsages

public Map<Class<? extends TopiaEntity>,List<? extends TopiaEntity>> findAllUsages(E entity)
                                                                            throws TopiaException
Specified by:
findAllUsages in interface TopiaDAO<E extends TaasUser>
Overrides:
findAllUsages in class TopiaDAOImpl<E extends TaasUser>
Throws:
TopiaException


Copyright © 2004-2011 CodeLutin. All Rights Reserved.