fr.ifremer.allegro.data.measure
Class SaleMeasurementDaoImpl

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.SaleMeasurementDaoBase
                  extended by fr.ifremer.allegro.data.measure.SaleMeasurementDaoImpl
All Implemented Interfaces:
MeasurementDao, SaleMeasurementDao

public class SaleMeasurementDaoImpl
extends SaleMeasurementDaoBase

See Also:
SaleMeasurement

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.data.measure.SaleMeasurementDao
TRANSFORM_CLUSTERSALEMEASUREMENT, TRANSFORM_REMOTESALEMEASUREMENTFULLVO, TRANSFORM_REMOTESALEMEASUREMENTNATURALID
 
Fields inherited from interface fr.ifremer.allegro.data.measure.MeasurementDao
TRANSFORM_CLUSTERMEASUREMENT, TRANSFORM_NONE, TRANSFORM_REMOTEMEASUREMENTFULLVO, TRANSFORM_REMOTEMEASUREMENTNATURALID
 
Constructor Summary
SaleMeasurementDaoImpl()
           
 
Method Summary
 SaleMeasurement clusterSaleMeasurementToEntity(ClusterSaleMeasurement clusterSaleMeasurement)
          Converts an instance of type ClusterSaleMeasurement to this DAO's entity.
 void clusterSaleMeasurementToEntity(ClusterSaleMeasurement source, SaleMeasurement target, boolean copyIfNull)
          Copies the fields of ClusterSaleMeasurement to the specified entity.
protected  SaleMeasurement handleCreateFromClusterSaleMeasurement(ClusterSaleMeasurement clusterSaleMeasurement)
          Performs the core logic for SaleMeasurementDaoBase.createFromClusterSaleMeasurement(fr.ifremer.allegro.data.measure.generic.cluster.ClusterSaleMeasurement)
