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

java.lang.Object
  extended by org.nuiton.topia.persistence.TopiaDAOImpl<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.TopiaDAOImpl<E>
implements org.nuiton.topia.persistence.TopiaDAO<E>


Field Summary
 
Fields inherited from class org.nuiton.topia.persistence.TopiaDAOImpl
context, entityClass
 
Constructor Summary
CellDAOAbstract()
           
 
Method Summary
 void delete(E entity)
          delete :
 java.util.List<E> findAllByComment(java.lang.String v)
          findAllByComment : Retourne les éléments ayant comme valeur pour l'attribut comment le paramètre.
 java.util.List<E> findAllByLand(boolean v)
          findAllByLand : Retourne les éléments ayant comme valeur pour l'attribut land le paramètre.
 java.util.List<E> findAllByLatitude(float v)
          findAllByLatitude : Retourne les éléments ayant comme valeur pour l'attribut latitude le paramètre.
 java.util.List<E> findAllByLongitude(float v)
          findAllByLongitude : Retourne les éléments ayant comme valeur pour l'attribut longitude le paramètre.
 java.util.List<E> findAllByName(java.lang.String v)
          findAllByName : Retourne les éléments ayant comme valeur pour l'attribut name le paramètre.
 E findByComment(java.lang.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(java.lang.String v)
          findByName : Retourne le premier élément trouvé ayant comme valeur pour l'attribut name le paramètre.
 java.lang.Class<E> getEntityClass()
          getEntityClass :
 
Methods inherited from class org.nuiton.topia.persistence.TopiaDAOImpl
addTopiaEntityListener, addTopiaEntityVetoable, commitTransaction, create, create, createQuery, createQuery, 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, createQuery, createQuery, 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

CellDAOAbstract

public CellDAOAbstract()
Method Detail

getEntityClass

public java.lang.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.TopiaDAOImpl<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.TopiaDAOImpl<E extends Cell>
Parameters:
entity -
Throws:
org.nuiton.topia.TopiaException

findByName

public E findByName(java.lang.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 java.util.List<E> findAllByName(java.lang.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 java.util.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 java.util.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 java.util.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(java.lang.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 java.util.List<E> findAllByComment(java.lang.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


Copyright © 1999-2010 CodeLutin. All Rights Reserved.