fr.ifremer.allegro.data.measure
Class MeasurementDaoBase

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.data.measure.MeasurementDaoBase
All Implemented Interfaces:
MeasurementDao
Direct Known Subclasses:
MeasurementDaoImpl

public abstract class MeasurementDaoBase
extends org.springframework.orm.hibernate3.support.HibernateDaoSupport
implements MeasurementDao

Base Spring DAO Class: is able to create, update, remove, load, and find objects of type fr.ifremer.allegro.data.measure.Measurement.

See Also:
Measurement

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.data.measure.MeasurementDao
TRANSFORM_CLUSTERMEASUREMENT, TRANSFORM_NONE, TRANSFORM_REMOTEMEASUREMENTFULLVO, TRANSFORM_REMOTEMEASUREMENTNATURALID
 
Constructor Summary
MeasurementDaoBase()
           
 
Method Summary
 void clusterMeasurementToEntity(ClusterMeasurement source, Measurement target, boolean copyIfNull)
          Copies the fields of ClusterMeasurement to the specified entity.
 void clusterMeasurementToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterMeasurement to this DAO's entity.
 java.util.Collection findMeasurementByAggregationLevel(AggregationLevel aggregationLevel)
           
 java.util.Collection findMeasurementByAggregationLevel(int transform, AggregationLevel aggregationLevel)
           Does the same thing as MeasurementDao.findMeasurementByAggregationLevel(fr.ifremer.allegro.referential.pmfm.AggregationLevel) with an additional flag called transform.
 java.util.Collection findMeasurementByAggregationLevel(int pageNumber, int pageSize, AggregationLevel aggregationLevel)
           Does the same thing as MeasurementDao.findMeasurementByAggregationLevel(fr.ifremer.allegro.referential.pmfm.AggregationLevel) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findMeasurementByAggregationLevel(int transform, int pageNumber, int pageSize, AggregationLevel aggregationLevel)
           Does the same thing as MeasurementDao.findMeasurementByAggregationLevel(int, fr.ifremer.allegro.referential.pmfm.AggregationLevel) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findMeasurementByAggregationLevel(int transform, java.lang.String queryString, AggregationLevel aggregationLevel)
           Does the same thing as MeasurementDao.findMeasurementByAggregationLevel(int, fr.ifremer.allegro.referential.pmfm.AggregationLevel) with an additional argument called queryString.
 java.util.Collection findMeasurementByAggregationLevel(int transform, java.lang.String queryString, int pageNumber, int pageSize, AggregationLevel aggregationLevel)
           Does the same thing as MeasurementDao.findMeasurementByAggregationLevel(int, String, fr.ifremer.allegro.referential.pmfm.AggregationLevel) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findMeasurementByAggregationLevel(java.lang.String queryString, AggregationLevel aggregationLevel)
           Does the same thing as MeasurementDao.findMeasurementByAggregationLevel(fr.ifremer.allegro.referential.pmfm.AggregationLevel) with an additional argument called queryString.
 java.util.Collection findMeasurementByAggregationLevel(java.lang.String queryString, int pageNumber, int pageSize, AggregationLevel aggregationLevel)
           Does the same thing as MeasurementDao.findMeasurementByAggregationLevel(String, fr.ifremer.allegro.referential.pmfm.AggregationLevel) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findMeasurementByAnalysisInstrument(AnalysisInstrument analysisInstrument)
           
 java.util.Collection findMeasurementByAnalysisInstrument(int transform, AnalysisInstrument analysisInstrument)
           Does the same thing as MeasurementDao.findMeasurementByAnalysisInstrument(fr.ifremer.allegro.referential.AnalysisInstrument) with an additional flag called transform.
 java.util.Collection findMeasurementByAnalysisInstrument(int pageNumber, int pageSize, AnalysisInstrument analysisInstrument)
           Does the same thing as MeasurementDao.findMeasurementByAnalysisInstrument(fr.ifremer.allegro.referential.AnalysisInstrument) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findMeasurementByAnalysisInstrument(int transform, int pageNumber, int pageSize, AnalysisInstrument analysisInstrument)
           Does the same thing as MeasurementDao.findMeasurementByAnalysisInstrument(int, fr.ifremer.allegro.referential.AnalysisInstrument) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findMeasurementByAnalysisInstrument(int transform, java.lang.String queryString, AnalysisInstrument analysisInstrument)
           Does the same thing as MeasurementDao.findMeasurementByAnalysisInstrument(int, fr.ifremer.allegro.referential.AnalysisInstrument) with an additional argument called queryString.
 java.util.Collection findMeasurementByAnalysisInstrument(int transform, java.lang.String queryString, int pageNumber, int pageSize, AnalysisInstrument analysisInstrument)
           Does the same thing as MeasurementDao.findMeasurementByAnalysisInstrument(int, String, fr.ifremer.allegro.referential.AnalysisInstrument) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findMeasurementByAnalysisInstrument(java.lang.String queryString, AnalysisInstrument analysisInstrument)
           Does the same thing as MeasurementDao.findMeasurementByAnalysisInstrument(fr.ifremer.allegro.referential.AnalysisInstrument) with an additional argument called queryString.
 java.util.Collection findMeasurementByAnalysisInstrument(java.lang.String queryString, int pageNumber, int pageSize, AnalysisInstrument analysisInstrument)
           Does the same thing as MeasurementDao.findMeasurementByAnalysisInstrument(String, fr.ifremer.allegro.referential.AnalysisInstrument) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findMeasurementByDepartment(Department department)
           
 java.util.Collection findMeasurementByDepartment(int transform, Department department)
           Does the same thing as MeasurementDao.findMeasurementByDepartment(fr.ifremer.allegro.administration.user.Department) with an additional flag called transform.
 java.util.Collection findMeasurementByDepartment(int pageNumber, int pageSize, Department department)
           Does the same thing as MeasurementDao.findMeasurementByDepartment(fr.ifremer.allegro.administration.user.Department) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findMeasurementByDepartment(int transform, int pageNumber, int pageSize, Department department)
           Does the same thing as MeasurementDao.findMeasurementByDepartment(int, fr.ifremer.allegro.administration.user.Department) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findMeasurementByDepartment(int transform, java.lang.String queryString, Department department)
           Does the same thing as MeasurementDao.findMeasurementByDepartment(int, fr.ifremer.allegro.administration.user.Department) with an additional argument called queryString.
 java.util.Collection findMeasurementByDepartment(int transform, java.lang.String queryString, int pageNumber, int pageSize, Department department)
           Does the same thing as MeasurementDao.findMeasurementByDepartment(int, String, fr.ifremer.allegro.administration.user.Department) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findMeasurementByDepartment(java.lang.String queryString, Department department)
           Does the same thing as MeasurementDao.findMeasurementByDepartment(fr.ifremer.allegro.administration.user.Department) with an additional argument called queryString.
 java.util.Collection findMeasurementByDepartment(java.lang.String queryString, int pageNumber, int pageSize, Department department)
           Does the same thing as MeasurementDao.findMeasurementByDepartment(String, fr.ifremer.allegro.administration.user.Department) with an additional two arguments called pageNumber and pageSize.
 Measurement findMeasurementById(java.lang.Integer id)
           
 java.lang.Object findMeasurementById(int transform, java.lang.Integer id)
           Does the same thing as MeasurementDao.findMeasurementById(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findMeasurementById(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as MeasurementDao.findMeasurementById(int, java.lang.Integer) with an additional argument called queryString.
 Measurement findMeasurementById(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as MeasurementDao.findMeasurementById(java.lang.Integer) with an additional argument called queryString.
 Measurement findMeasurementByNaturalId(java.lang.Integer id)
           
 java.lang.Object findMeasurementByNaturalId(int transform, java.lang.Integer id)
           Does the same thing as MeasurementDao.findMeasurementByNaturalId(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findMeasurementByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as MeasurementDao.findMeasurementByNaturalId(int, java.lang.Integer) with an additional argument called queryString.
 Measurement findMeasurementByNaturalId(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as MeasurementDao.findMeasurementByNaturalId(java.lang.Integer) with an additional argument called queryString.
 java.util.Collection findMeasurementByNumericalPrecision(int transform, int pageNumber, int pageSize, NumericalPrecision numericalPrecision)
           Does the same thing as MeasurementDao.findMeasurementByNumericalPrecision(int, fr.ifremer.allegro.referential.NumericalPrecision) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findMeasurementByNumericalPrecision(int pageNumber, int pageSize, NumericalPrecision numericalPrecision)
           Does the same thing as MeasurementDao.findMeasurementByNumericalPrecision(fr.ifremer.allegro.referential.NumericalPrecision) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findMeasurementByNumericalPrecision(int transform, NumericalPrecision numericalPrecision)
           Does the same thing as MeasurementDao.findMeasurementByNumericalPrecision(fr.ifremer.allegro.referential.NumericalPrecision) with an additional flag called transform.
 java.util.Collection findMeasurementByNumericalPrecision(int transform, java.lang.String queryString, int pageNumber, int pageSize, NumericalPrecision numericalPrecision)
           Does the same thing as MeasurementDao.findMeasurementByNumericalPrecision(int, String, fr.ifremer.allegro.referential.NumericalPrecision) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findMeasurementByNumericalPrecision(int transform, java.lang.String queryString, NumericalPrecision numericalPrecision)
           Does the same thing as MeasurementDao.findMeasurementByNumericalPrecision(int, fr.ifremer.allegro.referential.NumericalPrecision) with an additional argument called queryString.
 java.util.Collection findMeasurementByNumericalPrecision(NumericalPrecision numericalPrecision)
           
 java.util.Collection findMeasurementByNumericalPrecision(java.lang.String queryString, int pageNumber, int pageSize, NumericalPrecision numericalPrecision)
           Does the same thing as MeasurementDao.findMeasurementByNumericalPrecision(String, fr.ifremer.allegro.referential.NumericalPrecision) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findMeasurementByNumericalPrecision(java.lang.String queryString, NumericalPrecision numericalPrecision)
           Does the same thing as MeasurementDao.findMeasurementByNumericalPrecision(fr.ifremer.allegro.referential.NumericalPrecision) with an additional argument called queryString.
 java.util.Collection findMeasurementByPmfm(int transform, int pageNumber, int pageSize, Pmfm pmfm)
           Does the same thing as MeasurementDao.findMeasurementByPmfm(int, fr.ifremer.allegro.referential.pmfm.Pmfm) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findMeasurementByPmfm(int pageNumber, int pageSize, Pmfm pmfm)
           Does the same thing as MeasurementDao.findMeasurementByPmfm(fr.ifremer.allegro.referential.pmfm.Pmfm) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findMeasurementByPmfm(int transform, Pmfm pmfm)
           Does the same thing as MeasurementDao.findMeasurementByPmfm(fr.ifremer.allegro.referential.pmfm.Pmfm) with an additional flag called transform.
 java.util.Collection findMeasurementByPmfm(int transform, java.lang.String queryString, int pageNumber, int pageSize, Pmfm pmfm)
           Does the same thing as MeasurementDao.findMeasurementByPmfm(int, String, fr.ifremer.allegro.referential.pmfm.Pmfm) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findMeasurementByPmfm(int transform, java.lang.String queryString, Pmfm pmfm)
           Does the same thing as MeasurementDao.findMeasurementByPmfm(int, fr.ifremer.allegro.referential.pmfm.Pmfm) with an additional argument called queryString.
 java.util.Collection findMeasurementByPmfm(Pmfm pmfm)
           
 java.util.Collection findMeasurementByPmfm(java.lang.String queryString, int pageNumber, int pageSize, Pmfm pmfm)
           Does the same thing as MeasurementDao.findMeasurementByPmfm(String, fr.ifremer.allegro.referential.pmfm.Pmfm) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findMeasurementByPmfm(java.lang.String queryString, Pmfm pmfm)
           Does the same thing as MeasurementDao.findMeasurementByPmfm(fr.ifremer.allegro.referential.pmfm.Pmfm) with an additional argument called queryString.
 java.util.Collection findMeasurementByPrecisionType(int transform, int pageNumber, int pageSize, PrecisionType precisionType)
           Does the same thing as MeasurementDao.findMeasurementByPrecisionType(int, fr.ifremer.allegro.referential.PrecisionType) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findMeasurementByPrecisionType(int pageNumber, int pageSize, PrecisionType precisionType)
           Does the same thing as MeasurementDao.findMeasurementByPrecisionType(fr.ifremer.allegro.referential.PrecisionType) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findMeasurementByPrecisionType(int transform, PrecisionType precisionType)
           Does the same thing as MeasurementDao.findMeasurementByPrecisionType(fr.ifremer.allegro.referential.PrecisionType) with an additional flag called transform.
 java.util.Collection findMeasurementByPrecisionType(int transform, java.lang.String queryString, int pageNumber, int pageSize, PrecisionType precisionType)
           Does the same thing as MeasurementDao.findMeasurementByPrecisionType(int, String, fr.ifremer.allegro.referential.PrecisionType) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findMeasurementByPrecisionType(int transform, java.lang.String queryString, PrecisionType precisionType)
           Does the same thing as MeasurementDao.findMeasurementByPrecisionType(int, fr.ifremer.allegro.referential.PrecisionType) with an additional argument called queryString.
 java.util.Collection findMeasurementByPrecisionType(PrecisionType precisionType)
           
 java.util.Collection findMeasurementByPrecisionType(java.lang.String queryString, int pageNumber, int pageSize, PrecisionType precisionType)
           Does the same thing as MeasurementDao.findMeasurementByPrecisionType(String, fr.ifremer.allegro.referential.PrecisionType) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findMeasurementByPrecisionType(java.lang.String queryString, PrecisionType precisionType)
           Does the same thing as MeasurementDao.findMeasurementByPrecisionType(fr.ifremer.allegro.referential.PrecisionType) with an additional argument called queryString.
 java.util.Collection findMeasurementByQualitativeValue(int transform, int pageNumber, int pageSize, QualitativeValue qualitativeValue)
           Does the same thing as MeasurementDao.findMeasurementByQualitativeValue(int, fr.ifremer.allegro.referential.pmfm.QualitativeValue) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findMeasurementByQualitativeValue(int pageNumber, int pageSize, QualitativeValue qualitativeValue)
           Does the same thing as MeasurementDao.findMeasurementByQualitativeValue(fr.ifremer.allegro.referential.pmfm.QualitativeValue) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findMeasurementByQualitativeValue(int transform, QualitativeValue qualitativeValue)
           Does the same thing as MeasurementDao.findMeasurementByQualitativeValue(fr.ifremer.allegro.referential.pmfm.QualitativeValue) with an additional flag called transform.
 java.util.Collection findMeasurementByQualitativeValue(int transform, java.lang.String queryString, int pageNumber, int pageSize, QualitativeValue qualitativeValue)
           Does the same thing as MeasurementDao.findMeasurementByQualitativeValue(int, String, fr.ifremer.allegro.referential.pmfm.QualitativeValue) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findMeasurementByQualitativeValue(int transform, java.lang.String queryString, QualitativeValue qualitativeValue)
           Does the same thing as MeasurementDao.findMeasurementByQualitativeValue(int, fr.ifremer.allegro.referential.pmfm.QualitativeValue) with an additional argument called queryString.
 java.util.Collection findMeasurementByQualitativeValue(QualitativeValue qualitativeValue)
           
 java.util.Collection findMeasurementByQualitativeValue(java.lang.String queryString, int pageNumber, int pageSize, QualitativeValue qualitativeValue)
           Does the same thing as MeasurementDao.findMeasurementByQualitativeValue(String, fr.ifremer.allegro.referential.pmfm.QualitativeValue) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findMeasurementByQualitativeValue(java.lang.String queryString, QualitativeValue qualitativeValue)
           Does the same thing as MeasurementDao.findMeasurementByQualitativeValue(fr.ifremer.allegro.referential.pmfm.QualitativeValue) with an additional argument called queryString.
 java.util.Collection findMeasurementByQualityFlag(int transform, int pageNumber, int pageSize, QualityFlag qualityFlag)
           Does the same thing as MeasurementDao.findMeasurementByQualityFlag(int, fr.ifremer.allegro.referential.QualityFlag) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findMeasurementByQualityFlag(int pageNumber, int pageSize, QualityFlag qualityFlag)
           Does the same thing as MeasurementDao.findMeasurementByQualityFlag(fr.ifremer.allegro.referential.QualityFlag) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findMeasurementByQualityFlag(int transform, QualityFlag qualityFlag)
           Does the same thing as MeasurementDao.findMeasurementByQualityFlag(fr.ifremer.allegro.referential.QualityFlag) with an additional flag called transform.
 java.util.Collection findMeasurementByQualityFlag(int transform, java.lang.String queryString, int pageNumber, int pageSize, QualityFlag qualityFlag)
           Does the same thing as MeasurementDao.findMeasurementByQualityFlag(int, String, fr.ifremer.allegro.referential.QualityFlag) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findMeasurementByQualityFlag(int transform, java.lang.String queryString, QualityFlag qualityFlag)
           Does the same thing as MeasurementDao.findMeasurementByQualityFlag(int, fr.ifremer.allegro.referential.QualityFlag) with an additional argument called queryString.
 java.util.Collection findMeasurementByQualityFlag(QualityFlag qualityFlag)
           
 java.util.Collection findMeasurementByQualityFlag(java.lang.String queryString, int pageNumber, int pageSize, QualityFlag qualityFlag)
           Does the same thing as MeasurementDao.findMeasurementByQualityFlag(String, fr.ifremer.allegro.referential.QualityFlag) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findMeasurementByQualityFlag(java.lang.String queryString, QualityFlag qualityFlag)
           Does the same thing as MeasurementDao.findMeasurementByQualityFlag(fr.ifremer.allegro.referential.QualityFlag) with an additional argument called queryString.
protected  AggregationLevelDao getAggregationLevelDao()
          Gets the reference to aggregationLevelDao.
 java.util.Collection getAllMeasurement()
           
 java.util.Collection getAllMeasurement(int transform)
           Does the same thing as MeasurementDao.getAllMeasurement() with an additional flag called transform.
 java.util.Collection getAllMeasurement(int pageNumber, int pageSize)
           Does the same thing as MeasurementDao.getAllMeasurement() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllMeasurement(int transform, int pageNumber, int pageSize)
           Does the same thing as MeasurementDao.getAllMeasurement(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllMeasurement(int transform, java.lang.String queryString)
           Does the same thing as MeasurementDao.getAllMeasurement(int) with an additional argument called queryString.
 java.util.Collection getAllMeasurement(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as MeasurementDao.getAllMeasurement(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllMeasurement(java.lang.String queryString)
           Does the same thing as MeasurementDao.getAllMeasurement() with an additional argument called queryString.
 java.util.Collection getAllMeasurement(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as MeasurementDao.getAllMeasurement(String) with an additional two arguments called pageNumber and pageSize.
protected  AnalysisInstrumentDao getAnalysisInstrumentDao()
          Gets the reference to analysisInstrumentDao.
protected  DepartmentDao getDepartmentDao()
          Gets the reference to departmentDao.
protected  NumericalPrecisionDao getNumericalPrecisionDao()
          Gets the reference to numericalPrecisionDao.
protected  PmfmDao getPmfmDao()
          Gets the reference to pmfmDao.
protected  PrecisionTypeDao getPrecisionTypeDao()
          Gets the reference to precisionTypeDao.
protected  java.security.Principal getPrincipal()
          Gets the current principal if one has been set, otherwise returns null.
protected  QualitativeValueDao getQualitativeValueDao()
          Gets the reference to qualitativeValueDao.
protected  QualityFlagDao getQualityFlagDao()
          Gets the reference to qualityFlagDao.
 Measurement load(java.lang.Integer id)
          Loads an instance of fr.ifremer.allegro.data.measure.Measurement from the persistent store.
 java.lang.Object load(int transform, java.lang.Integer id)
           Does the same thing as MeasurementDao.load(java.lang.Integer) with an additional flag called transform.
 java.util.Collection loadAll()
          Loads all entities of type Measurement.
 java.util.Collection loadAll(int transform)
           Does the same thing as MeasurementDao.loadAll() with an additional flag called transform.
 java.util.Collection loadAll(int pageNumber, int pageSize)
           Does the same thing as MeasurementDao.loadAll() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
           Does the same thing as MeasurementDao.loadAll(int) with an additional two arguments called pageNumber and pageSize.
 void remoteMeasurementFullVOToEntity(RemoteMeasurementFullVO source, Measurement target, boolean copyIfNull)
          Copies the fields of RemoteMeasurementFullVO to the specified entity.
 void remoteMeasurementFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteMeasurementFullVO to this DAO's entity.
 void remoteMeasurementNaturalIdToEntity(RemoteMeasurementNaturalId source, Measurement target, boolean copyIfNull)
          Copies the fields of RemoteMeasurementNaturalId to the specified entity.
 void remoteMeasurementNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteMeasurementNaturalId to this DAO's entity.
 void remove(java.util.Collection entities)
          Removes all entities in the given entities collection.
 void remove(java.lang.Integer id)
          Removes the instance of fr.ifremer.allegro.data.measure.Measurement having the given identifier from the persistent store.
 void remove(Measurement measurement)
          Removes the instance of fr.ifremer.allegro.data.measure.Measurement from the persistent store.
 PaginationResult search(int transform, int pageNumber, int pageSize, Search search)
          Does the same thing as {@link #search(int, fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize.
 PaginationResult search(int pageNumber, int pageSize, Search search)
          Does the same thing as {@link #search(fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize.
 java.util.Set search(int transform, Search search)
          Does the same thing as MeasurementDao.search(fr.ifremer.allegro.Search) but with an additional flag called transform.
 java.util.Set search(Search search)
          Performs a search using the parameters specified in the given search object.
 void setAggregationLevelDao(AggregationLevelDao aggregationLevelDao)
          Sets the reference to aggregationLevelDao.
 void setAnalysisInstrumentDao(AnalysisInstrumentDao analysisInstrumentDao)
          Sets the reference to analysisInstrumentDao.
 void setDepartmentDao(DepartmentDao departmentDao)
          Sets the reference to departmentDao.
 void setNumericalPrecisionDao(NumericalPrecisionDao numericalPrecisionDao)
          Sets the reference to numericalPrecisionDao.
 void setPmfmDao(PmfmDao pmfmDao)
          Sets the reference to pmfmDao.
 void setPrecisionTypeDao(PrecisionTypeDao precisionTypeDao)
          Sets the reference to precisionTypeDao.
 void setQualitativeValueDao(QualitativeValueDao qualitativeValueDao)
          Sets the reference to qualitativeValueDao.
 void setQualityFlagDao(QualityFlagDao qualityFlagDao)
          Sets the reference to qualityFlagDao.
 ClusterMeasurement toClusterMeasurement(Measurement entity)
          Converts this DAO's entity to an object of type ClusterMeasurement.
 void toClusterMeasurement(Measurement source, ClusterMeasurement target)
          Copies the fields of the specified entity to the target value object.
protected  ClusterMeasurement toClusterMeasurement(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 ClusterMeasurement[] toClusterMeasurementArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterMeasurement.
 void toClusterMeasurementCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterMeasurement.
protected  Measurement toEntity(java.lang.Object[] row)
           
 RemoteMeasurementFullVO toRemoteMeasurementFullVO(Measurement entity)
          Converts this DAO's entity to an object of type RemoteMeasurementFullVO.
 void toRemoteMeasurementFullVO(Measurement source, RemoteMeasurementFullVO target)
          Copies the fields of the specified entity to the target value object.
protected  RemoteMeasurementFullVO toRemoteMeasurementFullVO(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteMeasurementFullVO[] toRemoteMeasurementFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteMeasurementFullVO.
 void toRemoteMeasurementFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteMeasurementFullVO.
 RemoteMeasurementNaturalId toRemoteMeasurementNaturalId(Measurement entity)
          Converts this DAO's entity to an object of type RemoteMeasurementNaturalId.
 void toRemoteMeasurementNaturalId(Measurement source, RemoteMeasurementNaturalId target)
          Copies the fields of the specified entity to the target value object.
protected  RemoteMeasurementNaturalId toRemoteMeasurementNaturalId(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteMeasurementNaturalId[] toRemoteMeasurementNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteMeasurementNaturalId.
 void toRemoteMeasurementNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteMeasurementNaturalId.
protected  void transformEntities(int transform, java.util.Collection entities)
          Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.data.measure.Measurement) method.
protected  java.lang.Object transformEntity(int transform, Measurement entity)
          Allows transformation of entities into value objects (or something else for that matter), when the transform flag is set to one of the constants defined in fr.ifremer.allegro.data.measure.MeasurementDao, please note that the MeasurementDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself will be returned.
 void update(java.util.Collection entities)
          Updates all instances in the entities collection in the persistent store.
 void update(Measurement measurement)
          Updates the measurement instance in the persistent store.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface fr.ifremer.allegro.data.measure.MeasurementDao
clusterMeasurementToEntity, remoteMeasurementFullVOToEntity, remoteMeasurementNaturalIdToEntity
 

Constructor Detail

MeasurementDaoBase

public MeasurementDaoBase()
Method Detail

setDepartmentDao

public void setDepartmentDao(DepartmentDao departmentDao)
Sets the reference to departmentDao.


getDepartmentDao

protected DepartmentDao getDepartmentDao()
Gets the reference to departmentDao.


setPrecisionTypeDao

public void setPrecisionTypeDao(PrecisionTypeDao precisionTypeDao)
Sets the reference to precisionTypeDao.


getPrecisionTypeDao

protected PrecisionTypeDao getPrecisionTypeDao()
Gets the reference to precisionTypeDao.


setQualityFlagDao

public void setQualityFlagDao(QualityFlagDao qualityFlagDao)
Sets the reference to qualityFlagDao.


getQualityFlagDao

protected QualityFlagDao getQualityFlagDao()
Gets the reference to qualityFlagDao.


setAnalysisInstrumentDao

public void setAnalysisInstrumentDao(AnalysisInstrumentDao analysisInstrumentDao)
Sets the reference to analysisInstrumentDao.


getAnalysisInstrumentDao

protected AnalysisInstrumentDao getAnalysisInstrumentDao()
Gets the reference to analysisInstrumentDao.


setNumericalPrecisionDao

public void setNumericalPrecisionDao(NumericalPrecisionDao numericalPrecisionDao)
Sets the reference to numericalPrecisionDao.


getNumericalPrecisionDao

protected NumericalPrecisionDao getNumericalPrecisionDao()
Gets the reference to numericalPrecisionDao.


setPmfmDao

public void setPmfmDao(PmfmDao pmfmDao)
Sets the reference to pmfmDao.


getPmfmDao

protected PmfmDao getPmfmDao()
Gets the reference to pmfmDao.


setQualitativeValueDao

public void setQualitativeValueDao(QualitativeValueDao qualitativeValueDao)
Sets the reference to qualitativeValueDao.


getQualitativeValueDao

protected QualitativeValueDao getQualitativeValueDao()
Gets the reference to qualitativeValueDao.


setAggregationLevelDao

public void setAggregationLevelDao(AggregationLevelDao aggregationLevelDao)
Sets the reference to aggregationLevelDao.


getAggregationLevelDao

protected AggregationLevelDao getAggregationLevelDao()
Gets the reference to aggregationLevelDao.


load

public java.lang.Object load(int transform,
                             java.lang.Integer id)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.load(java.lang.Integer) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then the returned entity will NOT be transformed. If this flag is any of the other constants defined in this class then the result WILL BE passed through an operation which can optionally transform the entity (into a value object for example). By default, transformation does not occur.

Specified by:
load in interface MeasurementDao
id - identifier of the entity to load
Returns:
either the entity or the object transformed from the entity.
See Also:
MeasurementDao.load(int, java.lang.Integer)

load

public Measurement load(java.lang.Integer id)
Description copied from interface: MeasurementDao
Loads an instance of fr.ifremer.allegro.data.measure.Measurement from the persistent store.

Specified by:
load in interface MeasurementDao
See Also:
MeasurementDao.load(java.lang.Integer)

loadAll

public java.util.Collection loadAll()
Description copied from interface: MeasurementDao
Loads all entities of type Measurement.

Specified by:
loadAll in interface MeasurementDao
Returns:
the loaded entities.
See Also:
MeasurementDao.loadAll()

loadAll

public java.util.Collection loadAll(int transform)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.loadAll() with an additional flag called transform. If this flag is set to TRANSFORM_NONE then the returned entity will NOT be transformed. If this flag is any of the other constants defined here then the result WILL BE passed through an operation which can optionally transform the entity (into a value object for example). By default, transformation does not occur.

Specified by:
loadAll in interface MeasurementDao
Parameters:
transform - the flag indicating what transformation to use.
Returns:
the loaded entities.
See Also:
MeasurementDao.loadAll(int)

loadAll

public java.util.Collection loadAll(int pageNumber,
                                    int pageSize)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.loadAll() with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
loadAll in interface MeasurementDao
Parameters:
pageNumber - the page number to retrieve when paging results.
pageSize - the size of the page to retrieve when paging results.
Returns:
the loaded entities.
See Also:
MeasurementDao.loadAll(int, int)

loadAll

public java.util.Collection loadAll(int transform,
                                    int pageNumber,
                                    int pageSize)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.loadAll(int) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
loadAll in interface MeasurementDao
Parameters:
transform - the flag indicating what transformation to use.
pageNumber - the page number to retrieve when paging results.
pageSize - the size of the page to retrieve when paging results.
Returns:
the loaded entities.
See Also:
MeasurementDao.loadAll(int, int, int)

update

public void update(Measurement measurement)
Description copied from interface: MeasurementDao
Updates the measurement instance in the persistent store.

Specified by:
update in interface MeasurementDao
See Also:
MeasurementDao.update(fr.ifremer.allegro.data.measure.Measurement)

update

public void update(java.util.Collection entities)
Description copied from interface: MeasurementDao
Updates all instances in the entities collection in the persistent store.

Specified by:
update in interface MeasurementDao
See Also:
MeasurementDao.update(java.util.Collection)

remove

public void remove(Measurement measurement)
Description copied from interface: MeasurementDao
Removes the instance of fr.ifremer.allegro.data.measure.Measurement from the persistent store.

Specified by:
remove in interface MeasurementDao
See Also:
MeasurementDao.remove(fr.ifremer.allegro.data.measure.Measurement)

remove

public void remove(java.lang.Integer id)
Description copied from interface: MeasurementDao
Removes the instance of fr.ifremer.allegro.data.measure.Measurement having the given identifier from the persistent store.

Specified by:
remove in interface MeasurementDao
See Also:
MeasurementDao.remove(java.lang.Integer)

remove

public void remove(java.util.Collection entities)
Description copied from interface: MeasurementDao
Removes all entities in the given entities collection.

Specified by:
remove in interface MeasurementDao
See Also:
MeasurementDao.remove(java.util.Collection)

getAllMeasurement

public java.util.Collection getAllMeasurement()
Specified by:
getAllMeasurement in interface MeasurementDao
See Also:
MeasurementDao.getAllMeasurement()

getAllMeasurement

public java.util.Collection getAllMeasurement(int transform)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.getAllMeasurement() with an additional flag called transform. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then finder results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

Specified by:
getAllMeasurement in interface MeasurementDao
See Also:
MeasurementDao.getAllMeasurement(int)

getAllMeasurement

public java.util.Collection getAllMeasurement(java.lang.String queryString)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.getAllMeasurement() with an additional argument called queryString. This queryString argument allows you to override the query string defined in MeasurementDao.getAllMeasurement().

Specified by:
getAllMeasurement in interface MeasurementDao
See Also:
MeasurementDao.getAllMeasurement(java.lang.String)

getAllMeasurement

public java.util.Collection getAllMeasurement(int pageNumber,
                                              int pageSize)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.getAllMeasurement() with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
getAllMeasurement in interface MeasurementDao
See Also:
MeasurementDao.getAllMeasurement(int, int)

getAllMeasurement

public java.util.Collection getAllMeasurement(java.lang.String queryString,
                                              int pageNumber,
                                              int pageSize)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.getAllMeasurement(String) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
getAllMeasurement in interface MeasurementDao
See Also:
MeasurementDao.getAllMeasurement(String, int, int)

getAllMeasurement

public java.util.Collection getAllMeasurement(int transform,
                                              java.lang.String queryString)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.getAllMeasurement(int) with an additional argument called queryString. This queryString argument allows you to override the query string defined in MeasurementDao.getAllMeasurement(int).

Specified by:
getAllMeasurement in interface MeasurementDao
See Also:
MeasurementDao.getAllMeasurement(int, String)

getAllMeasurement

public java.util.Collection getAllMeasurement(int transform,
                                              int pageNumber,
                                              int pageSize)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.getAllMeasurement(int) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
getAllMeasurement in interface MeasurementDao
See Also:
MeasurementDao.getAllMeasurement(int, int, int)

getAllMeasurement

public java.util.Collection getAllMeasurement(int transform,
                                              java.lang.String queryString,
                                              int pageNumber,
                                              int pageSize)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.getAllMeasurement(int, String) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
getAllMeasurement in interface MeasurementDao
See Also:
MeasurementDao.getAllMeasurement(int, java.lang.String, int, int)

findMeasurementById

public Measurement findMeasurementById(java.lang.Integer id)
Specified by:
findMeasurementById in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementById(java.lang.Integer)

findMeasurementById

public java.lang.Object findMeasurementById(int transform,
                                            java.lang.Integer id)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.findMeasurementById(java.lang.Integer) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then finder results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

Specified by:
findMeasurementById in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementById(int, java.lang.Integer)

findMeasurementById

public Measurement findMeasurementById(java.lang.String queryString,
                                       java.lang.Integer id)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.findMeasurementById(java.lang.Integer) with an additional argument called queryString. This queryString argument allows you to override the query string defined in MeasurementDao.findMeasurementById(java.lang.Integer).

Specified by:
findMeasurementById in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementById(java.lang.String, java.lang.Integer)

findMeasurementById

public java.lang.Object findMeasurementById(int transform,
                                            java.lang.String queryString,
                                            java.lang.Integer id)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.findMeasurementById(int, java.lang.Integer) with an additional argument called queryString. This queryString argument allows you to override the query string defined in MeasurementDao.findMeasurementById(int, java.lang.Integer id).

Specified by:
findMeasurementById in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementById(int, java.lang.String, java.lang.Integer)

findMeasurementByDepartment

public java.util.Collection findMeasurementByDepartment(Department department)
Specified by:
findMeasurementByDepartment in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByDepartment(fr.ifremer.allegro.administration.user.Department)

findMeasurementByDepartment

public java.util.Collection findMeasurementByDepartment(int transform,
                                                        Department department)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.findMeasurementByDepartment(fr.ifremer.allegro.administration.user.Department) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then finder results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

Specified by:
findMeasurementByDepartment in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByDepartment(int, fr.ifremer.allegro.administration.user.Department)

findMeasurementByDepartment

public java.util.Collection findMeasurementByDepartment(java.lang.String queryString,
                                                        Department department)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.findMeasurementByDepartment(fr.ifremer.allegro.administration.user.Department) with an additional argument called queryString. This queryString argument allows you to override the query string defined in MeasurementDao.findMeasurementByDepartment(fr.ifremer.allegro.administration.user.Department).

Specified by:
findMeasurementByDepartment in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByDepartment(java.lang.String, fr.ifremer.allegro.administration.user.Department)

findMeasurementByDepartment

public java.util.Collection findMeasurementByDepartment(int pageNumber,
                                                        int pageSize,
                                                        Department department)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.findMeasurementByDepartment(fr.ifremer.allegro.administration.user.Department) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findMeasurementByDepartment in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByDepartment(int, int, fr.ifremer.allegro.administration.user.Department)

findMeasurementByDepartment

public java.util.Collection findMeasurementByDepartment(java.lang.String queryString,
                                                        int pageNumber,
                                                        int pageSize,
                                                        Department department)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.findMeasurementByDepartment(String, fr.ifremer.allegro.administration.user.Department) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findMeasurementByDepartment in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByDepartment(String, int, int, fr.ifremer.allegro.administration.user.Department)

findMeasurementByDepartment

public java.util.Collection findMeasurementByDepartment(int transform,
                                                        java.lang.String queryString,
                                                        Department department)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.findMeasurementByDepartment(int, fr.ifremer.allegro.administration.user.Department) with an additional argument called queryString. This queryString argument allows you to override the query string defined in MeasurementDao.findMeasurementByDepartment(int, fr.ifremer.allegro.administration.user.Department department).

Specified by:
findMeasurementByDepartment in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByDepartment(int, String, fr.ifremer.allegro.administration.user.Department)

findMeasurementByDepartment

public java.util.Collection findMeasurementByDepartment(int transform,
                                                        int pageNumber,
                                                        int pageSize,
                                                        Department department)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.findMeasurementByDepartment(int, fr.ifremer.allegro.administration.user.Department) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findMeasurementByDepartment in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByDepartment(int, int, int, fr.ifremer.allegro.administration.user.Department)

findMeasurementByDepartment

public java.util.Collection findMeasurementByDepartment(int transform,
                                                        java.lang.String queryString,
                                                        int pageNumber,
                                                        int pageSize,
                                                        Department department)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.findMeasurementByDepartment(int, String, fr.ifremer.allegro.administration.user.Department) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findMeasurementByDepartment in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByDepartment(int, java.lang.String, int, int, fr.ifremer.allegro.administration.user.Department)

findMeasurementByPrecisionType

public java.util.Collection findMeasurementByPrecisionType(PrecisionType precisionType)
Specified by:
findMeasurementByPrecisionType in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByPrecisionType(fr.ifremer.allegro.referential.PrecisionType)

findMeasurementByPrecisionType

public java.util.Collection findMeasurementByPrecisionType(int transform,
                                                           PrecisionType precisionType)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.findMeasurementByPrecisionType(fr.ifremer.allegro.referential.PrecisionType) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then finder results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

Specified by:
findMeasurementByPrecisionType in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByPrecisionType(int, fr.ifremer.allegro.referential.PrecisionType)

findMeasurementByPrecisionType

public java.util.Collection findMeasurementByPrecisionType(java.lang.String queryString,
                                                           PrecisionType precisionType)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.findMeasurementByPrecisionType(fr.ifremer.allegro.referential.PrecisionType) with an additional argument called queryString. This queryString argument allows you to override the query string defined in MeasurementDao.findMeasurementByPrecisionType(fr.ifremer.allegro.referential.PrecisionType).

Specified by:
findMeasurementByPrecisionType in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByPrecisionType(java.lang.String, fr.ifremer.allegro.referential.PrecisionType)

findMeasurementByPrecisionType

public java.util.Collection findMeasurementByPrecisionType(int pageNumber,
                                                           int pageSize,
                                                           PrecisionType precisionType)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.findMeasurementByPrecisionType(fr.ifremer.allegro.referential.PrecisionType) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findMeasurementByPrecisionType in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByPrecisionType(int, int, fr.ifremer.allegro.referential.PrecisionType)

findMeasurementByPrecisionType

public java.util.Collection findMeasurementByPrecisionType(java.lang.String queryString,
                                                           int pageNumber,
                                                           int pageSize,
                                                           PrecisionType precisionType)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.findMeasurementByPrecisionType(String, fr.ifremer.allegro.referential.PrecisionType) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findMeasurementByPrecisionType in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByPrecisionType(String, int, int, fr.ifremer.allegro.referential.PrecisionType)

findMeasurementByPrecisionType

public java.util.Collection findMeasurementByPrecisionType(int transform,
                                                           java.lang.String queryString,
                                                           PrecisionType precisionType)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.findMeasurementByPrecisionType(int, fr.ifremer.allegro.referential.PrecisionType) with an additional argument called queryString. This queryString argument allows you to override the query string defined in MeasurementDao.findMeasurementByPrecisionType(int, fr.ifremer.allegro.referential.PrecisionType precisionType).

Specified by:
findMeasurementByPrecisionType in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByPrecisionType(int, String, fr.ifremer.allegro.referential.PrecisionType)

findMeasurementByPrecisionType

public java.util.Collection findMeasurementByPrecisionType(int transform,
                                                           int pageNumber,
                                                           int pageSize,
                                                           PrecisionType precisionType)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.findMeasurementByPrecisionType(int, fr.ifremer.allegro.referential.PrecisionType) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findMeasurementByPrecisionType in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByPrecisionType(int, int, int, fr.ifremer.allegro.referential.PrecisionType)

findMeasurementByPrecisionType

public java.util.Collection findMeasurementByPrecisionType(int transform,
                                                           java.lang.String queryString,
                                                           int pageNumber,
                                                           int pageSize,
                                                           PrecisionType precisionType)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.findMeasurementByPrecisionType(int, String, fr.ifremer.allegro.referential.PrecisionType) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findMeasurementByPrecisionType in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByPrecisionType(int, java.lang.String, int, int, fr.ifremer.allegro.referential.PrecisionType)

findMeasurementByQualityFlag

public java.util.Collection findMeasurementByQualityFlag(QualityFlag qualityFlag)
Specified by:
findMeasurementByQualityFlag in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByQualityFlag(fr.ifremer.allegro.referential.QualityFlag)

findMeasurementByQualityFlag

public java.util.Collection findMeasurementByQualityFlag(int transform,
                                                         QualityFlag qualityFlag)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.findMeasurementByQualityFlag(fr.ifremer.allegro.referential.QualityFlag) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then finder results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

Specified by:
findMeasurementByQualityFlag in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByQualityFlag(int, fr.ifremer.allegro.referential.QualityFlag)

findMeasurementByQualityFlag

public java.util.Collection findMeasurementByQualityFlag(java.lang.String queryString,
                                                         QualityFlag qualityFlag)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.findMeasurementByQualityFlag(fr.ifremer.allegro.referential.QualityFlag) with an additional argument called queryString. This queryString argument allows you to override the query string defined in MeasurementDao.findMeasurementByQualityFlag(fr.ifremer.allegro.referential.QualityFlag).

Specified by:
findMeasurementByQualityFlag in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByQualityFlag(java.lang.String, fr.ifremer.allegro.referential.QualityFlag)

findMeasurementByQualityFlag

public java.util.Collection findMeasurementByQualityFlag(int pageNumber,
                                                         int pageSize,
                                                         QualityFlag qualityFlag)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.findMeasurementByQualityFlag(fr.ifremer.allegro.referential.QualityFlag) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findMeasurementByQualityFlag in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByQualityFlag(int, int, fr.ifremer.allegro.referential.QualityFlag)

findMeasurementByQualityFlag

public java.util.Collection findMeasurementByQualityFlag(java.lang.String queryString,
                                                         int pageNumber,
                                                         int pageSize,
                                                         QualityFlag qualityFlag)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.findMeasurementByQualityFlag(String, fr.ifremer.allegro.referential.QualityFlag) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findMeasurementByQualityFlag in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByQualityFlag(String, int, int, fr.ifremer.allegro.referential.QualityFlag)

findMeasurementByQualityFlag

public java.util.Collection findMeasurementByQualityFlag(int transform,
                                                         java.lang.String queryString,
                                                         QualityFlag qualityFlag)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.findMeasurementByQualityFlag(int, fr.ifremer.allegro.referential.QualityFlag) with an additional argument called queryString. This queryString argument allows you to override the query string defined in MeasurementDao.findMeasurementByQualityFlag(int, fr.ifremer.allegro.referential.QualityFlag qualityFlag).

Specified by:
findMeasurementByQualityFlag in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByQualityFlag(int, String, fr.ifremer.allegro.referential.QualityFlag)

findMeasurementByQualityFlag

public java.util.Collection findMeasurementByQualityFlag(int transform,
                                                         int pageNumber,
                                                         int pageSize,
                                                         QualityFlag qualityFlag)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.findMeasurementByQualityFlag(int, fr.ifremer.allegro.referential.QualityFlag) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findMeasurementByQualityFlag in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByQualityFlag(int, int, int, fr.ifremer.allegro.referential.QualityFlag)

findMeasurementByQualityFlag

public java.util.Collection findMeasurementByQualityFlag(int transform,
                                                         java.lang.String queryString,
                                                         int pageNumber,
                                                         int pageSize,
                                                         QualityFlag qualityFlag)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.findMeasurementByQualityFlag(int, String, fr.ifremer.allegro.referential.QualityFlag) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findMeasurementByQualityFlag in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByQualityFlag(int, java.lang.String, int, int, fr.ifremer.allegro.referential.QualityFlag)

findMeasurementByAnalysisInstrument

public java.util.Collection findMeasurementByAnalysisInstrument(AnalysisInstrument analysisInstrument)
Specified by:
findMeasurementByAnalysisInstrument in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByAnalysisInstrument(fr.ifremer.allegro.referential.AnalysisInstrument)

findMeasurementByAnalysisInstrument

public java.util.Collection findMeasurementByAnalysisInstrument(int transform,
                                                                AnalysisInstrument analysisInstrument)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.findMeasurementByAnalysisInstrument(fr.ifremer.allegro.referential.AnalysisInstrument) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then finder results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

Specified by:
findMeasurementByAnalysisInstrument in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByAnalysisInstrument(int, fr.ifremer.allegro.referential.AnalysisInstrument)

findMeasurementByAnalysisInstrument

public java.util.Collection findMeasurementByAnalysisInstrument(java.lang.String queryString,
                                                                AnalysisInstrument analysisInstrument)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.findMeasurementByAnalysisInstrument(fr.ifremer.allegro.referential.AnalysisInstrument) with an additional argument called queryString. This queryString argument allows you to override the query string defined in MeasurementDao.findMeasurementByAnalysisInstrument(fr.ifremer.allegro.referential.AnalysisInstrument).

Specified by:
findMeasurementByAnalysisInstrument in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByAnalysisInstrument(java.lang.String, fr.ifremer.allegro.referential.AnalysisInstrument)

findMeasurementByAnalysisInstrument

public java.util.Collection findMeasurementByAnalysisInstrument(int pageNumber,
                                                                int pageSize,
                                                                AnalysisInstrument analysisInstrument)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.findMeasurementByAnalysisInstrument(fr.ifremer.allegro.referential.AnalysisInstrument) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findMeasurementByAnalysisInstrument in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByAnalysisInstrument(int, int, fr.ifremer.allegro.referential.AnalysisInstrument)

findMeasurementByAnalysisInstrument

public java.util.Collection findMeasurementByAnalysisInstrument(java.lang.String queryString,
                                                                int pageNumber,
                                                                int pageSize,
                                                                AnalysisInstrument analysisInstrument)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.findMeasurementByAnalysisInstrument(String, fr.ifremer.allegro.referential.AnalysisInstrument) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findMeasurementByAnalysisInstrument in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByAnalysisInstrument(String, int, int, fr.ifremer.allegro.referential.AnalysisInstrument)

findMeasurementByAnalysisInstrument

public java.util.Collection findMeasurementByAnalysisInstrument(int transform,
                                                                java.lang.String queryString,
                                                                AnalysisInstrument analysisInstrument)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.findMeasurementByAnalysisInstrument(int, fr.ifremer.allegro.referential.AnalysisInstrument) with an additional argument called queryString. This queryString argument allows you to override the query string defined in MeasurementDao.findMeasurementByAnalysisInstrument(int, fr.ifremer.allegro.referential.AnalysisInstrument analysisInstrument).

Specified by:
findMeasurementByAnalysisInstrument in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByAnalysisInstrument(int, String, fr.ifremer.allegro.referential.AnalysisInstrument)

findMeasurementByAnalysisInstrument

public java.util.Collection findMeasurementByAnalysisInstrument(int transform,
                                                                int pageNumber,
                                                                int pageSize,
                                                                AnalysisInstrument analysisInstrument)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.findMeasurementByAnalysisInstrument(int, fr.ifremer.allegro.referential.AnalysisInstrument) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findMeasurementByAnalysisInstrument in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByAnalysisInstrument(int, int, int, fr.ifremer.allegro.referential.AnalysisInstrument)

findMeasurementByAnalysisInstrument

public java.util.Collection findMeasurementByAnalysisInstrument(int transform,
                                                                java.lang.String queryString,
                                                                int pageNumber,
                                                                int pageSize,
                                                                AnalysisInstrument analysisInstrument)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.findMeasurementByAnalysisInstrument(int, String, fr.ifremer.allegro.referential.AnalysisInstrument) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findMeasurementByAnalysisInstrument in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByAnalysisInstrument(int, java.lang.String, int, int, fr.ifremer.allegro.referential.AnalysisInstrument)

findMeasurementByNumericalPrecision

public java.util.Collection findMeasurementByNumericalPrecision(NumericalPrecision numericalPrecision)
Specified by:
findMeasurementByNumericalPrecision in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByNumericalPrecision(fr.ifremer.allegro.referential.NumericalPrecision)

findMeasurementByNumericalPrecision

public java.util.Collection findMeasurementByNumericalPrecision(int transform,
                                                                NumericalPrecision numericalPrecision)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.findMeasurementByNumericalPrecision(fr.ifremer.allegro.referential.NumericalPrecision) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then finder results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

Specified by:
findMeasurementByNumericalPrecision in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByNumericalPrecision(int, fr.ifremer.allegro.referential.NumericalPrecision)

findMeasurementByNumericalPrecision

public java.util.Collection findMeasurementByNumericalPrecision(java.lang.String queryString,
                                                                NumericalPrecision numericalPrecision)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.findMeasurementByNumericalPrecision(fr.ifremer.allegro.referential.NumericalPrecision) with an additional argument called queryString. This queryString argument allows you to override the query string defined in MeasurementDao.findMeasurementByNumericalPrecision(fr.ifremer.allegro.referential.NumericalPrecision).

Specified by:
findMeasurementByNumericalPrecision in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByNumericalPrecision(java.lang.String, fr.ifremer.allegro.referential.NumericalPrecision)

findMeasurementByNumericalPrecision

public java.util.Collection findMeasurementByNumericalPrecision(int pageNumber,
                                                                int pageSize,
                                                                NumericalPrecision numericalPrecision)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.findMeasurementByNumericalPrecision(fr.ifremer.allegro.referential.NumericalPrecision) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findMeasurementByNumericalPrecision in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByNumericalPrecision(int, int, fr.ifremer.allegro.referential.NumericalPrecision)

findMeasurementByNumericalPrecision

public java.util.Collection findMeasurementByNumericalPrecision(java.lang.String queryString,
                                                                int pageNumber,
                                                                int pageSize,
                                                                NumericalPrecision numericalPrecision)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.findMeasurementByNumericalPrecision(String, fr.ifremer.allegro.referential.NumericalPrecision) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findMeasurementByNumericalPrecision in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByNumericalPrecision(String, int, int, fr.ifremer.allegro.referential.NumericalPrecision)

findMeasurementByNumericalPrecision

public java.util.Collection findMeasurementByNumericalPrecision(int transform,
                                                                java.lang.String queryString,
                                                                NumericalPrecision numericalPrecision)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.findMeasurementByNumericalPrecision(int, fr.ifremer.allegro.referential.NumericalPrecision) with an additional argument called queryString. This queryString argument allows you to override the query string defined in MeasurementDao.findMeasurementByNumericalPrecision(int, fr.ifremer.allegro.referential.NumericalPrecision numericalPrecision).

Specified by:
findMeasurementByNumericalPrecision in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByNumericalPrecision(int, String, fr.ifremer.allegro.referential.NumericalPrecision)

findMeasurementByNumericalPrecision

public java.util.Collection findMeasurementByNumericalPrecision(int transform,
                                                                int pageNumber,
                                                                int pageSize,
                                                                NumericalPrecision numericalPrecision)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.findMeasurementByNumericalPrecision(int, fr.ifremer.allegro.referential.NumericalPrecision) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findMeasurementByNumericalPrecision in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByNumericalPrecision(int, int, int, fr.ifremer.allegro.referential.NumericalPrecision)

findMeasurementByNumericalPrecision

public java.util.Collection findMeasurementByNumericalPrecision(int transform,
                                                                java.lang.String queryString,
                                                                int pageNumber,
                                                                int pageSize,
                                                                NumericalPrecision numericalPrecision)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.findMeasurementByNumericalPrecision(int, String, fr.ifremer.allegro.referential.NumericalPrecision) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findMeasurementByNumericalPrecision in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByNumericalPrecision(int, java.lang.String, int, int, fr.ifremer.allegro.referential.NumericalPrecision)

findMeasurementByPmfm

public java.util.Collection findMeasurementByPmfm(Pmfm pmfm)
Specified by:
findMeasurementByPmfm in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByPmfm(fr.ifremer.allegro.referential.pmfm.Pmfm)

findMeasurementByPmfm

public java.util.Collection findMeasurementByPmfm(int transform,
                                                  Pmfm pmfm)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.findMeasurementByPmfm(fr.ifremer.allegro.referential.pmfm.Pmfm) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then finder results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

Specified by:
findMeasurementByPmfm in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByPmfm(int, fr.ifremer.allegro.referential.pmfm.Pmfm)

findMeasurementByPmfm

public java.util.Collection findMeasurementByPmfm(java.lang.String queryString,
                                                  Pmfm pmfm)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.findMeasurementByPmfm(fr.ifremer.allegro.referential.pmfm.Pmfm) with an additional argument called queryString. This queryString argument allows you to override the query string defined in MeasurementDao.findMeasurementByPmfm(fr.ifremer.allegro.referential.pmfm.Pmfm).

Specified by:
findMeasurementByPmfm in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByPmfm(java.lang.String, fr.ifremer.allegro.referential.pmfm.Pmfm)

findMeasurementByPmfm

public java.util.Collection findMeasurementByPmfm(int pageNumber,
                                                  int pageSize,
                                                  Pmfm pmfm)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.findMeasurementByPmfm(fr.ifremer.allegro.referential.pmfm.Pmfm) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findMeasurementByPmfm in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByPmfm(int, int, fr.ifremer.allegro.referential.pmfm.Pmfm)

findMeasurementByPmfm

public java.util.Collection findMeasurementByPmfm(java.lang.String queryString,
                                                  int pageNumber,
                                                  int pageSize,
                                                  Pmfm pmfm)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.findMeasurementByPmfm(String, fr.ifremer.allegro.referential.pmfm.Pmfm) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findMeasurementByPmfm in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByPmfm(String, int, int, fr.ifremer.allegro.referential.pmfm.Pmfm)

findMeasurementByPmfm

public java.util.Collection findMeasurementByPmfm(int transform,
                                                  java.lang.String queryString,
                                                  Pmfm pmfm)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.findMeasurementByPmfm(int, fr.ifremer.allegro.referential.pmfm.Pmfm) with an additional argument called queryString. This queryString argument allows you to override the query string defined in MeasurementDao.findMeasurementByPmfm(int, fr.ifremer.allegro.referential.pmfm.Pmfm pmfm).

Specified by:
findMeasurementByPmfm in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByPmfm(int, String, fr.ifremer.allegro.referential.pmfm.Pmfm)

findMeasurementByPmfm

public java.util.Collection findMeasurementByPmfm(int transform,
                                                  int pageNumber,
                                                  int pageSize,
                                                  Pmfm pmfm)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.findMeasurementByPmfm(int, fr.ifremer.allegro.referential.pmfm.Pmfm) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findMeasurementByPmfm in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByPmfm(int, int, int, fr.ifremer.allegro.referential.pmfm.Pmfm)

findMeasurementByPmfm

public java.util.Collection findMeasurementByPmfm(int transform,
                                                  java.lang.String queryString,
                                                  int pageNumber,
                                                  int pageSize,
                                                  Pmfm pmfm)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.findMeasurementByPmfm(int, String, fr.ifremer.allegro.referential.pmfm.Pmfm) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findMeasurementByPmfm in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByPmfm(int, java.lang.String, int, int, fr.ifremer.allegro.referential.pmfm.Pmfm)

findMeasurementByQualitativeValue

public java.util.Collection findMeasurementByQualitativeValue(QualitativeValue qualitativeValue)
Specified by:
findMeasurementByQualitativeValue in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByQualitativeValue(fr.ifremer.allegro.referential.pmfm.QualitativeValue)

findMeasurementByQualitativeValue

public java.util.Collection findMeasurementByQualitativeValue(int transform,
                                                              QualitativeValue qualitativeValue)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.findMeasurementByQualitativeValue(fr.ifremer.allegro.referential.pmfm.QualitativeValue) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then finder results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

Specified by:
findMeasurementByQualitativeValue in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByQualitativeValue(int, fr.ifremer.allegro.referential.pmfm.QualitativeValue)

findMeasurementByQualitativeValue

public java.util.Collection findMeasurementByQualitativeValue(java.lang.String queryString,
                                                              QualitativeValue qualitativeValue)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.findMeasurementByQualitativeValue(fr.ifremer.allegro.referential.pmfm.QualitativeValue) with an additional argument called queryString. This queryString argument allows you to override the query string defined in MeasurementDao.findMeasurementByQualitativeValue(fr.ifremer.allegro.referential.pmfm.QualitativeValue).

Specified by:
findMeasurementByQualitativeValue in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByQualitativeValue(java.lang.String, fr.ifremer.allegro.referential.pmfm.QualitativeValue)

findMeasurementByQualitativeValue

public java.util.Collection findMeasurementByQualitativeValue(int pageNumber,
                                                              int pageSize,
                                                              QualitativeValue qualitativeValue)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.findMeasurementByQualitativeValue(fr.ifremer.allegro.referential.pmfm.QualitativeValue) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findMeasurementByQualitativeValue in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByQualitativeValue(int, int, fr.ifremer.allegro.referential.pmfm.QualitativeValue)

findMeasurementByQualitativeValue

public java.util.Collection findMeasurementByQualitativeValue(java.lang.String queryString,
                                                              int pageNumber,
                                                              int pageSize,
                                                              QualitativeValue qualitativeValue)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.findMeasurementByQualitativeValue(String, fr.ifremer.allegro.referential.pmfm.QualitativeValue) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findMeasurementByQualitativeValue in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByQualitativeValue(String, int, int, fr.ifremer.allegro.referential.pmfm.QualitativeValue)

findMeasurementByQualitativeValue

public java.util.Collection findMeasurementByQualitativeValue(int transform,
                                                              java.lang.String queryString,
                                                              QualitativeValue qualitativeValue)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.findMeasurementByQualitativeValue(int, fr.ifremer.allegro.referential.pmfm.QualitativeValue) with an additional argument called queryString. This queryString argument allows you to override the query string defined in MeasurementDao.findMeasurementByQualitativeValue(int, fr.ifremer.allegro.referential.pmfm.QualitativeValue qualitativeValue).

Specified by:
findMeasurementByQualitativeValue in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByQualitativeValue(int, String, fr.ifremer.allegro.referential.pmfm.QualitativeValue)

findMeasurementByQualitativeValue

public java.util.Collection findMeasurementByQualitativeValue(int transform,
                                                              int pageNumber,
                                                              int pageSize,
                                                              QualitativeValue qualitativeValue)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.findMeasurementByQualitativeValue(int, fr.ifremer.allegro.referential.pmfm.QualitativeValue) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findMeasurementByQualitativeValue in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByQualitativeValue(int, int, int, fr.ifremer.allegro.referential.pmfm.QualitativeValue)

findMeasurementByQualitativeValue

public java.util.Collection findMeasurementByQualitativeValue(int transform,
                                                              java.lang.String queryString,
                                                              int pageNumber,
                                                              int pageSize,
                                                              QualitativeValue qualitativeValue)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.findMeasurementByQualitativeValue(int, String, fr.ifremer.allegro.referential.pmfm.QualitativeValue) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findMeasurementByQualitativeValue in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByQualitativeValue(int, java.lang.String, int, int, fr.ifremer.allegro.referential.pmfm.QualitativeValue)

findMeasurementByAggregationLevel

public java.util.Collection findMeasurementByAggregationLevel(AggregationLevel aggregationLevel)
Specified by:
findMeasurementByAggregationLevel in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByAggregationLevel(fr.ifremer.allegro.referential.pmfm.AggregationLevel)

findMeasurementByAggregationLevel

public java.util.Collection findMeasurementByAggregationLevel(int transform,
                                                              AggregationLevel aggregationLevel)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.findMeasurementByAggregationLevel(fr.ifremer.allegro.referential.pmfm.AggregationLevel) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then finder results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

Specified by:
findMeasurementByAggregationLevel in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByAggregationLevel(int, fr.ifremer.allegro.referential.pmfm.AggregationLevel)

findMeasurementByAggregationLevel

public java.util.Collection findMeasurementByAggregationLevel(java.lang.String queryString,
                                                              AggregationLevel aggregationLevel)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.findMeasurementByAggregationLevel(fr.ifremer.allegro.referential.pmfm.AggregationLevel) with an additional argument called queryString. This queryString argument allows you to override the query string defined in MeasurementDao.findMeasurementByAggregationLevel(fr.ifremer.allegro.referential.pmfm.AggregationLevel).

Specified by:
findMeasurementByAggregationLevel in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByAggregationLevel(java.lang.String, fr.ifremer.allegro.referential.pmfm.AggregationLevel)

findMeasurementByAggregationLevel

public java.util.Collection findMeasurementByAggregationLevel(int pageNumber,
                                                              int pageSize,
                                                              AggregationLevel aggregationLevel)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.findMeasurementByAggregationLevel(fr.ifremer.allegro.referential.pmfm.AggregationLevel) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findMeasurementByAggregationLevel in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByAggregationLevel(int, int, fr.ifremer.allegro.referential.pmfm.AggregationLevel)

findMeasurementByAggregationLevel

public java.util.Collection findMeasurementByAggregationLevel(java.lang.String queryString,
                                                              int pageNumber,
                                                              int pageSize,
                                                              AggregationLevel aggregationLevel)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.findMeasurementByAggregationLevel(String, fr.ifremer.allegro.referential.pmfm.AggregationLevel) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findMeasurementByAggregationLevel in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByAggregationLevel(String, int, int, fr.ifremer.allegro.referential.pmfm.AggregationLevel)

findMeasurementByAggregationLevel

public java.util.Collection findMeasurementByAggregationLevel(int transform,
                                                              java.lang.String queryString,
                                                              AggregationLevel aggregationLevel)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.findMeasurementByAggregationLevel(int, fr.ifremer.allegro.referential.pmfm.AggregationLevel) with an additional argument called queryString. This queryString argument allows you to override the query string defined in MeasurementDao.findMeasurementByAggregationLevel(int, fr.ifremer.allegro.referential.pmfm.AggregationLevel aggregationLevel).

Specified by:
findMeasurementByAggregationLevel in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByAggregationLevel(int, String, fr.ifremer.allegro.referential.pmfm.AggregationLevel)

findMeasurementByAggregationLevel

public java.util.Collection findMeasurementByAggregationLevel(int transform,
                                                              int pageNumber,
                                                              int pageSize,
                                                              AggregationLevel aggregationLevel)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.findMeasurementByAggregationLevel(int, fr.ifremer.allegro.referential.pmfm.AggregationLevel) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findMeasurementByAggregationLevel in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByAggregationLevel(int, int, int, fr.ifremer.allegro.referential.pmfm.AggregationLevel)

findMeasurementByAggregationLevel

public java.util.Collection findMeasurementByAggregationLevel(int transform,
                                                              java.lang.String queryString,
                                                              int pageNumber,
                                                              int pageSize,
                                                              AggregationLevel aggregationLevel)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.findMeasurementByAggregationLevel(int, String, fr.ifremer.allegro.referential.pmfm.AggregationLevel) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findMeasurementByAggregationLevel in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByAggregationLevel(int, java.lang.String, int, int, fr.ifremer.allegro.referential.pmfm.AggregationLevel)

findMeasurementByNaturalId

public Measurement findMeasurementByNaturalId(java.lang.Integer id)
Specified by:
findMeasurementByNaturalId in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByNaturalId(java.lang.Integer)

findMeasurementByNaturalId

public java.lang.Object findMeasurementByNaturalId(int transform,
                                                   java.lang.Integer id)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.findMeasurementByNaturalId(java.lang.Integer) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then finder results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

Specified by:
findMeasurementByNaturalId in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByNaturalId(int, java.lang.Integer)

findMeasurementByNaturalId

public Measurement findMeasurementByNaturalId(java.lang.String queryString,
                                              java.lang.Integer id)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.findMeasurementByNaturalId(java.lang.Integer) with an additional argument called queryString. This queryString argument allows you to override the query string defined in MeasurementDao.findMeasurementByNaturalId(java.lang.Integer).

Specified by:
findMeasurementByNaturalId in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByNaturalId(java.lang.String, java.lang.Integer)

findMeasurementByNaturalId

public java.lang.Object findMeasurementByNaturalId(int transform,
                                                   java.lang.String queryString,
                                                   java.lang.Integer id)
Description copied from interface: MeasurementDao

Does the same thing as MeasurementDao.findMeasurementByNaturalId(int, java.lang.Integer) with an additional argument called queryString. This queryString argument allows you to override the query string defined in MeasurementDao.findMeasurementByNaturalId(int, java.lang.Integer id).

Specified by:
findMeasurementByNaturalId in interface MeasurementDao
See Also:
MeasurementDao.findMeasurementByNaturalId(int, java.lang.String, java.lang.Integer)

transformEntity

protected java.lang.Object transformEntity(int transform,
                                           Measurement entity)
Allows transformation of entities into value objects (or something else for that matter), when the transform flag is set to one of the constants defined in fr.ifremer.allegro.data.measure.MeasurementDao, please note that the MeasurementDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself will be returned.

This method will return instances of these types:

If the integer argument value is unknown MeasurementDao.TRANSFORM_NONE is assumed.

Parameters:
transform - one of the constants declared in MeasurementDao
entity - an entity that was found
Returns:
the transformed entity (i.e. new value object, etc)
See Also:
transformEntities(int,java.util.Collection)

transformEntities

protected void transformEntities(int transform,
                                 java.util.Collection entities)
Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.data.measure.Measurement) method. This method does not instantiate a new collection.

This method is to be used internally only.

Parameters:
transform - one of the constants declared in fr.ifremer.allegro.data.measure.MeasurementDao
entities - the collection of entities to transform
See Also:
transformEntity(int,fr.ifremer.allegro.data.measure.Measurement)

toEntity

protected Measurement toEntity(java.lang.Object[] row)

toRemoteMeasurementFullVOCollection

public final void toRemoteMeasurementFullVOCollection(java.util.Collection entities)
Description copied from interface: MeasurementDao
Converts this DAO's entity to a Collection of instances of type RemoteMeasurementFullVO.

Specified by:
toRemoteMeasurementFullVOCollection in interface MeasurementDao
See Also:
MeasurementDao.toRemoteMeasurementFullVOCollection(java.util.Collection)

toRemoteMeasurementFullVOArray

public final RemoteMeasurementFullVO[] toRemoteMeasurementFullVOArray(java.util.Collection entities)
Description copied from interface: MeasurementDao
Converts this DAO's entity to an array of instances of type RemoteMeasurementFullVO.

Specified by:
toRemoteMeasurementFullVOArray in interface MeasurementDao
See Also:
MeasurementDao.toRemoteMeasurementFullVOArray(java.util.Collection)

toRemoteMeasurementFullVO

protected RemoteMeasurementFullVO toRemoteMeasurementFullVO(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. This implementation exists for convenience reasons only. It needs only be overridden in the MeasurementDaoImpl class if you intend to use reporting queries.

See Also:
MeasurementDao.toRemoteMeasurementFullVO(fr.ifremer.allegro.data.measure.Measurement)

remoteMeasurementFullVOToEntityCollection

public final void remoteMeasurementFullVOToEntityCollection(java.util.Collection instances)
Description copied from interface: MeasurementDao
Converts a Collection of instances of type RemoteMeasurementFullVO to this DAO's entity.

Specified by:
remoteMeasurementFullVOToEntityCollection in interface MeasurementDao
See Also:
MeasurementDao.remoteMeasurementFullVOToEntityCollection(java.util.Collection)

toRemoteMeasurementFullVO

public void toRemoteMeasurementFullVO(Measurement source,
                                      RemoteMeasurementFullVO target)
Description copied from interface: MeasurementDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteMeasurementFullVO(), but it does not handle any attributes in the target value object that are "read-only" (as those do not have setter methods exposed).

Specified by:
toRemoteMeasurementFullVO in interface MeasurementDao
See Also:
MeasurementDao.toRemoteMeasurementFullVO(fr.ifremer.allegro.data.measure.Measurement, fr.ifremer.allegro.data.measure.generic.vo.RemoteMeasurementFullVO)

toRemoteMeasurementFullVO

public RemoteMeasurementFullVO toRemoteMeasurementFullVO(Measurement entity)
Description copied from interface: MeasurementDao
Converts this DAO's entity to an object of type RemoteMeasurementFullVO.

Specified by:
toRemoteMeasurementFullVO in interface MeasurementDao
See Also:
MeasurementDao.toRemoteMeasurementFullVO(fr.ifremer.allegro.data.measure.Measurement)

remoteMeasurementFullVOToEntity

public void remoteMeasurementFullVOToEntity(RemoteMeasurementFullVO source,
                                            Measurement target,
                                            boolean copyIfNull)
Description copied from interface: MeasurementDao
Copies the fields of RemoteMeasurementFullVO to the specified entity.

Specified by:
remoteMeasurementFullVOToEntity in interface MeasurementDao
copyIfNull - If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE, it will be copied regardless of its value.
See Also:
fr.ifremer.allegro.data.measure.MeasurementDao#remoteMeasurementFullVOToEntity(fr.ifremer.allegro.data.measure.generic.vo.RemoteMeasurementFullVO, fr.ifremer.allegro.data.measure.Measurement)

toRemoteMeasurementNaturalIdCollection

public final void toRemoteMeasurementNaturalIdCollection(java.util.Collection entities)
Description copied from interface: MeasurementDao
Converts this DAO's entity to a Collection of instances of type RemoteMeasurementNaturalId.

Specified by:
toRemoteMeasurementNaturalIdCollection in interface MeasurementDao
See Also:
MeasurementDao.toRemoteMeasurementNaturalIdCollection(java.util.Collection)

toRemoteMeasurementNaturalIdArray

public final RemoteMeasurementNaturalId[] toRemoteMeasurementNaturalIdArray(java.util.Collection entities)
Description copied from interface: MeasurementDao
Converts this DAO's entity to an array of instances of type RemoteMeasurementNaturalId.

Specified by:
toRemoteMeasurementNaturalIdArray in interface MeasurementDao
See Also:
MeasurementDao.toRemoteMeasurementNaturalIdArray(java.util.Collection)

toRemoteMeasurementNaturalId

protected RemoteMeasurementNaturalId toRemoteMeasurementNaturalId(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. This implementation exists for convenience reasons only. It needs only be overridden in the MeasurementDaoImpl class if you intend to use reporting queries.

See Also:
MeasurementDao.toRemoteMeasurementNaturalId(fr.ifremer.allegro.data.measure.Measurement)

remoteMeasurementNaturalIdToEntityCollection

public final void remoteMeasurementNaturalIdToEntityCollection(java.util.Collection instances)
Description copied from interface: MeasurementDao
Converts a Collection of instances of type RemoteMeasurementNaturalId to this DAO's entity.

Specified by:
remoteMeasurementNaturalIdToEntityCollection in interface MeasurementDao
See Also:
MeasurementDao.remoteMeasurementNaturalIdToEntityCollection(java.util.Collection)

toRemoteMeasurementNaturalId

public void toRemoteMeasurementNaturalId(Measurement source,
                                         RemoteMeasurementNaturalId target)
Description copied from interface: MeasurementDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteMeasurementNaturalId(), but it does not handle any attributes in the target value object that are "read-only" (as those do not have setter methods exposed).

Specified by:
toRemoteMeasurementNaturalId in interface MeasurementDao
See Also:
MeasurementDao.toRemoteMeasurementNaturalId(fr.ifremer.allegro.data.measure.Measurement, fr.ifremer.allegro.data.measure.generic.vo.RemoteMeasurementNaturalId)

toRemoteMeasurementNaturalId

public RemoteMeasurementNaturalId toRemoteMeasurementNaturalId(Measurement entity)
Description copied from interface: MeasurementDao
Converts this DAO's entity to an object of type RemoteMeasurementNaturalId.

Specified by:
toRemoteMeasurementNaturalId in interface MeasurementDao
See Also:
MeasurementDao.toRemoteMeasurementNaturalId(fr.ifremer.allegro.data.measure.Measurement)

remoteMeasurementNaturalIdToEntity

public void remoteMeasurementNaturalIdToEntity(RemoteMeasurementNaturalId source,
                                               Measurement target,
                                               boolean copyIfNull)
Description copied from interface: MeasurementDao
Copies the fields of RemoteMeasurementNaturalId to the specified entity.

Specified by:
remoteMeasurementNaturalIdToEntity in interface MeasurementDao
copyIfNull - If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE, it will be copied regardless of its value.
See Also:
fr.ifremer.allegro.data.measure.MeasurementDao#remoteMeasurementNaturalIdToEntity(fr.ifremer.allegro.data.measure.generic.vo.RemoteMeasurementNaturalId, fr.ifremer.allegro.data.measure.Measurement)

toClusterMeasurementCollection

public final void toClusterMeasurementCollection(java.util.Collection entities)
Description copied from interface: MeasurementDao
Converts this DAO's entity to a Collection of instances of type ClusterMeasurement.

Specified by:
toClusterMeasurementCollection in interface MeasurementDao
See Also:
MeasurementDao.toClusterMeasurementCollection(java.util.Collection)

toClusterMeasurementArray

public final ClusterMeasurement[] toClusterMeasurementArray(java.util.Collection entities)
Description copied from interface: MeasurementDao
Converts this DAO's entity to an array of instances of type ClusterMeasurement.

Specified by:
toClusterMeasurementArray in interface MeasurementDao
See Also:
MeasurementDao.toClusterMeasurementArray(java.util.Collection)

toClusterMeasurement

protected ClusterMeasurement toClusterMeasurement(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. This implementation exists for convenience reasons only. It needs only be overridden in the MeasurementDaoImpl class if you intend to use reporting queries.

See Also:
MeasurementDao.toClusterMeasurement(fr.ifremer.allegro.data.measure.Measurement)

clusterMeasurementToEntityCollection

public final void clusterMeasurementToEntityCollection(java.util.Collection instances)
Description copied from interface: MeasurementDao
Converts a Collection of instances of type ClusterMeasurement to this DAO's entity.

Specified by:
clusterMeasurementToEntityCollection in interface MeasurementDao
See Also:
MeasurementDao.clusterMeasurementToEntityCollection(java.util.Collection)

toClusterMeasurement

public void toClusterMeasurement(Measurement source,
                                 ClusterMeasurement target)
Description copied from interface: MeasurementDao
Copies the fields of the specified entity to the target value object. This method is similar to toClusterMeasurement(), but it does not handle any attributes in the target value object that are "read-only" (as those do not have setter methods exposed).

Specified by:
toClusterMeasurement in interface MeasurementDao
See Also:
MeasurementDao.toClusterMeasurement(fr.ifremer.allegro.data.measure.Measurement, fr.ifremer.allegro.data.measure.generic.cluster.ClusterMeasurement)

toClusterMeasurement

public ClusterMeasurement toClusterMeasurement(Measurement entity)
Description copied from interface: MeasurementDao
Converts this DAO's entity to an object of type ClusterMeasurement.

Specified by:
toClusterMeasurement in interface MeasurementDao
See Also:
MeasurementDao.toClusterMeasurement(fr.ifremer.allegro.data.measure.Measurement)

clusterMeasurementToEntity

public void clusterMeasurementToEntity(ClusterMeasurement source,
                                       Measurement target,
                                       boolean copyIfNull)
Description copied from interface: MeasurementDao
Copies the fields of ClusterMeasurement to the specified entity.

Specified by:
clusterMeasurementToEntity in interface MeasurementDao
copyIfNull - If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE, it will be copied regardless of its value.
See Also:
fr.ifremer.allegro.data.measure.MeasurementDao#clusterMeasurementToEntity(fr.ifremer.allegro.data.measure.generic.cluster.ClusterMeasurement, fr.ifremer.allegro.data.measure.Measurement)

getPrincipal

protected java.security.Principal getPrincipal()
Gets the current principal if one has been set, otherwise returns null.

Returns:
the current principal

search

public PaginationResult search(int transform,
                               int pageNumber,
                               int pageSize,
                               Search search)
Description copied from interface: MeasurementDao
Does the same thing as {@link #search(int, fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize. These flags allow you to limit your data to a specified page number and size.

Specified by:
search in interface MeasurementDao
Parameters:
transform - the transformation flag.
pageNumber - the page number in the data to retrieve
pageSize - the size of the page to retrieve.
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search wrapped in a PaginationResult instance.
See Also:
MeasurementDao.search(int, int, int, fr.ifremer.allegro.Search)

search

public PaginationResult search(int pageNumber,
                               int pageSize,
                               Search search)
Description copied from interface: MeasurementDao
Does the same thing as {@link #search(fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize. These flags allow you to limit your data to a specified page number and size.

Specified by:
search in interface MeasurementDao
Parameters:
pageNumber - the page number in the data to retrieve
pageSize - the size of the page to retrieve.
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search wrapped in a PaginationResult instance.
See Also:
MeasurementDao.search(int, int, fr.ifremer.allegro.Search)

search

public java.util.Set search(int transform,
                            Search search)
Description copied from interface: MeasurementDao
Does the same thing as MeasurementDao.search(fr.ifremer.allegro.Search) but with an additional flag called transform. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

Specified by:
search in interface MeasurementDao
Parameters:
transform - the transformation flag.
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search.
See Also:
MeasurementDao.search(int, fr.ifremer.allegro.Search)

search

public java.util.Set search(Search search)
Description copied from interface: MeasurementDao
Performs a search using the parameters specified in the given search object.

Specified by:
search in interface MeasurementDao
Parameters:
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search.
See Also:
MeasurementDao.search(fr.ifremer.allegro.Search)


Copyright © 2008-2010 IFREMER. All Rights Reserved.