fr.ifremer.isisfish.entities
Class ZoneDAOAbstract<E extends Zone>

java.lang.Object
  extended by org.nuiton.topia.persistence.TopiaDAOImpl<E>
      extended by org.nuiton.topia.persistence.TopiaDAOLegacy<E>
          extended by fr.ifremer.isisfish.entities.ZoneDAOAbstract<E>
All Implemented Interfaces:
org.nuiton.topia.persistence.TopiaDAO<E>
Direct Known Subclasses:
ZoneDAOImpl

public abstract class ZoneDAOAbstract<E extends Zone>
extends org.nuiton.topia.persistence.TopiaDAOLegacy<E>
implements org.nuiton.topia.persistence.TopiaDAO<E>


Field Summary
 
Fields inherited from class org.nuiton.topia.persistence.TopiaDAOLegacy
context, entityClass
 
Constructor Summary
ZoneDAOAbstract()
           
 
Method Summary
 void delete(E entity)
          delete :
 List<E> findAllByComment(String v)
          findAllByComment : Retourne les éléments ayant comme valeur pour l'attribut comment le paramètre.
 List<E> findAllByName(String v)
          findAllByName : Retourne les éléments ayant comme valeur pour l'attribut name le paramètre.
 List<E> findAllContainsCell(Cell... v)
          findAllContainsCell : Retourne les éléments trouvé dont l'attribut cell contient le paramètre.
 Map<Class<? extends org.nuiton.topia.persistence.TopiaEntity>,List<? extends org.nuiton.topia.persistence.TopiaEntity>> findAllUsages(E entity)
          findAllUsages :
 E findByComment(String v)
          findByComment : Retourne le premier élément trouvé ayant comme valeur pour l'attribut comment le paramètre.
 E findByName(String v)
          findByName : Retourne le premier élément trouvé ayant comme valeur pour l'attribut name le paramètre.
 E findContainsCell(Cell... v)
          findContainsCell : Retourne le premier élément trouvé dont l'attribut cell contient le paramètre.
<U extends org.nuiton.topia.persistence.TopiaEntity>
List<U>
findUsages(Class<U> type, E entity)
          findUsages :
 Class<E> getEntityClass()
          getEntityClass :
 
Methods inherited from class org.nuiton.topia.persistence.TopiaDAOLegacy
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 org.nuiton.topia.persistence.TopiaDAOImpl
count, countByQuery, create, createQuery, createQuery, existByProperties, existByQuery, existByTopiaId, findAllByQuery, findAllMappedByQuery, findAllMappedByQuery, findByQuery, newInstance
 
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, count, countByQuery, create, create, create, createQuery, createQuery, existByProperties, existByQuery, existByTopiaId, findAll, findAllByProperties, findAllByProperties, findAllByProperty, findAllByQuery, findAllContainsProperties, findAllContainsProperties, findAllIds, findAllMappedByQuery, findAllMappedByQuery, findAllWithOrder, findByPrimaryKey, findByPrimaryKey, findByProperties, findByProperties, findByProperty, findByQuery, findByTopiaId, findContainsProperties, findContainsProperties, getContext, getRequestPermission, init, newInstance, removeTopiaEntityListener, removeTopiaEntityVetoable, rollbackTransaction, size, update
 

Constructor Detail

ZoneDAOAbstract

public ZoneDAOAbstract()
Method Detail

getEntityClass

public Class<E> getEntityClass()
getEntityClass :

Specified by:
getEntityClass in interface org.nuiton.topia.persistence.TopiaDAO<E extends Zone>
Overrides:
getEntityClass in class org.nuiton.topia.persistence.TopiaDAOLegacy<E extends Zone>
Returns:
Class

delete

public void delete(E entity)
            throws org.nuiton.topia.TopiaException
delete :

Specified by:
delete in interface org.nuiton.topia.persistence.TopiaDAO<E extends Zone>
Overrides:
delete in class org.nuiton.topia.persistence.TopiaDAOLegacy<E extends Zone>
Parameters:
entity -
Throws:
org.nuiton.topia.TopiaException

findByName

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

Parameters:
v -
Returns:
E
Throws:
org.nuiton.topia.TopiaException

findAllByName

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

Parameters:
v -
Returns:
List
Throws:
org.nuiton.topia.TopiaException

findByComment

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

Parameters:
v -
Returns:
E
Throws:
org.nuiton.topia.TopiaException

findAllByComment

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

Parameters:
v -
Returns:
List
Throws:
org.nuiton.topia.TopiaException

findContainsCell

public E findContainsCell(Cell... v)
                                throws org.nuiton.topia.TopiaException
findContainsCell : Retourne le premier élément trouvé dont l'attribut cell contient le paramètre.

Parameters:
v -
Returns:
E
Throws:
org.nuiton.topia.TopiaException

findAllContainsCell

public List<E> findAllContainsCell(Cell... v)
                                         throws org.nuiton.topia.TopiaException
findAllContainsCell : Retourne les éléments trouvé dont l'attribut cell contient le paramètre.

Parameters:
v -
Returns:
List
Throws:
org.nuiton.topia.TopiaException

findUsages

public <U extends org.nuiton.topia.persistence.TopiaEntity> List<U> findUsages(Class<U> type,
                                                                               E entity)
                                                                    throws org.nuiton.topia.TopiaException
findUsages :

Specified by:
findUsages in interface org.nuiton.topia.persistence.TopiaDAO<E extends Zone>
Overrides:
findUsages in class org.nuiton.topia.persistence.TopiaDAOImpl<E extends Zone>
Parameters:
type -
entity -
Returns:
List
Throws:
org.nuiton.topia.TopiaException

findAllUsages

public Map<Class<? extends org.nuiton.topia.persistence.TopiaEntity>,List<? extends org.nuiton.topia.persistence.TopiaEntity>> findAllUsages(E entity)
                                                                                                                                      throws org.nuiton.topia.TopiaException
findAllUsages :

Specified by:
findAllUsages in interface org.nuiton.topia.persistence.TopiaDAO<E extends Zone>
Overrides:
findAllUsages in class org.nuiton.topia.persistence.TopiaDAOImpl<E extends Zone>
Parameters:
entity -
Returns:
Map, List>
Throws:
org.nuiton.topia.TopiaException


Copyright © 1999-2011 CodeLutin. All Rights Reserved.