fr.ifremer.allegro.data.measure.file
Class MeasurementFileDaoImpl

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.data.measure.file.MeasurementFileDaoBase
          extended by fr.ifremer.allegro.data.measure.file.MeasurementFileDaoImpl
All Implemented Interfaces:
MeasurementFileDao

public class MeasurementFileDaoImpl
extends MeasurementFileDaoBase

See Also:
MeasurementFile

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.data.measure.file.MeasurementFileDao
TRANSFORM_CLUSTERMEASUREMENTFILE, TRANSFORM_NONE, TRANSFORM_REMOTEMEASUREMENTFILEFULLVO, TRANSFORM_REMOTEMEASUREMENTFILENATURALID
 
Constructor Summary
MeasurementFileDaoImpl()
           
 
Method Summary
 MeasurementFile clusterMeasurementFileToEntity(ClusterMeasurementFile clusterMeasurementFile)
          Converts an instance of type ClusterMeasurementFile to this DAO's entity.
 void clusterMeasurementFileToEntity(ClusterMeasurementFile source, MeasurementFile target, boolean copyIfNull)
          Copies the fields of ClusterMeasurementFile to the specified entity.
protected  MeasurementFile handleCreateFromClusterMeasurementFile(ClusterMeasurementFile clusterMeasurementFile)
          Performs the core logic for MeasurementFileDaoBase.createFromClusterMeasurementFile(fr.ifremer.allegro.data.measure.file.generic.cluster.ClusterMeasurementFile)