protected  ClusterSaleMeasurement[] handleGetAllClusterSaleMeasurement(java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
          Performs the core logic for SaleMeasurementDaoBase.getAllClusterSaleMeasurement(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 SaleMeasurement remoteSaleMeasurementFullVOToEntity(RemoteSaleMeasurementFullVO remoteSaleMeasurementFullVO)
          Converts an instance of type RemoteSaleMeasurementFullVO to this DAO's entity.
 void remoteSaleMeasurementFullVOToEntity(RemoteSaleMeasurementFullVO source, SaleMeasurement target, boolean copyIfNull)
          Copies the fields of RemoteSaleMeasurementFullVO to the specified entity.
 SaleMeasurement remoteSaleMeasurementNaturalIdToEntity(RemoteSaleMeasurementNaturalId remoteSaleMeasurementNaturalId)
          Converts an instance of type RemoteSaleMeasurementNaturalId to this DAO's entity.
 void remoteSaleMeasurementNaturalIdToEntity(RemoteSaleMeasurementNaturalId source, SaleMeasurement target, boolean copyIfNull)
          Copies the fields of RemoteSaleMeasurementNaturalId to the specified entity.
 ClusterSaleMeasurement toClusterSaleMeasurement(SaleMeasurement entity)
          Converts this DAO's entity to an object of type ClusterSaleMeasurement.
 void toClusterSaleMeasurement(SaleMeasurement source, ClusterSaleMeasurement target)
          Copies the fields of the specified entity to the target value object.
 RemoteSaleMeasurementFullVO toRemoteSaleMeasurementFullVO(SaleMeasurement entity)
          Converts this DAO's entity to an object of type RemoteSaleMeasurementFullVO.
 void toRemoteSaleMeasurementFullVO(SaleMeasurement source, RemoteSaleMeasurementFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteSaleMeasurementNaturalId toRemoteSaleMeasurementNaturalId(SaleMeasurement entity)
          Converts this DAO's entity to an object of type RemoteSaleMeasurementNaturalId.
 void toRemoteSaleMeasurementNaturalId(SaleMeasurement source, RemoteSaleMeasurementNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.data.measure.SaleMeasurementDaoBase
clusterSaleMeasurementToEntityCollection, create, create, create, create, create, create, create, create, createFromClusterSaleMeasurement, 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, findSaleMeasurementByAggregationLevel, findSaleMeasurementByAggregationLevel, findSaleMeasurementByAggregationLevel, findSaleMeasurementByAggregationLevel, findSaleMeasurementByAggregationLevel, findSaleMeasurementByAggregationLevel, findSaleMeasurementByAggregationLevel, findSaleMeasurementByAggregationLevel, findSaleMeasurementByAnalysisInstrument, findSaleMeasurementByAnalysisInstrument, findSaleMeasurementByAnalysisInstrument, findSaleMeasurementByAnalysisInstrument, findSaleMeasurementByAnalysisInstrument, findSaleMeasurementByAnalysisInstrument, findSaleMeasurementByAnalysisInstrument, findSaleMeasurementByAnalysisInstrument, findSaleMeasurementByDepartment, findSaleMeasurementByDepartment, findSaleMeasurementByDepartment, findSaleMeasurementByDepartment, findSaleMeasurementByDepartment, findSaleMeasurementByDepartment, findSaleMeasurementByDepartment, findSaleMeasurementByDepartment, findSaleMeasurementByExpectedSale, findSaleMeasurementByExpectedSale, findSaleMeasurementByExpectedSale, findSaleMeasurementByExpectedSale, findSaleMeasurementByExpectedSale, findSaleMeasurementByExpectedSale, findSaleMeasurementByExpectedSale, findSaleMeasurementByExpectedSale, findSaleMeasurementById, findSaleMeasurementById, findSaleMeasurementById, findSaleMeasurementById, findSaleMeasurementByNaturalId, findSaleMeasurementByNaturalId, findSaleMeasurementByNaturalId, findSaleMeasurementByNaturalId, findSaleMeasurementByNumericalPrecision, findSaleMeasurementByNumericalPrecision, findSaleMeasurementByNumericalPrecision, findSaleMeasurementByNumericalPrecision, findSaleMeasurementByNumericalPrecision, findSaleMeasurementByNumericalPrecision, findSaleMeasurementByNumericalPrecision, findSaleMeasurementByNumericalPrecision, findSaleMeasurementByPmfm, findSaleMeasurementByPmfm, findSaleMeasurementByPmfm, findSaleMeasurementByPmfm, findSaleMeasurementByPmfm, findSaleMeasurementByPmfm, findSaleMeasurementByPmfm, findSaleMeasurementByPmfm, findSaleMeasurementByPrecisionType, findSaleMeasurementByPrecisionType, findSaleMeasurementByPrecisionType, findSaleMeasurementByPrecisionType, findSaleMeasurementByPrecisionType, findSaleMeasurementByPrecisionType, findSaleMeasurementByPrecisionType, findSaleMeasurementByPrecisionType, findSaleMeasurementByQualitativeValue, findSaleMeasurementByQualitativeValue, findSaleMeasurementByQualitativeValue, findSaleMeasurementByQualitativeValue, findSaleMeasurementByQualitativeValue, findSaleMeasurementByQualitativeValue, findSaleMeasurementByQualitativeValue, findSaleMeasurementByQualitativeValue, findSaleMeasurementByQualityFlag, findSaleMeasurementByQualityFlag, findSaleMeasurementByQualityFlag, findSaleMeasurementByQualityFlag, findSaleMeasurementByQualityFlag, findSaleMeasurementByQualityFlag, findSaleMeasurementByQualityFlag, findSaleMeasurementByQualityFlag, findSaleMeasurementBySale, findSaleMeasurementBySale, findSaleMeasurementBySale, findSaleMeasurementBySale, findSaleMeasurementBySale, findSaleMeasurementBySale, findSaleMeasurementBySale, findSaleMeasurementBySale, getAllClusterSaleMeasurement, getAllMeasurement, getAllMeasurement, getAllMeasurement, getAllMeasurement, getAllMeasurement, getAllMeasurement, getAllMeasurement, getAllMeasurement, getAllSaleMeasurement, getAllSaleMeasurement, getAllSaleMeasurement, getAllSaleMeasurement, getAllSaleMeasurement, getAllSaleMeasurement, getAllSaleMeasurement, getAllSaleMeasurement, getExpectedSaleDao, getPrincipal, getSaleDao, load, load, loadAll, loadAll, loadAll, loadAll, remoteSaleMeasurementFullVOToEntityCollection, remoteSaleMeasurementNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, setExpectedSaleDao, setSaleDao, toClusterSaleMeasurement, toClusterSaleMeasurementArray, toClusterSaleMeasurementCollection, toEntity, toRemoteSaleMeasurementFullVO, toRemoteSaleMeasurementFullVOArray, toRemoteSaleMeasurementFullVOCollection, toRemoteSaleMeasurementNaturalId, toRemoteSaleMeasurementNaturalIdArray, toRemoteSaleMeasurementNaturalIdCollection, 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

SaleMeasurementDaoImpl

public SaleMeasurementDaoImpl()
Method Detail

handleCreateFromClusterSaleMeasurement

protected SaleMeasurement handleCreateFromClusterSaleMeasurement(ClusterSaleMeasurement clusterSaleMeasurement)
Description copied from class: SaleMeasurementDaoBase
Performs the core logic for SaleMeasurementDaoBase.createFromClusterSaleMeasurement(fr.ifremer.allegro.data.measure.generic.cluster.ClusterSaleMeasurement)

Specified by:
handleCreateFromClusterSaleMeasurement in class SaleMeasurementDaoBase
See Also:
SaleMeasurementDao.createFromClusterSaleMeasurement(fr.ifremer.allegro.data.measure.generic.cluster.ClusterSaleMeasurement)

handleGetAllClusterSaleMeasurement

protected ClusterSaleMeasurement[] handleGetAllClusterSaleMeasurement(java.lang.Integer userId,
                                                                      java.lang.Integer[] registrationLocationIds,
                                                                      java.lang.Integer pageNumber,
                                                                      java.lang.Integer pageSize)
Description copied from class: SaleMeasurementDaoBase
Performs the core logic for SaleMeasurementDaoBase.getAllClusterSaleMeasurement(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Specified by:
handleGetAllClusterSaleMeasurement in class SaleMeasurementDaoBase
See Also:
SaleMeasurementDao.getAllClusterSaleMeasurement(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

toRemoteSaleMeasurementFullVO

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

toRemoteSaleMeasurementFullVO

public RemoteSaleMeasurementFullVO toRemoteSaleMeasurementFullVO(SaleMeasurement entity)
Description copied from interface: SaleMeasurementDao
Converts this DAO's entity to an object of type RemoteSaleMeasurementFullVO.

Specified by:
toRemoteSaleMeasurementFullVO in interface SaleMeasurementDao
Overrides:
toRemoteSaleMeasurementFullVO in class SaleMeasurementDaoBase
See Also:
SaleMeasurementDao.toRemoteSaleMeasurementFullVO(fr.ifremer.allegro.data.measure.SaleMeasurement)

remoteSaleMeasurementFullVOToEntity

public SaleMeasurement remoteSaleMeasurementFullVOToEntity(RemoteSaleMeasurementFullVO remoteSaleMeasurementFullVO)
Description copied from interface: SaleMeasurementDao
Converts an instance of type RemoteSaleMeasurementFullVO to this DAO's entity.

See Also:
SaleMeasurementDao.remoteSaleMeasurementFullVOToEntity(fr.ifremer.allegro.data.measure.generic.vo.RemoteSaleMeasurementFullVO)

remoteSaleMeasurementFullVOToEntity

public void remoteSaleMeasurementFullVOToEntity(RemoteSaleMeasurementFullVO source,
                                                SaleMeasurement target,
                                                boolean copyIfNull)
Description copied from interface: SaleMeasurementDao
Copies the fields of RemoteSaleMeasurementFullVO to the specified entity.

Specified by:
remoteSaleMeasurementFullVOToEntity in interface SaleMeasurementDao
Overrides:
remoteSaleMeasurementFullVOToEntity in class SaleMeasurementDaoBase
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.SaleMeasurementDao#remoteSaleMeasurementFullVOToEntity(fr.ifremer.allegro.data.measure.generic.vo.RemoteSaleMeasurementFullVO, fr.ifremer.allegro.data.measure.SaleMeasurement)

toRemoteSaleMeasurementNaturalId

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

toRemoteSaleMeasurementNaturalId

public RemoteSaleMeasurementNaturalId toRemoteSaleMeasurementNaturalId(SaleMeasurement entity)
Description copied from interface: SaleMeasurementDao
Converts this DAO's entity to an object of type RemoteSaleMeasurementNaturalId.

Specified by:
toRemoteSaleMeasurementNaturalId in interface SaleMeasurementDao
Overrides:
toRemoteSaleMeasurementNaturalId in class SaleMeasurementDaoBase
See Also:
SaleMeasurementDao.toRemoteSaleMeasurementNaturalId(fr.ifremer.allegro.data.measure.SaleMeasurement)

remoteSaleMeasurementNaturalIdToEntity

public SaleMeasurement remoteSaleMeasurementNaturalIdToEntity(RemoteSaleMeasurementNaturalId remoteSaleMeasurementNaturalId)
Description copied from interface: SaleMeasurementDao
Converts an instance of type RemoteSaleMeasurementNaturalId to this DAO's entity.

See Also:
SaleMeasurementDao.remoteSaleMeasurementNaturalIdToEntity(fr.ifremer.allegro.data.measure.generic.vo.RemoteSaleMeasurementNaturalId)

remoteSaleMeasurementNaturalIdToEntity

public void remoteSaleMeasurementNaturalIdToEntity(RemoteSaleMeasurementNaturalId source,
                                                   SaleMeasurement target,
                                                   boolean copyIfNull)
Description copied from interface: SaleMeasurementDao
Copies the fields of RemoteSaleMeasurementNaturalId to the specified entity.

Specified by:
remoteSaleMeasurementNaturalIdToEntity in interface SaleMeasurementDao
Overrides:
remoteSaleMeasurementNaturalIdToEntity in class SaleMeasurementDaoBase
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.SaleMeasurementDao#remoteSaleMeasurementNaturalIdToEntity(fr.ifremer.allegro.data.measure.generic.vo.RemoteSaleMeasurementNaturalId, fr.ifremer.allegro.data.measure.SaleMeasurement)

toClusterSaleMeasurement

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

toClusterSaleMeasurement

public ClusterSaleMeasurement toClusterSaleMeasurement(SaleMeasurement entity)
Description copied from interface: SaleMeasurementDao
Converts this DAO's entity to an object of type ClusterSaleMeasurement.

Specified by:
toClusterSaleMeasurement in interface SaleMeasurementDao
Overrides:
toClusterSaleMeasurement in class SaleMeasurementDaoBase
See Also:
SaleMeasurementDao.toClusterSaleMeasurement(fr.ifremer.allegro.data.measure.SaleMeasurement)

clusterSaleMeasurementToEntity

public SaleMeasurement clusterSaleMeasurementToEntity(ClusterSaleMeasurement clusterSaleMeasurement)
Description copied from interface: SaleMeasurementDao
Converts an instance of type ClusterSaleMeasurement to this DAO's entity.

See Also:
SaleMeasurementDao.clusterSaleMeasurementToEntity(fr.ifremer.allegro.data.measure.generic.cluster.ClusterSaleMeasurement)

clusterSaleMeasurementToEntity

public void clusterSaleMeasurementToEntity(ClusterSaleMeasurement source,
                                           SaleMeasurement target,
                                           boolean copyIfNull)
Description copied from interface: SaleMeasurementDao
Copies the fields of ClusterSaleMeasurement to the specified entity.

Specified by:
clusterSaleMeasurementToEntity in interface SaleMeasurementDao
Overrides:
clusterSaleMeasurementToEntity in class SaleMeasurementDaoBase
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.SaleMeasurementDao#clusterSaleMeasurementToEntity(fr.ifremer.allegro.data.measure.generic.cluster.ClusterSaleMeasurement, fr.ifremer.allegro.data.measure.SaleMeasurement)


Copyright © 2008-2010 IFREMER. All Rights Reserved.