fr.ifremer.allegro.data.survey.landing
Class ObservedLandingDaoImpl

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.data.survey.landing.LandingDaoBase
          extended by fr.ifremer.allegro.data.survey.landing.LandingDaoImpl
              extended by fr.ifremer.allegro.data.survey.landing.ObservedLandingDaoBase
                  extended by fr.ifremer.allegro.data.survey.landing.ObservedLandingDaoImpl
All Implemented Interfaces:
LandingDao, ObservedLandingDao

public class ObservedLandingDaoImpl
extends ObservedLandingDaoBase

See Also:
ObservedLanding

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.data.survey.landing.ObservedLandingDao
TRANSFORM_CLUSTEROBSERVEDLANDING, TRANSFORM_REMOTEOBSERVEDLANDINGFULLVO, TRANSFORM_REMOTEOBSERVEDLANDINGNATURALID
 
Fields inherited from interface fr.ifremer.allegro.data.survey.landing.LandingDao
TRANSFORM_CLUSTERLANDING, TRANSFORM_NONE, TRANSFORM_REMOTELANDINGFULLVO, TRANSFORM_REMOTELANDINGNATURALID
 
Constructor Summary
ObservedLandingDaoImpl()
           
 
Method Summary
 ObservedLanding clusterObservedLandingToEntity(ClusterObservedLanding clusterObservedLanding)
          Converts an instance of type ClusterObservedLanding to this DAO's entity.
 void clusterObservedLandingToEntity(ClusterObservedLanding source, ObservedLanding target, boolean copyIfNull)
          Copies the fields of ClusterObservedLanding to the specified entity.
protected  ObservedLanding handleCreateFromClusterObservedLanding(ClusterObservedLanding clusterObservedLanding)
          Performs the core logic for ObservedLandingDaoBase.createFromClusterObservedLanding(fr.ifremer.allegro.data.survey.landing.generic.cluster.ClusterObservedLanding)
