fr.ifremer.allegro.data.survey.fishingTrip
Class FishingTripDaoImpl

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.data.survey.fishingTrip.FishingTripDaoBase
          extended by fr.ifremer.allegro.data.survey.fishingTrip.FishingTripDaoImpl
All Implemented Interfaces:
FishingTripDao
Direct Known Subclasses:
ObservedFishingTripDaoBase

public class FishingTripDaoImpl
extends FishingTripDaoBase

See Also:
FishingTrip

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.data.survey.fishingTrip.FishingTripDao
TRANSFORM_CLUSTERFISHINGTRIP, TRANSFORM_NONE, TRANSFORM_REMOTEFISHINGTRIPFULLVO, TRANSFORM_REMOTEFISHINGTRIPNATURALID
 
Constructor Summary
FishingTripDaoImpl()
           
 
Method Summary
 FishingTrip clusterFishingTripToEntity(ClusterFishingTrip clusterFishingTrip)
          Converts an instance of type ClusterFishingTrip to this DAO's entity.
 void clusterFishingTripToEntity(ClusterFishingTrip source, FishingTrip target, boolean copyIfNull)
          Copies the fields of ClusterFishingTrip to the specified entity.
protected  FishingTrip handleCreateFromClusterFishingTrip(ClusterFishingTrip clusterFishingTrip)
          Performs the core logic for FishingTripDaoBase.createFromClusterFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.generic.cluster.ClusterFishingTrip)
