fr.ifremer.allegro.referential
Class VesselTypeDaoImpl

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.referential.VesselTypeDaoBase
          extended by fr.ifremer.allegro.referential.VesselTypeDaoImpl
All Implemented Interfaces:
VesselTypeDao

public class VesselTypeDaoImpl
extends VesselTypeDaoBase

See Also:
VesselType

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.VesselTypeDao
TRANSFORM_CLUSTERVESSELTYPE, TRANSFORM_NONE, TRANSFORM_REMOTEVESSELTYPEFULLVO, TRANSFORM_REMOTEVESSELTYPENATURALID
 
Constructor Summary
VesselTypeDaoImpl()
           
 
Method Summary
 VesselType clusterVesselTypeToEntity(ClusterVesselType clusterVesselType)
          Converts an instance of type ClusterVesselType to this DAO's entity.
 void clusterVesselTypeToEntity(ClusterVesselType source, VesselType target, boolean copyIfNull)
          Copies the fields of ClusterVesselType to the specified entity.
protected  VesselType handleCreateFromClusterVesselType(ClusterVesselType clusterVesselType)
          Performs the core logic for VesselTypeDaoBase.createFromClusterVesselType(fr.ifremer.allegro.referential.generic.cluster.ClusterVesselType)
protected  ClusterVesselType[] handleGetAllClusterVesselTypeSinceDateSynchro(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 VesselTypeDaoBase.getAllClusterVesselTypeSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 VesselType remoteVesselTypeFullVOToEntity(RemoteVesselTypeFullVO remoteVesselTypeFullVO)
          Converts an instance of type RemoteVesselTypeFullVO to this DAO's entity.
 void remoteVesselTypeFullVOToEntity(RemoteVesselTypeFullVO source, VesselType target, boolean copyIfNull)
          Copies the fields of RemoteVesselTypeFullVO to the specified entity.
 VesselType remoteVesselTypeNaturalIdToEntity(RemoteVesselTypeNaturalId remoteVesselTypeNaturalId)
          Converts an instance of type RemoteVesselTypeNaturalId to this DAO's entity.
 void remoteVesselTypeNaturalIdToEntity(RemoteVesselTypeNaturalId source, VesselType target, boolean copyIfNull)
          Copies the fields of RemoteVesselTypeNaturalId to the specified entity.
 ClusterVesselType toClusterVesselType(VesselType entity)
          Converts this DAO's entity to an object of type ClusterVesselType.
 void toClusterVesselType(VesselType source, ClusterVesselType target)
          Copies the fields of the specified entity to the target value object.
 RemoteVesselTypeFullVO toRemoteVesselTypeFullVO(VesselType entity)
          Converts this DAO's entity to an object of type RemoteVesselTypeFullVO.
 void toRemoteVesselTypeFullVO(VesselType source, RemoteVesselTypeFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteVesselTypeNaturalId toRemoteVesselTypeNaturalId(VesselType entity)
          Converts this DAO's entity to an object of type RemoteVesselTypeNaturalId.
 void toRemoteVesselTypeNaturalId(VesselType source, RemoteVesselTypeNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.referential.VesselTypeDaoBase
clusterVesselTypeToEntityCollection, create, create, create, create, create, create, create, create, createFromClusterVesselType, findVesselTypeById, findVesselTypeById, findVesselTypeById, findVesselTypeById, findVesselTypeByNaturalId, findVesselTypeByNaturalId, findVesselTypeByNaturalId, findVesselTypeByNaturalId, findVesselTypeByStatus, findVesselTypeByStatus, findVesselTypeByStatus, findVesselTypeByStatus, findVesselTypeByStatus, findVesselTypeByStatus, findVesselTypeByStatus, findVesselTypeByStatus, getAllClusterVesselTypeSinceDateSynchro, getAllVesselType, getAllVesselType, getAllVesselType, getAllVesselType, getAllVesselType, getAllVesselType, getAllVesselType, getAllVesselType, getAllVesselTypeSinceDateSynchro, getAllVesselTypeSinceDateSynchro, getAllVesselTypeSinceDateSynchro, getAllVesselTypeSinceDateSynchro, getAllVesselTypeSinceDateSynchro, getAllVesselTypeSinceDateSynchro, getAllVesselTypeSinceDateSynchro, getAllVesselTypeSinceDateSynchro, getPrincipal, getStatusDao, load, load, loadAll, loadAll, loadAll, loadAll, remoteVesselTypeFullVOToEntityCollection, remoteVesselTypeNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, setStatusDao, toClusterVesselType, toClusterVesselTypeArray, toClusterVesselTypeCollection, toEntity, toRemoteVesselTypeFullVO, toRemoteVesselTypeFullVOArray, toRemoteVesselTypeFullVOCollection, toRemoteVesselTypeNaturalId, toRemoteVesselTypeNaturalIdArray, toRemoteVesselTypeNaturalIdCollection, transformEntities, transformEntity, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VesselTypeDaoImpl

public VesselTypeDaoImpl()
Method Detail

handleCreateFromClusterVesselType

protected VesselType handleCreateFromClusterVesselType(ClusterVesselType clusterVesselType)
Description copied from class: VesselTypeDaoBase
Performs the core logic for VesselTypeDaoBase.createFromClusterVesselType(fr.ifremer.allegro.referential.generic.cluster.ClusterVesselType)

Specified by:
handleCreateFromClusterVesselType in class VesselTypeDaoBase
See Also:
VesselTypeDao.createFromClusterVesselType(fr.ifremer.allegro.referential.generic.cluster.ClusterVesselType)

handleGetAllClusterVesselTypeSinceDateSynchro

protected ClusterVesselType[] handleGetAllClusterVesselTypeSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                                            java.lang.Integer userId,
                                                                            java.lang.Integer[] registrationLocationIds,
                                                                            java.lang.Integer pageNumber,
                                                                            java.lang.Integer pageSize)
Description copied from class: VesselTypeDaoBase
Performs the core logic for VesselTypeDaoBase.getAllClusterVesselTypeSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Specified by:
handleGetAllClusterVesselTypeSinceDateSynchro in class VesselTypeDaoBase
See Also:
VesselTypeDao.getAllClusterVesselTypeSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

toRemoteVesselTypeFullVO

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

toRemoteVesselTypeFullVO

public RemoteVesselTypeFullVO toRemoteVesselTypeFullVO(VesselType entity)
Description copied from interface: VesselTypeDao
Converts this DAO's entity to an object of type RemoteVesselTypeFullVO.

Specified by:
toRemoteVesselTypeFullVO in interface VesselTypeDao
Overrides:
toRemoteVesselTypeFullVO in class VesselTypeDaoBase
See Also:
VesselTypeDao.toRemoteVesselTypeFullVO(fr.ifremer.allegro.referential.VesselType)

remoteVesselTypeFullVOToEntity

public VesselType remoteVesselTypeFullVOToEntity(RemoteVesselTypeFullVO remoteVesselTypeFullVO)
Description copied from interface: VesselTypeDao
Converts an instance of type RemoteVesselTypeFullVO to this DAO's entity.

See Also:
VesselTypeDao.remoteVesselTypeFullVOToEntity(fr.ifremer.allegro.referential.generic.vo.RemoteVesselTypeFullVO)

remoteVesselTypeFullVOToEntity

public void remoteVesselTypeFullVOToEntity(RemoteVesselTypeFullVO source,
                                           VesselType target,
                                           boolean copyIfNull)
Description copied from interface: VesselTypeDao
Copies the fields of RemoteVesselTypeFullVO to the specified entity.

Specified by:
remoteVesselTypeFullVOToEntity in interface VesselTypeDao
Overrides:
remoteVesselTypeFullVOToEntity in class VesselTypeDaoBase
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.VesselTypeDao#remoteVesselTypeFullVOToEntity(fr.ifremer.allegro.referential.generic.vo.RemoteVesselTypeFullVO, fr.ifremer.allegro.referential.VesselType)

toRemoteVesselTypeNaturalId

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

toRemoteVesselTypeNaturalId

public RemoteVesselTypeNaturalId toRemoteVesselTypeNaturalId(VesselType entity)
Description copied from interface: VesselTypeDao
Converts this DAO's entity to an object of type RemoteVesselTypeNaturalId.

Specified by:
toRemoteVesselTypeNaturalId in interface VesselTypeDao
Overrides:
toRemoteVesselTypeNaturalId in class VesselTypeDaoBase
See Also:
VesselTypeDao.toRemoteVesselTypeNaturalId(fr.ifremer.allegro.referential.VesselType)

remoteVesselTypeNaturalIdToEntity

public VesselType remoteVesselTypeNaturalIdToEntity(RemoteVesselTypeNaturalId remoteVesselTypeNaturalId)
Description copied from interface: VesselTypeDao
Converts an instance of type RemoteVesselTypeNaturalId to this DAO's entity.

See Also:
VesselTypeDao.remoteVesselTypeNaturalIdToEntity(fr.ifremer.allegro.referential.generic.vo.RemoteVesselTypeNaturalId)

remoteVesselTypeNaturalIdToEntity

public void remoteVesselTypeNaturalIdToEntity(RemoteVesselTypeNaturalId source,
                                              VesselType target,
                                              boolean copyIfNull)
Description copied from interface: VesselTypeDao
Copies the fields of RemoteVesselTypeNaturalId to the specified entity.

Specified by:
remoteVesselTypeNaturalIdToEntity in interface VesselTypeDao
Overrides:
remoteVesselTypeNaturalIdToEntity in class VesselTypeDaoBase
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.VesselTypeDao#remoteVesselTypeNaturalIdToEntity(fr.ifremer.allegro.referential.generic.vo.RemoteVesselTypeNaturalId, fr.ifremer.allegro.referential.VesselType)

toClusterVesselType

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

toClusterVesselType

public ClusterVesselType toClusterVesselType(VesselType entity)
Description copied from interface: VesselTypeDao
Converts this DAO's entity to an object of type ClusterVesselType.

Specified by:
toClusterVesselType in interface VesselTypeDao
Overrides:
toClusterVesselType in class VesselTypeDaoBase
See Also:
VesselTypeDao.toClusterVesselType(fr.ifremer.allegro.referential.VesselType)

clusterVesselTypeToEntity

public VesselType clusterVesselTypeToEntity(ClusterVesselType clusterVesselType)
Description copied from interface: VesselTypeDao
Converts an instance of type ClusterVesselType to this DAO's entity.

See Also:
VesselTypeDao.clusterVesselTypeToEntity(fr.ifremer.allegro.referential.generic.cluster.ClusterVesselType)

clusterVesselTypeToEntity

public void clusterVesselTypeToEntity(ClusterVesselType source,
                                      VesselType target,
                                      boolean copyIfNull)
Description copied from interface: VesselTypeDao
Copies the fields of ClusterVesselType to the specified entity.

Specified by:
clusterVesselTypeToEntity in interface VesselTypeDao
Overrides:
clusterVesselTypeToEntity in class VesselTypeDaoBase
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.VesselTypeDao#clusterVesselTypeToEntity(fr.ifremer.allegro.referential.generic.cluster.ClusterVesselType, fr.ifremer.allegro.referential.VesselType)


Copyright © 2008-2010 IFREMER. All Rights Reserved.