fr.ifremer.allegro.referential.vessel
Class VesselGroupDaoImpl

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.VesselGroupDaoBase
                  extended by fr.ifremer.allegro.referential.vessel.VesselGroupDaoImpl
All Implemented Interfaces:
VesselDao, VesselGroupDao

public class VesselGroupDaoImpl
extends VesselGroupDaoBase

See Also:
VesselGroup

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.vessel.VesselGroupDao
TRANSFORM_CLUSTERVESSELGROUP, TRANSFORM_REMOTEVESSELGROUPFULLVO, TRANSFORM_REMOTEVESSELGROUPNATURALID
 
Fields inherited from interface fr.ifremer.allegro.referential.vessel.VesselDao
TRANSFORM_CLUSTERVESSEL, TRANSFORM_NONE, TRANSFORM_REMOTEVESSELFULLVO, TRANSFORM_REMOTEVESSELNATURALID
 
Constructor Summary
VesselGroupDaoImpl()
           
 
Method Summary
 VesselGroup clusterVesselGroupToEntity(ClusterVesselGroup clusterVesselGroup)
          Converts an instance of type ClusterVesselGroup to this DAO's entity.
 void clusterVesselGroupToEntity(ClusterVesselGroup source, VesselGroup target, boolean copyIfNull)
          Copies the fields of ClusterVesselGroup to the specified entity.
protected  VesselGroup handleCreateFromClusterVesselGroup(ClusterVesselGroup clusterVesselGroup)
          Performs the core logic for VesselGroupDaoBase.createFromClusterVesselGroup(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterVesselGroup)
