fr.ifremer.isisfish.entities
Class StrategyDAOAbstract<E extends Strategy>

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

public abstract class StrategyDAOAbstract<E extends Strategy>
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
StrategyDAOAbstract()
           
 
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> findAllByInactivityEquation(Equation v)
          findAllByInactivityEquation : Retourne les éléments ayant comme valeur pour l'attribut inactivityEquation le paramètre.
 java.util.List<E> findAllByInactivityEquationUsed(boolean v)
          findAllByInactivityEquationUsed : Retourne les éléments ayant comme valeur pour l'attribut inactivityEquationUsed 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.
 java.util.List<E> findAllByProportionSetOfVessels(double v)
          findAllByProportionSetOfVessels : Retourne les éléments ayant comme valeur pour l'attribut proportionSetOfVessels le paramètre.
 java.util.List<E> findAllBySetOfVessels(SetOfVessels v)
          findAllBySetOfVessels : Retourne les éléments ayant comme valeur pour l'attribut setOfVessels le paramètre.
 java.util.List<E> findAllContainsStrategyMonthInfo(StrategyMonthInfo... v)
          findAllContainsStrategyMonthInfo : Retourne les éléments trouvé dont l'attribut strategyMonthInfo contient 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 findByInactivityEquation(Equation v)
          findByInactivityEquation : Retourne le premier élément trouvé ayant comme valeur pour l'attribut inactivityEquation le paramètre.
 E findByInactivityEquationUsed(boolean v)
          findByInactivityEquationUsed : Retourne le premier élément trouvé ayant comme valeur pour l'attribut inactivityEquationUsed 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.
 E findByProportionSetOfVessels(double v)
          findByProportionSetOfVessels : Retourne le premier élément trouvé ayant comme valeur pour l'attribut proportionSetOfVessels le paramètre.
 E findBySetOfVessels(SetOfVessels v)
          findBySetOfVessels : Retourne le premier élément trouvé ayant comme valeur pour l'attribut setOfVessels le paramètre.
 E findContainsStrategyMonthInfo(StrategyMonthInfo... v)
          findContainsStrategyMonthInfo : Retourne le premier élément trouvé dont l'attribut strategyMonthInfo contient 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

StrategyDAOAbstract

public StrategyDAOAbstract()
Method Detail

getEntityClass

public java.lang.Class<E> getEntityClass()
getEntityClass :

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

findByProportionSetOfVessels

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

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

findAllByProportionSetOfVessels

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

findByInactivityEquationUsed

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

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

findAllByInactivityEquationUsed

public java.util.List<E> findAllByInactivityEquationUsed(boolean v)
                                                                   throws org.nuiton.topia.TopiaException
findAllByInactivityEquationUsed : Retourne les éléments ayant comme valeur pour l'attribut inactivityEquationUsed le paramètre.

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

findByInactivityEquation

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

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

findAllByInactivityEquation

public java.util.List<E> findAllByInactivityEquation(Equation v)
                                                               throws org.nuiton.topia.TopiaException
findAllByInactivityEquation : Retourne les éléments ayant comme valeur pour l'attribut inactivityEquation le paramètre.

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

findBySetOfVessels

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

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

findAllBySetOfVessels

public java.util.List<E> findAllBySetOfVessels(SetOfVessels v)
                                                         throws org.nuiton.topia.TopiaException
findAllBySetOfVessels : Retourne les éléments ayant comme valeur pour l'attribut setOfVessels le paramètre.

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

findContainsStrategyMonthInfo

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

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

findAllContainsStrategyMonthInfo

public java.util.List<E> findAllContainsStrategyMonthInfo(StrategyMonthInfo... v)
                                                                    throws org.nuiton.topia.TopiaException
findAllContainsStrategyMonthInfo : Retourne les éléments trouvé dont l'attribut strategyMonthInfo contient le paramètre.

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


Copyright © 1999-2010 CodeLutin. All Rights Reserved.