fr.ifremer.isisfish.entities
Class EffortDescriptionDAOAbstract<E extends EffortDescription>

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

public abstract class EffortDescriptionDAOAbstract<E extends EffortDescription>
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
EffortDescriptionDAOAbstract()
           
 
Method Summary
 void delete(E entity)
          delete :
 List<E> findAllByCrewFoodCost(double v)
          findAllByCrewFoodCost : Retourne les éléments ayant comme valeur pour l'attribut crewFoodCost le paramètre.
 List<E> findAllByCrewShareRate(double v)
          findAllByCrewShareRate : Retourne les éléments ayant comme valeur pour l'attribut crewShareRate le paramètre.
 List<E> findAllByCrewSize(int v)
          findAllByCrewSize : Retourne les éléments ayant comme valeur pour l'attribut crewSize le paramètre.
 List<E> findAllByFishingOperation(int v)
          findAllByFishingOperation : Retourne les éléments ayant comme valeur pour l'attribut fishingOperation le paramètre.
 List<E> findAllByFishingOperationDuration(TimeUnit v)
          findAllByFishingOperationDuration : Retourne les éléments ayant comme valeur pour l'attribut fishingOperationDuration le paramètre.
 List<E> findAllByFixedCrewSalary(double v)
          findAllByFixedCrewSalary : Retourne les éléments ayant comme valeur pour l'attribut fixedCrewSalary le paramètre.
 List<E> findAllByGearsNumberPerOperation(int v)
          findAllByGearsNumberPerOperation : Retourne les éléments ayant comme valeur pour l'attribut gearsNumberPerOperation le paramètre.
 List<E> findAllByLandingCosts(double v)
          findAllByLandingCosts : Retourne les éléments ayant comme valeur pour l'attribut landingCosts le paramètre.
 List<E> findAllByOtherRunningCost(double v)
          findAllByOtherRunningCost : Retourne les éléments ayant comme valeur pour l'attribut otherRunningCost le paramètre.
 List<E> findAllByRepairAndMaintenanceGearCost(double v)
          findAllByRepairAndMaintenanceGearCost : Retourne les éléments ayant comme valeur pour l'attribut repairAndMaintenanceGearCost le paramètre.
 List<E> findAllByUnitCostOfFishing(double v)
          findAllByUnitCostOfFishing : Retourne les éléments ayant comme valeur pour l'attribut unitCostOfFishing le paramètre.
 List<E> findAllContainsPossibleMetiers(Metier... v)
          findAllContainsPossibleMetiers : Retourne les éléments trouvé dont l'attribut possibleMetiers contient le paramètre.
 List<E> findAllContainsSetOfVessels(SetOfVessels... v)
          findAllContainsSetOfVessels : Retourne les éléments trouvé dont l'attribut setOfVessels contient le paramètre.
 Map<Class<? extends org.nuiton.topia.persistence.TopiaEntity>,List<? extends org.nuiton.topia.persistence.TopiaEntity>> findAllUsages(E entity)
          findAllUsages :
 E findByCrewFoodCost(double v)
          findByCrewFoodCost : Retourne le premier élément trouvé ayant comme valeur pour l'attribut crewFoodCost le paramètre.
 E findByCrewShareRate(double v)
          findByCrewShareRate : Retourne le premier élément trouvé ayant comme valeur pour l'attribut crewShareRate le paramètre.
 E findByCrewSize(int v)
          findByCrewSize : Retourne le premier élément trouvé ayant comme valeur pour l'attribut crewSize le paramètre.
 E findByFishingOperation(int v)
          findByFishingOperation : Retourne le premier élément trouvé ayant comme valeur pour l'attribut fishingOperation le paramètre.
 E findByFishingOperationDuration(TimeUnit v)
          findByFishingOperationDuration : Retourne le premier élément trouvé ayant comme valeur pour l'attribut fishingOperationDuration le paramètre.
 E findByFixedCrewSalary(double v)
          findByFixedCrewSalary : Retourne le premier élément trouvé ayant comme valeur pour l'attribut fixedCrewSalary le paramètre.
 E findByGearsNumberPerOperation(int v)
          findByGearsNumberPerOperation : Retourne le premier élément trouvé ayant comme valeur pour l'attribut gearsNumberPerOperation le paramètre.
 E findByLandingCosts(double v)
          findByLandingCosts : Retourne le premier élément trouvé ayant comme valeur pour l'attribut landingCosts le paramètre.
 E findByOtherRunningCost(double v)
          findByOtherRunningCost : Retourne le premier élément trouvé ayant comme valeur pour l'attribut otherRunningCost le paramètre.
 E findByRepairAndMaintenanceGearCost(double v)
          findByRepairAndMaintenanceGearCost : Retourne le premier élément trouvé ayant comme valeur pour l'attribut repairAndMaintenanceGearCost le paramètre.
 E findByUnitCostOfFishing(double v)
          findByUnitCostOfFishing : Retourne le premier élément trouvé ayant comme valeur pour l'attribut unitCostOfFishing le paramètre.
 E findContainsPossibleMetiers(Metier... v)
          findContainsPossibleMetiers : Retourne le premier élément trouvé dont l'attribut possibleMetiers contient le paramètre.
 E findContainsSetOfVessels(SetOfVessels... v)
          findContainsSetOfVessels : Retourne le premier élément trouvé dont l'attribut setOfVessels 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

EffortDescriptionDAOAbstract

public EffortDescriptionDAOAbstract()
Method Detail

getEntityClass

public Class<E> getEntityClass()
getEntityClass :

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

findByFishingOperation

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

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

findAllByFishingOperation

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

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

findByFishingOperationDuration

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

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

findAllByFishingOperationDuration

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

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

findByGearsNumberPerOperation

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

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

findAllByGearsNumberPerOperation

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

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

findByCrewSize

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

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

findAllByCrewSize

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

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

findByUnitCostOfFishing

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

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

findAllByUnitCostOfFishing

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

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

findByFixedCrewSalary

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

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

findAllByFixedCrewSalary

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

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

findByCrewShareRate

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

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

findAllByCrewShareRate

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

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

findByCrewFoodCost

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

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

findAllByCrewFoodCost

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

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

findByRepairAndMaintenanceGearCost

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

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

findAllByRepairAndMaintenanceGearCost

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

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

findByOtherRunningCost

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

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

findAllByOtherRunningCost

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

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

findByLandingCosts

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

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

findAllByLandingCosts

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

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

findContainsSetOfVessels

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

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

findAllContainsSetOfVessels

public List<E> findAllContainsSetOfVessels(SetOfVessels... v)
                                                              throws org.nuiton.topia.TopiaException
findAllContainsSetOfVessels : Retourne les éléments trouvé dont l'attribut setOfVessels contient 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

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


Copyright © 1999-2011 CodeLutin. All Rights Reserved.