fr.ifremer.isisfish.entities
Class CellDAOAbstract<E extends Cell>

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.CellDAOAbstract<E>
All Implemented Interfaces:
org.nuiton.topia.persistence.TopiaDAO<E>
Direct Known Subclasses:
CellDAOImpl

public abstract class CellDAOAbstract<E extends Cell>
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
CellDAOAbstract()
           
 
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> findAllByLand(boolean v)
          findAllByLand : Retourne les éléments ayant comme valeur pour l'attribut land le paramètre.
 List<E> findAllByLatitude(float v)
          findAllByLatitude : Retourne les éléments ayant comme valeur pour l'attribut latitude le paramètre.
 List<E> findAllByLongitude(float v)
          findAllByLongitude : Retourne les éléments ayant comme valeur pour l'attribut longitude le paramètre.
 List<E> findAllByName(String v)
          findAllByName : Retourne les éléments ayant comme valeur pour l'attribut name 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 findByLand(boolean v)
          findByLand : Retourne le premier élément trouvé ayant comme valeur pour l'attribut land le paramètre.
 E findByLatitude(float v)
          findByLatitude : Retourne le premier élément trouvé ayant comme valeur pour l'attribut latitude le paramètre.
 E findByLongitude(float v)
          findByLongitude : Retourne le premier élément trouvé ayant comme valeur pour l'attribut longitude le paramètre.
 E findByName(String v)
          findByName : Retourne le premier élément trouvé ayant comme valeur pour l'attribut name 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

CellDAOAbstract

public CellDAOAbstract()
Method Detail

getEntityClass

public Class<E> getEntityClass()
getEntityClass :

Specified by:
getEntityClass in interface org.nuiton.topia.persistence.TopiaDAO<E extends Cell>
Overrides:
getEntityClass in class org.nuiton.topia.persistence.TopiaDAOLegacy<E extends Cell>
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 Cell>
Overrides:
delete in class org.nuiton.topia.persistence.TopiaDAOLegacy<E extends Cell>
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

findByLatitude

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

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

findAllByLatitude

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

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

findByLongitude

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

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

findAllByLongitude

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

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

findByLand

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

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

findAllByLand

public List<E> findAllByLand(boolean v)
                                   throws org.nuiton.topia.TopiaException
findAllByLand : Retourne les éléments ayant comme valeur pour l'attribut land 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

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 Cell>
Overrides:
findUsages in class org.nuiton.topia.persistence.TopiaDAOImpl<E extends Cell>
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 Cell>
Overrides:
findAllUsages in class org.nuiton.topia.persistence.TopiaDAOImpl<E extends Cell>
Parameters:
entity -
Returns:
Map, List>
Throws:
org.nuiton.topia.TopiaException


Copyright © 1999-2011 CodeLutin. All Rights Reserved.