org.nuiton.topia.security.entities.authorization
Class TopiaExpressionLinkDAOAbstract<E extends TopiaExpressionLink>

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

public abstract class TopiaExpressionLinkDAOAbstract<E extends TopiaExpressionLink>
extends TopiaDAOImpl<E>
implements TopiaDAO<E>

Implantation DAO pour l'entité TopiaExpressionLink. Cette classe contient une implantation de TopiaDAO a laquel elle peut deleguer des traitements


Field Summary
 
Fields inherited from class org.nuiton.topia.persistence.TopiaDAOImpl
context, entityClass
 
Constructor Summary
TopiaExpressionLinkDAOAbstract()
           
 
Method Summary
 void delete(E entity)
           
 java.util.List<E> findAllByBy(java.lang.String v)
          Retourne les éléments ayant comme valeur pour l'attribut by le paramètre
 java.util.List<E> findAllByReplace(java.lang.String v)
          Retourne les éléments ayant comme valeur pour l'attribut replace le paramètre
 E findByBy(java.lang.String v)
          Retourne le premier élément trouvé ayant comme valeur pour l'attribut by le paramètre
 E findByReplace(java.lang.String v)
          Retourne le premier élément trouvé ayant comme valeur pour l'attribut replace le paramètre
 java.lang.Class<E> getEntityClass()
           
 
Methods inherited from class org.nuiton.topia.persistence.TopiaDAOImpl
addTopiaEntityListener, addTopiaEntityVetoable, commitTransaction, create, create, findAll, findAllByProperties, findAllByProperties, findAllByProperty, findAllContainsProperties, findAllContainsProperties, findAllIds, findAllWithOrder, findByPrimaryKey, findByPrimaryKey, findByProperties, findByProperties, findByProperty, findByTopiaId, findContainsProperties, findContainsProperties, getContext, getId, getId, getRequestPermission, init, instanciateNew, removeTopiaEntityListener, removeTopiaEntityVetoable, rollbackTransaction, 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, commitTransaction, create, create, findAll, findAllByProperties, findAllByProperties, findAllByProperty, findAllContainsProperties, findAllContainsProperties, findAllIds, findAllWithOrder, findByPrimaryKey, findByPrimaryKey, findByProperties, findByProperties, findByProperty, findByTopiaId, findContainsProperties, findContainsProperties, getContext, getRequestPermission, init, removeTopiaEntityListener, removeTopiaEntityVetoable, rollbackTransaction, size, update
 

Constructor Detail

TopiaExpressionLinkDAOAbstract

public TopiaExpressionLinkDAOAbstract()
Method Detail

getEntityClass

public java.lang.Class<E> getEntityClass()
Specified by:
getEntityClass in interface TopiaDAO<E extends TopiaExpressionLink>
Overrides:
getEntityClass in class TopiaDAOImpl<E extends TopiaExpressionLink>

delete

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

findByReplace

public E findByReplace(java.lang.String v)
                                            throws TopiaException
Retourne le premier élément trouvé ayant comme valeur pour l'attribut replace le paramètre

Parameters:
v - la valeur que doit avoir replace
Returns:
un element ou null
Throws:
TopiaException

findAllByReplace

public java.util.List<E> findAllByReplace(java.lang.String v)
                                                               throws TopiaException
Retourne les éléments ayant comme valeur pour l'attribut replace le paramètre

Parameters:
v - la valeur que doit avoir replace
Returns:
une liste
Throws:
TopiaException

findByBy

public E findByBy(java.lang.String v)
                                       throws TopiaException
Retourne le premier élément trouvé ayant comme valeur pour l'attribut by le paramètre

Parameters:
v - la valeur que doit avoir by
Returns:
un element ou null
Throws:
TopiaException

findAllByBy

public java.util.List<E> findAllByBy(java.lang.String v)
                                                          throws TopiaException
Retourne les éléments ayant comme valeur pour l'attribut by le paramètre

Parameters:
v - la valeur que doit avoir by
Returns:
une liste
Throws:
TopiaException


Copyright © 2004-2009 CodeLutin. All Rights Reserved.