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

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
              extended by fr.ifremer.allegro.data.vessel.position.VesselExtendedPositionDaoBase
                  extended by fr.ifremer.allegro.data.vessel.position.VesselExtendedPositionDaoImpl
All Implemented Interfaces:
VesselExtendedPositionDao, VesselPositionDao

public class VesselExtendedPositionDaoImpl
extends VesselExtendedPositionDaoBase

See Also:
VesselExtendedPosition

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.data.vessel.position.VesselExtendedPositionDao
TRANSFORM_CLUSTERVESSELEXTENDEDPOSITION, TRANSFORM_REMOTEVESSELEXTENDEDPOSITIONFULLVO, TRANSFORM_REMOTEVESSELEXTENDEDPOSITIONNATURALID
 
Fields inherited from interface fr.ifremer.allegro.data.vessel.position.VesselPositionDao
TRANSFORM_CLUSTERVESSELPOSITION, TRANSFORM_NONE, TRANSFORM_REMOTEVESSELPOSITIONFULLVO, TRANSFORM_REMOTEVESSELPOSITIONNATURALID
 
Constructor Summary
VesselExtendedPositionDaoImpl()
           
 
Method Summary
 VesselExtendedPosition clusterVesselExtendedPositionToEntity(ClusterVesselExtendedPosition clusterVesselExtendedPosition)
          Converts an instance of type ClusterVesselExtendedPosition to this DAO's entity.
 void clusterVesselExtendedPositionToEntity(ClusterVesselExtendedPosition source, VesselExtendedPosition target, boolean copyIfNull)
          Copies the fields of ClusterVesselExtendedPosition to the specified entity.
