fr.ifremer.allegro.referential.vessel
Class ScientificResearchVesselDaoImpl

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.referential.vessel.VesselDaoBase
          extended by fr.ifremer.allegro.referential.vessel.VesselDaoImpl
              extended by fr.ifremer.allegro.referential.vessel.ScientificResearchVesselDaoBase
                  extended by fr.ifremer.allegro.referential.vessel.ScientificResearchVesselDaoImpl
All Implemented Interfaces:
ScientificResearchVesselDao, VesselDao

public class ScientificResearchVesselDaoImpl
extends ScientificResearchVesselDaoBase

See Also:
ScientificResearchVessel

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.vessel.ScientificResearchVesselDao
TRANSFORM_CLUSTERSCIENTIFICRESEARCHVESSEL, TRANSFORM_REMOTESCIENTIFICRESEARCHVESSELFULLVO, TRANSFORM_REMOTESCIENTIFICRESEARCHVESSELNATURALID
 
Fields inherited from interface fr.ifremer.allegro.referential.vessel.VesselDao
TRANSFORM_CLUSTERVESSEL, TRANSFORM_NONE, TRANSFORM_REMOTEVESSELFULLVO, TRANSFORM_REMOTEVESSELNATURALID
 
Constructor Summary
ScientificResearchVesselDaoImpl()
           
 
Method Summary
 ScientificResearchVessel clusterScientificResearchVesselToEntity(ClusterScientificResearchVessel clusterScientificResearchVessel)
          Converts an instance of type ClusterScientificResearchVessel to this DAO's entity.
 void clusterScientificResearchVesselToEntity(ClusterScientificResearchVessel source, ScientificResearchVessel target, boolean copyIfNull)
          Copies the fields of ClusterScientificResearchVessel to the specified entity.
protected  ScientificResearchVessel handleCreateFromClusterScientificResearchVessel(ClusterScientificResearchVessel clusterScientificResearchVessel)
          Performs the core logic for ScientificResearchVesselDaoBase.createFromClusterScientificResearchVessel(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterScientificResearchVessel)
