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

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
All Implemented Interfaces:
LandingDao
Direct Known Subclasses:
ObservedLandingDaoBase

public class LandingDaoImpl
extends LandingDaoBase

See Also:
Landing

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.data.survey.landing.LandingDao
TRANSFORM_CLUSTERLANDING, TRANSFORM_NONE, TRANSFORM_REMOTELANDINGFULLVO, TRANSFORM_REMOTELANDINGNATURALID
 
Constructor Summary
LandingDaoImpl()
           
 
Method Summary
 Landing clusterLandingToEntity(ClusterLanding clusterLanding)
          Converts an instance of type ClusterLanding to this DAO's entity.
 void clusterLandingToEntity(ClusterLanding source, Landing target, boolean copyIfNull)
          Copies the fields of ClusterLanding to the specified entity.
protected  Landing handleCreateFromClusterLanding(ClusterLanding clusterLanding)
          Performs the core logic for LandingDaoBase.createFromClusterLanding(fr.ifremer.allegro.data.survey.landing.generic.cluster.ClusterLanding)
protected  ClusterLanding[] handleGetAllClusterLandingSinceDateSynchro(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 LandingDaoBase.getAllClusterLandingSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 Landing remoteLandingFullVOToEntity(RemoteLandingFullVO remoteLandingFullVO)
          Converts an instance of type RemoteLandingFullVO to this DAO's entity.
 void remoteLandingFullVOToEntity(RemoteLandingFullVO source, Landing target, boolean copyIfNull)
          Copies the fields of RemoteLandingFullVO to the specified entity.
 Landing remoteLandingNaturalIdToEntity(RemoteLandingNaturalId remoteLandingNaturalId)
          Converts an instance of type RemoteLandingNaturalId to this DAO's entity.
 void remoteLandingNaturalIdToEntity(RemoteLandingNaturalId source, Landing target, boolean copyIfNull)
          Copies the fields of RemoteLandingNaturalId to the specified entity.
 ClusterLanding toClusterLanding(Landing entity)
          Converts this DAO's entity to an object of type ClusterLanding.
 void toClusterLanding(Landing source, ClusterLanding target)
          Copies the fields of the specified entity to the target value object.
 RemoteLandingFullVO toRemoteLandingFullVO(Landing entity)
          Converts this DAO's entity to an object of type RemoteLandingFullVO.
 void toRemoteLandingFullVO(Landing source, RemoteLandingFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteLandingNaturalId toRemoteLandingNaturalId(Landing entity)
          Converts this DAO's entity to an object of type RemoteLandingNaturalId.
 void toRemoteLandingNaturalId(Landing source, RemoteLandingNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.data.survey.landing.LandingDaoBase
clusterLandingToEntityCollection, create, create, create, create, create, create, create, create, createFromClusterLanding, 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, getAllClusterLandingSinceDateSynchro, getAllLanding, getAllLanding, getAllLanding, getAllLanding, getAllLanding, getAllLanding, getAllLanding, getAllLanding, getAllLandingSinceDateSynchro, getAllLandingSinceDateSynchro, getAllLandingSinceDateSynchro, getAllLandingSinceDateSynchro, getAllLandingSinceDateSynchro, getAllLandingSinceDateSynchro, getAllLandingSinceDateSynchro, getAllLandingSinceDateSynchro, getCatchBatchDao, getDepartmentDao, getFishingTripDao, getLandingMeasurementDao, getLocationDao, getObservedSaleDao, getPersonDao, getPrincipal, getProduceDao, getProgramDao, getQualityFlagDao, getSaleDao, getSaleProduceDao, getSurveyMeasurementDao, getVesselDao, load, load, loadAll, loadAll, loadAll, loadAll, remoteLandingFullVOToEntityCollection, remoteLandingNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, setCatchBatchDao, setDepartmentDao, setFishingTripDao, setLandingMeasurementDao, setLocationDao, setObservedSaleDao, setPersonDao, setProduceDao, setProgramDao, setQualityFlagDao, setSaleDao, setSaleProduceDao, setSurveyMeasurementDao, setVesselDao, toClusterLanding, toClusterLandingArray, toClusterLandingCollection, toEntity, toRemoteLandingFullVO, toRemoteLandingFullVOArray, toRemoteLandingFullVOCollection, toRemoteLandingNaturalId, toRemoteLandingNaturalIdArray, toRemoteLandingNaturalIdCollection, transformEntities, transformEntity, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LandingDaoImpl

public LandingDaoImpl()
Method Detail

handleCreateFromClusterLanding

protected Landing handleCreateFromClusterLanding(ClusterLanding clusterLanding)
Description copied from class: LandingDaoBase
Performs the core logic for LandingDaoBase.createFromClusterLanding(fr.ifremer.allegro.data.survey.landing.generic.cluster.ClusterLanding)

Specified by:
handleCreateFromClusterLanding in class LandingDaoBase
See Also:
LandingDao.createFromClusterLanding(fr.ifremer.allegro.data.survey.landing.generic.cluster.ClusterLanding)

handleGetAllClusterLandingSinceDateSynchro

protected ClusterLanding[] handleGetAllClusterLandingSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                                      java.lang.Integer userId,
                                                                      java.lang.Integer[] registrationLocationIds,
                                                                      java.lang.Integer pageNumber,
                                                                      java.lang.Integer pageSize)
Description copied from class: LandingDaoBase
Performs the core logic for LandingDaoBase.getAllClusterLandingSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Specified by:
handleGetAllClusterLandingSinceDateSynchro in class LandingDaoBase
See Also:
LandingDao.getAllClusterLandingSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

toRemoteLandingFullVO

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

toRemoteLandingFullVO

public RemoteLandingFullVO toRemoteLandingFullVO(Landing entity)
Description copied from interface: LandingDao
Converts this DAO's entity to an object of type RemoteLandingFullVO.

Specified by:
toRemoteLandingFullVO in interface LandingDao
Overrides:
toRemoteLandingFullVO in class LandingDaoBase
See Also:
LandingDao.toRemoteLandingFullVO(fr.ifremer.allegro.data.survey.landing.Landing)

remoteLandingFullVOToEntity

public Landing remoteLandingFullVOToEntity(RemoteLandingFullVO remoteLandingFullVO)
Description copied from interface: LandingDao
Converts an instance of type RemoteLandingFullVO to this DAO's entity.

See Also:
LandingDao.remoteLandingFullVOToEntity(fr.ifremer.allegro.data.survey.landing.generic.vo.RemoteLandingFullVO)

remoteLandingFullVOToEntity

public void remoteLandingFullVOToEntity(RemoteLandingFullVO source,
                                        Landing target,
                                        boolean copyIfNull)
Description copied from interface: LandingDao
Copies the fields of RemoteLandingFullVO to the specified entity.

Specified by:
remoteLandingFullVOToEntity in interface LandingDao
Overrides:
remoteLandingFullVOToEntity in class LandingDaoBase
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.LandingDao#remoteLandingFullVOToEntity(fr.ifremer.allegro.data.survey.landing.generic.vo.RemoteLandingFullVO, fr.ifremer.allegro.data.survey.landing.Landing)

toRemoteLandingNaturalId

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

toRemoteLandingNaturalId

public RemoteLandingNaturalId toRemoteLandingNaturalId(Landing entity)
Description copied from interface: LandingDao
Converts this DAO's entity to an object of type RemoteLandingNaturalId.

Specified by:
toRemoteLandingNaturalId in interface LandingDao
Overrides:
toRemoteLandingNaturalId in class LandingDaoBase
See Also:
LandingDao.toRemoteLandingNaturalId(fr.ifremer.allegro.data.survey.landing.Landing)

remoteLandingNaturalIdToEntity

public Landing remoteLandingNaturalIdToEntity(RemoteLandingNaturalId remoteLandingNaturalId)
Description copied from interface: LandingDao
Converts an instance of type RemoteLandingNaturalId to this DAO's entity.

See Also:
LandingDao.remoteLandingNaturalIdToEntity(fr.ifremer.allegro.data.survey.landing.generic.vo.RemoteLandingNaturalId)

remoteLandingNaturalIdToEntity

public void remoteLandingNaturalIdToEntity(RemoteLandingNaturalId source,
                                           Landing target,
                                           boolean copyIfNull)
Description copied from interface: LandingDao
Copies the fields of RemoteLandingNaturalId to the specified entity.

Specified by:
remoteLandingNaturalIdToEntity in interface LandingDao
Overrides:
remoteLandingNaturalIdToEntity in class LandingDaoBase
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.LandingDao#remoteLandingNaturalIdToEntity(fr.ifremer.allegro.data.survey.landing.generic.vo.RemoteLandingNaturalId, fr.ifremer.allegro.data.survey.landing.Landing)

toClusterLanding

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

toClusterLanding

public ClusterLanding toClusterLanding(Landing entity)
Description copied from interface: LandingDao
Converts this DAO's entity to an object of type ClusterLanding.

Specified by:
toClusterLanding in interface LandingDao
Overrides:
toClusterLanding in class LandingDaoBase
See Also:
LandingDao.toClusterLanding(fr.ifremer.allegro.data.survey.landing.Landing)

clusterLandingToEntity

public Landing clusterLandingToEntity(ClusterLanding clusterLanding)
Description copied from interface: LandingDao
Converts an instance of type ClusterLanding to this DAO's entity.

See Also:
LandingDao.clusterLandingToEntity(fr.ifremer.allegro.data.survey.landing.generic.cluster.ClusterLanding)

clusterLandingToEntity

public void clusterLandingToEntity(ClusterLanding source,
                                   Landing target,
                                   boolean copyIfNull)
Description copied from interface: LandingDao
Copies the fields of ClusterLanding to the specified entity.

Specified by:
clusterLandingToEntity in interface LandingDao
Overrides:
clusterLandingToEntity in class LandingDaoBase
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.LandingDao#clusterLandingToEntity(fr.ifremer.allegro.data.survey.landing.generic.cluster.ClusterLanding, fr.ifremer.allegro.data.survey.landing.Landing)


Copyright © 2008-2010 IFREMER. All Rights Reserved.