fr.ifremer.allegro.referential.vessel
Class PleasureBoatDaoImpl

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.PleasureBoatDaoBase
                  extended by fr.ifremer.allegro.referential.vessel.PleasureBoatDaoImpl
All Implemented Interfaces:
PleasureBoatDao, VesselDao

public class PleasureBoatDaoImpl
extends PleasureBoatDaoBase

See Also:
PleasureBoat

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.vessel.PleasureBoatDao
TRANSFORM_CLUSTERPLEASUREBOAT, TRANSFORM_REMOTEPLEASUREBOATFULLVO, TRANSFORM_REMOTEPLEASUREBOATNATURALID
 
Fields inherited from interface fr.ifremer.allegro.referential.vessel.VesselDao
TRANSFORM_CLUSTERVESSEL, TRANSFORM_NONE, TRANSFORM_REMOTEVESSELFULLVO, TRANSFORM_REMOTEVESSELNATURALID
 
Constructor Summary
PleasureBoatDaoImpl()
           
 
Method Summary
 PleasureBoat clusterPleasureBoatToEntity(ClusterPleasureBoat clusterPleasureBoat)
          Converts an instance of type ClusterPleasureBoat to this DAO's entity.
 void clusterPleasureBoatToEntity(ClusterPleasureBoat source, PleasureBoat target, boolean copyIfNull)
          Copies the fields of ClusterPleasureBoat to the specified entity.
protected  PleasureBoat handleCreateFromClusterPleasureBoat(ClusterPleasureBoat clusterPleasureBoat)
          Performs the core logic for PleasureBoatDaoBase.createFromClusterPleasureBoat(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterPleasureBoat)