protected  ClusterScientificResearchVessel[] handleGetAllClusterScientificResearchVesselSinceDateSynchro(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 ScientificResearchVesselDaoBase.getAllClusterScientificResearchVesselSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 ScientificResearchVessel remoteScientificResearchVesselFullVOToEntity(RemoteScientificResearchVesselFullVO remoteScientificResearchVesselFullVO)
          Converts an instance of type RemoteScientificResearchVesselFullVO to this DAO's entity.
 void remoteScientificResearchVesselFullVOToEntity(RemoteScientificResearchVesselFullVO source, ScientificResearchVessel target, boolean copyIfNull)
          Copies the fields of RemoteScientificResearchVesselFullVO to the specified entity.
 ScientificResearchVessel remoteScientificResearchVesselNaturalIdToEntity(RemoteScientificResearchVesselNaturalId remoteScientificResearchVesselNaturalId)
          Converts an instance of type RemoteScientificResearchVesselNaturalId to this DAO's entity.
 void remoteScientificResearchVesselNaturalIdToEntity(RemoteScientificResearchVesselNaturalId source, ScientificResearchVessel target, boolean copyIfNull)
          Copies the fields of RemoteScientificResearchVesselNaturalId to the specified entity.
 ClusterScientificResearchVessel toClusterScientificResearchVessel(ScientificResearchVessel entity)
          Converts this DAO's entity to an object of type ClusterScientificResearchVessel.
 void toClusterScientificResearchVessel(ScientificResearchVessel source, ClusterScientificResearchVessel target)
          Copies the fields of the specified entity to the target value object.
 RemoteScientificResearchVesselFullVO toRemoteScientificResearchVesselFullVO(ScientificResearchVessel entity)
          Converts this DAO's entity to an object of type RemoteScientificResearchVesselFullVO.
 void toRemoteScientificResearchVesselFullVO(ScientificResearchVessel source, RemoteScientificResearchVesselFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteScientificResearchVesselNaturalId toRemoteScientificResearchVesselNaturalId(ScientificResearchVessel entity)
          Converts this DAO's entity to an object of type RemoteScientificResearchVesselNaturalId.
 void toRemoteScientificResearchVesselNaturalId(ScientificResearchVessel source, RemoteScientificResearchVesselNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.referential.vessel.ScientificResearchVesselDaoBase
clusterScientificResearchVesselToEntityCollection, create, create, create, create, create, create, create, create, createFromClusterScientificResearchVessel, findScientificResearchVesselByCode, findScientificResearchVesselByCode, findScientificResearchVesselByCode, findScientificResearchVesselByCode, findScientificResearchVesselByNaturalId, findScientificResearchVesselByNaturalId, findScientificResearchVesselByNaturalId, findScientificResearchVesselByNaturalId, findScientificResearchVesselByStatus, findScientificResearchVesselByStatus, findScientificResearchVesselByStatus, findScientificResearchVesselByStatus, findScientificResearchVesselByStatus, findScientificResearchVesselByStatus, findScientificResearchVesselByStatus, findScientificResearchVesselByStatus, findScientificResearchVesselByVesselType, findScientificResearchVesselByVesselType, findScientificResearchVesselByVesselType, findScientificResearchVesselByVesselType, findScientificResearchVesselByVesselType, findScientificResearchVesselByVesselType, findScientificResearchVesselByVesselType, findScientificResearchVesselByVesselType, findVesselByCode, findVesselByCode, findVesselByCode, findVesselByCode, findVesselByNaturalId, findVesselByNaturalId, findVesselByNaturalId, findVesselByNaturalId, findVesselByStatus, findVesselByStatus, findVesselByStatus, findVesselByStatus, findVesselByStatus, findVesselByStatus, findVesselByStatus, findVesselByStatus, findVesselByVesselType, findVesselByVesselType, findVesselByVesselType, findVesselByVesselType, findVesselByVesselType, findVesselByVesselType, findVesselByVesselType, findVesselByVesselType, getAllClusterScientificResearchVesselSinceDateSynchro, getAllScientificResearchVessel, getAllScientificResearchVessel, getAllScientificResearchVessel, getAllScientificResearchVessel, getAllScientificResearchVessel, getAllScientificResearchVessel, getAllScientificResearchVessel, getAllScientificResearchVessel, getAllScientificResearchVesselSinceDateSynchro, getAllScientificResearchVesselSinceDateSynchro, getAllScientificResearchVesselSinceDateSynchro, getAllScientificResearchVesselSinceDateSynchro, getAllScientificResearchVesselSinceDateSynchro, getAllScientificResearchVesselSinceDateSynchro, getAllScientificResearchVesselSinceDateSynchro, getAllScientificResearchVesselSinceDateSynchro, getAllVessel, getAllVessel, getAllVessel, getAllVessel, getAllVessel, getAllVessel, getAllVessel, getAllVessel, getAllVesselSinceDateSynchro, getAllVesselSinceDateSynchro, getAllVesselSinceDateSynchro, getAllVesselSinceDateSynchro, getAllVesselSinceDateSynchro, getAllVesselSinceDateSynchro, getAllVesselSinceDateSynchro, getAllVesselSinceDateSynchro, getPrincipal, load, load, loadAll, loadAll, loadAll, loadAll, remoteScientificResearchVesselFullVOToEntityCollection, remoteScientificResearchVesselNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, toClusterScientificResearchVessel, toClusterScientificResearchVesselArray, toClusterScientificResearchVesselCollection, toEntity, toRemoteScientificResearchVesselFullVO, toRemoteScientificResearchVesselFullVOArray, toRemoteScientificResearchVesselFullVOCollection, toRemoteScientificResearchVesselNaturalId, toRemoteScientificResearchVesselNaturalIdArray, toRemoteScientificResearchVesselNaturalIdCollection, transformEntities, transformEntity, update, update
 
Methods inherited from class fr.ifremer.allegro.referential.vessel.VesselDaoImpl
clusterVesselToEntity, clusterVesselToEntity, remoteVesselFullVOToEntity, remoteVesselFullVOToEntity, remoteVesselNaturalIdToEntity, remoteVesselNaturalIdToEntity, toClusterVessel, toClusterVessel, toRemoteVesselFullVO, toRemoteVesselFullVO, toRemoteVesselNaturalId, toRemoteVesselNaturalId
 
Methods inherited from class fr.ifremer.allegro.referential.vessel.VesselDaoBase
clusterVesselToEntityCollection, getRightToProduceDao, getStatusDao, getVesselOwnerPeriodDao, getVesselRegistrationPeriodDao, getVesselTypeDao, remoteVesselFullVOToEntityCollection, remoteVesselNaturalIdToEntityCollection, remove, setRightToProduceDao, setStatusDao, setVesselOwnerPeriodDao, setVesselRegistrationPeriodDao, setVesselTypeDao, toClusterVessel, toClusterVesselArray, toClusterVesselCollection, toRemoteVesselFullVO, toRemoteVesselFullVOArray, toRemoteVesselFullVOCollection, toRemoteVesselNaturalId, toRemoteVesselNaturalIdArray, toRemoteVesselNaturalIdCollection, 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.referential.vessel.VesselDao
clusterVesselToEntity, clusterVesselToEntity, clusterVesselToEntityCollection, remoteVesselFullVOToEntity, remoteVesselFullVOToEntity, remoteVesselFullVOToEntityCollection, remoteVesselNaturalIdToEntity, remoteVesselNaturalIdToEntity, remoteVesselNaturalIdToEntityCollection, remove, toClusterVessel, toClusterVessel, toClusterVesselArray, toClusterVesselCollection, toRemoteVesselFullVO, toRemoteVesselFullVO, toRemoteVesselFullVOArray, toRemoteVesselFullVOCollection, toRemoteVesselNaturalId, toRemoteVesselNaturalId, toRemoteVesselNaturalIdArray, toRemoteVesselNaturalIdCollection, update
 

Constructor Detail

ScientificResearchVesselDaoImpl

public ScientificResearchVesselDaoImpl()
Method Detail

handleCreateFromClusterScientificResearchVessel

protected ScientificResearchVessel handleCreateFromClusterScientificResearchVessel(ClusterScientificResearchVessel clusterScientificResearchVessel)
Description copied from class: ScientificResearchVesselDaoBase
Performs the core logic for ScientificResearchVesselDaoBase.createFromClusterScientificResearchVessel(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterScientificResearchVessel)

Specified by:
handleCreateFromClusterScientificResearchVessel in class ScientificResearchVesselDaoBase
See Also:
ScientificResearchVesselDao.createFromClusterScientificResearchVessel(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterScientificResearchVessel)

handleGetAllClusterScientificResearchVesselSinceDateSynchro

protected ClusterScientificResearchVessel[] handleGetAllClusterScientificResearchVesselSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                                                                        java.lang.Integer userId,
                                                                                                        java.lang.Integer[] registrationLocationIds,
                                                                                                        java.lang.Integer pageNumber,
                                                                                                        java.lang.Integer pageSize)
Description copied from class: ScientificResearchVesselDaoBase
Performs the core logic for ScientificResearchVesselDaoBase.getAllClusterScientificResearchVesselSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Specified by:
handleGetAllClusterScientificResearchVesselSinceDateSynchro in class ScientificResearchVesselDaoBase
See Also:
ScientificResearchVesselDao.getAllClusterScientificResearchVesselSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

toRemoteScientificResearchVesselFullVO

public void toRemoteScientificResearchVesselFullVO(ScientificResearchVessel source,
                                                   RemoteScientificResearchVesselFullVO target)
Description copied from interface: ScientificResearchVesselDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteScientificResearchVesselFullVO(), 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:
toRemoteScientificResearchVesselFullVO in interface ScientificResearchVesselDao
Overrides:
toRemoteScientificResearchVesselFullVO in class ScientificResearchVesselDaoBase
See Also:
ScientificResearchVesselDao.toRemoteScientificResearchVesselFullVO(fr.ifremer.allegro.referential.vessel.ScientificResearchVessel, fr.ifremer.allegro.referential.vessel.generic.vo.RemoteScientificResearchVesselFullVO)

toRemoteScientificResearchVesselFullVO

public RemoteScientificResearchVesselFullVO toRemoteScientificResearchVesselFullVO(ScientificResearchVessel entity)
Description copied from interface: ScientificResearchVesselDao
Converts this DAO's entity to an object of type RemoteScientificResearchVesselFullVO.

Specified by:
toRemoteScientificResearchVesselFullVO in interface ScientificResearchVesselDao
Overrides:
toRemoteScientificResearchVesselFullVO in class ScientificResearchVesselDaoBase
See Also:
ScientificResearchVesselDao.toRemoteScientificResearchVesselFullVO(fr.ifremer.allegro.referential.vessel.ScientificResearchVessel)

remoteScientificResearchVesselFullVOToEntity

public ScientificResearchVessel remoteScientificResearchVesselFullVOToEntity(RemoteScientificResearchVesselFullVO remoteScientificResearchVesselFullVO)
Description copied from interface: ScientificResearchVesselDao
Converts an instance of type RemoteScientificResearchVesselFullVO to this DAO's entity.

See Also:
ScientificResearchVesselDao.remoteScientificResearchVesselFullVOToEntity(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteScientificResearchVesselFullVO)

remoteScientificResearchVesselFullVOToEntity

public void remoteScientificResearchVesselFullVOToEntity(RemoteScientificResearchVesselFullVO source,
                                                         ScientificResearchVessel target,
                                                         boolean copyIfNull)
Description copied from interface: ScientificResearchVesselDao
Copies the fields of RemoteScientificResearchVesselFullVO to the specified entity.

Specified by:
remoteScientificResearchVesselFullVOToEntity in interface ScientificResearchVesselDao
Overrides:
remoteScientificResearchVesselFullVOToEntity in class ScientificResearchVesselDaoBase
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.referential.vessel.ScientificResearchVesselDao#remoteScientificResearchVesselFullVOToEntity(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteScientificResearchVesselFullVO, fr.ifremer.allegro.referential.vessel.ScientificResearchVessel)

toRemoteScientificResearchVesselNaturalId

public void toRemoteScientificResearchVesselNaturalId(ScientificResearchVessel source,
                                                      RemoteScientificResearchVesselNaturalId target)
Description copied from interface: ScientificResearchVesselDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteScientificResearchVesselNaturalId(), 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:
toRemoteScientificResearchVesselNaturalId in interface ScientificResearchVesselDao
Overrides:
toRemoteScientificResearchVesselNaturalId in class ScientificResearchVesselDaoBase
See Also:
ScientificResearchVesselDao.toRemoteScientificResearchVesselNaturalId(fr.ifremer.allegro.referential.vessel.ScientificResearchVessel, fr.ifremer.allegro.referential.vessel.generic.vo.RemoteScientificResearchVesselNaturalId)

toRemoteScientificResearchVesselNaturalId

public RemoteScientificResearchVesselNaturalId toRemoteScientificResearchVesselNaturalId(ScientificResearchVessel entity)
Description copied from interface: ScientificResearchVesselDao
Converts this DAO's entity to an object of type RemoteScientificResearchVesselNaturalId.

Specified by:
toRemoteScientificResearchVesselNaturalId in interface ScientificResearchVesselDao
Overrides:
toRemoteScientificResearchVesselNaturalId in class ScientificResearchVesselDaoBase
See Also:
ScientificResearchVesselDao.toRemoteScientificResearchVesselNaturalId(fr.ifremer.allegro.referential.vessel.ScientificResearchVessel)

remoteScientificResearchVesselNaturalIdToEntity

public ScientificResearchVessel remoteScientificResearchVesselNaturalIdToEntity(RemoteScientificResearchVesselNaturalId remoteScientificResearchVesselNaturalId)
Description copied from interface: ScientificResearchVesselDao
Converts an instance of type RemoteScientificResearchVesselNaturalId to this DAO's entity.

See Also:
ScientificResearchVesselDao.remoteScientificResearchVesselNaturalIdToEntity(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteScientificResearchVesselNaturalId)

remoteScientificResearchVesselNaturalIdToEntity

public void remoteScientificResearchVesselNaturalIdToEntity(RemoteScientificResearchVesselNaturalId source,
                                                            ScientificResearchVessel target,
                                                            boolean copyIfNull)
Description copied from interface: ScientificResearchVesselDao
Copies the fields of RemoteScientificResearchVesselNaturalId to the specified entity.

Specified by:
remoteScientificResearchVesselNaturalIdToEntity in interface ScientificResearchVesselDao
Overrides:
remoteScientificResearchVesselNaturalIdToEntity in class ScientificResearchVesselDaoBase
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.referential.vessel.ScientificResearchVesselDao#remoteScientificResearchVesselNaturalIdToEntity(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteScientificResearchVesselNaturalId, fr.ifremer.allegro.referential.vessel.ScientificResearchVessel)

toClusterScientificResearchVessel

public void toClusterScientificResearchVessel(ScientificResearchVessel source,
                                              ClusterScientificResearchVessel target)
Description copied from interface: ScientificResearchVesselDao
Copies the fields of the specified entity to the target value object. This method is similar to toClusterScientificResearchVessel(), 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:
toClusterScientificResearchVessel in interface ScientificResearchVesselDao
Overrides:
toClusterScientificResearchVessel in class ScientificResearchVesselDaoBase
See Also:
ScientificResearchVesselDao.toClusterScientificResearchVessel(fr.ifremer.allegro.referential.vessel.ScientificResearchVessel, fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterScientificResearchVessel)

toClusterScientificResearchVessel

public ClusterScientificResearchVessel toClusterScientificResearchVessel(ScientificResearchVessel entity)
Description copied from interface: ScientificResearchVesselDao
Converts this DAO's entity to an object of type ClusterScientificResearchVessel.

Specified by:
toClusterScientificResearchVessel in interface ScientificResearchVesselDao
Overrides:
toClusterScientificResearchVessel in class ScientificResearchVesselDaoBase
See Also:
ScientificResearchVesselDao.toClusterScientificResearchVessel(fr.ifremer.allegro.referential.vessel.ScientificResearchVessel)

clusterScientificResearchVesselToEntity

public ScientificResearchVessel clusterScientificResearchVesselToEntity(ClusterScientificResearchVessel clusterScientificResearchVessel)
Description copied from interface: ScientificResearchVesselDao
Converts an instance of type ClusterScientificResearchVessel to this DAO's entity.

See Also:
ScientificResearchVesselDao.clusterScientificResearchVesselToEntity(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterScientificResearchVessel)

clusterScientificResearchVesselToEntity

public void clusterScientificResearchVesselToEntity(ClusterScientificResearchVessel source,
                                                    ScientificResearchVessel target,
                                                    boolean copyIfNull)
Description copied from interface: ScientificResearchVesselDao
Copies the fields of ClusterScientificResearchVessel to the specified entity.

Specified by:
clusterScientificResearchVesselToEntity in interface ScientificResearchVesselDao
Overrides:
clusterScientificResearchVesselToEntity in class ScientificResearchVesselDaoBase
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.referential.vessel.ScientificResearchVesselDao#clusterScientificResearchVesselToEntity(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterScientificResearchVessel, fr.ifremer.allegro.referential.vessel.ScientificResearchVessel)


Copyright © 2008-2010 IFREMER. All Rights Reserved.