org.nuiton.topia.taas.entities
Class TaasAuthorizationDAOAbstract<E extends TaasAuthorization>

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

public abstract class TaasAuthorizationDAOAbstract<E extends TaasAuthorization>
extends TopiaDAOImpl<E>
implements TopiaDAO<E>


Field Summary
 
Fields inherited from class org.nuiton.topia.persistence.TopiaDAOImpl
context, entityClass
 
Constructor Summary
TaasAuthorizationDAOAbstract()
           
 
Method Summary
 void delete(E entity)
          delete :
 List<E> findAllByActions(int v)
          findAllByActions : Retourne les éléments ayant comme valeur pour l'attribut actions le paramètre.
 List<E> findAllByExpression(String v)
          findAllByExpression : Retourne les éléments ayant comme valeur pour l'attribut expression le paramètre.
 Map<Class<? extends TopiaEntity>,List<? extends TopiaEntity>> findAllUsages(E entity)
          findAllUsages :
 E findByActions(int v)
          findByActions : Retourne le premier élément trouvé ayant comme valeur pour l'attribut actions le paramètre.
 E findByExpression(String v)
          findByExpression : Retourne le premier élément trouvé ayant comme valeur pour l'attribut expression 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

TaasAuthorizationDAOAbstract

public TaasAuthorizationDAOAbstract()
Method Detail

getEntityClass

public Class<E> getEntityClass()
getEntityClass :

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

delete

public void delete(E entity)
            throws TopiaException
delete :

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

findByExpression

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

Parameters:
v -
Returns:
E
Throws:
TopiaException

findAllByExpression

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

Parameters:
v -
Returns:
List
Throws:
TopiaException

findByActions

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

Parameters:
v -
Returns:
E
Throws:
TopiaException

findAllByActions

public List<E> findAllByActions(int v)
                                                   throws TopiaException
findAllByActions : Retourne les éléments ayant comme valeur pour l'attribut actions 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 TaasAuthorization>
Overrides:
findUsages in class TopiaDAOImpl<E extends TaasAuthorization>
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 TaasAuthorization>
Overrides:
findAllUsages in class TopiaDAOImpl<E extends TaasAuthorization>
Parameters:
entity -
Returns:
Map, List>
Throws:
TopiaException


Copyright © 2004-2010 CodeLutin. All Rights Reserved.