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>


Field Summary
 
Fields inherited from class org.nuiton.topia.persistence.TopiaDAOImpl
context, entityClass
 
Constructor Summary
TopiaUserDAOAbstract()
           
 
Method Summary
 void delete(E entity)
           
 List<E> findAllByEmail(String v)
           
 List<E> findAllByLinkApplication(String v)
           
 List<E> findAllByLogin(String v)
           
 List<E> findAllByNote(String v)
           
 List<E> findAllByPassword(String v)
           
 List<E> findAllContainsTopiaGroup(TopiaGroup v)
           
 Map<Class<? extends TopiaEntity>,List<? extends TopiaEntity>> findAllUsages(E entity)
           
 E findByEmail(String v)
           
 E findByLinkApplication(String v)
           
 E findByLogin(String v)
           
 E findByNote(String v)
           
 E findByPassword(String v)
           
 E findContainsTopiaGroup(TopiaGroup 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, 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

TopiaUserDAOAbstract

public TopiaUserDAOAbstract()
Method Detail

getEntityClass

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

getTopiaEntityEnum

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

delete

public void delete(E entity)
            throws TopiaException
Specified by:
delete in interface TopiaDAO<E extends TopiaUser>
Overrides:
delete in class TopiaDAOImpl<E extends TopiaUser>
Throws:
TopiaException

findByLogin

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

findAllByLogin

public List<E> findAllByLogin(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

findByPassword

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

findAllByPassword

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

findByNote

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

findAllByNote

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

findByLinkApplication

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

findAllByLinkApplication

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

findContainsTopiaGroup

public E findContainsTopiaGroup(TopiaGroup v)
                                           throws TopiaException
Throws:
TopiaException

findAllContainsTopiaGroup

public List<E> findAllContainsTopiaGroup(TopiaGroup 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 TopiaUser>
Overrides:
findUsages in class TopiaDAOImpl<E extends TopiaUser>
Throws:
TopiaException

findAllUsages

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


Copyright © 2004-2012 CodeLutin. All Rights Reserved.