org.chorem.callao.entity
Class ProjectDAOAbstract<E extends Project>

java.lang.Object
  extended by org.nuiton.topia.persistence.TopiaDAOImpl<E>
      extended by org.chorem.callao.entity.ProjectDAOAbstract<E>
All Implemented Interfaces:
org.nuiton.topia.persistence.TopiaDAO<E>
Direct Known Subclasses:
ProjectDAOImpl

public abstract class ProjectDAOAbstract<E extends Project>
extends org.nuiton.topia.persistence.TopiaDAOImpl<E>
implements org.nuiton.topia.persistence.TopiaDAO<E>

Implantation DAO pour l'entité Project. 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
ProjectDAOAbstract()
           
 
Method Summary
 void delete(E entity)
           
 java.util.List<E> findAllByMatcher(java.lang.String v)
          Retourne les éléments ayant comme valeur pour l'attribut matcher le paramètre
 java.util.List<E> findAllByUri(java.lang.String v)
          Retourne les éléments ayant comme valeur pour l'attribut uri le paramètre
 E findByMatcher(java.lang.String v)
          Retourne le premier élément trouvé ayant comme valeur pour l'attribut matcher le paramètre
 E findByUri(java.lang.String v)
          Retourne le premier élément trouvé ayant comme valeur pour l'attribut uri 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

ProjectDAOAbstract

public ProjectDAOAbstract()
Method Detail

getEntityClass

public java.lang.Class<E> getEntityClass()
Specified by:
getEntityClass in interface org.nuiton.topia.persistence.TopiaDAO<E extends Project>
Overrides:
getEntityClass in class org.nuiton.topia.persistence.TopiaDAOImpl<E extends Project>

delete

public void delete(E entity)
            throws org.nuiton.topia.TopiaException
Specified by:
delete in interface org.nuiton.topia.persistence.TopiaDAO<E extends Project>
Overrides:
delete in class org.nuiton.topia.persistence.TopiaDAOImpl<E extends Project>
Throws:
org.nuiton.topia.TopiaException

findByMatcher

public E findByMatcher(java.lang.String v)
                                throws org.nuiton.topia.TopiaException
Retourne le premier élément trouvé ayant comme valeur pour l'attribut matcher le paramètre

Parameters:
v - la valeur que doit avoir matcher
Returns:
un element ou null
Throws:
org.nuiton.topia.TopiaException

findAllByMatcher

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

Parameters:
v - la valeur que doit avoir matcher
Returns:
une liste
Throws:
org.nuiton.topia.TopiaException

findByUri

public E findByUri(java.lang.String v)
                            throws org.nuiton.topia.TopiaException
Retourne le premier élément trouvé ayant comme valeur pour l'attribut uri le paramètre

Parameters:
v - la valeur que doit avoir uri
Returns:
un element ou null
Throws:
org.nuiton.topia.TopiaException

findAllByUri

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

Parameters:
v - la valeur que doit avoir uri
Returns:
une liste
Throws:
org.nuiton.topia.TopiaException


Copyright © 2008-2010 CodeLutin. All Rights Reserved.