fr.ifremer.allegro.data.measure
Class SortingMeasurementDaoImpl

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.data.measure.MeasurementDaoBase
          extended by fr.ifremer.allegro.data.measure.MeasurementDaoImpl
              extended by fr.ifremer.allegro.data.measure.SortingMeasurementDaoBase
                  extended by fr.ifremer.allegro.data.measure.SortingMeasurementDaoImpl
All Implemented Interfaces:
MeasurementDao, SortingMeasurementDao

public class SortingMeasurementDaoImpl
extends SortingMeasurementDaoBase

See Also:
SortingMeasurement

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.data.measure.SortingMeasurementDao
TRANSFORM_CLUSTERSORTINGMEASUREMENT, TRANSFORM_REMOTESORTINGMEASUREMENTFULLVO, TRANSFORM_REMOTESORTINGMEASUREMENTNATURALID
 
Fields inherited from interface fr.ifremer.allegro.data.measure.MeasurementDao
TRANSFORM_CLUSTERMEASUREMENT, TRANSFORM_NONE, TRANSFORM_REMOTEMEASUREMENTFULLVO, TRANSFORM_REMOTEMEASUREMENTNATURALID
 
Constructor Summary
SortingMeasurementDaoImpl()
           
 
Method Summary
 SortingMeasurement clusterSortingMeasurementToEntity(ClusterSortingMeasurement clusterSortingMeasurement)
          Converts an instance of type ClusterSortingMeasurement to this DAO's entity.
 void clusterSortingMeasurementToEntity(ClusterSortingMeasurement source, SortingMeasurement target, boolean copyIfNull)
          Copies the fields of ClusterSortingMeasurement to the specified entity.
protected  SortingMeasurement handleCreateFromClusterSortingMeasurement(ClusterSortingMeasurement clusterSortingMeasurement)
          Performs the core logic for SortingMeasurementDaoBase.createFromClusterSortingMeasurement(fr.ifremer.allegro.data.measure.generic.cluster.ClusterSortingMeasurement)