protected  ClusterMeasurementFile[] handleGetAllClusterMeasurementFileSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
          Performs the core logic for MeasurementFileDaoBase.getAllClusterMeasurementFileSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 MeasurementFile remoteMeasurementFileFullVOToEntity(RemoteMeasurementFileFullVO remoteMeasurementFileFullVO)
          Converts an instance of type RemoteMeasurementFileFullVO to this DAO's entity.
 void remoteMeasurementFileFullVOToEntity(RemoteMeasurementFileFullVO source, MeasurementFile target, boolean copyIfNull)
          Copies the fields of RemoteMeasurementFileFullVO to the specified entity.
 MeasurementFile remoteMeasurementFileNaturalIdToEntity(RemoteMeasurementFileNaturalId remoteMeasurementFileNaturalId)
          Converts an instance of type RemoteMeasurementFileNaturalId to this DAO's entity.
 void remoteMeasurementFileNaturalIdToEntity(RemoteMeasurementFileNaturalId source, MeasurementFile target, boolean copyIfNull)
          Copies the fields of RemoteMeasurementFileNaturalId to the specified entity.
 ClusterMeasurementFile toClusterMeasurementFile(MeasurementFile entity)
          Converts this DAO's entity to an object of type ClusterMeasurementFile.
 void toClusterMeasurementFile(MeasurementFile source, ClusterMeasurementFile target)
          Copies the fields of the specified entity to the target value object.
 RemoteMeasurementFileFullVO toRemoteMeasurementFileFullVO(MeasurementFile entity)
          Converts this DAO's entity to an object of type RemoteMeasurementFileFullVO.
 void toRemoteMeasurementFileFullVO(MeasurementFile source, RemoteMeasurementFileFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteMeasurementFileNaturalId toRemoteMeasurementFileNaturalId(MeasurementFile entity)
          Converts this DAO's entity to an object of type RemoteMeasurementFileNaturalId.
 void toRemoteMeasurementFileNaturalId(MeasurementFile source, RemoteMeasurementFileNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.data.measure.file.MeasurementFileDaoBase
clusterMeasurementFileToEntityCollection, create, create, create, create, create, create, create, create, createFromClusterMeasurementFile, findMeasurementFileByAnalysisInstrument, findMeasurementFileByAnalysisInstrument, findMeasurementFileByAnalysisInstrument, findMeasurementFileByAnalysisInstrument, findMeasurementFileByAnalysisInstrument, findMeasurementFileByAnalysisInstrument, findMeasurementFileByAnalysisInstrument, findMeasurementFileByAnalysisInstrument, findMeasurementFileByDepartment, findMeasurementFileByDepartment, findMeasurementFileByDepartment, findMeasurementFileByDepartment, findMeasurementFileByDepartment, findMeasurementFileByDepartment, findMeasurementFileByDepartment, findMeasurementFileByDepartment, findMeasurementFileById, findMeasurementFileById, findMeasurementFileById, findMeasurementFileById, findMeasurementFileByNaturalId, findMeasurementFileByNaturalId, findMeasurementFileByNaturalId, findMeasurementFileByNaturalId, findMeasurementFileByObjectType, findMeasurementFileByObjectType, findMeasurementFileByObjectType, findMeasurementFileByObjectType, findMeasurementFileByObjectType, findMeasurementFileByObjectType, findMeasurementFileByObjectType, findMeasurementFileByObjectType, findMeasurementFileByPmfm, findMeasurementFileByPmfm, findMeasurementFileByPmfm, findMeasurementFileByPmfm, findMeasurementFileByPmfm, findMeasurementFileByPmfm, findMeasurementFileByPmfm, findMeasurementFileByPmfm, findMeasurementFileByQualityFlag, findMeasurementFileByQualityFlag, findMeasurementFileByQualityFlag, findMeasurementFileByQualityFlag, findMeasurementFileByQualityFlag, findMeasurementFileByQualityFlag, findMeasurementFileByQualityFlag, findMeasurementFileByQualityFlag, getAllClusterMeasurementFileSinceDateSynchro, getAllMeasurementFile, getAllMeasurementFile, getAllMeasurementFile, getAllMeasurementFile, getAllMeasurementFile, getAllMeasurementFile, getAllMeasurementFile, getAllMeasurementFile, getAllMeasurementFileSinceDateSynchro, getAllMeasurementFileSinceDateSynchro, getAllMeasurementFileSinceDateSynchro, getAllMeasurementFileSinceDateSynchro, getAllMeasurementFileSinceDateSynchro, getAllMeasurementFileSinceDateSynchro, getAllMeasurementFileSinceDateSynchro, getAllMeasurementFileSinceDateSynchro, getAnalysisInstrumentDao, getDepartmentDao, getObjectTypeDao, getPmfmDao, getPrincipal, getQualityFlagDao, load, load, loadAll, loadAll, loadAll, loadAll, remoteMeasurementFileFullVOToEntityCollection, remoteMeasurementFileNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, setAnalysisInstrumentDao, setDepartmentDao, setObjectTypeDao, setPmfmDao, setQualityFlagDao, toClusterMeasurementFile, toClusterMeasurementFileArray, toClusterMeasurementFileCollection, toEntity, toRemoteMeasurementFileFullVO, toRemoteMeasurementFileFullVOArray, toRemoteMeasurementFileFullVOCollection, toRemoteMeasurementFileNaturalId, toRemoteMeasurementFileNaturalIdArray, toRemoteMeasurementFileNaturalIdCollection, transformEntities, transformEntity, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MeasurementFileDaoImpl

public MeasurementFileDaoImpl()
Method Detail

handleCreateFromClusterMeasurementFile

protected MeasurementFile handleCreateFromClusterMeasurementFile(ClusterMeasurementFile clusterMeasurementFile)
Description copied from class: MeasurementFileDaoBase
Performs the core logic for MeasurementFileDaoBase.createFromClusterMeasurementFile(fr.ifremer.allegro.data.measure.file.generic.cluster.ClusterMeasurementFile)

Specified by:
handleCreateFromClusterMeasurementFile in class MeasurementFileDaoBase
See Also:
MeasurementFileDao.createFromClusterMeasurementFile(fr.ifremer.allegro.data.measure.file.generic.cluster.ClusterMeasurementFile)

handleGetAllClusterMeasurementFileSinceDateSynchro

protected ClusterMeasurementFile[] handleGetAllClusterMeasurementFileSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                                                      java.lang.Integer userId,
                                                                                      java.lang.Integer[] registrationLocationIds,
                                                                                      java.lang.Integer pageNumber,
                                                                                      java.lang.Integer pageSize)
Description copied from class: MeasurementFileDaoBase
Performs the core logic for MeasurementFileDaoBase.getAllClusterMeasurementFileSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Specified by:
handleGetAllClusterMeasurementFileSinceDateSynchro in class MeasurementFileDaoBase
See Also:
MeasurementFileDao.getAllClusterMeasurementFileSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

toRemoteMeasurementFileFullVO

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

toRemoteMeasurementFileFullVO

public RemoteMeasurementFileFullVO toRemoteMeasurementFileFullVO(MeasurementFile entity)
Description copied from interface: MeasurementFileDao
Converts this DAO's entity to an object of type RemoteMeasurementFileFullVO.

Specified by:
toRemoteMeasurementFileFullVO in interface MeasurementFileDao
Overrides:
toRemoteMeasurementFileFullVO in class MeasurementFileDaoBase
See Also:
MeasurementFileDao.toRemoteMeasurementFileFullVO(fr.ifremer.allegro.data.measure.file.MeasurementFile)

remoteMeasurementFileFullVOToEntity

public MeasurementFile remoteMeasurementFileFullVOToEntity(RemoteMeasurementFileFullVO remoteMeasurementFileFullVO)
Description copied from interface: MeasurementFileDao
Converts an instance of type RemoteMeasurementFileFullVO to this DAO's entity.

See Also:
MeasurementFileDao.remoteMeasurementFileFullVOToEntity(fr.ifremer.allegro.data.measure.file.generic.vo.RemoteMeasurementFileFullVO)

remoteMeasurementFileFullVOToEntity

public void remoteMeasurementFileFullVOToEntity(RemoteMeasurementFileFullVO source,
                                                MeasurementFile target,
                                                boolean copyIfNull)
Description copied from interface: MeasurementFileDao
Copies the fields of RemoteMeasurementFileFullVO to the specified entity.

Specified by:
remoteMeasurementFileFullVOToEntity in interface MeasurementFileDao
Overrides:
remoteMeasurementFileFullVOToEntity in class MeasurementFileDaoBase
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.file.MeasurementFileDao#remoteMeasurementFileFullVOToEntity(fr.ifremer.allegro.data.measure.file.generic.vo.RemoteMeasurementFileFullVO, fr.ifremer.allegro.data.measure.file.MeasurementFile)

toRemoteMeasurementFileNaturalId

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

toRemoteMeasurementFileNaturalId

public RemoteMeasurementFileNaturalId toRemoteMeasurementFileNaturalId(MeasurementFile entity)
Description copied from interface: MeasurementFileDao
Converts this DAO's entity to an object of type RemoteMeasurementFileNaturalId.

Specified by:
toRemoteMeasurementFileNaturalId in interface MeasurementFileDao
Overrides:
toRemoteMeasurementFileNaturalId in class MeasurementFileDaoBase
See Also:
MeasurementFileDao.toRemoteMeasurementFileNaturalId(fr.ifremer.allegro.data.measure.file.MeasurementFile)

remoteMeasurementFileNaturalIdToEntity

public MeasurementFile remoteMeasurementFileNaturalIdToEntity(RemoteMeasurementFileNaturalId remoteMeasurementFileNaturalId)
Description copied from interface: MeasurementFileDao
Converts an instance of type RemoteMeasurementFileNaturalId to this DAO's entity.

See Also:
MeasurementFileDao.remoteMeasurementFileNaturalIdToEntity(fr.ifremer.allegro.data.measure.file.generic.vo.RemoteMeasurementFileNaturalId)

remoteMeasurementFileNaturalIdToEntity

public void remoteMeasurementFileNaturalIdToEntity(RemoteMeasurementFileNaturalId source,
                                                   MeasurementFile target,
                                                   boolean copyIfNull)
Description copied from interface: MeasurementFileDao
Copies the fields of RemoteMeasurementFileNaturalId to the specified entity.

Specified by:
remoteMeasurementFileNaturalIdToEntity in interface MeasurementFileDao
Overrides:
remoteMeasurementFileNaturalIdToEntity in class MeasurementFileDaoBase
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.file.MeasurementFileDao#remoteMeasurementFileNaturalIdToEntity(fr.ifremer.allegro.data.measure.file.generic.vo.RemoteMeasurementFileNaturalId, fr.ifremer.allegro.data.measure.file.MeasurementFile)

toClusterMeasurementFile

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

toClusterMeasurementFile

public ClusterMeasurementFile toClusterMeasurementFile(MeasurementFile entity)
Description copied from interface: MeasurementFileDao
Converts this DAO's entity to an object of type ClusterMeasurementFile.

Specified by:
toClusterMeasurementFile in interface MeasurementFileDao
Overrides:
toClusterMeasurementFile in class MeasurementFileDaoBase
See Also:
MeasurementFileDao.toClusterMeasurementFile(fr.ifremer.allegro.data.measure.file.MeasurementFile)

clusterMeasurementFileToEntity

public MeasurementFile clusterMeasurementFileToEntity(ClusterMeasurementFile clusterMeasurementFile)
Description copied from interface: MeasurementFileDao
Converts an instance of type ClusterMeasurementFile to this DAO's entity.

See Also:
MeasurementFileDao.clusterMeasurementFileToEntity(fr.ifremer.allegro.data.measure.file.generic.cluster.ClusterMeasurementFile)

clusterMeasurementFileToEntity

public void clusterMeasurementFileToEntity(ClusterMeasurementFile source,
                                           MeasurementFile target,
                                           boolean copyIfNull)
Description copied from interface: MeasurementFileDao
Copies the fields of ClusterMeasurementFile to the specified entity.

Specified by:
clusterMeasurementFileToEntity in interface MeasurementFileDao
Overrides:
clusterMeasurementFileToEntity in class MeasurementFileDaoBase
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.file.MeasurementFileDao#clusterMeasurementFileToEntity(fr.ifremer.allegro.data.measure.file.generic.cluster.ClusterMeasurementFile, fr.ifremer.allegro.data.measure.file.MeasurementFile)


Copyright © 2008-2010 IFREMER. All Rights Reserved.