fr.ifremer.allegro.data.transshipment
Class TransshipmentDaoImpl

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.data.transshipment.TransshipmentDaoBase
          extended by fr.ifremer.allegro.data.transshipment.TransshipmentDaoImpl
All Implemented Interfaces:
TransshipmentDao

public class TransshipmentDaoImpl
extends TransshipmentDaoBase

See Also:
Transshipment

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.data.transshipment.TransshipmentDao
TRANSFORM_CLUSTERTRANSSHIPMENT, TRANSFORM_NONE, TRANSFORM_REMOTETRANSSHIPMENTFULLVO, TRANSFORM_REMOTETRANSSHIPMENTNATURALID
 
Constructor Summary
TransshipmentDaoImpl()
           
 
Method Summary
 Transshipment clusterTransshipmentToEntity(ClusterTransshipment clusterTransshipment)
          Converts an instance of type ClusterTransshipment to this DAO's entity.
 void clusterTransshipmentToEntity(ClusterTransshipment source, Transshipment target, boolean copyIfNull)
          Copies the fields of ClusterTransshipment to the specified entity.
protected  Transshipment handleCreateFromClusterTransshipment(ClusterTransshipment clusterTransshipment)
          Performs the core logic for TransshipmentDaoBase.createFromClusterTransshipment(fr.ifremer.allegro.data.transshipment.generic.cluster.ClusterTransshipment)