protected  ClusterSortingMeasurement[] handleGetAllClusterSortingMeasurement(java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
          Performs the core logic for SortingMeasurementDaoBase.getAllClusterSortingMeasurement(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 SortingMeasurement remoteSortingMeasurementFullVOToEntity(RemoteSortingMeasurementFullVO remoteSortingMeasurementFullVO)
          Converts an instance of type RemoteSortingMeasurementFullVO to this DAO's entity.
 void remoteSortingMeasurementFullVOToEntity(RemoteSortingMeasurementFullVO source, SortingMeasurement target, boolean copyIfNull)
          Copies the fields of RemoteSortingMeasurementFullVO to the specified entity.
 SortingMeasurement remoteSortingMeasurementNaturalIdToEntity(RemoteSortingMeasurementNaturalId remoteSortingMeasurementNaturalId)
          Converts an instance of type RemoteSortingMeasurementNaturalId to this DAO's entity.
 void remoteSortingMeasurementNaturalIdToEntity(RemoteSortingMeasurementNaturalId source, SortingMeasurement target, boolean copyIfNull)
          Copies the fields of RemoteSortingMeasurementNaturalId to the specified entity.
 ClusterSortingMeasurement toClusterSortingMeasurement(SortingMeasurement entity)
          Converts this DAO's entity to an object of type ClusterSortingMeasurement.
 void toClusterSortingMeasurement(SortingMeasurement source, ClusterSortingMeasurement target)
          Copies the fields of the specified entity to the target value object.
 RemoteSortingMeasurementFullVO toRemoteSortingMeasurementFullVO(SortingMeasurement entity)
          Converts this DAO's entity to an object of type RemoteSortingMeasurementFullVO.
 void toRemoteSortingMeasurementFullVO(SortingMeasurement source, RemoteSortingMeasurementFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteSortingMeasurementNaturalId toRemoteSortingMeasurementNaturalId(SortingMeasurement entity)
          Converts this DAO's entity to an object of type RemoteSortingMeasurementNaturalId.
 void toRemoteSortingMeasurementNaturalId(SortingMeasurement source, RemoteSortingMeasurementNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.data.measure.SortingMeasurementDaoBase
clusterSortingMeasurementToEntityCollection, create, create, create, create, create, create, create, create, createFromClusterSortingMeasurement, findMeasurementByAggregationLevel, findMeasurementByAggregationLevel, findMeasurementByAggregationLevel, findMeasurementByAggregationLevel, findMeasurementByAggregationLevel, findMeasurementByAggregationLevel, findMeasurementByAggregationLevel, findMeasurementByAggregationLevel, findMeasurementByAnalysisInstrument, findMeasurementByAnalysisInstrument, findMeasurementByAnalysisInstrument, findMeasurementByAnalysisInstrument, findMeasurementByAnalysisInstrument, findMeasurementByAnalysisInstrument, findMeasurementByAnalysisInstrument, findMeasurementByAnalysisInstrument, findMeasurementByDepartment, findMeasurementByDepartment, findMeasurementByDepartment, findMeasurementByDepartment, findMeasurementByDepartment, findMeasurementByDepartment, findMeasurementByDepartment, findMeasurementByDepartment, findMeasurementById, findMeasurementById, findMeasurementById, findMeasurementById, findMeasurementByNaturalId, findMeasurementByNaturalId, findMeasurementByNaturalId, findMeasurementByNaturalId, findMeasurementByNumericalPrecision, findMeasurementByNumericalPrecision, findMeasurementByNumericalPrecision, findMeasurementByNumericalPrecision, findMeasurementByNumericalPrecision, findMeasurementByNumericalPrecision, findMeasurementByNumericalPrecision, findMeasurementByNumericalPrecision, findMeasurementByPmfm, findMeasurementByPmfm, findMeasurementByPmfm, findMeasurementByPmfm, findMeasurementByPmfm, findMeasurementByPmfm, findMeasurementByPmfm, findMeasurementByPmfm, findMeasurementByPrecisionType, findMeasurementByPrecisionType, findMeasurementByPrecisionType, findMeasurementByPrecisionType, findMeasurementByPrecisionType, findMeasurementByPrecisionType, findMeasurementByPrecisionType, findMeasurementByPrecisionType, findMeasurementByQualitativeValue, findMeasurementByQualitativeValue, findMeasurementByQualitativeValue, findMeasurementByQualitativeValue, findMeasurementByQualitativeValue, findMeasurementByQualitativeValue, findMeasurementByQualitativeValue, findMeasurementByQualitativeValue, findMeasurementByQualityFlag, findMeasurementByQualityFlag, findMeasurementByQualityFlag, findMeasurementByQualityFlag, findMeasurementByQualityFlag, findMeasurementByQualityFlag, findMeasurementByQualityFlag, findMeasurementByQualityFlag, findSortingMeasurementByAggregationLevel, findSortingMeasurementByAggregationLevel, findSortingMeasurementByAggregationLevel, findSortingMeasurementByAggregationLevel, findSortingMeasurementByAggregationLevel, findSortingMeasurementByAggregationLevel, findSortingMeasurementByAggregationLevel, findSortingMeasurementByAggregationLevel, findSortingMeasurementByAnalysisInstrument, findSortingMeasurementByAnalysisInstrument, findSortingMeasurementByAnalysisInstrument, findSortingMeasurementByAnalysisInstrument, findSortingMeasurementByAnalysisInstrument, findSortingMeasurementByAnalysisInstrument, findSortingMeasurementByAnalysisInstrument, findSortingMeasurementByAnalysisInstrument, findSortingMeasurementByDepartment, findSortingMeasurementByDepartment, findSortingMeasurementByDepartment, findSortingMeasurementByDepartment, findSortingMeasurementByDepartment, findSortingMeasurementByDepartment, findSortingMeasurementByDepartment, findSortingMeasurementByDepartment, findSortingMeasurementById, findSortingMeasurementById, findSortingMeasurementById, findSortingMeasurementById, findSortingMeasurementByNaturalId, findSortingMeasurementByNaturalId, findSortingMeasurementByNaturalId, findSortingMeasurementByNaturalId, findSortingMeasurementByNumericalPrecision, findSortingMeasurementByNumericalPrecision, findSortingMeasurementByNumericalPrecision, findSortingMeasurementByNumericalPrecision, findSortingMeasurementByNumericalPrecision, findSortingMeasurementByNumericalPrecision, findSortingMeasurementByNumericalPrecision, findSortingMeasurementByNumericalPrecision, findSortingMeasurementByPmfm, findSortingMeasurementByPmfm, findSortingMeasurementByPmfm, findSortingMeasurementByPmfm, findSortingMeasurementByPmfm, findSortingMeasurementByPmfm, findSortingMeasurementByPmfm, findSortingMeasurementByPmfm, findSortingMeasurementByPrecisionType, findSortingMeasurementByPrecisionType, findSortingMeasurementByPrecisionType, findSortingMeasurementByPrecisionType, findSortingMeasurementByPrecisionType, findSortingMeasurementByPrecisionType, findSortingMeasurementByPrecisionType, findSortingMeasurementByPrecisionType, findSortingMeasurementByProduce, findSortingMeasurementByProduce, findSortingMeasurementByProduce, findSortingMeasurementByProduce, findSortingMeasurementByProduce, findSortingMeasurementByProduce, findSortingMeasurementByProduce, findSortingMeasurementByProduce, findSortingMeasurementByQualitativeValue, findSortingMeasurementByQualitativeValue, findSortingMeasurementByQualitativeValue, findSortingMeasurementByQualitativeValue, findSortingMeasurementByQualitativeValue, findSortingMeasurementByQualitativeValue, findSortingMeasurementByQualitativeValue, findSortingMeasurementByQualitativeValue, findSortingMeasurementByQualityFlag, findSortingMeasurementByQualityFlag, findSortingMeasurementByQualityFlag, findSortingMeasurementByQualityFlag, findSortingMeasurementByQualityFlag, findSortingMeasurementByQualityFlag, findSortingMeasurementByQualityFlag, findSortingMeasurementByQualityFlag, findSortingMeasurementBySortingBatch, findSortingMeasurementBySortingBatch, findSortingMeasurementBySortingBatch, findSortingMeasurementBySortingBatch, findSortingMeasurementBySortingBatch, findSortingMeasurementBySortingBatch, findSortingMeasurementBySortingBatch, findSortingMeasurementBySortingBatch, getAllClusterSortingMeasurement, getAllMeasurement, getAllMeasurement, getAllMeasurement, getAllMeasurement, getAllMeasurement, getAllMeasurement, getAllMeasurement, getAllMeasurement, getAllSortingMeasurement, getAllSortingMeasurement, getAllSortingMeasurement, getAllSortingMeasurement, getAllSortingMeasurement, getAllSortingMeasurement, getAllSortingMeasurement, getAllSortingMeasurement, getPrincipal, getProduceDao, getSortingBatchDao, load, load, loadAll, loadAll, loadAll, loadAll, remoteSortingMeasurementFullVOToEntityCollection, remoteSortingMeasurementNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, setProduceDao, setSortingBatchDao, toClusterSortingMeasurement, toClusterSortingMeasurementArray, toClusterSortingMeasurementCollection, toEntity, toRemoteSortingMeasurementFullVO, toRemoteSortingMeasurementFullVOArray, toRemoteSortingMeasurementFullVOCollection, toRemoteSortingMeasurementNaturalId, toRemoteSortingMeasurementNaturalIdArray, toRemoteSortingMeasurementNaturalIdCollection, transformEntities, transformEntity, update, update
 
Methods inherited from class fr.ifremer.allegro.data.measure.MeasurementDaoImpl
clusterMeasurementToEntity, clusterMeasurementToEntity, remoteMeasurementFullVOToEntity, remoteMeasurementFullVOToEntity, remoteMeasurementNaturalIdToEntity, remoteMeasurementNaturalIdToEntity, toClusterMeasurement, toClusterMeasurement, toRemoteMeasurementFullVO, toRemoteMeasurementFullVO, toRemoteMeasurementNaturalId, toRemoteMeasurementNaturalId
 
Methods inherited from class fr.ifremer.allegro.data.measure.MeasurementDaoBase
clusterMeasurementToEntityCollection, getAggregationLevelDao, getAnalysisInstrumentDao, getDepartmentDao, getNumericalPrecisionDao, getPmfmDao, getPrecisionTypeDao, getQualitativeValueDao, getQualityFlagDao, remoteMeasurementFullVOToEntityCollection, remoteMeasurementNaturalIdToEntityCollection, remove, setAggregationLevelDao, setAnalysisInstrumentDao, setDepartmentDao, setNumericalPrecisionDao, setPmfmDao, setPrecisionTypeDao, setQualitativeValueDao, setQualityFlagDao, toClusterMeasurement, toClusterMeasurementArray, toClusterMeasurementCollection, toRemoteMeasurementFullVO, toRemoteMeasurementFullVOArray, toRemoteMeasurementFullVOCollection, toRemoteMeasurementNaturalId, toRemoteMeasurementNaturalIdArray, toRemoteMeasurementNaturalIdCollection, transformEntity, update
 
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, clusterMeasurementToEntity, clusterMeasurementToEntityCollection, remoteMeasurementFullVOToEntity, remoteMeasurementFullVOToEntity, remoteMeasurementFullVOToEntityCollection, remoteMeasurementNaturalIdToEntity, remoteMeasurementNaturalIdToEntity, remoteMeasurementNaturalIdToEntityCollection, remove, toClusterMeasurement, toClusterMeasurement, toClusterMeasurementArray, toClusterMeasurementCollection, toRemoteMeasurementFullVO, toRemoteMeasurementFullVO, toRemoteMeasurementFullVOArray, toRemoteMeasurementFullVOCollection, toRemoteMeasurementNaturalId, toRemoteMeasurementNaturalId, toRemoteMeasurementNaturalIdArray, toRemoteMeasurementNaturalIdCollection, update
 

Constructor Detail

SortingMeasurementDaoImpl

public SortingMeasurementDaoImpl()
Method Detail

handleCreateFromClusterSortingMeasurement

protected SortingMeasurement handleCreateFromClusterSortingMeasurement(ClusterSortingMeasurement clusterSortingMeasurement)
Description copied from class: SortingMeasurementDaoBase
Performs the core logic for SortingMeasurementDaoBase.createFromClusterSortingMeasurement(fr.ifremer.allegro.data.measure.generic.cluster.ClusterSortingMeasurement)

Specified by:
handleCreateFromClusterSortingMeasurement in class SortingMeasurementDaoBase
See Also:
SortingMeasurementDao.createFromClusterSortingMeasurement(fr.ifremer.allegro.data.measure.generic.cluster.ClusterSortingMeasurement)

handleGetAllClusterSortingMeasurement

protected ClusterSortingMeasurement[] handleGetAllClusterSortingMeasurement(java.lang.Integer userId,
                                                                            java.lang.Integer[] registrationLocationIds,
                                                                            java.lang.Integer pageNumber,
                                                                            java.lang.Integer pageSize)
Description copied from class: SortingMeasurementDaoBase
Performs the core logic for SortingMeasurementDaoBase.getAllClusterSortingMeasurement(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Specified by:
handleGetAllClusterSortingMeasurement in class SortingMeasurementDaoBase
See Also:
SortingMeasurementDao.getAllClusterSortingMeasurement(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

toRemoteSortingMeasurementFullVO

public void toRemoteSortingMeasurementFullVO(SortingMeasurement source,
                                             RemoteSortingMeasurementFullVO target)
Description copied from interface: SortingMeasurementDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteSortingMeasurementFullVO(), 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:
toRemoteSortingMeasurementFullVO in interface SortingMeasurementDao
Overrides:
toRemoteSortingMeasurementFullVO in class SortingMeasurementDaoBase
See Also:
SortingMeasurementDao.toRemoteSortingMeasurementFullVO(fr.ifremer.allegro.data.measure.SortingMeasurement, fr.ifremer.allegro.data.measure.generic.vo.RemoteSortingMeasurementFullVO)

toRemoteSortingMeasurementFullVO

public RemoteSortingMeasurementFullVO toRemoteSortingMeasurementFullVO(SortingMeasurement entity)
Description copied from interface: SortingMeasurementDao
Converts this DAO's entity to an object of type RemoteSortingMeasurementFullVO.

Specified by:
toRemoteSortingMeasurementFullVO in interface SortingMeasurementDao
Overrides:
toRemoteSortingMeasurementFullVO in class SortingMeasurementDaoBase
See Also:
SortingMeasurementDao.toRemoteSortingMeasurementFullVO(fr.ifremer.allegro.data.measure.SortingMeasurement)

remoteSortingMeasurementFullVOToEntity

public SortingMeasurement remoteSortingMeasurementFullVOToEntity(RemoteSortingMeasurementFullVO remoteSortingMeasurementFullVO)
Description copied from interface: SortingMeasurementDao
Converts an instance of type RemoteSortingMeasurementFullVO to this DAO's entity.

See Also:
SortingMeasurementDao.remoteSortingMeasurementFullVOToEntity(fr.ifremer.allegro.data.measure.generic.vo.RemoteSortingMeasurementFullVO)

remoteSortingMeasurementFullVOToEntity

public void remoteSortingMeasurementFullVOToEntity(RemoteSortingMeasurementFullVO source,
                                                   SortingMeasurement target,
                                                   boolean copyIfNull)
Description copied from interface: SortingMeasurementDao
Copies the fields of RemoteSortingMeasurementFullVO to the specified entity.

Specified by:
remoteSortingMeasurementFullVOToEntity in interface SortingMeasurementDao
Overrides:
remoteSortingMeasurementFullVOToEntity in class SortingMeasurementDaoBase
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.SortingMeasurementDao#remoteSortingMeasurementFullVOToEntity(fr.ifremer.allegro.data.measure.generic.vo.RemoteSortingMeasurementFullVO, fr.ifremer.allegro.data.measure.SortingMeasurement)

toRemoteSortingMeasurementNaturalId

public void toRemoteSortingMeasurementNaturalId(SortingMeasurement source,
                                                RemoteSortingMeasurementNaturalId target)
Description copied from interface: SortingMeasurementDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteSortingMeasurementNaturalId(), 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:
toRemoteSortingMeasurementNaturalId in interface SortingMeasurementDao
Overrides:
toRemoteSortingMeasurementNaturalId in class SortingMeasurementDaoBase
See Also:
SortingMeasurementDao.toRemoteSortingMeasurementNaturalId(fr.ifremer.allegro.data.measure.SortingMeasurement, fr.ifremer.allegro.data.measure.generic.vo.RemoteSortingMeasurementNaturalId)

toRemoteSortingMeasurementNaturalId

public RemoteSortingMeasurementNaturalId toRemoteSortingMeasurementNaturalId(SortingMeasurement entity)
Description copied from interface: SortingMeasurementDao
Converts this DAO's entity to an object of type RemoteSortingMeasurementNaturalId.

Specified by:
toRemoteSortingMeasurementNaturalId in interface SortingMeasurementDao
Overrides:
toRemoteSortingMeasurementNaturalId in class SortingMeasurementDaoBase
See Also:
SortingMeasurementDao.toRemoteSortingMeasurementNaturalId(fr.ifremer.allegro.data.measure.SortingMeasurement)

remoteSortingMeasurementNaturalIdToEntity

public SortingMeasurement remoteSortingMeasurementNaturalIdToEntity(RemoteSortingMeasurementNaturalId remoteSortingMeasurementNaturalId)
Description copied from interface: SortingMeasurementDao
Converts an instance of type RemoteSortingMeasurementNaturalId to this DAO's entity.

See Also:
SortingMeasurementDao.remoteSortingMeasurementNaturalIdToEntity(fr.ifremer.allegro.data.measure.generic.vo.RemoteSortingMeasurementNaturalId)

remoteSortingMeasurementNaturalIdToEntity

public void remoteSortingMeasurementNaturalIdToEntity(RemoteSortingMeasurementNaturalId source,
                                                      SortingMeasurement target,
                                                      boolean copyIfNull)
Description copied from interface: SortingMeasurementDao
Copies the fields of RemoteSortingMeasurementNaturalId to the specified entity.

Specified by:
remoteSortingMeasurementNaturalIdToEntity in interface SortingMeasurementDao
Overrides:
remoteSortingMeasurementNaturalIdToEntity in class SortingMeasurementDaoBase
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.SortingMeasurementDao#remoteSortingMeasurementNaturalIdToEntity(fr.ifremer.allegro.data.measure.generic.vo.RemoteSortingMeasurementNaturalId, fr.ifremer.allegro.data.measure.SortingMeasurement)

toClusterSortingMeasurement

public void toClusterSortingMeasurement(SortingMeasurement source,
                                        ClusterSortingMeasurement target)
Description copied from interface: SortingMeasurementDao
Copies the fields of the specified entity to the target value object. This method is similar to toClusterSortingMeasurement(), 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:
toClusterSortingMeasurement in interface SortingMeasurementDao
Overrides:
toClusterSortingMeasurement in class SortingMeasurementDaoBase
See Also:
SortingMeasurementDao.toClusterSortingMeasurement(fr.ifremer.allegro.data.measure.SortingMeasurement, fr.ifremer.allegro.data.measure.generic.cluster.ClusterSortingMeasurement)

toClusterSortingMeasurement

public ClusterSortingMeasurement toClusterSortingMeasurement(SortingMeasurement entity)
Description copied from interface: SortingMeasurementDao
Converts this DAO's entity to an object of type ClusterSortingMeasurement.

Specified by:
toClusterSortingMeasurement in interface SortingMeasurementDao
Overrides:
toClusterSortingMeasurement in class SortingMeasurementDaoBase
See Also:
SortingMeasurementDao.toClusterSortingMeasurement(fr.ifremer.allegro.data.measure.SortingMeasurement)

clusterSortingMeasurementToEntity

public SortingMeasurement clusterSortingMeasurementToEntity(ClusterSortingMeasurement clusterSortingMeasurement)
Description copied from interface: SortingMeasurementDao
Converts an instance of type ClusterSortingMeasurement to this DAO's entity.

See Also:
SortingMeasurementDao.clusterSortingMeasurementToEntity(fr.ifremer.allegro.data.measure.generic.cluster.ClusterSortingMeasurement)

clusterSortingMeasurementToEntity

public void clusterSortingMeasurementToEntity(ClusterSortingMeasurement source,
                                              SortingMeasurement target,
                                              boolean copyIfNull)
Description copied from interface: SortingMeasurementDao
Copies the fields of ClusterSortingMeasurement to the specified entity.

Specified by:
clusterSortingMeasurementToEntity in interface SortingMeasurementDao
Overrides:
clusterSortingMeasurementToEntity in class SortingMeasurementDaoBase
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.SortingMeasurementDao#clusterSortingMeasurementToEntity(fr.ifremer.allegro.data.measure.generic.cluster.ClusterSortingMeasurement, fr.ifremer.allegro.data.measure.SortingMeasurement)


Copyright © 2008-2010 IFREMER. All Rights Reserved.