fr.ifremer.isisfish.entities
Class StrategyMonthInfoDAOAbstract<E extends StrategyMonthInfo>

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

public abstract class StrategyMonthInfoDAOAbstract<E extends StrategyMonthInfo>
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
StrategyMonthInfoDAOAbstract()
           
 
Method Summary
 void delete(E entity)
          delete :
 List<E> findAllByMinInactivityDays(double v)
          findAllByMinInactivityDays : Retourne les éléments ayant comme valeur pour l'attribut minInactivityDays le paramètre.
 List<E> findAllByMonth(Month v)
          findAllByMonth : Retourne les éléments ayant comme valeur pour l'attribut month le paramètre.
 List<E> findAllByNumberOfTrips(double v)
          findAllByNumberOfTrips : Retourne les éléments ayant comme valeur pour l'attribut numberOfTrips le paramètre.
 List<E> findAllByProportionMetier(org.nuiton.math.matrix.MatrixND v)
          findAllByProportionMetier : Retourne les éléments ayant comme valeur pour l'attribut proportionMetier le paramètre.
 List<E> findAllByStrategy(Strategy v)
          findAllByStrategy : Retourne les éléments ayant comme valeur pour l'attribut strategy le paramètre.
 List<E> findAllByTripType(TripType v)
          findAllByTripType : Retourne les éléments ayant comme valeur pour l'attribut tripType le paramètre.
 Map<Class<? extends org.nuiton.topia.persistence.TopiaEntity>,List<? extends org.nuiton.topia.persistence.TopiaEntity>> findAllUsages(E entity)
          findAllUsages :
 E findByMinInactivityDays(double v)
          findByMinInactivityDays : Retourne le premier élément trouvé ayant comme valeur pour l'attribut minInactivityDays le paramètre.
 E findByMonth(Month v)
          findByMonth : Retourne le premier élément trouvé ayant comme valeur pour l'attribut month le paramètre.
 E findByNumberOfTrips(double v)
          findByNumberOfTrips : Retourne le premier élément trouvé ayant comme valeur pour l'attribut numberOfTrips le paramètre.
 E findByProportionMetier(org.nuiton.math.matrix.MatrixND v)
          findByProportionMetier : Retourne le premier élément trouvé ayant comme valeur pour l'attribut proportionMetier le paramètre.
 E findByStrategy(Strategy v)
          findByStrategy : Retourne le premier élément trouvé ayant comme valeur pour l'attribut strategy le paramètre.
 E findByTripType(TripType v)
          findByTripType : Retourne le premier élément trouvé ayant comme valeur pour l'attribut tripType 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

StrategyMonthInfoDAOAbstract

public StrategyMonthInfoDAOAbstract()
Method Detail

getEntityClass

public Class<E> getEntityClass()
getEntityClass :

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

findByMonth

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

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

findAllByMonth

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

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

findByMinInactivityDays

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

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

findAllByMinInactivityDays

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

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

findByNumberOfTrips

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

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

findAllByNumberOfTrips

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

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

findByProportionMetier

public E findByProportionMetier(org.nuiton.math.matrix.MatrixND v)
                                                   throws org.nuiton.topia.TopiaException
findByProportionMetier : Retourne le premier élément trouvé ayant comme valeur pour l'attribut proportionMetier le paramètre.

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

findAllByProportionMetier

public List<E> findAllByProportionMetier(org.nuiton.math.matrix.MatrixND v)
                                                            throws org.nuiton.topia.TopiaException
findAllByProportionMetier : Retourne les éléments ayant comme valeur pour l'attribut proportionMetier le paramètre.

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

findByTripType

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

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

findAllByTripType

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

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

findByStrategy

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

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

findAllByStrategy

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


Copyright © 1999-2011 CodeLutin. All Rights Reserved.