fr.ifremer.allegro.data.survey.physicalGear
Class PhysicalGearSurveyDaoImpl

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.data.survey.physicalGear.PhysicalGearSurveyDaoBase
          extended by fr.ifremer.allegro.data.survey.physicalGear.PhysicalGearSurveyDaoImpl
All Implemented Interfaces:
PhysicalGearSurveyDao

public class PhysicalGearSurveyDaoImpl
extends PhysicalGearSurveyDaoBase

See Also:
PhysicalGearSurvey

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.data.survey.physicalGear.PhysicalGearSurveyDao
TRANSFORM_CLUSTERPHYSICALGEARSURVEY, TRANSFORM_NONE, TRANSFORM_REMOTEPHYSICALGEARSURVEYFULLVO, TRANSFORM_REMOTEPHYSICALGEARSURVEYNATURALID
 
Constructor Summary
PhysicalGearSurveyDaoImpl()
           
 
Method Summary
 PhysicalGearSurvey clusterPhysicalGearSurveyToEntity(ClusterPhysicalGearSurvey clusterPhysicalGearSurvey)
          Converts an instance of type ClusterPhysicalGearSurvey to this DAO's entity.
 void clusterPhysicalGearSurveyToEntity(ClusterPhysicalGearSurvey source, PhysicalGearSurvey target, boolean copyIfNull)
          Copies the fields of ClusterPhysicalGearSurvey to the specified entity.
protected  PhysicalGearSurvey handleCreateFromClusterPhysicalGearSurvey(ClusterPhysicalGearSurvey clusterPhysicalGearSurvey)
          Performs the core logic for PhysicalGearSurveyDaoBase.createFromClusterPhysicalGearSurvey(fr.ifremer.allegro.data.survey.physicalGear.generic.cluster.ClusterPhysicalGearSurvey)
