org.nuiton.topia.security.entities.authorization
Class TopiaAuthorizationDAOAbstract<E extends TopiaAuthorization>

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

public abstract class TopiaAuthorizationDAOAbstract<E extends TopiaAuthorization>
extends TopiaDAOImpl<E>
implements TopiaDAO<E>


Field Summary
 
Fields inherited from class org.nuiton.topia.persistence.TopiaDAOImpl
context, entityClass
 
Constructor Summary
TopiaAuthorizationDAOAbstract()
           
 
Method Summary
 void delete(E entity)
          delete :
 Map<Class<? extends TopiaEntity>,List<? extends TopiaEntity>> findAllUsages(E entity)
          findAllUsages :
<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

TopiaAuthorizationDAOAbstract

public TopiaAuthorizationDAOAbstract()
Method Detail

getEntityClass

public Class<E> getEntityClass()
getEntityClass :

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

delete

public void delete(E entity)
            throws TopiaException
delete :

Specified by:
delete in interface TopiaDAO<E extends TopiaAuthorization>
Overrides:
delete in class TopiaDAOImpl<E extends TopiaAuthorization>
Parameters:
entity -
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 TopiaAuthorization>
Overrides:
findUsages in class TopiaDAOImpl<E extends TopiaAuthorization>
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 TopiaAuthorization>
Overrides:
findAllUsages in class TopiaDAOImpl<E extends TopiaAuthorization>
Parameters:
entity -
Returns:
Map, List>
Throws:
TopiaException


Copyright © 2004-2011 CodeLutin. All Rights Reserved.