protected  ClusterObservedLanding[] handleGetAllClusterObservedLandingSinceDateSynchro(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 ObservedLandingDaoBase.getAllClusterObservedLandingSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 ObservedLanding remoteObservedLandingFullVOToEntity(RemoteObservedLandingFullVO remoteObservedLandingFullVO)
          Converts an instance of type RemoteObservedLandingFullVO to this DAO's entity.
 void remoteObservedLandingFullVOToEntity(RemoteObservedLandingFullVO source, ObservedLanding target, boolean copyIfNull)
          Copies the fields of RemoteObservedLandingFullVO to the specified entity.
 ObservedLanding remoteObservedLandingNaturalIdToEntity(RemoteObservedLandingNaturalId remoteObservedLandingNaturalId)
          Converts an instance of type RemoteObservedLandingNaturalId to this DAO's entity.
 void remoteObservedLandingNaturalIdToEntity(RemoteObservedLandingNaturalId source, ObservedLanding target, boolean copyIfNull)
          Copies the fields of RemoteObservedLandingNaturalId to the specified entity.
 ClusterObservedLanding toClusterObservedLanding(ObservedLanding entity)
          Converts this DAO's entity to an object of type ClusterObservedLanding.
 void toClusterObservedLanding(ObservedLanding source, ClusterObservedLanding target)
          Copies the fields of the specified entity to the target value object.
 RemoteObservedLandingFullVO toRemoteObservedLandingFullVO(ObservedLanding entity)
          Converts this DAO's entity to an object of type RemoteObservedLandingFullVO.
 void toRemoteObservedLandingFullVO(ObservedLanding source, RemoteObservedLandingFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteObservedLandingNaturalId toRemoteObservedLandingNaturalId(ObservedLanding entity)
          Converts this DAO's entity to an object of type RemoteObservedLandingNaturalId.
 void toRemoteObservedLandingNaturalId(ObservedLanding source, RemoteObservedLandingNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.data.survey.landing.ObservedLandingDaoBase
clusterObservedLandingToEntityCollection, create, create, create, create, create, create, create, create, createFromClusterObservedLanding, findLandingByCatchBatch, findLandingByCatchBatch, findLandingByCatchBatch, findLandingByCatchBatch, findLandingByFishingTrip, findLandingByFishingTrip, findLandingByFishingTrip, findLandingByFishingTrip, findLandingByFishingTrip, findLandingByFishingTrip, findLandingByFishingTrip, findLandingByFishingTrip, findLandingById, findLandingById, findLandingById, findLandingById, findLandingByLandingLocation, findLandingByLandingLocation, findLandingByLandingLocation, findLandingByLandingLocation, findLandingByLandingLocation, findLandingByLandingLocation, findLandingByLandingLocation, findLandingByLandingLocation, findLandingByNaturalId, findLandingByNaturalId, findLandingByNaturalId, findLandingByNaturalId, findLandingByProgram, findLandingByProgram, findLandingByProgram, findLandingByProgram, findLandingByProgram, findLandingByProgram, findLandingByProgram, findLandingByProgram, findLandingByQualityFlag, findLandingByQualityFlag, findLandingByQualityFlag, findLandingByQualityFlag, findLandingByQualityFlag, findLandingByQualityFlag, findLandingByQualityFlag, findLandingByQualityFlag, findLandingByRecorderDepartment, findLandingByRecorderDepartment, findLandingByRecorderDepartment, findLandingByRecorderDepartment, findLandingByRecorderDepartment, findLandingByRecorderDepartment, findLandingByRecorderDepartment, findLandingByRecorderDepartment, findLandingByRecorderPerson, findLandingByRecorderPerson, findLandingByRecorderPerson, findLandingByRecorderPerson, findLandingByRecorderPerson, findLandingByRecorderPerson, findLandingByRecorderPerson, findLandingByRecorderPerson, findLandingByVessel, findLandingByVessel, findLandingByVessel, findLandingByVessel, findLandingByVessel, findLandingByVessel, findLandingByVessel, findLandingByVessel, findObservedLandingByCatchBatch, findObservedLandingByCatchBatch, findObservedLandingByCatchBatch, findObservedLandingByCatchBatch, findObservedLandingByFishingTrip, findObservedLandingByFishingTrip, findObservedLandingByFishingTrip, findObservedLandingByFishingTrip, findObservedLandingByFishingTrip, findObservedLandingByFishingTrip, findObservedLandingByFishingTrip, findObservedLandingByFishingTrip, findObservedLandingById, findObservedLandingById, findObservedLandingById, findObservedLandingById, findObservedLandingByLandingLocation, findObservedLandingByLandingLocation, findObservedLandingByLandingLocation, findObservedLandingByLandingLocation, findObservedLandingByLandingLocation, findObservedLandingByLandingLocation, findObservedLandingByLandingLocation, findObservedLandingByLandingLocation, findObservedLandingByNaturalId, findObservedLandingByNaturalId, findObservedLandingByNaturalId, findObservedLandingByNaturalId, findObservedLandingByProgram, findObservedLandingByProgram, findObservedLandingByProgram, findObservedLandingByProgram, findObservedLandingByProgram, findObservedLandingByProgram, findObservedLandingByProgram, findObservedLandingByProgram, findObservedLandingByQualityFlag, findObservedLandingByQualityFlag, findObservedLandingByQualityFlag, findObservedLandingByQualityFlag, findObservedLandingByQualityFlag, findObservedLandingByQualityFlag, findObservedLandingByQualityFlag, findObservedLandingByQualityFlag, findObservedLandingByRecorderDepartment, findObservedLandingByRecorderDepartment, findObservedLandingByRecorderDepartment, findObservedLandingByRecorderDepartment, findObservedLandingByRecorderDepartment, findObservedLandingByRecorderDepartment, findObservedLandingByRecorderDepartment, findObservedLandingByRecorderDepartment, findObservedLandingByRecorderPerson, findObservedLandingByRecorderPerson, findObservedLandingByRecorderPerson, findObservedLandingByRecorderPerson, findObservedLandingByRecorderPerson, findObservedLandingByRecorderPerson, findObservedLandingByRecorderPerson, findObservedLandingByRecorderPerson, findObservedLandingByVessel, findObservedLandingByVessel, findObservedLandingByVessel, findObservedLandingByVessel, findObservedLandingByVessel, findObservedLandingByVessel, findObservedLandingByVessel, findObservedLandingByVessel, getAllClusterObservedLandingSinceDateSynchro, getAllLanding, getAllLanding, getAllLanding, getAllLanding, getAllLanding, getAllLanding, getAllLanding, getAllLanding, getAllLandingSinceDateSynchro, getAllLandingSinceDateSynchro, getAllLandingSinceDateSynchro, getAllLandingSinceDateSynchro, getAllLandingSinceDateSynchro, getAllLandingSinceDateSynchro, getAllLandingSinceDateSynchro, getAllLandingSinceDateSynchro, getAllObservedLanding, getAllObservedLanding, getAllObservedLanding, getAllObservedLanding, getAllObservedLanding, getAllObservedLanding, getAllObservedLanding, getAllObservedLanding, getAllObservedLandingSinceDateSynchro, getAllObservedLandingSinceDateSynchro, getAllObservedLandingSinceDateSynchro, getAllObservedLandingSinceDateSynchro, getAllObservedLandingSinceDateSynchro, getAllObservedLandingSinceDateSynchro, getAllObservedLandingSinceDateSynchro, getAllObservedLandingSinceDateSynchro, getExpectedSaleDao, getPrincipal, load, load, loadAll, loadAll, loadAll, loadAll, remoteObservedLandingFullVOToEntityCollection, remoteObservedLandingNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, setExpectedSaleDao, toClusterObservedLanding, toClusterObservedLandingArray, toClusterObservedLandingCollection, toEntity, toRemoteObservedLandingFullVO, toRemoteObservedLandingFullVOArray, toRemoteObservedLandingFullVOCollection, toRemoteObservedLandingNaturalId, toRemoteObservedLandingNaturalIdArray, toRemoteObservedLandingNaturalIdCollection, transformEntities, transformEntity, update, update
 
Methods inherited from class fr.ifremer.allegro.data.survey.landing.LandingDaoImpl
clusterLandingToEntity, clusterLandingToEntity, handleCreateFromClusterLanding, handleGetAllClusterLandingSinceDateSynchro, remoteLandingFullVOToEntity, remoteLandingFullVOToEntity, remoteLandingNaturalIdToEntity, remoteLandingNaturalIdToEntity, toClusterLanding, toClusterLanding, toRemoteLandingFullVO, toRemoteLandingFullVO, toRemoteLandingNaturalId, toRemoteLandingNaturalId
 
Methods inherited from class fr.ifremer.allegro.data.survey.landing.LandingDaoBase
clusterLandingToEntityCollection, create, create, create, create, create, create, createFromClusterLanding, getAllClusterLandingSinceDateSynchro, getCatchBatchDao, getDepartmentDao, getFishingTripDao, getLandingMeasurementDao, getLocationDao, getObservedSaleDao, getPersonDao, getProduceDao, getProgramDao, getQualityFlagDao, getSaleDao, getSaleProduceDao, getSurveyMeasurementDao, getVesselDao, remoteLandingFullVOToEntityCollection, remoteLandingNaturalIdToEntityCollection, remove, setCatchBatchDao, setDepartmentDao, setFishingTripDao, setLandingMeasurementDao, setLocationDao, setObservedSaleDao, setPersonDao, setProduceDao, setProgramDao, setQualityFlagDao, setSaleDao, setSaleProduceDao, setSurveyMeasurementDao, setVesselDao, toClusterLanding, toClusterLandingArray, toClusterLandingCollection, toRemoteLandingFullVO, toRemoteLandingFullVOArray, toRemoteLandingFullVOCollection, toRemoteLandingNaturalId, toRemoteLandingNaturalIdArray, toRemoteLandingNaturalIdCollection, 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.survey.landing.LandingDao
clusterLandingToEntity, clusterLandingToEntity, clusterLandingToEntityCollection, create, create, create, create, create, create, createFromClusterLanding, getAllClusterLandingSinceDateSynchro, remoteLandingFullVOToEntity, remoteLandingFullVOToEntity, remoteLandingFullVOToEntityCollection, remoteLandingNaturalIdToEntity, remoteLandingNaturalIdToEntity, remoteLandingNaturalIdToEntityCollection, remove, toClusterLanding, toClusterLanding, toClusterLandingArray, toClusterLandingCollection, toRemoteLandingFullVO, toRemoteLandingFullVO, toRemoteLandingFullVOArray, toRemoteLandingFullVOCollection, toRemoteLandingNaturalId, toRemoteLandingNaturalId, toRemoteLandingNaturalIdArray, toRemoteLandingNaturalIdCollection, update
 

Constructor Detail

ObservedLandingDaoImpl

public ObservedLandingDaoImpl()
Method Detail

handleCreateFromClusterObservedLanding

protected ObservedLanding handleCreateFromClusterObservedLanding(ClusterObservedLanding clusterObservedLanding)
Description copied from class: ObservedLandingDaoBase
Performs the core logic for ObservedLandingDaoBase.createFromClusterObservedLanding(fr.ifremer.allegro.data.survey.landing.generic.cluster.ClusterObservedLanding)

Specified by:
handleCreateFromClusterObservedLanding in class ObservedLandingDaoBase
See Also:
ObservedLandingDao.createFromClusterObservedLanding(fr.ifremer.allegro.data.survey.landing.generic.cluster.ClusterObservedLanding)

handleGetAllClusterObservedLandingSinceDateSynchro

protected ClusterObservedLanding[] handleGetAllClusterObservedLandingSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                                                      java.lang.Integer userId,
                                                                                      java.lang.Integer[] registrationLocationIds,
                                                                                      java.lang.Integer pageNumber,
                                                                                      java.lang.Integer pageSize)
Description copied from class: ObservedLandingDaoBase
Performs the core logic for ObservedLandingDaoBase.getAllClusterObservedLandingSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Specified by:
handleGetAllClusterObservedLandingSinceDateSynchro in class ObservedLandingDaoBase
See Also:
ObservedLandingDao.getAllClusterObservedLandingSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

toRemoteObservedLandingFullVO

public void toRemoteObservedLandingFullVO(ObservedLanding source,
                                          RemoteObservedLandingFullVO target)
Description copied from interface: ObservedLandingDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteObservedLandingFullVO(), 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:
toRemoteObservedLandingFullVO in interface ObservedLandingDao
Overrides:
toRemoteObservedLandingFullVO in class ObservedLandingDaoBase
See Also:
ObservedLandingDao.toRemoteObservedLandingFullVO(fr.ifremer.allegro.data.survey.landing.ObservedLanding, fr.ifremer.allegro.data.survey.landing.generic.vo.RemoteObservedLandingFullVO)

toRemoteObservedLandingFullVO

public RemoteObservedLandingFullVO toRemoteObservedLandingFullVO(ObservedLanding entity)
Description copied from interface: ObservedLandingDao
Converts this DAO's entity to an object of type RemoteObservedLandingFullVO.

Specified by:
toRemoteObservedLandingFullVO in interface ObservedLandingDao
Overrides:
toRemoteObservedLandingFullVO in class ObservedLandingDaoBase
See Also:
ObservedLandingDao.toRemoteObservedLandingFullVO(fr.ifremer.allegro.data.survey.landing.ObservedLanding)

remoteObservedLandingFullVOToEntity

public ObservedLanding remoteObservedLandingFullVOToEntity(RemoteObservedLandingFullVO remoteObservedLandingFullVO)
Description copied from interface: ObservedLandingDao
Converts an instance of type RemoteObservedLandingFullVO to this DAO's entity.

See Also:
ObservedLandingDao.remoteObservedLandingFullVOToEntity(fr.ifremer.allegro.data.survey.landing.generic.vo.RemoteObservedLandingFullVO)

remoteObservedLandingFullVOToEntity

public void remoteObservedLandingFullVOToEntity(RemoteObservedLandingFullVO source,
                                                ObservedLanding target,
                                                boolean copyIfNull)
Description copied from interface: ObservedLandingDao
Copies the fields of RemoteObservedLandingFullVO to the specified entity.

Specified by:
remoteObservedLandingFullVOToEntity in interface ObservedLandingDao
Overrides:
remoteObservedLandingFullVOToEntity in class ObservedLandingDaoBase
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.survey.landing.ObservedLandingDao#remoteObservedLandingFullVOToEntity(fr.ifremer.allegro.data.survey.landing.generic.vo.RemoteObservedLandingFullVO, fr.ifremer.allegro.data.survey.landing.ObservedLanding)

toRemoteObservedLandingNaturalId

public void toRemoteObservedLandingNaturalId(ObservedLanding source,
                                             RemoteObservedLandingNaturalId target)
Description copied from interface: ObservedLandingDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteObservedLandingNaturalId(), 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:
toRemoteObservedLandingNaturalId in interface ObservedLandingDao
Overrides:
toRemoteObservedLandingNaturalId in class ObservedLandingDaoBase
See Also:
ObservedLandingDao.toRemoteObservedLandingNaturalId(fr.ifremer.allegro.data.survey.landing.ObservedLanding, fr.ifremer.allegro.data.survey.landing.generic.vo.RemoteObservedLandingNaturalId)

toRemoteObservedLandingNaturalId

public RemoteObservedLandingNaturalId toRemoteObservedLandingNaturalId(ObservedLanding entity)
Description copied from interface: ObservedLandingDao
Converts this DAO's entity to an object of type RemoteObservedLandingNaturalId.

Specified by:
toRemoteObservedLandingNaturalId in interface ObservedLandingDao
Overrides:
toRemoteObservedLandingNaturalId in class ObservedLandingDaoBase
See Also:
ObservedLandingDao.toRemoteObservedLandingNaturalId(fr.ifremer.allegro.data.survey.landing.ObservedLanding)

remoteObservedLandingNaturalIdToEntity

public ObservedLanding remoteObservedLandingNaturalIdToEntity(RemoteObservedLandingNaturalId remoteObservedLandingNaturalId)
Description copied from interface: ObservedLandingDao
Converts an instance of type RemoteObservedLandingNaturalId to this DAO's entity.

See Also:
ObservedLandingDao.remoteObservedLandingNaturalIdToEntity(fr.ifremer.allegro.data.survey.landing.generic.vo.RemoteObservedLandingNaturalId)

remoteObservedLandingNaturalIdToEntity

public void remoteObservedLandingNaturalIdToEntity(RemoteObservedLandingNaturalId source,
                                                   ObservedLanding target,
                                                   boolean copyIfNull)
Description copied from interface: ObservedLandingDao
Copies the fields of RemoteObservedLandingNaturalId to the specified entity.

Specified by:
remoteObservedLandingNaturalIdToEntity in interface ObservedLandingDao
Overrides:
remoteObservedLandingNaturalIdToEntity in class ObservedLandingDaoBase
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.survey.landing.ObservedLandingDao#remoteObservedLandingNaturalIdToEntity(fr.ifremer.allegro.data.survey.landing.generic.vo.RemoteObservedLandingNaturalId, fr.ifremer.allegro.data.survey.landing.ObservedLanding)

toClusterObservedLanding

public void toClusterObservedLanding(ObservedLanding source,
                                     ClusterObservedLanding target)
Description copied from interface: ObservedLandingDao
Copies the fields of the specified entity to the target value object. This method is similar to toClusterObservedLanding(), 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:
toClusterObservedLanding in interface ObservedLandingDao
Overrides:
toClusterObservedLanding in class ObservedLandingDaoBase
See Also:
ObservedLandingDao.toClusterObservedLanding(fr.ifremer.allegro.data.survey.landing.ObservedLanding, fr.ifremer.allegro.data.survey.landing.generic.cluster.ClusterObservedLanding)

toClusterObservedLanding

public ClusterObservedLanding toClusterObservedLanding(ObservedLanding entity)
Description copied from interface: ObservedLandingDao
Converts this DAO's entity to an object of type ClusterObservedLanding.

Specified by:
toClusterObservedLanding in interface ObservedLandingDao
Overrides:
toClusterObservedLanding in class ObservedLandingDaoBase
See Also:
ObservedLandingDao.toClusterObservedLanding(fr.ifremer.allegro.data.survey.landing.ObservedLanding)

clusterObservedLandingToEntity

public ObservedLanding clusterObservedLandingToEntity(ClusterObservedLanding clusterObservedLanding)
Description copied from interface: ObservedLandingDao
Converts an instance of type ClusterObservedLanding to this DAO's entity.

See Also:
ObservedLandingDao.clusterObservedLandingToEntity(fr.ifremer.allegro.data.survey.landing.generic.cluster.ClusterObservedLanding)

clusterObservedLandingToEntity

public void clusterObservedLandingToEntity(ClusterObservedLanding source,
                                           ObservedLanding target,
                                           boolean copyIfNull)
Description copied from interface: ObservedLandingDao
Copies the fields of ClusterObservedLanding to the specified entity.

Specified by:
clusterObservedLandingToEntity in interface ObservedLandingDao
Overrides:
clusterObservedLandingToEntity in class ObservedLandingDaoBase
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.survey.landing.ObservedLandingDao#clusterObservedLandingToEntity(fr.ifremer.allegro.data.survey.landing.generic.cluster.ClusterObservedLanding, fr.ifremer.allegro.data.survey.landing.ObservedLanding)


Copyright © 2008-2010 IFREMER. All Rights Reserved.