protected  ClusterVesselGroup[] handleGetAllClusterVesselGroupSinceDateSynchro(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 VesselGroupDaoBase.getAllClusterVesselGroupSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 VesselGroup remoteVesselGroupFullVOToEntity(RemoteVesselGroupFullVO remoteVesselGroupFullVO)
          Converts an instance of type RemoteVesselGroupFullVO to this DAO's entity.
 void remoteVesselGroupFullVOToEntity(RemoteVesselGroupFullVO source, VesselGroup target, boolean copyIfNull)
          Copies the fields of RemoteVesselGroupFullVO to the specified entity.
 VesselGroup remoteVesselGroupNaturalIdToEntity(RemoteVesselGroupNaturalId remoteVesselGroupNaturalId)
          Converts an instance of type RemoteVesselGroupNaturalId to this DAO's entity.
 void remoteVesselGroupNaturalIdToEntity(RemoteVesselGroupNaturalId source, VesselGroup target, boolean copyIfNull)
          Copies the fields of RemoteVesselGroupNaturalId to the specified entity.
 ClusterVesselGroup toClusterVesselGroup(VesselGroup entity)
          Converts this DAO's entity to an object of type ClusterVesselGroup.
 void toClusterVesselGroup(VesselGroup source, ClusterVesselGroup target)
          Copies the fields of the specified entity to the target value object.
 RemoteVesselGroupFullVO toRemoteVesselGroupFullVO(VesselGroup entity)
          Converts this DAO's entity to an object of type RemoteVesselGroupFullVO.
 void toRemoteVesselGroupFullVO(VesselGroup source, RemoteVesselGroupFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteVesselGroupNaturalId toRemoteVesselGroupNaturalId(VesselGroup entity)
          Converts this DAO's entity to an object of type RemoteVesselGroupNaturalId.
 void toRemoteVesselGroupNaturalId(VesselGroup source, RemoteVesselGroupNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.referential.vessel.VesselGroupDaoBase
clusterVesselGroupToEntityCollection, create, create, create, create, create, create, create, create, createFromClusterVesselGroup, findVesselByCode, findVesselByCode, findVesselByCode, findVesselByCode, findVesselByNaturalId, findVesselByNaturalId, findVesselByNaturalId, findVesselByNaturalId, findVesselByStatus, findVesselByStatus, findVesselByStatus, findVesselByStatus, findVesselByStatus, findVesselByStatus, findVesselByStatus, findVesselByStatus, findVesselByVesselType, findVesselByVesselType, findVesselByVesselType, findVesselByVesselType, findVesselByVesselType, findVesselByVesselType, findVesselByVesselType, findVesselByVesselType, findVesselGroupByCode, findVesselGroupByCode, findVesselGroupByCode, findVesselGroupByCode, findVesselGroupByNaturalId, findVesselGroupByNaturalId, findVesselGroupByNaturalId, findVesselGroupByNaturalId, findVesselGroupByStatus, findVesselGroupByStatus, findVesselGroupByStatus, findVesselGroupByStatus, findVesselGroupByStatus, findVesselGroupByStatus, findVesselGroupByStatus, findVesselGroupByStatus, findVesselGroupByVesselType, findVesselGroupByVesselType, findVesselGroupByVesselType, findVesselGroupByVesselType, findVesselGroupByVesselType, findVesselGroupByVesselType, findVesselGroupByVesselType, findVesselGroupByVesselType, getAllClusterVesselGroupSinceDateSynchro, getAllVessel, getAllVessel, getAllVessel, getAllVessel, getAllVessel, getAllVessel, getAllVessel, getAllVessel, getAllVesselGroup, getAllVesselGroup, getAllVesselGroup, getAllVesselGroup, getAllVesselGroup, getAllVesselGroup, getAllVesselGroup, getAllVesselGroup, getAllVesselGroupSinceDateSynchro, getAllVesselGroupSinceDateSynchro, getAllVesselGroupSinceDateSynchro, getAllVesselGroupSinceDateSynchro, getAllVesselGroupSinceDateSynchro, getAllVesselGroupSinceDateSynchro, getAllVesselGroupSinceDateSynchro, getAllVesselGroupSinceDateSynchro, getAllVesselSinceDateSynchro, getAllVesselSinceDateSynchro, getAllVesselSinceDateSynchro, getAllVesselSinceDateSynchro, getAllVesselSinceDateSynchro, getAllVesselSinceDateSynchro, getAllVesselSinceDateSynchro, getAllVesselSinceDateSynchro, getPrincipal, load, load, loadAll, loadAll, loadAll, loadAll, remoteVesselGroupFullVOToEntityCollection, remoteVesselGroupNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, toClusterVesselGroup, toClusterVesselGroupArray, toClusterVesselGroupCollection, toEntity, toRemoteVesselGroupFullVO, toRemoteVesselGroupFullVOArray, toRemoteVesselGroupFullVOCollection, toRemoteVesselGroupNaturalId, toRemoteVesselGroupNaturalIdArray, toRemoteVesselGroupNaturalIdCollection, 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

VesselGroupDaoImpl

public VesselGroupDaoImpl()
Method Detail

handleCreateFromClusterVesselGroup

protected VesselGroup handleCreateFromClusterVesselGroup(ClusterVesselGroup clusterVesselGroup)
Description copied from class: VesselGroupDaoBase
Performs the core logic for VesselGroupDaoBase.createFromClusterVesselGroup(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterVesselGroup)

Specified by:
handleCreateFromClusterVesselGroup in class VesselGroupDaoBase
See Also:
VesselGroupDao.createFromClusterVesselGroup(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterVesselGroup)

handleGetAllClusterVesselGroupSinceDateSynchro

protected ClusterVesselGroup[] handleGetAllClusterVesselGroupSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                                              java.lang.Integer userId,
                                                                              java.lang.Integer[] registrationLocationIds,
                                                                              java.lang.Integer pageNumber,
                                                                              java.lang.Integer pageSize)
Description copied from class: VesselGroupDaoBase
Performs the core logic for VesselGroupDaoBase.getAllClusterVesselGroupSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Specified by:
handleGetAllClusterVesselGroupSinceDateSynchro in class VesselGroupDaoBase
See Also:
VesselGroupDao.getAllClusterVesselGroupSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

toRemoteVesselGroupFullVO

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

toRemoteVesselGroupFullVO

public RemoteVesselGroupFullVO toRemoteVesselGroupFullVO(VesselGroup entity)
Description copied from interface: VesselGroupDao
Converts this DAO's entity to an object of type RemoteVesselGroupFullVO.

Specified by:
toRemoteVesselGroupFullVO in interface VesselGroupDao
Overrides:
toRemoteVesselGroupFullVO in class VesselGroupDaoBase
See Also:
VesselGroupDao.toRemoteVesselGroupFullVO(fr.ifremer.allegro.referential.vessel.VesselGroup)

remoteVesselGroupFullVOToEntity

public VesselGroup remoteVesselGroupFullVOToEntity(RemoteVesselGroupFullVO remoteVesselGroupFullVO)
Description copied from interface: VesselGroupDao
Converts an instance of type RemoteVesselGroupFullVO to this DAO's entity.

See Also:
VesselGroupDao.remoteVesselGroupFullVOToEntity(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselGroupFullVO)

remoteVesselGroupFullVOToEntity

public void remoteVesselGroupFullVOToEntity(RemoteVesselGroupFullVO source,
                                            VesselGroup target,
                                            boolean copyIfNull)
Description copied from interface: VesselGroupDao
Copies the fields of RemoteVesselGroupFullVO to the specified entity.

Specified by:
remoteVesselGroupFullVOToEntity in interface VesselGroupDao
Overrides:
remoteVesselGroupFullVOToEntity in class VesselGroupDaoBase
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.VesselGroupDao#remoteVesselGroupFullVOToEntity(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselGroupFullVO, fr.ifremer.allegro.referential.vessel.VesselGroup)

toRemoteVesselGroupNaturalId

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

toRemoteVesselGroupNaturalId

public RemoteVesselGroupNaturalId toRemoteVesselGroupNaturalId(VesselGroup entity)
Description copied from interface: VesselGroupDao
Converts this DAO's entity to an object of type RemoteVesselGroupNaturalId.

Specified by:
toRemoteVesselGroupNaturalId in interface VesselGroupDao
Overrides:
toRemoteVesselGroupNaturalId in class VesselGroupDaoBase
See Also:
VesselGroupDao.toRemoteVesselGroupNaturalId(fr.ifremer.allegro.referential.vessel.VesselGroup)

remoteVesselGroupNaturalIdToEntity

public VesselGroup remoteVesselGroupNaturalIdToEntity(RemoteVesselGroupNaturalId remoteVesselGroupNaturalId)
Description copied from interface: VesselGroupDao
Converts an instance of type RemoteVesselGroupNaturalId to this DAO's entity.

See Also:
VesselGroupDao.remoteVesselGroupNaturalIdToEntity(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselGroupNaturalId)

remoteVesselGroupNaturalIdToEntity

public void remoteVesselGroupNaturalIdToEntity(RemoteVesselGroupNaturalId source,
                                               VesselGroup target,
                                               boolean copyIfNull)
Description copied from interface: VesselGroupDao
Copies the fields of RemoteVesselGroupNaturalId to the specified entity.

Specified by:
remoteVesselGroupNaturalIdToEntity in interface VesselGroupDao
Overrides:
remoteVesselGroupNaturalIdToEntity in class VesselGroupDaoBase
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.VesselGroupDao#remoteVesselGroupNaturalIdToEntity(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselGroupNaturalId, fr.ifremer.allegro.referential.vessel.VesselGroup)

toClusterVesselGroup

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

toClusterVesselGroup

public ClusterVesselGroup toClusterVesselGroup(VesselGroup entity)
Description copied from interface: VesselGroupDao
Converts this DAO's entity to an object of type ClusterVesselGroup.

Specified by:
toClusterVesselGroup in interface VesselGroupDao
Overrides:
toClusterVesselGroup in class VesselGroupDaoBase
See Also:
VesselGroupDao.toClusterVesselGroup(fr.ifremer.allegro.referential.vessel.VesselGroup)

clusterVesselGroupToEntity

public VesselGroup clusterVesselGroupToEntity(ClusterVesselGroup clusterVesselGroup)
Description copied from interface: VesselGroupDao
Converts an instance of type ClusterVesselGroup to this DAO's entity.

See Also:
VesselGroupDao.clusterVesselGroupToEntity(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterVesselGroup)

clusterVesselGroupToEntity

public void clusterVesselGroupToEntity(ClusterVesselGroup source,
                                       VesselGroup target,
                                       boolean copyIfNull)
Description copied from interface: VesselGroupDao
Copies the fields of ClusterVesselGroup to the specified entity.

Specified by:
clusterVesselGroupToEntity in interface VesselGroupDao
Overrides:
clusterVesselGroupToEntity in class VesselGroupDaoBase
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.VesselGroupDao#clusterVesselGroupToEntity(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterVesselGroup, fr.ifremer.allegro.referential.vessel.VesselGroup)


Copyright © 2008-2010 IFREMER. All Rights Reserved.