fr.ifremer.allegro.data.survey.scientificCruise
Class ScientificCruiseDaoImpl

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.data.survey.scientificCruise.ScientificCruiseDaoBase
          extended by fr.ifremer.allegro.data.survey.scientificCruise.ScientificCruiseDaoImpl
All Implemented Interfaces:
ScientificCruiseDao

public class ScientificCruiseDaoImpl
extends ScientificCruiseDaoBase

See Also:
ScientificCruise

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.data.survey.scientificCruise.ScientificCruiseDao
TRANSFORM_CLUSTERSCIENTIFICCRUISE, TRANSFORM_NONE, TRANSFORM_REMOTESCIENTIFICCRUISEFULLVO, TRANSFORM_REMOTESCIENTIFICCRUISENATURALID
 
Constructor Summary
ScientificCruiseDaoImpl()
           
 
Method Summary
 ScientificCruise clusterScientificCruiseToEntity(ClusterScientificCruise clusterScientificCruise)
          Converts an instance of type ClusterScientificCruise to this DAO's entity.
 void clusterScientificCruiseToEntity(ClusterScientificCruise source, ScientificCruise target, boolean copyIfNull)
          Copies the fields of ClusterScientificCruise to the specified entity.
protected  ScientificCruise handleCreateFromClusterScientificCruise(ClusterScientificCruise clusterScientificCruise)
          Performs the core logic for ScientificCruiseDaoBase.createFromClusterScientificCruise(fr.ifremer.allegro.data.survey.scientificCruise.generic.cluster.ClusterScientificCruise)
