org.nuiton.topia.security.entities.authorization
Class TopiaAssociationAuthorizationDAOAbstract<E extends TopiaAssociationAuthorization>

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

public abstract class TopiaAssociationAuthorizationDAOAbstract<E extends TopiaAssociationAuthorization>
extends TopiaAuthorizationDAOImpl<E>
implements TopiaDAO<E>


Field Summary
 
Fields inherited from class org.nuiton.topia.persistence.TopiaDAOImpl
context, entityClass
 
Constructor Summary
TopiaAssociationAuthorizationDAOAbstract()
           
 
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> findAllByIdBeginAssociation(String v)
          findAllByIdBeginAssociation : Retourne les éléments ayant comme valeur pour l'attribut idBeginAssociation le paramètre.
 List<E> findAllByNameAssociation(String v)
          findAllByNameAssociation : Retourne les éléments ayant comme valeur pour l'attribut nameAssociation le paramètre.
 List<E> findAllByPrincipals(Set v)
          findAllByPrincipals : Retourne les éléments ayant comme valeur pour l'attribut principals 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 findByIdBeginAssociation(String v)
          findByIdBeginAssociation : Retourne le premier élément trouvé ayant comme valeur pour l'attribut idBeginAssociation le paramètre.
 E findByNameAssociation(String v)
          findByNameAssociation : Retourne le premier élément trouvé ayant comme valeur pour l'attribut nameAssociation le paramètre.
 E findByPrincipals(Set v)
          findByPrincipals : Retourne le premier élément trouvé ayant comme valeur pour l'attribut principals 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

TopiaAssociationAuthorizationDAOAbstract

public TopiaAssociationAuthorizationDAOAbstract()
Method Detail

getEntityClass

public Class<E> getEntityClass()
getEntityClass :

Specified by:
getEntityClass in interface TopiaDAO<E extends TopiaAssociationAuthorization>
Overrides:
getEntityClass in class TopiaAuthorizationDAOAbstract<E extends TopiaAssociationAuthorization>
Returns:
Class

delete

public void delete(E entity)
            throws TopiaException
delete :

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

findByIdBeginAssociation

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

Parameters:
v -
Returns:
E
Throws:
TopiaException

findAllByIdBeginAssociation

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

Parameters:
v -
Returns:
List
Throws:
TopiaException

findByNameAssociation

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

Parameters:
v -
Returns:
E
Throws:
TopiaException

findAllByNameAssociation

public List<E> findAllByNameAssociation(String v)
                                                                       throws TopiaException
findAllByNameAssociation : Retourne les éléments ayant comme valeur pour l'attribut nameAssociation 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

findByPrincipals

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

Parameters:
v -
Returns:
E
Throws:
TopiaException

findAllByPrincipals

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


Copyright © 2004-2011 CodeLutin. All Rights Reserved.