protected  ClusterFishingTrip[] handleGetAllClusterFishingTripSinceDateSynchro(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 FishingTripDaoBase.getAllClusterFishingTripSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 FishingTrip remoteFishingTripFullVOToEntity(RemoteFishingTripFullVO remoteFishingTripFullVO)
          Converts an instance of type RemoteFishingTripFullVO to this DAO's entity.
 void remoteFishingTripFullVOToEntity(RemoteFishingTripFullVO source, FishingTrip target, boolean copyIfNull)
          Copies the fields of RemoteFishingTripFullVO to the specified entity.
 FishingTrip remoteFishingTripNaturalIdToEntity(RemoteFishingTripNaturalId remoteFishingTripNaturalId)
          Converts an instance of type RemoteFishingTripNaturalId to this DAO's entity.
 void remoteFishingTripNaturalIdToEntity(RemoteFishingTripNaturalId source, FishingTrip target, boolean copyIfNull)
          Copies the fields of RemoteFishingTripNaturalId to the specified entity.
 ClusterFishingTrip toClusterFishingTrip(FishingTrip entity)
          Converts this DAO's entity to an object of type ClusterFishingTrip.
 void toClusterFishingTrip(FishingTrip source, ClusterFishingTrip target)
          Copies the fields of the specified entity to the target value object.
 RemoteFishingTripFullVO toRemoteFishingTripFullVO(FishingTrip entity)
          Converts this DAO's entity to an object of type RemoteFishingTripFullVO.
 void toRemoteFishingTripFullVO(FishingTrip source, RemoteFishingTripFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteFishingTripNaturalId toRemoteFishingTripNaturalId(FishingTrip entity)
          Converts this DAO's entity to an object of type RemoteFishingTripNaturalId.
 void toRemoteFishingTripNaturalId(FishingTrip source, RemoteFishingTripNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.data.survey.fishingTrip.FishingTripDaoBase
clusterFishingTripToEntityCollection, create, create, create, create, create, create, create, create, createFromClusterFishingTrip, findFishingTripByDeclaredDocumentReference, findFishingTripByDeclaredDocumentReference, findFishingTripByDeclaredDocumentReference, findFishingTripByDeclaredDocumentReference, findFishingTripByDeclaredDocumentReference, findFishingTripByDeclaredDocumentReference, findFishingTripByDeclaredDocumentReference, findFishingTripByDeclaredDocumentReference, findFishingTripByDepartureLocation, findFishingTripByDepartureLocation, findFishingTripByDepartureLocation, findFishingTripByDepartureLocation, findFishingTripByDepartureLocation, findFishingTripByDepartureLocation, findFishingTripByDepartureLocation, findFishingTripByDepartureLocation, findFishingTripById, findFishingTripById, findFishingTripById, findFishingTripById, findFishingTripByNaturalId, findFishingTripByNaturalId, findFishingTripByNaturalId, findFishingTripByNaturalId, findFishingTripByProgram, findFishingTripByProgram, findFishingTripByProgram, findFishingTripByProgram, findFishingTripByProgram, findFishingTripByProgram, findFishingTripByProgram, findFishingTripByProgram, findFishingTripByQualityFlag, findFishingTripByQualityFlag, findFishingTripByQualityFlag, findFishingTripByQualityFlag, findFishingTripByQualityFlag, findFishingTripByQualityFlag, findFishingTripByQualityFlag, findFishingTripByQualityFlag, findFishingTripByRecorderDepartment, findFishingTripByRecorderDepartment, findFishingTripByRecorderDepartment, findFishingTripByRecorderDepartment, findFishingTripByRecorderDepartment, findFishingTripByRecorderDepartment, findFishingTripByRecorderDepartment, findFishingTripByRecorderDepartment, findFishingTripByRecorderPerson, findFishingTripByRecorderPerson, findFishingTripByRecorderPerson, findFishingTripByRecorderPerson, findFishingTripByRecorderPerson, findFishingTripByRecorderPerson, findFishingTripByRecorderPerson, findFishingTripByRecorderPerson, findFishingTripByReturnLocation, findFishingTripByReturnLocation, findFishingTripByReturnLocation, findFishingTripByReturnLocation, findFishingTripByReturnLocation, findFishingTripByReturnLocation, findFishingTripByReturnLocation, findFishingTripByReturnLocation, findFishingTripByScientificCruise, findFishingTripByScientificCruise, findFishingTripByScientificCruise, findFishingTripByScientificCruise, findFishingTripByScientificCruise, findFishingTripByScientificCruise, findFishingTripByScientificCruise, findFishingTripByScientificCruise, findFishingTripByVessel, findFishingTripByVessel, findFishingTripByVessel, findFishingTripByVessel, findFishingTripByVessel, findFishingTripByVessel, findFishingTripByVessel, findFishingTripByVessel, getAllClusterFishingTripSinceDateSynchro, getAllFishingTrip, getAllFishingTrip, getAllFishingTrip, getAllFishingTrip, getAllFishingTrip, getAllFishingTrip, getAllFishingTrip, getAllFishingTrip, getAllFishingTripSinceDateSynchro, getAllFishingTripSinceDateSynchro, getAllFishingTripSinceDateSynchro, getAllFishingTripSinceDateSynchro, getAllFishingTripSinceDateSynchro, getAllFishingTripSinceDateSynchro, getAllFishingTripSinceDateSynchro, getAllFishingTripSinceDateSynchro, getDeclaredDocumentReferenceDao, getDepartmentDao, getFishingOperationDao, getFishingTripOriginDao, getGearPhysicalFeaturesDao, getLandingDao, getLocationDao, getObservedLandingDao, getObservedSaleDao, getOperationDao, getPersonDao, getPrincipal, getProgramDao, getQualityFlagDao, getSaleDao, getScientificCruiseDao, getSurveyMeasurementDao, getTransshipmentDao, getVesselDao, getVesselUseFeaturesDao, load, load, loadAll, loadAll, loadAll, loadAll, remoteFishingTripFullVOToEntityCollection, remoteFishingTripNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, setDeclaredDocumentReferenceDao, setDepartmentDao, setFishingOperationDao, setFishingTripOriginDao, setGearPhysicalFeaturesDao, setLandingDao, setLocationDao, setObservedLandingDao, setObservedSaleDao, setOperationDao, setPersonDao, setProgramDao, setQualityFlagDao, setSaleDao, setScientificCruiseDao, setSurveyMeasurementDao, setTransshipmentDao, setVesselDao, setVesselUseFeaturesDao, toClusterFishingTrip, toClusterFishingTripArray, toClusterFishingTripCollection, toEntity, toRemoteFishingTripFullVO, toRemoteFishingTripFullVOArray, toRemoteFishingTripFullVOCollection, toRemoteFishingTripNaturalId, toRemoteFishingTripNaturalIdArray, toRemoteFishingTripNaturalIdCollection, transformEntities, transformEntity, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FishingTripDaoImpl

public FishingTripDaoImpl()
Method Detail

handleCreateFromClusterFishingTrip

protected FishingTrip handleCreateFromClusterFishingTrip(ClusterFishingTrip clusterFishingTrip)
Description copied from class: FishingTripDaoBase
Performs the core logic for FishingTripDaoBase.createFromClusterFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.generic.cluster.ClusterFishingTrip)

Specified by:
handleCreateFromClusterFishingTrip in class FishingTripDaoBase
See Also:
FishingTripDao.createFromClusterFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.generic.cluster.ClusterFishingTrip)

handleGetAllClusterFishingTripSinceDateSynchro

protected ClusterFishingTrip[] handleGetAllClusterFishingTripSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                                              java.lang.Integer userId,
                                                                              java.lang.Integer[] registrationLocationIds,
                                                                              java.lang.Integer pageNumber,
                                                                              java.lang.Integer pageSize)