protected  ClusterPleasureBoat[] handleGetAllClusterPleasureBoatSinceDateSynchro(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 PleasureBoatDaoBase.getAllClusterPleasureBoatSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 PleasureBoat remotePleasureBoatFullVOToEntity(RemotePleasureBoatFullVO remotePleasureBoatFullVO)
          Converts an instance of type RemotePleasureBoatFullVO to this DAO's entity.
 void remotePleasureBoatFullVOToEntity(RemotePleasureBoatFullVO source, PleasureBoat target, boolean copyIfNull)
          Copies the fields of RemotePleasureBoatFullVO to the specified entity.
 PleasureBoat remotePleasureBoatNaturalIdToEntity(RemotePleasureBoatNaturalId remotePleasureBoatNaturalId)
          Converts an instance of type RemotePleasureBoatNaturalId to this DAO's entity.
 void remotePleasureBoatNaturalIdToEntity(RemotePleasureBoatNaturalId source, PleasureBoat target, boolean copyIfNull)
          Copies the fields of RemotePleasureBoatNaturalId to the specified entity.
 ClusterPleasureBoat toClusterPleasureBoat(PleasureBoat entity)
          Converts this DAO's entity to an object of type ClusterPleasureBoat.
 void toClusterPleasureBoat(PleasureBoat source, ClusterPleasureBoat target)
          Copies the fields of the specified entity to the target value object.
 RemotePleasureBoatFullVO toRemotePleasureBoatFullVO(PleasureBoat entity)
          Converts this DAO's entity to an object of type RemotePleasureBoatFullVO.
 void toRemotePleasureBoatFullVO(PleasureBoat source, RemotePleasureBoatFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemotePleasureBoatNaturalId toRemotePleasureBoatNaturalId(PleasureBoat entity)
          Converts this DAO's entity to an object of type RemotePleasureBoatNaturalId.
 void toRemotePleasureBoatNaturalId(PleasureBoat source, RemotePleasureBoatNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.referential.vessel.PleasureBoatDaoBase
clusterPleasureBoatToEntityCollection, create, create, create, create, create, create, create, create, createFromClusterPleasureBoat, findPleasureBoatByCode, findPleasureBoatByCode, findPleasureBoatByCode, findPleasureBoatByCode, findPleasureBoatByNaturalId, findPleasureBoatByNaturalId, findPleasureBoatByNaturalId, findPleasureBoatByNaturalId, findPleasureBoatByStatus, findPleasureBoatByStatus, findPleasureBoatByStatus, findPleasureBoatByStatus, findPleasureBoatByStatus, findPleasureBoatByStatus, findPleasureBoatByStatus, findPleasureBoatByStatus, findPleasureBoatByVesselType, findPleasureBoatByVesselType, findPleasureBoatByVesselType, findPleasureBoatByVesselType, findPleasureBoatByVesselType, findPleasureBoatByVesselType, findPleasureBoatByVesselType, findPleasureBoatByVesselType, findVesselByCode, findVesselByCode, findVesselByCode, findVesselByCode, findVesselByNaturalId, findVesselByNaturalId, findVesselByNaturalId, findVesselByNaturalId, findVesselByStatus, findVesselByStatus, findVesselByStatus, findVesselByStatus, findVesselByStatus, findVesselByStatus, findVesselByStatus, findVesselByStatus, findVesselByVesselType, findVesselByVesselType, findVesselByVesselType, findVesselByVesselType, findVesselByVesselType, findVesselByVesselType, findVesselByVesselType, findVesselByVesselType, getAllClusterPleasureBoatSinceDateSynchro, getAllPleasureBoat, getAllPleasureBoat, getAllPleasureBoat, getAllPleasureBoat, getAllPleasureBoat, getAllPleasureBoat, getAllPleasureBoat, getAllPleasureBoat, getAllPleasureBoatSinceDateSynchro, getAllPleasureBoatSinceDateSynchro, getAllPleasureBoatSinceDateSynchro, getAllPleasureBoatSinceDateSynchro, getAllPleasureBoatSinceDateSynchro, getAllPleasureBoatSinceDateSynchro, getAllPleasureBoatSinceDateSynchro, getAllPleasureBoatSinceDateSynchro, getAllVessel, getAllVessel, getAllVessel, getAllVessel, getAllVessel, getAllVessel, getAllVessel, getAllVessel, getAllVesselSinceDateSynchro, getAllVesselSinceDateSynchro, getAllVesselSinceDateSynchro, getAllVesselSinceDateSynchro, getAllVesselSinceDateSynchro, getAllVesselSinceDateSynchro, getAllVesselSinceDateSynchro, getAllVesselSinceDateSynchro, getPrincipal, load, load, loadAll, loadAll, loadAll, loadAll, remotePleasureBoatFullVOToEntityCollection, remotePleasureBoatNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, toClusterPleasureBoat, toClusterPleasureBoatArray, toClusterPleasureBoatCollection, toEntity, toRemotePleasureBoatFullVO, toRemotePleasureBoatFullVOArray, toRemotePleasureBoatFullVOCollection, toRemotePleasureBoatNaturalId, toRemotePleasureBoatNaturalIdArray, toRemotePleasureBoatNaturalIdCollection, 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

PleasureBoatDaoImpl

public PleasureBoatDaoImpl()
Method Detail

handleCreateFromClusterPleasureBoat

protected PleasureBoat handleCreateFromClusterPleasureBoat(ClusterPleasureBoat clusterPleasureBoat)
Description copied from class: PleasureBoatDaoBase
Performs the core logic for PleasureBoatDaoBase.createFromClusterPleasureBoat(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterPleasureBoat)

Specified by:
handleCreateFromClusterPleasureBoat in class PleasureBoatDaoBase
See Also:
PleasureBoatDao.createFromClusterPleasureBoat(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterPleasureBoat)

handleGetAllClusterPleasureBoatSinceDateSynchro

protected ClusterPleasureBoat[] handleGetAllClusterPleasureBoatSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                                                java.lang.Integer userId,
                                                                                java.lang.Integer[] registrationLocationIds,
                                                                                java.lang.Integer pageNumber,
                                                                                java.lang.Integer pageSize)
Description copied from class: PleasureBoatDaoBase
Performs the core logic for PleasureBoatDaoBase.getAllClusterPleasureBoatSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Specified by:
handleGetAllClusterPleasureBoatSinceDateSynchro in class PleasureBoatDaoBase
See Also:
PleasureBoatDao.getAllClusterPleasureBoatSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

toRemotePleasureBoatFullVO

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

toRemotePleasureBoatFullVO

public RemotePleasureBoatFullVO toRemotePleasureBoatFullVO(PleasureBoat entity)
Description copied from interface: PleasureBoatDao
Converts this DAO's entity to an object of type RemotePleasureBoatFullVO.

Specified by:
toRemotePleasureBoatFullVO in interface PleasureBoatDao
Overrides:
toRemotePleasureBoatFullVO in class PleasureBoatDaoBase
See Also:
PleasureBoatDao.toRemotePleasureBoatFullVO(fr.ifremer.allegro.referential.vessel.PleasureBoat)

remotePleasureBoatFullVOToEntity

public PleasureBoat remotePleasureBoatFullVOToEntity(RemotePleasureBoatFullVO remotePleasureBoatFullVO)
Description copied from interface: PleasureBoatDao
Converts an instance of type RemotePleasureBoatFullVO to this DAO's entity.

See Also:
PleasureBoatDao.remotePleasureBoatFullVOToEntity(fr.ifremer.allegro.referential.vessel.generic.vo.RemotePleasureBoatFullVO)

remotePleasureBoatFullVOToEntity

public void remotePleasureBoatFullVOToEntity(RemotePleasureBoatFullVO source,
                                             PleasureBoat target,
                                             boolean copyIfNull)
Description copied from interface: PleasureBoatDao
Copies the fields of RemotePleasureBoatFullVO to the specified entity.

Specified by:
remotePleasureBoatFullVOToEntity in interface PleasureBoatDao
Overrides:
remotePleasureBoatFullVOToEntity in class PleasureBoatDaoBase
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.PleasureBoatDao#remotePleasureBoatFullVOToEntity(fr.ifremer.allegro.referential.vessel.generic.vo.RemotePleasureBoatFullVO, fr.ifremer.allegro.referential.vessel.PleasureBoat)

toRemotePleasureBoatNaturalId

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

toRemotePleasureBoatNaturalId

public RemotePleasureBoatNaturalId toRemotePleasureBoatNaturalId(PleasureBoat entity)
Description copied from interface: PleasureBoatDao
Converts this DAO's entity to an object of type RemotePleasureBoatNaturalId.

Specified by:
toRemotePleasureBoatNaturalId in interface PleasureBoatDao
Overrides:
toRemotePleasureBoatNaturalId in class PleasureBoatDaoBase
See Also:
PleasureBoatDao.toRemotePleasureBoatNaturalId(fr.ifremer.allegro.referential.vessel.PleasureBoat)

remotePleasureBoatNaturalIdToEntity

public PleasureBoat remotePleasureBoatNaturalIdToEntity(RemotePleasureBoatNaturalId remotePleasureBoatNaturalId)
Description copied from interface: PleasureBoatDao
Converts an instance of type RemotePleasureBoatNaturalId to this DAO's entity.

See Also:
PleasureBoatDao.remotePleasureBoatNaturalIdToEntity(fr.ifremer.allegro.referential.vessel.generic.vo.RemotePleasureBoatNaturalId)

remotePleasureBoatNaturalIdToEntity

public void remotePleasureBoatNaturalIdToEntity(RemotePleasureBoatNaturalId source,
                                                PleasureBoat target,
                                                boolean copyIfNull)
Description copied from interface: PleasureBoatDao
Copies the fields of RemotePleasureBoatNaturalId to the specified entity.

Specified by:
remotePleasureBoatNaturalIdToEntity in interface PleasureBoatDao
Overrides:
remotePleasureBoatNaturalIdToEntity in class PleasureBoatDaoBase
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.PleasureBoatDao#remotePleasureBoatNaturalIdToEntity(fr.ifremer.allegro.referential.vessel.generic.vo.RemotePleasureBoatNaturalId, fr.ifremer.allegro.referential.vessel.PleasureBoat)

toClusterPleasureBoat

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

toClusterPleasureBoat

public ClusterPleasureBoat toClusterPleasureBoat(PleasureBoat entity)
Description copied from interface: PleasureBoatDao
Converts this DAO's entity to an object of type ClusterPleasureBoat.

Specified by:
toClusterPleasureBoat in interface PleasureBoatDao
Overrides:
toClusterPleasureBoat in class PleasureBoatDaoBase
See Also:
PleasureBoatDao.toClusterPleasureBoat(fr.ifremer.allegro.referential.vessel.PleasureBoat)

clusterPleasureBoatToEntity

public PleasureBoat clusterPleasureBoatToEntity(ClusterPleasureBoat clusterPleasureBoat)
Description copied from interface: PleasureBoatDao
Converts an instance of type ClusterPleasureBoat to this DAO's entity.

See Also:
PleasureBoatDao.clusterPleasureBoatToEntity(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterPleasureBoat)

clusterPleasureBoatToEntity

public void clusterPleasureBoatToEntity(ClusterPleasureBoat source,
                                        PleasureBoat target,
                                        boolean copyIfNull)
Description copied from interface: PleasureBoatDao
Copies the fields of ClusterPleasureBoat to the specified entity.

Specified by:
clusterPleasureBoatToEntity in interface PleasureBoatDao
Overrides:
clusterPleasureBoatToEntity in class PleasureBoatDaoBase
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.PleasureBoatDao#clusterPleasureBoatToEntity(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterPleasureBoat, fr.ifremer.allegro.referential.vessel.PleasureBoat)


Copyright © 2008-2010 IFREMER. All Rights Reserved.