protected  ClusterPhysicalGearSurvey[] handleGetAllClusterPhysicalGearSurveySinceDateSynchro(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 PhysicalGearSurveyDaoBase.getAllClusterPhysicalGearSurveySinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 PhysicalGearSurvey remotePhysicalGearSurveyFullVOToEntity(RemotePhysicalGearSurveyFullVO remotePhysicalGearSurveyFullVO)
          Converts an instance of type RemotePhysicalGearSurveyFullVO to this DAO's entity.
 void remotePhysicalGearSurveyFullVOToEntity(RemotePhysicalGearSurveyFullVO source, PhysicalGearSurvey target, boolean copyIfNull)
          Copies the fields of RemotePhysicalGearSurveyFullVO to the specified entity.
 PhysicalGearSurvey remotePhysicalGearSurveyNaturalIdToEntity(RemotePhysicalGearSurveyNaturalId remotePhysicalGearSurveyNaturalId)
          Converts an instance of type RemotePhysicalGearSurveyNaturalId to this DAO's entity.
 void remotePhysicalGearSurveyNaturalIdToEntity(RemotePhysicalGearSurveyNaturalId source, PhysicalGearSurvey target, boolean copyIfNull)
          Copies the fields of RemotePhysicalGearSurveyNaturalId to the specified entity.
 ClusterPhysicalGearSurvey toClusterPhysicalGearSurvey(PhysicalGearSurvey entity)
          Converts this DAO's entity to an object of type ClusterPhysicalGearSurvey.
 void toClusterPhysicalGearSurvey(PhysicalGearSurvey source, ClusterPhysicalGearSurvey target)
          Copies the fields of the specified entity to the target value object.
 RemotePhysicalGearSurveyFullVO toRemotePhysicalGearSurveyFullVO(PhysicalGearSurvey entity)
          Converts this DAO's entity to an object of type RemotePhysicalGearSurveyFullVO.
 void toRemotePhysicalGearSurveyFullVO(PhysicalGearSurvey source, RemotePhysicalGearSurveyFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemotePhysicalGearSurveyNaturalId toRemotePhysicalGearSurveyNaturalId(PhysicalGearSurvey entity)
          Converts this DAO's entity to an object of type RemotePhysicalGearSurveyNaturalId.
 void toRemotePhysicalGearSurveyNaturalId(PhysicalGearSurvey source, RemotePhysicalGearSurveyNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.data.survey.physicalGear.PhysicalGearSurveyDaoBase
clusterPhysicalGearSurveyToEntityCollection, create, create, create, create, create, create, create, create, createFromClusterPhysicalGearSurvey, findPhysicalGearSurveyById, findPhysicalGearSurveyById, findPhysicalGearSurveyById, findPhysicalGearSurveyById, findPhysicalGearSurveyByNaturalId, findPhysicalGearSurveyByNaturalId, findPhysicalGearSurveyByNaturalId, findPhysicalGearSurveyByNaturalId, findPhysicalGearSurveyByProgram, findPhysicalGearSurveyByProgram, findPhysicalGearSurveyByProgram, findPhysicalGearSurveyByProgram, findPhysicalGearSurveyByProgram, findPhysicalGearSurveyByProgram, findPhysicalGearSurveyByProgram, findPhysicalGearSurveyByProgram, findPhysicalGearSurveyByQualityFlag, findPhysicalGearSurveyByQualityFlag, findPhysicalGearSurveyByQualityFlag, findPhysicalGearSurveyByQualityFlag, findPhysicalGearSurveyByQualityFlag, findPhysicalGearSurveyByQualityFlag, findPhysicalGearSurveyByQualityFlag, findPhysicalGearSurveyByQualityFlag, findPhysicalGearSurveyByRecorderDepartment, findPhysicalGearSurveyByRecorderDepartment, findPhysicalGearSurveyByRecorderDepartment, findPhysicalGearSurveyByRecorderDepartment, findPhysicalGearSurveyByRecorderDepartment, findPhysicalGearSurveyByRecorderDepartment, findPhysicalGearSurveyByRecorderDepartment, findPhysicalGearSurveyByRecorderDepartment, findPhysicalGearSurveyByRecorderPerson, findPhysicalGearSurveyByRecorderPerson, findPhysicalGearSurveyByRecorderPerson, findPhysicalGearSurveyByRecorderPerson, findPhysicalGearSurveyByRecorderPerson, findPhysicalGearSurveyByRecorderPerson, findPhysicalGearSurveyByRecorderPerson, findPhysicalGearSurveyByRecorderPerson, findPhysicalGearSurveyByVessel, findPhysicalGearSurveyByVessel, findPhysicalGearSurveyByVessel, findPhysicalGearSurveyByVessel, findPhysicalGearSurveyByVessel, findPhysicalGearSurveyByVessel, findPhysicalGearSurveyByVessel, findPhysicalGearSurveyByVessel, getAllClusterPhysicalGearSurveySinceDateSynchro, getAllPhysicalGearSurvey, getAllPhysicalGearSurvey, getAllPhysicalGearSurvey, getAllPhysicalGearSurvey, getAllPhysicalGearSurvey, getAllPhysicalGearSurvey, getAllPhysicalGearSurvey, getAllPhysicalGearSurvey, getAllPhysicalGearSurveySinceDateSynchro, getAllPhysicalGearSurveySinceDateSynchro, getAllPhysicalGearSurveySinceDateSynchro, getAllPhysicalGearSurveySinceDateSynchro, getAllPhysicalGearSurveySinceDateSynchro, getAllPhysicalGearSurveySinceDateSynchro, getAllPhysicalGearSurveySinceDateSynchro, getAllPhysicalGearSurveySinceDateSynchro, getDepartmentDao, getGearPhysicalFeaturesDao, getPersonDao, getPrincipal, getProgramDao, getQualityFlagDao, getSurveyMeasurementDao, getVesselDao, getVesselPhysicalFeaturesDao, load, load, loadAll, loadAll, loadAll, loadAll, remotePhysicalGearSurveyFullVOToEntityCollection, remotePhysicalGearSurveyNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, setDepartmentDao, setGearPhysicalFeaturesDao, setPersonDao, setProgramDao, setQualityFlagDao, setSurveyMeasurementDao, setVesselDao, setVesselPhysicalFeaturesDao, toClusterPhysicalGearSurvey, toClusterPhysicalGearSurveyArray, toClusterPhysicalGearSurveyCollection, toEntity, toRemotePhysicalGearSurveyFullVO, toRemotePhysicalGearSurveyFullVOArray, toRemotePhysicalGearSurveyFullVOCollection, toRemotePhysicalGearSurveyNaturalId, toRemotePhysicalGearSurveyNaturalIdArray, toRemotePhysicalGearSurveyNaturalIdCollection, transformEntities, transformEntity, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PhysicalGearSurveyDaoImpl

public PhysicalGearSurveyDaoImpl()
Method Detail

handleCreateFromClusterPhysicalGearSurvey

protected PhysicalGearSurvey handleCreateFromClusterPhysicalGearSurvey(ClusterPhysicalGearSurvey clusterPhysicalGearSurvey)
Description copied from class: PhysicalGearSurveyDaoBase
Performs the core logic for PhysicalGearSurveyDaoBase.createFromClusterPhysicalGearSurvey(fr.ifremer.allegro.data.survey.physicalGear.generic.cluster.ClusterPhysicalGearSurvey)

Specified by:
handleCreateFromClusterPhysicalGearSurvey in class PhysicalGearSurveyDaoBase
See Also:
PhysicalGearSurveyDao.createFromClusterPhysicalGearSurvey(fr.ifremer.allegro.data.survey.physicalGear.generic.cluster.ClusterPhysicalGearSurvey)

handleGetAllClusterPhysicalGearSurveySinceDateSynchro

protected ClusterPhysicalGearSurvey[] handleGetAllClusterPhysicalGearSurveySinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                                                            java.lang.Integer userId,
                                                                                            java.lang.Integer[] registrationLocationIds,
                                                                                            java.lang.Integer pageNumber,
                                                                                            java.lang.Integer pageSize)
Description copied from class: PhysicalGearSurveyDaoBase
Performs the core logic for PhysicalGearSurveyDaoBase.getAllClusterPhysicalGearSurveySinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Specified by:
handleGetAllClusterPhysicalGearSurveySinceDateSynchro in class PhysicalGearSurveyDaoBase
See Also:
PhysicalGearSurveyDao.getAllClusterPhysicalGearSurveySinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

toRemotePhysicalGearSurveyFullVO

public void toRemotePhysicalGearSurveyFullVO(PhysicalGearSurvey source,
                                             RemotePhysicalGearSurveyFullVO target)
Description copied from interface: PhysicalGearSurveyDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemotePhysicalGearSurveyFullVO(), 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:
toRemotePhysicalGearSurveyFullVO in interface PhysicalGearSurveyDao
Overrides:
toRemotePhysicalGearSurveyFullVO in class PhysicalGearSurveyDaoBase
See Also:
PhysicalGearSurveyDao.toRemotePhysicalGearSurveyFullVO(fr.ifremer.allegro.data.survey.physicalGear.PhysicalGearSurvey, fr.ifremer.allegro.data.survey.physicalGear.generic.vo.RemotePhysicalGearSurveyFullVO)

toRemotePhysicalGearSurveyFullVO

public RemotePhysicalGearSurveyFullVO toRemotePhysicalGearSurveyFullVO(PhysicalGearSurvey entity)
Description copied from interface: PhysicalGearSurveyDao
Converts this DAO's entity to an object of type RemotePhysicalGearSurveyFullVO.

Specified by:
toRemotePhysicalGearSurveyFullVO in interface PhysicalGearSurveyDao
Overrides:
toRemotePhysicalGearSurveyFullVO in class PhysicalGearSurveyDaoBase
See Also:
PhysicalGearSurveyDao.toRemotePhysicalGearSurveyFullVO(fr.ifremer.allegro.data.survey.physicalGear.PhysicalGearSurvey)

remotePhysicalGearSurveyFullVOToEntity

public PhysicalGearSurvey remotePhysicalGearSurveyFullVOToEntity(RemotePhysicalGearSurveyFullVO remotePhysicalGearSurveyFullVO)
Description copied from interface: PhysicalGearSurveyDao
Converts an instance of type RemotePhysicalGearSurveyFullVO to this DAO's entity.

See Also:
PhysicalGearSurveyDao.remotePhysicalGearSurveyFullVOToEntity(fr.ifremer.allegro.data.survey.physicalGear.generic.vo.RemotePhysicalGearSurveyFullVO)

remotePhysicalGearSurveyFullVOToEntity

public void remotePhysicalGearSurveyFullVOToEntity(RemotePhysicalGearSurveyFullVO source,
                                                   PhysicalGearSurvey target,
                                                   boolean copyIfNull)
Description copied from interface: PhysicalGearSurveyDao
Copies the fields of RemotePhysicalGearSurveyFullVO to the specified entity.

Specified by:
remotePhysicalGearSurveyFullVOToEntity in interface PhysicalGearSurveyDao
Overrides:
remotePhysicalGearSurveyFullVOToEntity in class PhysicalGearSurveyDaoBase
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.physicalGear.PhysicalGearSurveyDao#remotePhysicalGearSurveyFullVOToEntity(fr.ifremer.allegro.data.survey.physicalGear.generic.vo.RemotePhysicalGearSurveyFullVO, fr.ifremer.allegro.data.survey.physicalGear.PhysicalGearSurvey)

toRemotePhysicalGearSurveyNaturalId

public void toRemotePhysicalGearSurveyNaturalId(PhysicalGearSurvey source,
                                                RemotePhysicalGearSurveyNaturalId target)
Description copied from interface: PhysicalGearSurveyDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemotePhysicalGearSurveyNaturalId(), 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:
toRemotePhysicalGearSurveyNaturalId in interface PhysicalGearSurveyDao
Overrides:
toRemotePhysicalGearSurveyNaturalId in class PhysicalGearSurveyDaoBase
See Also:
PhysicalGearSurveyDao.toRemotePhysicalGearSurveyNaturalId(fr.ifremer.allegro.data.survey.physicalGear.PhysicalGearSurvey, fr.ifremer.allegro.data.survey.physicalGear.generic.vo.RemotePhysicalGearSurveyNaturalId)

toRemotePhysicalGearSurveyNaturalId

public RemotePhysicalGearSurveyNaturalId toRemotePhysicalGearSurveyNaturalId(PhysicalGearSurvey entity)
Description copied from interface: PhysicalGearSurveyDao
Converts this DAO's entity to an object of type RemotePhysicalGearSurveyNaturalId.

Specified by:
toRemotePhysicalGearSurveyNaturalId in interface PhysicalGearSurveyDao
Overrides:
toRemotePhysicalGearSurveyNaturalId in class PhysicalGearSurveyDaoBase
See Also:
PhysicalGearSurveyDao.toRemotePhysicalGearSurveyNaturalId(fr.ifremer.allegro.data.survey.physicalGear.PhysicalGearSurvey)

remotePhysicalGearSurveyNaturalIdToEntity

public PhysicalGearSurvey remotePhysicalGearSurveyNaturalIdToEntity(RemotePhysicalGearSurveyNaturalId remotePhysicalGearSurveyNaturalId)
Description copied from interface: PhysicalGearSurveyDao
Converts an instance of type RemotePhysicalGearSurveyNaturalId to this DAO's entity.

See Also:
PhysicalGearSurveyDao.remotePhysicalGearSurveyNaturalIdToEntity(fr.ifremer.allegro.data.survey.physicalGear.generic.vo.RemotePhysicalGearSurveyNaturalId)

remotePhysicalGearSurveyNaturalIdToEntity

public void remotePhysicalGearSurveyNaturalIdToEntity(RemotePhysicalGearSurveyNaturalId source,
                                                      PhysicalGearSurvey target,
                                                      boolean copyIfNull)
Description copied from interface: PhysicalGearSurveyDao
Copies the fields of RemotePhysicalGearSurveyNaturalId to the specified entity.

Specified by:
remotePhysicalGearSurveyNaturalIdToEntity in interface PhysicalGearSurveyDao
Overrides:
remotePhysicalGearSurveyNaturalIdToEntity in class PhysicalGearSurveyDaoBase
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.physicalGear.PhysicalGearSurveyDao#remotePhysicalGearSurveyNaturalIdToEntity(fr.ifremer.allegro.data.survey.physicalGear.generic.vo.RemotePhysicalGearSurveyNaturalId, fr.ifremer.allegro.data.survey.physicalGear.PhysicalGearSurvey)

toClusterPhysicalGearSurvey

public void toClusterPhysicalGearSurvey(PhysicalGearSurvey source,
                                        ClusterPhysicalGearSurvey target)
Description copied from interface: PhysicalGearSurveyDao
Copies the fields of the specified entity to the target value object. This method is similar to toClusterPhysicalGearSurvey(), 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:
toClusterPhysicalGearSurvey in interface PhysicalGearSurveyDao
Overrides:
toClusterPhysicalGearSurvey in class PhysicalGearSurveyDaoBase
See Also:
PhysicalGearSurveyDao.toClusterPhysicalGearSurvey(fr.ifremer.allegro.data.survey.physicalGear.PhysicalGearSurvey, fr.ifremer.allegro.data.survey.physicalGear.generic.cluster.ClusterPhysicalGearSurvey)

toClusterPhysicalGearSurvey

public ClusterPhysicalGearSurvey toClusterPhysicalGearSurvey(PhysicalGearSurvey entity)
Description copied from interface: PhysicalGearSurveyDao
Converts this DAO's entity to an object of type ClusterPhysicalGearSurvey.

Specified by:
toClusterPhysicalGearSurvey in interface PhysicalGearSurveyDao
Overrides:
toClusterPhysicalGearSurvey in class PhysicalGearSurveyDaoBase
See Also:
PhysicalGearSurveyDao.toClusterPhysicalGearSurvey(fr.ifremer.allegro.data.survey.physicalGear.PhysicalGearSurvey)

clusterPhysicalGearSurveyToEntity

public PhysicalGearSurvey clusterPhysicalGearSurveyToEntity(ClusterPhysicalGearSurvey clusterPhysicalGearSurvey)
Description copied from interface: PhysicalGearSurveyDao
Converts an instance of type ClusterPhysicalGearSurvey to this DAO's entity.

See Also:
PhysicalGearSurveyDao.clusterPhysicalGearSurveyToEntity(fr.ifremer.allegro.data.survey.physicalGear.generic.cluster.ClusterPhysicalGearSurvey)

clusterPhysicalGearSurveyToEntity

public void clusterPhysicalGearSurveyToEntity(ClusterPhysicalGearSurvey source,
                                              PhysicalGearSurvey target,
                                              boolean copyIfNull)
Description copied from interface: PhysicalGearSurveyDao
Copies the fields of ClusterPhysicalGearSurvey to the specified entity.

Specified by:
clusterPhysicalGearSurveyToEntity in interface PhysicalGearSurveyDao
Overrides:
clusterPhysicalGearSurveyToEntity in class PhysicalGearSurveyDaoBase
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.physicalGear.PhysicalGearSurveyDao#clusterPhysicalGearSurveyToEntity(fr.ifremer.allegro.data.survey.physicalGear.generic.cluster.ClusterPhysicalGearSurvey, fr.ifremer.allegro.data.survey.physicalGear.PhysicalGearSurvey)


Copyright © 2008-2010 IFREMER. All Rights Reserved.