Description copied from class: FishingTripDaoBase
Performs the core logic for FishingTripDaoBase.getAllClusterFishingTripSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Specified by:
handleGetAllClusterFishingTripSinceDateSynchro in class FishingTripDaoBase
See Also:
FishingTripDao.getAllClusterFishingTripSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

toRemoteFishingTripFullVO

public void toRemoteFishingTripFullVO(FishingTrip source,
                                      RemoteFishingTripFullVO target)
Description copied from interface: FishingTripDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteFishingTripFullVO(), 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:
toRemoteFishingTripFullVO in interface FishingTripDao
Overrides:
toRemoteFishingTripFullVO in class FishingTripDaoBase
See Also:
FishingTripDao.toRemoteFishingTripFullVO(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip, fr.ifremer.allegro.data.survey.fishingTrip.generic.vo.RemoteFishingTripFullVO)

toRemoteFishingTripFullVO

public RemoteFishingTripFullVO toRemoteFishingTripFullVO(FishingTrip entity)
Description copied from interface: FishingTripDao
Converts this DAO's entity to an object of type RemoteFishingTripFullVO.

Specified by:
toRemoteFishingTripFullVO in interface FishingTripDao
Overrides:
toRemoteFishingTripFullVO in class FishingTripDaoBase
See Also:
FishingTripDao.toRemoteFishingTripFullVO(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)

remoteFishingTripFullVOToEntity

public FishingTrip remoteFishingTripFullVOToEntity(RemoteFishingTripFullVO remoteFishingTripFullVO)
Description copied from interface: FishingTripDao
Converts an instance of type RemoteFishingTripFullVO to this DAO's entity.

See Also:
FishingTripDao.remoteFishingTripFullVOToEntity(fr.ifremer.allegro.data.survey.fishingTrip.generic.vo.RemoteFishingTripFullVO)

remoteFishingTripFullVOToEntity

public void remoteFishingTripFullVOToEntity(RemoteFishingTripFullVO source,
                                            FishingTrip target,
                                            boolean copyIfNull)
Description copied from interface: FishingTripDao
Copies the fields of RemoteFishingTripFullVO to the specified entity.

Specified by:
remoteFishingTripFullVOToEntity in interface FishingTripDao
Overrides:
remoteFishingTripFullVOToEntity in class FishingTripDaoBase
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.survey.fishingTrip.FishingTripDao#remoteFishingTripFullVOToEntity(fr.ifremer.allegro.data.survey.fishingTrip.generic.vo.RemoteFishingTripFullVO, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)

toRemoteFishingTripNaturalId

public void toRemoteFishingTripNaturalId(FishingTrip source,
                                         RemoteFishingTripNaturalId target)
