fr.ifremer.isisfish.entities
Class SetOfVesselsDAOAbstract<E extends SetOfVessels>

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

public abstract class SetOfVesselsDAOAbstract<E extends SetOfVessels>
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
SetOfVesselsDAOAbstract()
           
 
Method Summary
 void delete(E entity)
          delete :
 List<E> findAllByCapitalDeprecation(double v)
          findAllByCapitalDeprecation : Retourne les éléments ayant comme valeur pour l'attribut capitalDeprecation le paramètre.
 List<E> findAllByComment(String v)
          findAllByComment : Retourne les éléments ayant comme valeur pour l'attribut comment le paramètre.
 List<E> findAllByFixedCosts(double v)
          findAllByFixedCosts : Retourne les éléments ayant comme valeur pour l'attribut fixedCosts le paramètre.
 List<E> findAllByInterestCost(double v)
          findAllByInterestCost : Retourne les éléments ayant comme valeur pour l'attribut interestCost 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> findAllByNumberOfVessels(int v)
          findAllByNumberOfVessels : Retourne les éléments ayant comme valeur pour l'attribut numberOfVessels le paramètre.
 List<E> findAllByPort(Port v)
          findAllByPort : Retourne les éléments ayant comme valeur pour l'attribut port le paramètre.
 List<E> findAllByTechnicalEfficiencyEquation(Equation v)
          findAllByTechnicalEfficiencyEquation : Retourne les éléments ayant comme valeur pour l'attribut technicalEfficiencyEquation le paramètre.
 List<E> findAllByVesselCosts(double v)
          findAllByVesselCosts : Retourne les éléments ayant comme valeur pour l'attribut vesselCosts le paramètre.
 List<E> findAllByVesselType(VesselType v)
          findAllByVesselType : Retourne les éléments ayant comme valeur pour l'attribut vesselType le paramètre.
 List<E> findAllContainsPossibleMetiers(Metier... v)
          findAllContainsPossibleMetiers : Retourne les éléments trouvé dont l'attribut possibleMetiers contient le paramètre.
 Map<Class<? extends org.nuiton.topia.persistence.TopiaEntity>,List<? extends org.nuiton.topia.persistence.TopiaEntity>> findAllUsages(E entity)
          findAllUsages :
 E findByCapitalDeprecation(double v)
          findByCapitalDeprecation : Retourne le premier élément trouvé ayant comme valeur pour l'attribut capitalDeprecation le paramètre.
 E findByComment(String v)
          findByComment : Retourne le premier élément trouvé ayant comme valeur pour l'attribut comment le paramètre.
 E findByFixedCosts(double v)
          findByFixedCosts : Retourne le premier élément trouvé ayant comme valeur pour l'attribut fixedCosts le paramètre.
 E findByInterestCost(double v)
          findByInterestCost : Retourne le premier élément trouvé ayant comme valeur pour l'attribut interestCost 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 findByNumberOfVessels(int v)
          findByNumberOfVessels : Retourne le premier élément trouvé ayant comme valeur pour l'attribut numberOfVessels le paramètre.
 E findByPort(Port v)
          findByPort : Retourne le premier élément trouvé ayant comme valeur pour l'attribut port le paramètre.
 E findByTechnicalEfficiencyEquation(Equation v)
          findByTechnicalEfficiencyEquation : Retourne le premier élément trouvé ayant comme valeur pour l'attribut technicalEfficiencyEquation le paramètre.
 E findByVesselCosts(double v)
          findByVesselCosts : Retourne le premier élément trouvé ayant comme valeur pour l'attribut vesselCosts le paramètre.
 E findByVesselType(VesselType v)
          findByVesselType : Retourne le premier élément trouvé ayant comme valeur pour l'attribut vesselType le paramètre.
 E findContainsPossibleMetiers(Metier... v)
          findContainsPossibleMetiers : Retourne le premier élément trouvé dont l'attribut possibleMetiers 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

SetOfVesselsDAOAbstract

public SetOfVesselsDAOAbstract()
Method Detail

getEntityClass

public Class<E> getEntityClass()
getEntityClass :

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

findByNumberOfVessels

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

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

findAllByNumberOfVessels

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

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

findByFixedCosts

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

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

findAllByFixedCosts

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

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

findByVesselCosts

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

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

findAllByVesselCosts

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

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

findByCapitalDeprecation

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

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

findAllByCapitalDeprecation

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

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

findByInterestCost

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

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

findAllByInterestCost

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

findByTechnicalEfficiencyEquation

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

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

findAllByTechnicalEfficiencyEquation

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

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

findByPort

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

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

findAllByPort

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

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

findContainsPossibleMetiers

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

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

findAllContainsPossibleMetiers

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

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

findByVesselType

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

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

findAllByVesselType

public List<E> findAllByVesselType(VesselType v)
                                                 throws org.nuiton.topia.TopiaException
findAllByVesselType : Retourne les éléments ayant comme valeur pour l'attribut vesselType 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 SetOfVessels>
Overrides:
findUsages in class org.nuiton.topia.persistence.TopiaDAOImpl<E extends SetOfVessels>
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 SetOfVessels>
Overrides:
findAllUsages in class org.nuiton.topia.persistence.TopiaDAOImpl<E extends SetOfVessels>
Parameters:
entity -
Returns:
Map, List>
Throws:
org.nuiton.topia.TopiaException


Copyright © 1999-2011 CodeLutin. All Rights Reserved.