fr.ifremer.allegro.data.vessel.position
Class VesselPositionDaoImpl

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.data.vessel.position.VesselPositionDaoBase
          extended by fr.ifremer.allegro.data.vessel.position.VesselPositionDaoImpl
All Implemented Interfaces:
VesselPositionDao
Direct Known Subclasses:
VesselExtendedPositionDaoBase

public class VesselPositionDaoImpl
extends VesselPositionDaoBase

See Also:
VesselPosition

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.data.vessel.position.VesselPositionDao
TRANSFORM_CLUSTERVESSELPOSITION, TRANSFORM_NONE, TRANSFORM_REMOTEVESSELPOSITIONFULLVO, TRANSFORM_REMOTEVESSELPOSITIONNATURALID
 
Constructor Summary
VesselPositionDaoImpl()
           
 
Method Summary
 VesselPosition clusterVesselPositionToEntity(ClusterVesselPosition clusterVesselPosition)
          Converts an instance of type ClusterVesselPosition to this DAO's entity.
 void clusterVesselPositionToEntity(ClusterVesselPosition source, VesselPosition target, boolean copyIfNull)
          Copies the fields of ClusterVesselPosition to the specified entity.
protected  VesselPosition handleCreateFromClusterVesselPosition(ClusterVesselPosition clusterVesselPosition)
          Performs the core logic for VesselPositionDaoBase.createFromClusterVesselPosition(fr.ifremer.allegro.data.vessel.position.generic.cluster.ClusterVesselPosition)
 VesselPosition remoteVesselPositionFullVOToEntity(RemoteVesselPositionFullVO remoteVesselPositionFullVO)
          Converts an instance of type RemoteVesselPositionFullVO to this DAO's entity.
 void remoteVesselPositionFullVOToEntity(RemoteVesselPositionFullVO source, VesselPosition target, boolean copyIfNull)
          Copies the fields of RemoteVesselPositionFullVO to the specified entity.
 VesselPosition remoteVesselPositionNaturalIdToEntity(RemoteVesselPositionNaturalId remoteVesselPositionNaturalId)
          Converts an instance of type RemoteVesselPositionNaturalId to this DAO's entity.
 void remoteVesselPositionNaturalIdToEntity(RemoteVesselPositionNaturalId source, VesselPosition target, boolean copyIfNull)
          Copies the fields of RemoteVesselPositionNaturalId to the specified entity.
 ClusterVesselPosition toClusterVesselPosition(VesselPosition entity)
          Converts this DAO's entity to an object of type ClusterVesselPosition.
 void toClusterVesselPosition(VesselPosition source, ClusterVesselPosition target)
          Copies the fields of the specified entity to the target value object.
 RemoteVesselPositionFullVO toRemoteVesselPositionFullVO(VesselPosition entity)
          Converts this DAO's entity to an object of type RemoteVesselPositionFullVO.
 void toRemoteVesselPositionFullVO(VesselPosition source, RemoteVesselPositionFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteVesselPositionNaturalId toRemoteVesselPositionNaturalId(VesselPosition entity)
          Converts this DAO's entity to an object of type RemoteVesselPositionNaturalId.
 void toRemoteVesselPositionNaturalId(VesselPosition source, RemoteVesselPositionNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.data.vessel.position.VesselPositionDaoBase
clusterVesselPositionToEntityCollection, create, create, create, create, create, create, create, create, createFromClusterVesselPosition, findVesselPositionById, findVesselPositionById, findVesselPositionById, findVesselPositionById, findVesselPositionByNaturalId, findVesselPositionByNaturalId, findVesselPositionByNaturalId, findVesselPositionByNaturalId, findVesselPositionByOperation, findVesselPositionByOperation, findVesselPositionByOperation, findVesselPositionByOperation, findVesselPositionByOperation, findVesselPositionByOperation, findVesselPositionByOperation, findVesselPositionByOperation, findVesselPositionByProgram, findVesselPositionByProgram, findVesselPositionByProgram, findVesselPositionByProgram, findVesselPositionByProgram, findVesselPositionByProgram, findVesselPositionByProgram, findVesselPositionByProgram, findVesselPositionByQualityFlag, findVesselPositionByQualityFlag, findVesselPositionByQualityFlag, findVesselPositionByQualityFlag, findVesselPositionByQualityFlag, findVesselPositionByQualityFlag, findVesselPositionByQualityFlag, findVesselPositionByQualityFlag, findVesselPositionByRecorderDepartment, findVesselPositionByRecorderDepartment, findVesselPositionByRecorderDepartment, findVesselPositionByRecorderDepartment, findVesselPositionByRecorderDepartment, findVesselPositionByRecorderDepartment, findVesselPositionByRecorderDepartment, findVesselPositionByRecorderDepartment, findVesselPositionByVessel, findVesselPositionByVessel, findVesselPositionByVessel, findVesselPositionByVessel, findVesselPositionByVessel, findVesselPositionByVessel, findVesselPositionByVessel, findVesselPositionByVessel, getAllVesselPosition, getAllVesselPosition, getAllVesselPosition, getAllVesselPosition, getAllVesselPosition, getAllVesselPosition, getAllVesselPosition, getAllVesselPosition, getAllVesselPositionSinceDateSynchro, getAllVesselPositionSinceDateSynchro, getAllVesselPositionSinceDateSynchro, getAllVesselPositionSinceDateSynchro, getAllVesselPositionSinceDateSynchro, getAllVesselPositionSinceDateSynchro, getAllVesselPositionSinceDateSynchro, getAllVesselPositionSinceDateSynchro, getDepartmentDao, getOperationDao, getPrincipal, getProgramDao, getQualityFlagDao, getVesselDao, getVesselPositionMeasurementDao, load, load, loadAll, loadAll, loadAll, loadAll, remoteVesselPositionFullVOToEntityCollection, remoteVesselPositionNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, setDepartmentDao, setOperationDao, setProgramDao, setQualityFlagDao, setVesselDao, setVesselPositionMeasurementDao, toClusterVesselPosition, toClusterVesselPositionArray, toClusterVesselPositionCollection, toEntity, toRemoteVesselPositionFullVO, toRemoteVesselPositionFullVOArray, toRemoteVesselPositionFullVOCollection, toRemoteVesselPositionNaturalId, toRemoteVesselPositionNaturalIdArray, toRemoteVesselPositionNaturalIdCollection, transformEntities, transformEntity, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VesselPositionDaoImpl

public VesselPositionDaoImpl()
Method Detail

handleCreateFromClusterVesselPosition

protected VesselPosition handleCreateFromClusterVesselPosition(ClusterVesselPosition clusterVesselPosition)
Description copied from class: VesselPositionDaoBase
Performs the core logic for VesselPositionDaoBase.createFromClusterVesselPosition(fr.ifremer.allegro.data.vessel.position.generic.cluster.ClusterVesselPosition)

Specified by:
handleCreateFromClusterVesselPosition in class VesselPositionDaoBase
See Also:
VesselPositionDao.createFromClusterVesselPosition(fr.ifremer.allegro.data.vessel.position.generic.cluster.ClusterVesselPosition)

toRemoteVesselPositionFullVO

public void toRemoteVesselPositionFullVO(VesselPosition source,
                                         RemoteVesselPositionFullVO target)
Description copied from interface: VesselPositionDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteVesselPositionFullVO(), 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:
toRemoteVesselPositionFullVO in interface VesselPositionDao
Overrides:
toRemoteVesselPositionFullVO in class VesselPositionDaoBase
See Also:
VesselPositionDao.toRemoteVesselPositionFullVO(fr.ifremer.allegro.data.vessel.position.VesselPosition, fr.ifremer.allegro.data.vessel.position.generic.vo.RemoteVesselPositionFullVO)

toRemoteVesselPositionFullVO

public RemoteVesselPositionFullVO toRemoteVesselPositionFullVO(VesselPosition entity)
Description copied from interface: VesselPositionDao
Converts this DAO's entity to an object of type RemoteVesselPositionFullVO.

Specified by:
toRemoteVesselPositionFullVO in interface VesselPositionDao
Overrides:
toRemoteVesselPositionFullVO in class VesselPositionDaoBase
See Also:
VesselPositionDao.toRemoteVesselPositionFullVO(fr.ifremer.allegro.data.vessel.position.VesselPosition)

remoteVesselPositionFullVOToEntity

public VesselPosition remoteVesselPositionFullVOToEntity(RemoteVesselPositionFullVO remoteVesselPositionFullVO)
Description copied from interface: VesselPositionDao
Converts an instance of type RemoteVesselPositionFullVO to this DAO's entity.

See Also:
VesselPositionDao.remoteVesselPositionFullVOToEntity(fr.ifremer.allegro.data.vessel.position.generic.vo.RemoteVesselPositionFullVO)

remoteVesselPositionFullVOToEntity

public void remoteVesselPositionFullVOToEntity(RemoteVesselPositionFullVO source,
                                               VesselPosition target,
                                               boolean copyIfNull)
Description copied from interface: VesselPositionDao
Copies the fields of RemoteVesselPositionFullVO to the specified entity.

Specified by:
remoteVesselPositionFullVOToEntity in interface VesselPositionDao
Overrides:
remoteVesselPositionFullVOToEntity in class VesselPositionDaoBase
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.vessel.position.VesselPositionDao#remoteVesselPositionFullVOToEntity(fr.ifremer.allegro.data.vessel.position.generic.vo.RemoteVesselPositionFullVO, fr.ifremer.allegro.data.vessel.position.VesselPosition)

toRemoteVesselPositionNaturalId

public void toRemoteVesselPositionNaturalId(VesselPosition source,
                                            RemoteVesselPositionNaturalId target)
Description copied from interface: VesselPositionDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteVesselPositionNaturalId(), 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:
toRemoteVesselPositionNaturalId in interface VesselPositionDao
Overrides:
toRemoteVesselPositionNaturalId in class VesselPositionDaoBase
See Also:
VesselPositionDao.toRemoteVesselPositionNaturalId(fr.ifremer.allegro.data.vessel.position.VesselPosition, fr.ifremer.allegro.data.vessel.position.generic.vo.RemoteVesselPositionNaturalId)

toRemoteVesselPositionNaturalId

public RemoteVesselPositionNaturalId toRemoteVesselPositionNaturalId(VesselPosition entity)
Description copied from interface: VesselPositionDao
Converts this DAO's entity to an object of type RemoteVesselPositionNaturalId.

Specified by:
toRemoteVesselPositionNaturalId in interface VesselPositionDao
Overrides:
toRemoteVesselPositionNaturalId in class VesselPositionDaoBase
See Also:
VesselPositionDao.toRemoteVesselPositionNaturalId(fr.ifremer.allegro.data.vessel.position.VesselPosition)

remoteVesselPositionNaturalIdToEntity

public VesselPosition remoteVesselPositionNaturalIdToEntity(RemoteVesselPositionNaturalId remoteVesselPositionNaturalId)
Description copied from interface: VesselPositionDao
Converts an instance of type RemoteVesselPositionNaturalId to this DAO's entity.

See Also:
VesselPositionDao.remoteVesselPositionNaturalIdToEntity(fr.ifremer.allegro.data.vessel.position.generic.vo.RemoteVesselPositionNaturalId)

remoteVesselPositionNaturalIdToEntity

public void remoteVesselPositionNaturalIdToEntity(RemoteVesselPositionNaturalId source,
                                                  VesselPosition target,
                                                  boolean copyIfNull)
Description copied from interface: VesselPositionDao
Copies the fields of RemoteVesselPositionNaturalId to the specified entity.

Specified by:
remoteVesselPositionNaturalIdToEntity in interface VesselPositionDao
Overrides:
remoteVesselPositionNaturalIdToEntity in class VesselPositionDaoBase
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.vessel.position.VesselPositionDao#remoteVesselPositionNaturalIdToEntity(fr.ifremer.allegro.data.vessel.position.generic.vo.RemoteVesselPositionNaturalId, fr.ifremer.allegro.data.vessel.position.VesselPosition)

toClusterVesselPosition

public void toClusterVesselPosition(VesselPosition source,
                                    ClusterVesselPosition target)
Description copied from interface: VesselPositionDao
Copies the fields of the specified entity to the target value object. This method is similar to toClusterVesselPosition(), 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:
toClusterVesselPosition in interface VesselPositionDao
Overrides:
toClusterVesselPosition in class VesselPositionDaoBase
See Also:
VesselPositionDao.toClusterVesselPosition(fr.ifremer.allegro.data.vessel.position.VesselPosition, fr.ifremer.allegro.data.vessel.position.generic.cluster.ClusterVesselPosition)

toClusterVesselPosition

public ClusterVesselPosition toClusterVesselPosition(VesselPosition entity)
Description copied from interface: VesselPositionDao
Converts this DAO's entity to an object of type ClusterVesselPosition.

Specified by:
toClusterVesselPosition in interface VesselPositionDao
Overrides:
toClusterVesselPosition in class VesselPositionDaoBase
See Also:
VesselPositionDao.toClusterVesselPosition(fr.ifremer.allegro.data.vessel.position.VesselPosition)

clusterVesselPositionToEntity

public VesselPosition clusterVesselPositionToEntity(ClusterVesselPosition clusterVesselPosition)
Description copied from interface: VesselPositionDao
Converts an instance of type ClusterVesselPosition to this DAO's entity.

See Also:
VesselPositionDao.clusterVesselPositionToEntity(fr.ifremer.allegro.data.vessel.position.generic.cluster.ClusterVesselPosition)

clusterVesselPositionToEntity

public void clusterVesselPositionToEntity(ClusterVesselPosition source,
                                          VesselPosition target,
                                          boolean copyIfNull)
Description copied from interface: VesselPositionDao
Copies the fields of ClusterVesselPosition to the specified entity.

Specified by:
clusterVesselPositionToEntity in interface VesselPositionDao
Overrides:
clusterVesselPositionToEntity in class VesselPositionDaoBase
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.vessel.position.VesselPositionDao#clusterVesselPositionToEntity(fr.ifremer.allegro.data.vessel.position.generic.cluster.ClusterVesselPosition, fr.ifremer.allegro.data.vessel.position.VesselPosition)


Copyright © 2008-2010 IFREMER. All Rights Reserved.