protected  ClusterScientificCruise[] handleGetAllClusterScientificCruiseSinceDateSynchro(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 ScientificCruiseDaoBase.getAllClusterScientificCruiseSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 ScientificCruise remoteScientificCruiseFullVOToEntity(RemoteScientificCruiseFullVO remoteScientificCruiseFullVO)
          Converts an instance of type RemoteScientificCruiseFullVO to this DAO's entity.
 void remoteScientificCruiseFullVOToEntity(RemoteScientificCruiseFullVO source, ScientificCruise target, boolean copyIfNull)
          Copies the fields of RemoteScientificCruiseFullVO to the specified entity.
 ScientificCruise remoteScientificCruiseNaturalIdToEntity(RemoteScientificCruiseNaturalId remoteScientificCruiseNaturalId)
          Converts an instance of type RemoteScientificCruiseNaturalId to this DAO's entity.
 void remoteScientificCruiseNaturalIdToEntity(RemoteScientificCruiseNaturalId source, ScientificCruise target, boolean copyIfNull)
          Copies the fields of RemoteScientificCruiseNaturalId to the specified entity.
 ClusterScientificCruise toClusterScientificCruise(ScientificCruise entity)
          Converts this DAO's entity to an object of type ClusterScientificCruise.
 void toClusterScientificCruise(ScientificCruise source, ClusterScientificCruise target)
          Copies the fields of the specified entity to the target value object.
 RemoteScientificCruiseFullVO toRemoteScientificCruiseFullVO(ScientificCruise entity)
          Converts this DAO's entity to an object of type RemoteScientificCruiseFullVO.
 void toRemoteScientificCruiseFullVO(ScientificCruise source, RemoteScientificCruiseFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteScientificCruiseNaturalId toRemoteScientificCruiseNaturalId(ScientificCruise entity)
          Converts this DAO's entity to an object of type RemoteScientificCruiseNaturalId.
 void toRemoteScientificCruiseNaturalId(ScientificCruise source, RemoteScientificCruiseNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.data.survey.scientificCruise.ScientificCruiseDaoBase
clusterScientificCruiseToEntityCollection, create, create, create, create, create, create, create, create, createFromClusterScientificCruise, findScientificCruiseById, findScientificCruiseById, findScientificCruiseById, findScientificCruiseById, findScientificCruiseByManagerPerson, findScientificCruiseByManagerPerson, findScientificCruiseByManagerPerson, findScientificCruiseByManagerPerson, findScientificCruiseByManagerPerson, findScientificCruiseByManagerPerson, findScientificCruiseByManagerPerson, findScientificCruiseByManagerPerson, findScientificCruiseByNaturalId, findScientificCruiseByNaturalId, findScientificCruiseByNaturalId, findScientificCruiseByNaturalId, findScientificCruiseByProgram, findScientificCruiseByProgram, findScientificCruiseByProgram, findScientificCruiseByProgram, findScientificCruiseByProgram, findScientificCruiseByProgram, findScientificCruiseByProgram, findScientificCruiseByProgram, findScientificCruiseByRecorderDepartment, findScientificCruiseByRecorderDepartment, findScientificCruiseByRecorderDepartment, findScientificCruiseByRecorderDepartment, findScientificCruiseByRecorderDepartment, findScientificCruiseByRecorderDepartment, findScientificCruiseByRecorderDepartment, findScientificCruiseByRecorderDepartment, findScientificCruiseByRecorderPerson, findScientificCruiseByRecorderPerson, findScientificCruiseByRecorderPerson, findScientificCruiseByRecorderPerson, findScientificCruiseByRecorderPerson, findScientificCruiseByRecorderPerson, findScientificCruiseByRecorderPerson, findScientificCruiseByRecorderPerson, findScientificCruiseByScientificResearchVessel, findScientificCruiseByScientificResearchVessel, findScientificCruiseByScientificResearchVessel, findScientificCruiseByScientificResearchVessel, findScientificCruiseByScientificResearchVessel, findScientificCruiseByScientificResearchVessel, findScientificCruiseByScientificResearchVessel, findScientificCruiseByScientificResearchVessel, getAllClusterScientificCruiseSinceDateSynchro, getAllScientificCruise, getAllScientificCruise, getAllScientificCruise, getAllScientificCruise, getAllScientificCruise, getAllScientificCruise, getAllScientificCruise, getAllScientificCruise, getAllScientificCruiseSinceDateSynchro, getAllScientificCruiseSinceDateSynchro, getAllScientificCruiseSinceDateSynchro, getAllScientificCruiseSinceDateSynchro, getAllScientificCruiseSinceDateSynchro, getAllScientificCruiseSinceDateSynchro, getAllScientificCruiseSinceDateSynchro, getAllScientificCruiseSinceDateSynchro, getDepartmentDao, getFishingTripDao, getObservedFishingTripDao, getPersonDao, getPrincipal, getProgramDao, getScientificResearchVesselDao, load, load, loadAll, loadAll, loadAll, loadAll, remoteScientificCruiseFullVOToEntityCollection, remoteScientificCruiseNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, setDepartmentDao, setFishingTripDao, setObservedFishingTripDao, setPersonDao, setProgramDao, setScientificResearchVesselDao, toClusterScientificCruise, toClusterScientificCruiseArray, toClusterScientificCruiseCollection, toEntity, toRemoteScientificCruiseFullVO, toRemoteScientificCruiseFullVOArray, toRemoteScientificCruiseFullVOCollection, toRemoteScientificCruiseNaturalId, toRemoteScientificCruiseNaturalIdArray, toRemoteScientificCruiseNaturalIdCollection, transformEntities, transformEntity, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScientificCruiseDaoImpl

public ScientificCruiseDaoImpl()
Method Detail

handleCreateFromClusterScientificCruise

protected ScientificCruise handleCreateFromClusterScientificCruise(ClusterScientificCruise clusterScientificCruise)
Description copied from class: ScientificCruiseDaoBase
Performs the core logic for ScientificCruiseDaoBase.createFromClusterScientificCruise(fr.ifremer.allegro.data.survey.scientificCruise.generic.cluster.ClusterScientificCruise)

Specified by:
handleCreateFromClusterScientificCruise in class ScientificCruiseDaoBase
See Also:
ScientificCruiseDao.createFromClusterScientificCruise(fr.ifremer.allegro.data.survey.scientificCruise.generic.cluster.ClusterScientificCruise)

handleGetAllClusterScientificCruiseSinceDateSynchro

protected ClusterScientificCruise[] handleGetAllClusterScientificCruiseSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                                                        java.lang.Integer userId,
                                                                                        java.lang.Integer[] registrationLocationIds,
                                                                                        java.lang.Integer pageNumber,
                                                                                        java.lang.Integer pageSize)
Description copied from class: ScientificCruiseDaoBase
Performs the core logic for ScientificCruiseDaoBase.getAllClusterScientificCruiseSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Specified by:
handleGetAllClusterScientificCruiseSinceDateSynchro in class ScientificCruiseDaoBase
See Also:
ScientificCruiseDao.getAllClusterScientificCruiseSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

toRemoteScientificCruiseFullVO

public void toRemoteScientificCruiseFullVO(ScientificCruise source,
                                           RemoteScientificCruiseFullVO target)
Description copied from interface: ScientificCruiseDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteScientificCruiseFullVO(), 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:
toRemoteScientificCruiseFullVO in interface ScientificCruiseDao
Overrides:
toRemoteScientificCruiseFullVO in class ScientificCruiseDaoBase
See Also:
ScientificCruiseDao.toRemoteScientificCruiseFullVO(fr.ifremer.allegro.data.survey.scientificCruise.ScientificCruise, fr.ifremer.allegro.data.survey.scientificCruise.generic.vo.RemoteScientificCruiseFullVO)

toRemoteScientificCruiseFullVO

public RemoteScientificCruiseFullVO toRemoteScientificCruiseFullVO(ScientificCruise entity)
Description copied from interface: ScientificCruiseDao
Converts this DAO's entity to an object of type RemoteScientificCruiseFullVO.

Specified by:
toRemoteScientificCruiseFullVO in interface ScientificCruiseDao
Overrides:
toRemoteScientificCruiseFullVO in class ScientificCruiseDaoBase
See Also:
ScientificCruiseDao.toRemoteScientificCruiseFullVO(fr.ifremer.allegro.data.survey.scientificCruise.ScientificCruise)

remoteScientificCruiseFullVOToEntity

public ScientificCruise remoteScientificCruiseFullVOToEntity(RemoteScientificCruiseFullVO remoteScientificCruiseFullVO)
Description copied from interface: ScientificCruiseDao
Converts an instance of type RemoteScientificCruiseFullVO to this DAO's entity.

See Also:
ScientificCruiseDao.remoteScientificCruiseFullVOToEntity(fr.ifremer.allegro.data.survey.scientificCruise.generic.vo.RemoteScientificCruiseFullVO)

remoteScientificCruiseFullVOToEntity

public void remoteScientificCruiseFullVOToEntity(RemoteScientificCruiseFullVO source,
                                                 ScientificCruise target,
                                                 boolean copyIfNull)
Description copied from interface: ScientificCruiseDao
Copies the fields of RemoteScientificCruiseFullVO to the specified entity.

Specified by:
remoteScientificCruiseFullVOToEntity in interface ScientificCruiseDao
Overrides:
remoteScientificCruiseFullVOToEntity in class ScientificCruiseDaoBase
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.scientificCruise.ScientificCruiseDao#remoteScientificCruiseFullVOToEntity(fr.ifremer.allegro.data.survey.scientificCruise.generic.vo.RemoteScientificCruiseFullVO, fr.ifremer.allegro.data.survey.scientificCruise.ScientificCruise)

toRemoteScientificCruiseNaturalId

public void toRemoteScientificCruiseNaturalId(ScientificCruise source,
                                              RemoteScientificCruiseNaturalId target)
Description copied from interface: ScientificCruiseDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteScientificCruiseNaturalId(), 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:
toRemoteScientificCruiseNaturalId in interface ScientificCruiseDao
Overrides:
toRemoteScientificCruiseNaturalId in class ScientificCruiseDaoBase
See Also:
ScientificCruiseDao.toRemoteScientificCruiseNaturalId(fr.ifremer.allegro.data.survey.scientificCruise.ScientificCruise, fr.ifremer.allegro.data.survey.scientificCruise.generic.vo.RemoteScientificCruiseNaturalId)

toRemoteScientificCruiseNaturalId

public RemoteScientificCruiseNaturalId toRemoteScientificCruiseNaturalId(ScientificCruise entity)
Description copied from interface: ScientificCruiseDao
Converts this DAO's entity to an object of type RemoteScientificCruiseNaturalId.

Specified by:
toRemoteScientificCruiseNaturalId in interface ScientificCruiseDao
Overrides:
toRemoteScientificCruiseNaturalId in class ScientificCruiseDaoBase
See Also:
ScientificCruiseDao.toRemoteScientificCruiseNaturalId(fr.ifremer.allegro.data.survey.scientificCruise.ScientificCruise)

remoteScientificCruiseNaturalIdToEntity

public ScientificCruise remoteScientificCruiseNaturalIdToEntity(RemoteScientificCruiseNaturalId remoteScientificCruiseNaturalId)
Description copied from interface: ScientificCruiseDao
Converts an instance of type RemoteScientificCruiseNaturalId to this DAO's entity.

See Also:
ScientificCruiseDao.remoteScientificCruiseNaturalIdToEntity(fr.ifremer.allegro.data.survey.scientificCruise.generic.vo.RemoteScientificCruiseNaturalId)

remoteScientificCruiseNaturalIdToEntity

public void remoteScientificCruiseNaturalIdToEntity(RemoteScientificCruiseNaturalId source,
                                                    ScientificCruise target,
                                                    boolean copyIfNull)
Description copied from interface: ScientificCruiseDao
Copies the fields of RemoteScientificCruiseNaturalId to the specified entity.

Specified by:
remoteScientificCruiseNaturalIdToEntity in interface ScientificCruiseDao
Overrides:
remoteScientificCruiseNaturalIdToEntity in class ScientificCruiseDaoBase
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.scientificCruise.ScientificCruiseDao#remoteScientificCruiseNaturalIdToEntity(fr.ifremer.allegro.data.survey.scientificCruise.generic.vo.RemoteScientificCruiseNaturalId, fr.ifremer.allegro.data.survey.scientificCruise.ScientificCruise)

toClusterScientificCruise

public void toClusterScientificCruise(ScientificCruise source,
                                      ClusterScientificCruise target)
Description copied from interface: ScientificCruiseDao
Copies the fields of the specified entity to the target value object. This method is similar to toClusterScientificCruise(), 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:
toClusterScientificCruise in interface ScientificCruiseDao
Overrides:
toClusterScientificCruise in class ScientificCruiseDaoBase
See Also:
ScientificCruiseDao.toClusterScientificCruise(fr.ifremer.allegro.data.survey.scientificCruise.ScientificCruise, fr.ifremer.allegro.data.survey.scientificCruise.generic.cluster.ClusterScientificCruise)

toClusterScientificCruise

public ClusterScientificCruise toClusterScientificCruise(ScientificCruise entity)
Description copied from interface: ScientificCruiseDao
Converts this DAO's entity to an object of type ClusterScientificCruise.

Specified by:
toClusterScientificCruise in interface ScientificCruiseDao
Overrides:
toClusterScientificCruise in class ScientificCruiseDaoBase
See Also:
ScientificCruiseDao.toClusterScientificCruise(fr.ifremer.allegro.data.survey.scientificCruise.ScientificCruise)

clusterScientificCruiseToEntity

public ScientificCruise clusterScientificCruiseToEntity(ClusterScientificCruise clusterScientificCruise)
Description copied from interface: ScientificCruiseDao
Converts an instance of type ClusterScientificCruise to this DAO's entity.

See Also:
ScientificCruiseDao.clusterScientificCruiseToEntity(fr.ifremer.allegro.data.survey.scientificCruise.generic.cluster.ClusterScientificCruise)

clusterScientificCruiseToEntity

public void clusterScientificCruiseToEntity(ClusterScientificCruise source,
                                            ScientificCruise target,
                                            boolean copyIfNull)
Description copied from interface: ScientificCruiseDao
Copies the fields of ClusterScientificCruise to the specified entity.

Specified by:
clusterScientificCruiseToEntity in interface ScientificCruiseDao
Overrides:
clusterScientificCruiseToEntity in class ScientificCruiseDaoBase
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.scientificCruise.ScientificCruiseDao#clusterScientificCruiseToEntity(fr.ifremer.allegro.data.survey.scientificCruise.generic.cluster.ClusterScientificCruise, fr.ifremer.allegro.data.survey.scientificCruise.ScientificCruise)


Copyright © 2008-2010 IFREMER. All Rights Reserved.