protected  ClusterTransshipment[] handleGetAllClusterTransshipmentSinceDateSynchro(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 TransshipmentDaoBase.getAllClusterTransshipmentSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 Transshipment remoteTransshipmentFullVOToEntity(RemoteTransshipmentFullVO remoteTransshipmentFullVO)
          Converts an instance of type RemoteTransshipmentFullVO to this DAO's entity.
 void remoteTransshipmentFullVOToEntity(RemoteTransshipmentFullVO source, Transshipment target, boolean copyIfNull)
          Copies the fields of RemoteTransshipmentFullVO to the specified entity.
 Transshipment remoteTransshipmentNaturalIdToEntity(RemoteTransshipmentNaturalId remoteTransshipmentNaturalId)
          Converts an instance of type RemoteTransshipmentNaturalId to this DAO's entity.
 void remoteTransshipmentNaturalIdToEntity(RemoteTransshipmentNaturalId source, Transshipment target, boolean copyIfNull)
          Copies the fields of RemoteTransshipmentNaturalId to the specified entity.
 ClusterTransshipment toClusterTransshipment(Transshipment entity)
          Converts this DAO's entity to an object of type ClusterTransshipment.
 void toClusterTransshipment(Transshipment source, ClusterTransshipment target)
          Copies the fields of the specified entity to the target value object.
 RemoteTransshipmentFullVO toRemoteTransshipmentFullVO(Transshipment entity)
          Converts this DAO's entity to an object of type RemoteTransshipmentFullVO.
 void toRemoteTransshipmentFullVO(Transshipment source, RemoteTransshipmentFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteTransshipmentNaturalId toRemoteTransshipmentNaturalId(Transshipment entity)
          Converts this DAO's entity to an object of type RemoteTransshipmentNaturalId.
 void toRemoteTransshipmentNaturalId(Transshipment source, RemoteTransshipmentNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.data.transshipment.TransshipmentDaoBase
clusterTransshipmentToEntityCollection, create, create, create, create, create, create, create, create, createFromClusterTransshipment, findTransshipmentByFishingTrip, findTransshipmentByFishingTrip, findTransshipmentByFishingTrip, findTransshipmentByFishingTrip, findTransshipmentByFishingTrip, findTransshipmentByFishingTrip, findTransshipmentByFishingTrip, findTransshipmentByFishingTrip, findTransshipmentById, findTransshipmentById, findTransshipmentById, findTransshipmentById, findTransshipmentByNaturalId, findTransshipmentByNaturalId, findTransshipmentByNaturalId, findTransshipmentByNaturalId, findTransshipmentByProgram, findTransshipmentByProgram, findTransshipmentByProgram, findTransshipmentByProgram, findTransshipmentByProgram, findTransshipmentByProgram, findTransshipmentByProgram, findTransshipmentByProgram, findTransshipmentByRecorderDepartment, findTransshipmentByRecorderDepartment, findTransshipmentByRecorderDepartment, findTransshipmentByRecorderDepartment, findTransshipmentByRecorderDepartment, findTransshipmentByRecorderDepartment, findTransshipmentByRecorderDepartment, findTransshipmentByRecorderDepartment, findTransshipmentByRecorderUser, findTransshipmentByRecorderUser, findTransshipmentByRecorderUser, findTransshipmentByRecorderUser, findTransshipmentByRecorderUser, findTransshipmentByRecorderUser, findTransshipmentByRecorderUser, findTransshipmentByRecorderUser, findTransshipmentBySurveyQualification, findTransshipmentBySurveyQualification, findTransshipmentBySurveyQualification, findTransshipmentBySurveyQualification, findTransshipmentBySurveyQualification, findTransshipmentBySurveyQualification, findTransshipmentBySurveyQualification, findTransshipmentBySurveyQualification, findTransshipmentByToVessel, findTransshipmentByToVessel, findTransshipmentByToVessel, findTransshipmentByToVessel, findTransshipmentByToVessel, findTransshipmentByToVessel, findTransshipmentByToVessel, findTransshipmentByToVessel, findTransshipmentByTransshipmentLocation, findTransshipmentByTransshipmentLocation, findTransshipmentByTransshipmentLocation, findTransshipmentByTransshipmentLocation, findTransshipmentByTransshipmentLocation, findTransshipmentByTransshipmentLocation, findTransshipmentByTransshipmentLocation, findTransshipmentByTransshipmentLocation, getAllClusterTransshipmentSinceDateSynchro, getAllTransshipment, getAllTransshipment, getAllTransshipment, getAllTransshipment, getAllTransshipment, getAllTransshipment, getAllTransshipment, getAllTransshipment, getAllTransshipmentSinceDateSynchro, getAllTransshipmentSinceDateSynchro, getAllTransshipmentSinceDateSynchro, getAllTransshipmentSinceDateSynchro, getAllTransshipmentSinceDateSynchro, getAllTransshipmentSinceDateSynchro, getAllTransshipmentSinceDateSynchro, getAllTransshipmentSinceDateSynchro, getDepartmentDao, getFishingTripDao, getLocationDao, getPrincipal, getProduceDao, getProgramDao, getSurveyQualificationDao, getUserDao, getVesselDao, load, load, loadAll, loadAll, loadAll, loadAll, remoteTransshipmentFullVOToEntityCollection, remoteTransshipmentNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, setDepartmentDao, setFishingTripDao, setLocationDao, setProduceDao, setProgramDao, setSurveyQualificationDao, setUserDao, setVesselDao, toClusterTransshipment, toClusterTransshipmentArray, toClusterTransshipmentCollection, toEntity, toRemoteTransshipmentFullVO, toRemoteTransshipmentFullVOArray, toRemoteTransshipmentFullVOCollection, toRemoteTransshipmentNaturalId, toRemoteTransshipmentNaturalIdArray, toRemoteTransshipmentNaturalIdCollection, transformEntities, transformEntity, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransshipmentDaoImpl

public TransshipmentDaoImpl()
Method Detail

handleCreateFromClusterTransshipment

protected Transshipment handleCreateFromClusterTransshipment(ClusterTransshipment clusterTransshipment)
Description copied from class: TransshipmentDaoBase
Performs the core logic for TransshipmentDaoBase.createFromClusterTransshipment(fr.ifremer.allegro.data.transshipment.generic.cluster.ClusterTransshipment)

Specified by:
handleCreateFromClusterTransshipment in class TransshipmentDaoBase
See Also:
TransshipmentDao.createFromClusterTransshipment(fr.ifremer.allegro.data.transshipment.generic.cluster.ClusterTransshipment)

handleGetAllClusterTransshipmentSinceDateSynchro

protected ClusterTransshipment[] handleGetAllClusterTransshipmentSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                                                  java.lang.Integer userId,
                                                                                  java.lang.Integer[] registrationLocationIds,
                                                                                  java.lang.Integer pageNumber,
                                                                                  java.lang.Integer pageSize)
Description copied from class: TransshipmentDaoBase
Performs the core logic for TransshipmentDaoBase.getAllClusterTransshipmentSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Specified by:
handleGetAllClusterTransshipmentSinceDateSynchro in class TransshipmentDaoBase
See Also:
TransshipmentDao.getAllClusterTransshipmentSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

toRemoteTransshipmentFullVO

public void toRemoteTransshipmentFullVO(Transshipment source,
                                        RemoteTransshipmentFullVO target)
Description copied from interface: TransshipmentDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteTransshipmentFullVO(), 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:
toRemoteTransshipmentFullVO in interface TransshipmentDao
Overrides:
toRemoteTransshipmentFullVO in class TransshipmentDaoBase
See Also:
TransshipmentDao.toRemoteTransshipmentFullVO(fr.ifremer.allegro.data.transshipment.Transshipment, fr.ifremer.allegro.data.transshipment.generic.vo.RemoteTransshipmentFullVO)

toRemoteTransshipmentFullVO

public RemoteTransshipmentFullVO toRemoteTransshipmentFullVO(Transshipment entity)
Description copied from interface: TransshipmentDao
Converts this DAO's entity to an object of type RemoteTransshipmentFullVO.

Specified by:
toRemoteTransshipmentFullVO in interface TransshipmentDao
Overrides:
toRemoteTransshipmentFullVO in class TransshipmentDaoBase
See Also:
TransshipmentDao.toRemoteTransshipmentFullVO(fr.ifremer.allegro.data.transshipment.Transshipment)

remoteTransshipmentFullVOToEntity

public Transshipment remoteTransshipmentFullVOToEntity(RemoteTransshipmentFullVO remoteTransshipmentFullVO)
Description copied from interface: TransshipmentDao
Converts an instance of type RemoteTransshipmentFullVO to this DAO's entity.

See Also:
TransshipmentDao.remoteTransshipmentFullVOToEntity(fr.ifremer.allegro.data.transshipment.generic.vo.RemoteTransshipmentFullVO)

remoteTransshipmentFullVOToEntity

public void remoteTransshipmentFullVOToEntity(RemoteTransshipmentFullVO source,
                                              Transshipment target,
                                              boolean copyIfNull)
Description copied from interface: TransshipmentDao
Copies the fields of RemoteTransshipmentFullVO to the specified entity.

Specified by:
remoteTransshipmentFullVOToEntity in interface TransshipmentDao
Overrides:
remoteTransshipmentFullVOToEntity in class TransshipmentDaoBase
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.transshipment.TransshipmentDao#remoteTransshipmentFullVOToEntity(fr.ifremer.allegro.data.transshipment.generic.vo.RemoteTransshipmentFullVO, fr.ifremer.allegro.data.transshipment.Transshipment)

toRemoteTransshipmentNaturalId

public void toRemoteTransshipmentNaturalId(Transshipment source,
                                           RemoteTransshipmentNaturalId target)
Description copied from interface: TransshipmentDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteTransshipmentNaturalId(), 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:
toRemoteTransshipmentNaturalId in interface TransshipmentDao
Overrides:
toRemoteTransshipmentNaturalId in class TransshipmentDaoBase
See Also:
TransshipmentDao.toRemoteTransshipmentNaturalId(fr.ifremer.allegro.data.transshipment.Transshipment, fr.ifremer.allegro.data.transshipment.generic.vo.RemoteTransshipmentNaturalId)

toRemoteTransshipmentNaturalId

public RemoteTransshipmentNaturalId toRemoteTransshipmentNaturalId(Transshipment entity)
Description copied from interface: TransshipmentDao
Converts this DAO's entity to an object of type RemoteTransshipmentNaturalId.

Specified by:
toRemoteTransshipmentNaturalId in interface TransshipmentDao
Overrides:
toRemoteTransshipmentNaturalId in class TransshipmentDaoBase
See Also:
TransshipmentDao.toRemoteTransshipmentNaturalId(fr.ifremer.allegro.data.transshipment.Transshipment)

remoteTransshipmentNaturalIdToEntity

public Transshipment remoteTransshipmentNaturalIdToEntity(RemoteTransshipmentNaturalId remoteTransshipmentNaturalId)
Description copied from interface: TransshipmentDao
Converts an instance of type RemoteTransshipmentNaturalId to this DAO's entity.

See Also:
TransshipmentDao.remoteTransshipmentNaturalIdToEntity(fr.ifremer.allegro.data.transshipment.generic.vo.RemoteTransshipmentNaturalId)

remoteTransshipmentNaturalIdToEntity

public void remoteTransshipmentNaturalIdToEntity(RemoteTransshipmentNaturalId source,
                                                 Transshipment target,
                                                 boolean copyIfNull)
Description copied from interface: TransshipmentDao
Copies the fields of RemoteTransshipmentNaturalId to the specified entity.

Specified by:
remoteTransshipmentNaturalIdToEntity in interface TransshipmentDao
Overrides:
remoteTransshipmentNaturalIdToEntity in class TransshipmentDaoBase
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.transshipment.TransshipmentDao#remoteTransshipmentNaturalIdToEntity(fr.ifremer.allegro.data.transshipment.generic.vo.RemoteTransshipmentNaturalId, fr.ifremer.allegro.data.transshipment.Transshipment)

toClusterTransshipment

public void toClusterTransshipment(Transshipment source,
                                   ClusterTransshipment target)
Description copied from interface: TransshipmentDao
Copies the fields of the specified entity to the target value object. This method is similar to toClusterTransshipment(), 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:
toClusterTransshipment in interface TransshipmentDao
Overrides:
toClusterTransshipment in class TransshipmentDaoBase
See Also:
TransshipmentDao.toClusterTransshipment(fr.ifremer.allegro.data.transshipment.Transshipment, fr.ifremer.allegro.data.transshipment.generic.cluster.ClusterTransshipment)

toClusterTransshipment

public ClusterTransshipment toClusterTransshipment(Transshipment entity)
Description copied from interface: TransshipmentDao
Converts this DAO's entity to an object of type ClusterTransshipment.

Specified by:
toClusterTransshipment in interface TransshipmentDao
Overrides:
toClusterTransshipment in class TransshipmentDaoBase
See Also:
TransshipmentDao.toClusterTransshipment(fr.ifremer.allegro.data.transshipment.Transshipment)

clusterTransshipmentToEntity

public Transshipment clusterTransshipmentToEntity(ClusterTransshipment clusterTransshipment)
Description copied from interface: TransshipmentDao
Converts an instance of type ClusterTransshipment to this DAO's entity.

See Also:
TransshipmentDao.clusterTransshipmentToEntity(fr.ifremer.allegro.data.transshipment.generic.cluster.ClusterTransshipment)

clusterTransshipmentToEntity

public void clusterTransshipmentToEntity(ClusterTransshipment source,
                                         Transshipment target,
                                         boolean copyIfNull)
Description copied from interface: TransshipmentDao
Copies the fields of ClusterTransshipment to the specified entity.

Specified by:
clusterTransshipmentToEntity in interface TransshipmentDao
Overrides:
clusterTransshipmentToEntity in class TransshipmentDaoBase
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.transshipment.TransshipmentDao#clusterTransshipmentToEntity(fr.ifremer.allegro.data.transshipment.generic.cluster.ClusterTransshipment, fr.ifremer.allegro.data.transshipment.Transshipment)


Copyright © 2008-2010 IFREMER. All Rights Reserved.