Description copied from interface: FishingTripDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteFishingTripNaturalId(), 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:
toRemoteFishingTripNaturalId in interface FishingTripDao
Overrides:
toRemoteFishingTripNaturalId in class FishingTripDaoBase
See Also:
FishingTripDao.toRemoteFishingTripNaturalId(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip, fr.ifremer.allegro.data.survey.fishingTrip.generic.vo.RemoteFishingTripNaturalId)

toRemoteFishingTripNaturalId

public RemoteFishingTripNaturalId toRemoteFishingTripNaturalId(FishingTrip entity)
Description copied from interface: FishingTripDao
Converts this DAO's entity to an object of type RemoteFishingTripNaturalId.

Specified by:
toRemoteFishingTripNaturalId in interface FishingTripDao
Overrides:
toRemoteFishingTripNaturalId in class FishingTripDaoBase
See Also:
FishingTripDao.toRemoteFishingTripNaturalId(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)

remoteFishingTripNaturalIdToEntity

public FishingTrip remoteFishingTripNaturalIdToEntity(RemoteFishingTripNaturalId remoteFishingTripNaturalId)
Description copied from interface: FishingTripDao
Converts an instance of type RemoteFishingTripNaturalId to this DAO's entity.

See Also:
FishingTripDao.remoteFishingTripNaturalIdToEntity(fr.ifremer.allegro.data.survey.fishingTrip.generic.vo.RemoteFishingTripNaturalId)

remoteFishingTripNaturalIdToEntity

public void remoteFishingTripNaturalIdToEntity(RemoteFishingTripNaturalId source,
                                               FishingTrip target,
                                               boolean copyIfNull)
Description copied from interface: FishingTripDao
Copies the fields of RemoteFishingTripNaturalId to the specified entity.

Specified by:
remoteFishingTripNaturalIdToEntity in interface FishingTripDao
Overrides:
remoteFishingTripNaturalIdToEntity in class FishingTripDaoBase
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.survey.fishingTrip.FishingTripDao#remoteFishingTripNaturalIdToEntity(fr.ifremer.allegro.data.survey.fishingTrip.generic.vo.RemoteFishingTripNaturalId, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)

toClusterFishingTrip

public void toClusterFishingTrip(FishingTrip source,
                                 ClusterFishingTrip target)
Description copied from interface: FishingTripDao
Copies the fields of the specified entity to the target value object. This method is similar to toClusterFishingTrip(), 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:
toClusterFishingTrip in interface FishingTripDao
Overrides:
toClusterFishingTrip in class FishingTripDaoBase
See Also:
FishingTripDao.toClusterFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip, fr.ifremer.allegro.data.survey.fishingTrip.generic.cluster.ClusterFishingTrip)

toClusterFishingTrip

public ClusterFishingTrip toClusterFishingTrip(FishingTrip entity)
Description copied from interface: FishingTripDao
Converts this DAO's entity to an object of type ClusterFishingTrip.

Specified by:
toClusterFishingTrip in interface FishingTripDao
Overrides:
toClusterFishingTrip in class FishingTripDaoBase
See Also:
FishingTripDao.toClusterFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)

clusterFishingTripToEntity

public FishingTrip clusterFishingTripToEntity(ClusterFishingTrip clusterFishingTrip)
Description copied from interface: FishingTripDao
Converts an instance of type ClusterFishingTrip to this DAO's entity.

See Also:
FishingTripDao.clusterFishingTripToEntity(fr.ifremer.allegro.data.survey.fishingTrip.generic.cluster.ClusterFishingTrip)

clusterFishingTripToEntity

public void clusterFishingTripToEntity(ClusterFishingTrip source,
                                       FishingTrip target,
                                       boolean copyIfNull)
Description copied from interface: FishingTripDao
Copies the fields of ClusterFishingTrip to the specified entity.

Specified by:
clusterFishingTripToEntity in interface FishingTripDao
Overrides:
clusterFishingTripToEntity in class FishingTripDaoBase
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.survey.fishingTrip.FishingTripDao#clusterFishingTripToEntity(fr.ifremer.allegro.data.survey.fishingTrip.generic.cluster.ClusterFishingTrip, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)


Copyright © 2008-2010 IFREMER. All Rights Reserved.