protected  VesselExtendedPosition handleCreateFromClusterVesselExtendedPosition(ClusterVesselExtendedPosition clusterVesselExtendedPosition)
          Performs the core logic for VesselExtendedPositionDaoBase.createFromClusterVesselExtendedPosition(fr.ifremer.allegro.data.vessel.position.generic.cluster.ClusterVesselExtendedPosition)
 VesselExtendedPosition remoteVesselExtendedPositionFullVOToEntity(RemoteVesselExtendedPositionFullVO remoteVesselExtendedPositionFullVO)
          Converts an instance of type RemoteVesselExtendedPositionFullVO to this DAO's entity.
 void remoteVesselExtendedPositionFullVOToEntity(RemoteVesselExtendedPositionFullVO source, VesselExtendedPosition target, boolean copyIfNull)
          Copies the fields of RemoteVesselExtendedPositionFullVO to the specified entity.
 VesselExtendedPosition remoteVesselExtendedPositionNaturalIdToEntity(RemoteVesselExtendedPositionNaturalId remoteVesselExtendedPositionNaturalId)
          Converts an instance of type RemoteVesselExtendedPositionNaturalId to this DAO's entity.
 void remoteVesselExtendedPositionNaturalIdToEntity(RemoteVesselExtendedPositionNaturalId source, VesselExtendedPosition target, boolean copyIfNull)
          Copies the fields of RemoteVesselExtendedPositionNaturalId to the specified entity.
 ClusterVesselExtendedPosition toClusterVesselExtendedPosition(VesselExtendedPosition entity)
          Converts this DAO's entity to an object of type ClusterVesselExtendedPosition.
 void toClusterVesselExtendedPosition(VesselExtendedPosition source, ClusterVesselExtendedPosition target)
          Copies the fields of the specified entity to the target value object.
 RemoteVesselExtendedPositionFullVO toRemoteVesselExtendedPositionFullVO(VesselExtendedPosition entity)
          Converts this DAO's entity to an object of type RemoteVesselExtendedPositionFullVO.
 void toRemoteVesselExtendedPositionFullVO(VesselExtendedPosition source, RemoteVesselExtendedPositionFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteVesselExtendedPositionNaturalId toRemoteVesselExtendedPositionNaturalId(VesselExtendedPosition entity)
          Converts this DAO's entity to an object of type RemoteVesselExtendedPositionNaturalId.
 void toRemoteVesselExtendedPositionNaturalId(VesselExtendedPosition source, RemoteVesselExtendedPositionNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.data.vessel.position.VesselExtendedPositionDaoBase
clusterVesselExtendedPositionToEntityCollection, create, create, create, create, create, create, create, create, createFromClusterVesselExtendedPosition, findVesselExtendedPositionById, findVesselExtendedPositionById, findVesselExtendedPositionById, findVesselExtendedPositionById, findVesselExtendedPositionByNaturalId, findVesselExtendedPositionByNaturalId, findVesselExtendedPositionByNaturalId, findVesselExtendedPositionByNaturalId, findVesselExtendedPositionByOperation, findVesselExtendedPositionByOperation, findVesselExtendedPositionByOperation, findVesselExtendedPositionByOperation, findVesselExtendedPositionByOperation, findVesselExtendedPositionByOperation, findVesselExtendedPositionByOperation, findVesselExtendedPositionByOperation, findVesselExtendedPositionByProgram, findVesselExtendedPositionByProgram, findVesselExtendedPositionByProgram, findVesselExtendedPositionByProgram, findVesselExtendedPositionByProgram, findVesselExtendedPositionByProgram, findVesselExtendedPositionByProgram, findVesselExtendedPositionByProgram, findVesselExtendedPositionByQualityFlag, findVesselExtendedPositionByQualityFlag, findVesselExtendedPositionByQualityFlag, findVesselExtendedPositionByQualityFlag, findVesselExtendedPositionByQualityFlag, findVesselExtendedPositionByQualityFlag, findVesselExtendedPositionByQualityFlag, findVesselExtendedPositionByQualityFlag, findVesselExtendedPositionByRecorderDepartment, findVesselExtendedPositionByRecorderDepartment, findVesselExtendedPositionByRecorderDepartment, findVesselExtendedPositionByRecorderDepartment, findVesselExtendedPositionByRecorderDepartment, findVesselExtendedPositionByRecorderDepartment, findVesselExtendedPositionByRecorderDepartment, findVesselExtendedPositionByRecorderDepartment, findVesselExtendedPositionByVessel, findVesselExtendedPositionByVessel, findVesselExtendedPositionByVessel, findVesselExtendedPositionByVessel, findVesselExtendedPositionByVessel, findVesselExtendedPositionByVessel, findVesselExtendedPositionByVessel, findVesselExtendedPositionByVessel, 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, getAllVesselExtendedPosition, getAllVesselExtendedPosition, getAllVesselExtendedPosition, getAllVesselExtendedPosition, getAllVesselExtendedPosition, getAllVesselExtendedPosition, getAllVesselExtendedPosition, getAllVesselExtendedPosition, getAllVesselExtendedPositionSinceDateSynchro, getAllVesselExtendedPositionSinceDateSynchro, getAllVesselExtendedPositionSinceDateSynchro, getAllVesselExtendedPositionSinceDateSynchro, getAllVesselExtendedPositionSinceDateSynchro, getAllVesselExtendedPositionSinceDateSynchro, getAllVesselExtendedPositionSinceDateSynchro, getAllVesselExtendedPositionSinceDateSynchro, getAllVesselPosition, getAllVesselPosition, getAllVesselPosition, getAllVesselPosition, getAllVesselPosition, getAllVesselPosition, getAllVesselPosition, getAllVesselPosition, getAllVesselPositionSinceDateSynchro, getAllVesselPositionSinceDateSynchro, getAllVesselPositionSinceDateSynchro, getAllVesselPositionSinceDateSynchro, getAllVesselPositionSinceDateSynchro, getAllVesselPositionSinceDateSynchro, getAllVesselPositionSinceDateSynchro, getAllVesselPositionSinceDateSynchro, getPrincipal, load, load, loadAll, loadAll, loadAll, loadAll, remoteVesselExtendedPositionFullVOToEntityCollection, remoteVesselExtendedPositionNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, toClusterVesselExtendedPosition, toClusterVesselExtendedPositionArray, toClusterVesselExtendedPositionCollection, toEntity, toRemoteVesselExtendedPositionFullVO, toRemoteVesselExtendedPositionFullVOArray, toRemoteVesselExtendedPositionFullVOCollection, toRemoteVesselExtendedPositionNaturalId, toRemoteVesselExtendedPositionNaturalIdArray, toRemoteVesselExtendedPositionNaturalIdCollection, transformEntities, transformEntity, update, update
 
Methods inherited from class fr.ifremer.allegro.data.vessel.position.VesselPositionDaoImpl
clusterVesselPositionToEntity, clusterVesselPositionToEntity, handleCreateFromClusterVesselPosition, remoteVesselPositionFullVOToEntity, remoteVesselPositionFullVOToEntity, remoteVesselPositionNaturalIdToEntity, remoteVesselPositionNaturalIdToEntity, toClusterVesselPosition, toClusterVesselPosition, toRemoteVesselPositionFullVO, toRemoteVesselPositionFullVO, toRemoteVesselPositionNaturalId, toRemoteVesselPositionNaturalId
 
Methods inherited from class fr.ifremer.allegro.data.vessel.position.VesselPositionDaoBase
clusterVesselPositionToEntityCollection, create, create, create, create, createFromClusterVesselPosition, getDepartmentDao, getOperationDao, getProgramDao, getQualityFlagDao, getVesselDao, getVesselPositionMeasurementDao, remoteVesselPositionFullVOToEntityCollection, remoteVesselPositionNaturalIdToEntityCollection, remove, setDepartmentDao, setOperationDao, setProgramDao, setQualityFlagDao, setVesselDao, setVesselPositionMeasurementDao, toClusterVesselPosition, toClusterVesselPositionArray, toClusterVesselPositionCollection, toRemoteVesselPositionFullVO, toRemoteVesselPositionFullVOArray, toRemoteVesselPositionFullVOCollection, toRemoteVesselPositionNaturalId, toRemoteVesselPositionNaturalIdArray, toRemoteVesselPositionNaturalIdCollection, 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.data.vessel.position.VesselPositionDao
clusterVesselPositionToEntity, clusterVesselPositionToEntity, clusterVesselPositionToEntityCollection, create, create, create, create, createFromClusterVesselPosition, remoteVesselPositionFullVOToEntity, remoteVesselPositionFullVOToEntity, remoteVesselPositionFullVOToEntityCollection, remoteVesselPositionNaturalIdToEntity, remoteVesselPositionNaturalIdToEntity, remoteVesselPositionNaturalIdToEntityCollection, remove, toClusterVesselPosition, toClusterVesselPosition, toClusterVesselPositionArray, toClusterVesselPositionCollection, toRemoteVesselPositionFullVO, toRemoteVesselPositionFullVO, toRemoteVesselPositionFullVOArray, toRemoteVesselPositionFullVOCollection, toRemoteVesselPositionNaturalId, toRemoteVesselPositionNaturalId, toRemoteVesselPositionNaturalIdArray, toRemoteVesselPositionNaturalIdCollection, update
 

Constructor Detail

VesselExtendedPositionDaoImpl

public VesselExtendedPositionDaoImpl()
Method Detail

handleCreateFromClusterVesselExtendedPosition

protected VesselExtendedPosition handleCreateFromClusterVesselExtendedPosition(ClusterVesselExtendedPosition clusterVesselExtendedPosition)
Description copied from class: VesselExtendedPositionDaoBase
Performs the core logic for VesselExtendedPositionDaoBase.createFromClusterVesselExtendedPosition(fr.ifremer.allegro.data.vessel.position.generic.cluster.ClusterVesselExtendedPosition)

Specified by:
handleCreateFromClusterVesselExtendedPosition in class VesselExtendedPositionDaoBase
See Also:
VesselExtendedPositionDao.createFromClusterVesselExtendedPosition(fr.ifremer.allegro.data.vessel.position.generic.cluster.ClusterVesselExtendedPosition)

toRemoteVesselExtendedPositionFullVO

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

toRemoteVesselExtendedPositionFullVO

public RemoteVesselExtendedPositionFullVO toRemoteVesselExtendedPositionFullVO(VesselExtendedPosition entity)
Description copied from interface: VesselExtendedPositionDao
Converts this DAO's entity to an object of type RemoteVesselExtendedPositionFullVO.

Specified by:
toRemoteVesselExtendedPositionFullVO in interface VesselExtendedPositionDao
Overrides:
toRemoteVesselExtendedPositionFullVO in class VesselExtendedPositionDaoBase
See Also:
VesselExtendedPositionDao.toRemoteVesselExtendedPositionFullVO(fr.ifremer.allegro.data.vessel.position.VesselExtendedPosition)

remoteVesselExtendedPositionFullVOToEntity

public VesselExtendedPosition remoteVesselExtendedPositionFullVOToEntity(RemoteVesselExtendedPositionFullVO remoteVesselExtendedPositionFullVO)
Description copied from interface: VesselExtendedPositionDao
Converts an instance of type RemoteVesselExtendedPositionFullVO to this DAO's entity.

See Also:
VesselExtendedPositionDao.remoteVesselExtendedPositionFullVOToEntity(fr.ifremer.allegro.data.vessel.position.generic.vo.RemoteVesselExtendedPositionFullVO)

remoteVesselExtendedPositionFullVOToEntity

public void remoteVesselExtendedPositionFullVOToEntity(RemoteVesselExtendedPositionFullVO source,
                                                       VesselExtendedPosition target,
                                                       boolean copyIfNull)
Description copied from interface: VesselExtendedPositionDao
Copies the fields of RemoteVesselExtendedPositionFullVO to the specified entity.

Specified by:
remoteVesselExtendedPositionFullVOToEntity in interface VesselExtendedPositionDao
Overrides:
remoteVesselExtendedPositionFullVOToEntity in class VesselExtendedPositionDaoBase
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.VesselExtendedPositionDao#remoteVesselExtendedPositionFullVOToEntity(fr.ifremer.allegro.data.vessel.position.generic.vo.RemoteVesselExtendedPositionFullVO, fr.ifremer.allegro.data.vessel.position.VesselExtendedPosition)

toRemoteVesselExtendedPositionNaturalId

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

toRemoteVesselExtendedPositionNaturalId

public RemoteVesselExtendedPositionNaturalId toRemoteVesselExtendedPositionNaturalId(VesselExtendedPosition entity)
Description copied from interface: VesselExtendedPositionDao
Converts this DAO's entity to an object of type RemoteVesselExtendedPositionNaturalId.

Specified by:
toRemoteVesselExtendedPositionNaturalId in interface VesselExtendedPositionDao
Overrides:
toRemoteVesselExtendedPositionNaturalId in class VesselExtendedPositionDaoBase
See Also:
VesselExtendedPositionDao.toRemoteVesselExtendedPositionNaturalId(fr.ifremer.allegro.data.vessel.position.VesselExtendedPosition)

remoteVesselExtendedPositionNaturalIdToEntity

public VesselExtendedPosition remoteVesselExtendedPositionNaturalIdToEntity(RemoteVesselExtendedPositionNaturalId remoteVesselExtendedPositionNaturalId)
Description copied from interface: VesselExtendedPositionDao
Converts an instance of type RemoteVesselExtendedPositionNaturalId to this DAO's entity.

See Also:
VesselExtendedPositionDao.remoteVesselExtendedPositionNaturalIdToEntity(fr.ifremer.allegro.data.vessel.position.generic.vo.RemoteVesselExtendedPositionNaturalId)

remoteVesselExtendedPositionNaturalIdToEntity

public void remoteVesselExtendedPositionNaturalIdToEntity(RemoteVesselExtendedPositionNaturalId source,
                                                          VesselExtendedPosition target,
                                                          boolean copyIfNull)
Description copied from interface: VesselExtendedPositionDao
Copies the fields of RemoteVesselExtendedPositionNaturalId to the specified entity.

Specified by:
remoteVesselExtendedPositionNaturalIdToEntity in interface VesselExtendedPositionDao
Overrides:
remoteVesselExtendedPositionNaturalIdToEntity in class VesselExtendedPositionDaoBase
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.VesselExtendedPositionDao#remoteVesselExtendedPositionNaturalIdToEntity(fr.ifremer.allegro.data.vessel.position.generic.vo.RemoteVesselExtendedPositionNaturalId, fr.ifremer.allegro.data.vessel.position.VesselExtendedPosition)

toClusterVesselExtendedPosition

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

toClusterVesselExtendedPosition

public ClusterVesselExtendedPosition toClusterVesselExtendedPosition(VesselExtendedPosition entity)
Description copied from interface: VesselExtendedPositionDao
Converts this DAO's entity to an object of type ClusterVesselExtendedPosition.

Specified by:
toClusterVesselExtendedPosition in interface VesselExtendedPositionDao
Overrides:
toClusterVesselExtendedPosition in class VesselExtendedPositionDaoBase
See Also:
VesselExtendedPositionDao.toClusterVesselExtendedPosition(fr.ifremer.allegro.data.vessel.position.VesselExtendedPosition)

clusterVesselExtendedPositionToEntity

public VesselExtendedPosition clusterVesselExtendedPositionToEntity(ClusterVesselExtendedPosition clusterVesselExtendedPosition)
Description copied from interface: VesselExtendedPositionDao
Converts an instance of type ClusterVesselExtendedPosition to this DAO's entity.

See Also:
VesselExtendedPositionDao.clusterVesselExtendedPositionToEntity(fr.ifremer.allegro.data.vessel.position.generic.cluster.ClusterVesselExtendedPosition)

clusterVesselExtendedPositionToEntity

public void clusterVesselExtendedPositionToEntity(ClusterVesselExtendedPosition source,
                                                  VesselExtendedPosition target,
                                                  boolean copyIfNull)
Description copied from interface: VesselExtendedPositionDao
Copies the fields of ClusterVesselExtendedPosition to the specified entity.

Specified by:
clusterVesselExtendedPositionToEntity in interface VesselExtendedPositionDao
Overrides:
clusterVesselExtendedPositionToEntity in class VesselExtendedPositionDaoBase
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.VesselExtendedPositionDao#clusterVesselExtendedPositionToEntity(fr.ifremer.allegro.data.vessel.position.generic.cluster.ClusterVesselExtendedPosition, fr.ifremer.allegro.data.vessel.position.VesselExtendedPosition)


Copyright © 2008-2010 IFREMER. All Rights Reserved.