org.nuiton.topia.security.entities.user
Class TopiaGroupDAOAbstract<E extends TopiaGroup>

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

public abstract class TopiaGroupDAOAbstract<E extends TopiaGroup>
extends TopiaDAOImpl<E>


Field Summary
 
Fields inherited from class org.nuiton.topia.persistence.TopiaDAOImpl
context, entityClass
 
Constructor Summary
TopiaGroupDAOAbstract()
           
 
Method Summary
 void delete(E entity)
           
 List<E> findAllByDescription(String v)
           
 List<E> findAllByName(String v)
           
 List<E> findAllBySuperGroup(TopiaGroup v)
           
 List<E> findAllContainsSubGroup(TopiaGroup v)
           
 List<E> findAllContainsTopiaUser(TopiaUser v)
           
 Map<Class<? extends TopiaEntity>,List<? extends TopiaEntity>> findAllUsages(E entity)
           
 E findByDescription(String v)
           
 E findByName(String v)
           
 E findBySuperGroup(TopiaGroup v)
           
 E findContainsSubGroup(TopiaGroup v)
           
 E findContainsTopiaUser(TopiaUser 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

TopiaGroupDAOAbstract

public TopiaGroupDAOAbstract()
Method Detail

getEntityClass

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

getTopiaEntityEnum

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

delete

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

findByName

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

findAllByName

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

findByDescription

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

findAllByDescription

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

findContainsTopiaUser

public E findContainsTopiaUser(TopiaUser v)
                                           throws TopiaException
Throws:
TopiaException

findAllContainsTopiaUser

public List<E> findAllContainsTopiaUser(TopiaUser v)
                                                    throws TopiaException
Throws:
TopiaException

findBySuperGroup

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

findAllBySuperGroup

public List<E> findAllBySuperGroup(TopiaGroup v)
                                               throws TopiaException
Throws:
TopiaException

findContainsSubGroup

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

findAllContainsSubGroup

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

findAllUsages

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


Copyright © 2004-2012 CodeLutin. All Rights Reserved.