fr.ifremer.allegro.data.operation
Class FishingOperationDaoImpl
java.lang.Object
org.springframework.orm.hibernate3.support.HibernateDaoSupport
fr.ifremer.allegro.data.operation.OperationDaoBase
fr.ifremer.allegro.data.operation.OperationDaoImpl
fr.ifremer.allegro.data.operation.FishingOperationDaoBase
fr.ifremer.allegro.data.operation.FishingOperationDaoImpl
- All Implemented Interfaces:
- FishingOperationDao, OperationDao
public class FishingOperationDaoImpl
- extends FishingOperationDaoBase
- See Also:
FishingOperation
Method Summary |
FishingOperation |
clusterFishingOperationToEntity(ClusterFishingOperation clusterFishingOperation)
Converts an instance of type ClusterFishingOperation to this DAO's entity. |
void |
clusterFishingOperationToEntity(ClusterFishingOperation source,
FishingOperation target,
boolean copyIfNull)
Copies the fields of ClusterFishingOperation to the specified entity. |
protected FishingOperation |
handleCreateFromClusterFishingOperation(ClusterFishingOperation clusterFishingOperation)
Performs the core logic for FishingOperationDaoBase.createFromClusterFishingOperation(fr.ifremer.allegro.data.operation.generic.cluster.ClusterFishingOperation) |
protected ClusterFishingOperation[] |
handleGetAllClusterFishingOperation(java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize)
Performs the core logic for FishingOperationDaoBase.getAllClusterFishingOperation(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer) |
FishingOperation |
remoteFishingOperationFullVOToEntity(RemoteFishingOperationFullVO remoteFishingOperationFullVO)
Converts an instance of type RemoteFishingOperationFullVO to this DAO's entity. |
void |
remoteFishingOperationFullVOToEntity(RemoteFishingOperationFullVO source,
FishingOperation target,
boolean copyIfNull)
Copies the fields of RemoteFishingOperationFullVO to the specified entity. |
FishingOperation |
remoteFishingOperationNaturalIdToEntity(RemoteFishingOperationNaturalId remoteFishingOperationNaturalId)
Converts an instance of type RemoteFishingOperationNaturalId to this DAO's entity. |
void |
remoteFishingOperationNaturalIdToEntity(RemoteFishingOperationNaturalId source,
FishingOperation target,
boolean copyIfNull)
Copies the fields of RemoteFishingOperationNaturalId to the specified entity. |
ClusterFishingOperation |
toClusterFishingOperation(FishingOperation entity)
Converts this DAO's entity to an object of type ClusterFishingOperation . |
void |
toClusterFishingOperation(FishingOperation source,
ClusterFishingOperation target)
Copies the fields of the specified entity to the target value object. |
RemoteFishingOperationFullVO |
toRemoteFishingOperationFullVO(FishingOperation entity)
Converts this DAO's entity to an object of type RemoteFishingOperationFullVO . |
void |
toRemoteFishingOperationFullVO(FishingOperation source,
RemoteFishingOperationFullVO target)
Copies the fields of the specified entity to the target value object. |
RemoteFishingOperationNaturalId |
toRemoteFishingOperationNaturalId(FishingOperation entity)
Converts this DAO's entity to an object of type RemoteFishingOperationNaturalId . |
void |
toRemoteFishingOperationNaturalId(FishingOperation source,
RemoteFishingOperationNaturalId target)
Copies the fields of the specified entity to the target value object. |
Methods inherited from class fr.ifremer.allegro.data.operation.FishingOperationDaoBase |
clusterFishingOperationToEntityCollection, create, create, create, create, create, create, create, create, createFromClusterFishingOperation, findFishingOperationByCatchBatch, findFishingOperationByCatchBatch, findFishingOperationByCatchBatch, findFishingOperationByCatchBatch, findFishingOperationByFishingTrip, findFishingOperationByFishingTrip, findFishingOperationByFishingTrip, findFishingOperationByFishingTrip, findFishingOperationByFishingTrip, findFishingOperationByFishingTrip, findFishingOperationByFishingTrip, findFishingOperationByFishingTrip, findFishingOperationByGearPhysicalFeatures, findFishingOperationByGearPhysicalFeatures, findFishingOperationByGearPhysicalFeatures, findFishingOperationByGearPhysicalFeatures, findFishingOperationByGearPhysicalFeatures, findFishingOperationByGearPhysicalFeatures, findFishingOperationByGearPhysicalFeatures, findFishingOperationByGearPhysicalFeatures, findFishingOperationById, findFishingOperationById, findFishingOperationById, findFishingOperationById, findFishingOperationByNaturalId, findFishingOperationByNaturalId, findFishingOperationByNaturalId, findFishingOperationByNaturalId, findFishingOperationByQualityFlag, findFishingOperationByQualityFlag, findFishingOperationByQualityFlag, findFishingOperationByQualityFlag, findFishingOperationByQualityFlag, findFishingOperationByQualityFlag, findFishingOperationByQualityFlag, findFishingOperationByQualityFlag, findFishingOperationByVessel, findFishingOperationByVessel, findFishingOperationByVessel, findFishingOperationByVessel, findFishingOperationByVessel, findFishingOperationByVessel, findFishingOperationByVessel, findFishingOperationByVessel, findOperationByFishingTrip, findOperationByFishingTrip, findOperationByFishingTrip, findOperationByFishingTrip, findOperationByFishingTrip, findOperationByFishingTrip, findOperationByFishingTrip, findOperationByFishingTrip, findOperationByGearPhysicalFeatures, findOperationByGearPhysicalFeatures, findOperationByGearPhysicalFeatures, findOperationByGearPhysicalFeatures, findOperationByGearPhysicalFeatures, findOperationByGearPhysicalFeatures, findOperationByGearPhysicalFeatures, findOperationByGearPhysicalFeatures, findOperationById, findOperationById, findOperationById, findOperationById, findOperationByNaturalId, findOperationByNaturalId, findOperationByNaturalId, findOperationByNaturalId, findOperationByQualityFlag, findOperationByQualityFlag, findOperationByQualityFlag, findOperationByQualityFlag, findOperationByQualityFlag, findOperationByQualityFlag, findOperationByQualityFlag, findOperationByQualityFlag, findOperationByVessel, findOperationByVessel, findOperationByVessel, findOperationByVessel, findOperationByVessel, findOperationByVessel, findOperationByVessel, findOperationByVessel, getAllClusterFishingOperation, getAllFishingOperation, getAllFishingOperation, getAllFishingOperation, getAllFishingOperation, getAllFishingOperation, getAllFishingOperation, getAllFishingOperation, getAllFishingOperation, getAllOperation, getAllOperation, getAllOperation, getAllOperation, getAllOperation, getAllOperation, getAllOperation, getAllOperation, getCatchBatchDao, getPrincipal, getProduceDao, getSaleProduceDao, getSampleDao, load, load, loadAll, loadAll, loadAll, loadAll, remoteFishingOperationFullVOToEntityCollection, remoteFishingOperationNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, setCatchBatchDao, setProduceDao, setSaleProduceDao, setSampleDao, toClusterFishingOperation, toClusterFishingOperationArray, toClusterFishingOperationCollection, toEntity, toRemoteFishingOperationFullVO, toRemoteFishingOperationFullVOArray, toRemoteFishingOperationFullVOCollection, toRemoteFishingOperationNaturalId, toRemoteFishingOperationNaturalIdArray, toRemoteFishingOperationNaturalIdCollection, transformEntities, transformEntity, update, update |
Methods inherited from class fr.ifremer.allegro.data.operation.OperationDaoImpl |
clusterOperationToEntity, clusterOperationToEntity, handleCreateFromClusterOperation, handleGetAllClusterOperation, remoteOperationFullVOToEntity, remoteOperationFullVOToEntity, remoteOperationNaturalIdToEntity, remoteOperationNaturalIdToEntity, toClusterOperation, toClusterOperation, toRemoteOperationFullVO, toRemoteOperationFullVO, toRemoteOperationNaturalId, toRemoteOperationNaturalId |
Methods inherited from class fr.ifremer.allegro.data.operation.OperationDaoBase |
clusterOperationToEntityCollection, create, create, create, create, createFromClusterOperation, getAllClusterOperation, getFishingTripDao, getGearPhysicalFeaturesDao, getGearUseFeaturesDao, getMetierUseFeaturesDao, getOperationVesselAssociationDao, getQualityFlagDao, getVesselDao, getVesselExtendedPositionDao, getVesselPositionDao, getVesselUseFeaturesDao, remoteOperationFullVOToEntityCollection, remoteOperationNaturalIdToEntityCollection, remove, setFishingTripDao, setGearPhysicalFeaturesDao, setGearUseFeaturesDao, setMetierUseFeaturesDao, setOperationVesselAssociationDao, setQualityFlagDao, setVesselDao, setVesselExtendedPositionDao, setVesselPositionDao, setVesselUseFeaturesDao, toClusterOperation, toClusterOperationArray, toClusterOperationCollection, toRemoteOperationFullVO, toRemoteOperationFullVOArray, toRemoteOperationFullVOCollection, toRemoteOperationNaturalId, toRemoteOperationNaturalIdArray, toRemoteOperationNaturalIdCollection, 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.operation.OperationDao |
clusterOperationToEntity, clusterOperationToEntity, clusterOperationToEntityCollection, create, create, create, create, createFromClusterOperation, getAllClusterOperation, remoteOperationFullVOToEntity, remoteOperationFullVOToEntity, remoteOperationFullVOToEntityCollection, remoteOperationNaturalIdToEntity, remoteOperationNaturalIdToEntity, remoteOperationNaturalIdToEntityCollection, remove, toClusterOperation, toClusterOperation, toClusterOperationArray, toClusterOperationCollection, toRemoteOperationFullVO, toRemoteOperationFullVO, toRemoteOperationFullVOArray, toRemoteOperationFullVOCollection, toRemoteOperationNaturalId, toRemoteOperationNaturalId, toRemoteOperationNaturalIdArray, toRemoteOperationNaturalIdCollection, update |
FishingOperationDaoImpl
public FishingOperationDaoImpl()
handleCreateFromClusterFishingOperation
protected FishingOperation handleCreateFromClusterFishingOperation(ClusterFishingOperation clusterFishingOperation)
- Description copied from class:
FishingOperationDaoBase
- Performs the core logic for
FishingOperationDaoBase.createFromClusterFishingOperation(fr.ifremer.allegro.data.operation.generic.cluster.ClusterFishingOperation)
- Specified by:
handleCreateFromClusterFishingOperation
in class FishingOperationDaoBase
- See Also:
FishingOperationDao.createFromClusterFishingOperation(fr.ifremer.allegro.data.operation.generic.cluster.ClusterFishingOperation)
handleGetAllClusterFishingOperation
protected ClusterFishingOperation[] handleGetAllClusterFishingOperation(java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize)
- Description copied from class:
FishingOperationDaoBase
- Performs the core logic for
FishingOperationDaoBase.getAllClusterFishingOperation(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
- Specified by:
handleGetAllClusterFishingOperation
in class FishingOperationDaoBase
- See Also:
FishingOperationDao.getAllClusterFishingOperation(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
toRemoteFishingOperationFullVO
public void toRemoteFishingOperationFullVO(FishingOperation source,
RemoteFishingOperationFullVO target)
- Description copied from interface:
FishingOperationDao
- Copies the fields of the specified entity to the target value object. This method is similar to
toRemoteFishingOperationFullVO(), 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:
toRemoteFishingOperationFullVO
in interface FishingOperationDao
- Overrides:
toRemoteFishingOperationFullVO
in class FishingOperationDaoBase
- See Also:
FishingOperationDao.toRemoteFishingOperationFullVO(fr.ifremer.allegro.data.operation.FishingOperation, fr.ifremer.allegro.data.operation.generic.vo.RemoteFishingOperationFullVO)
toRemoteFishingOperationFullVO
public RemoteFishingOperationFullVO toRemoteFishingOperationFullVO(FishingOperation entity)
- Description copied from interface:
FishingOperationDao
- Converts this DAO's entity to an object of type
RemoteFishingOperationFullVO
.
- Specified by:
toRemoteFishingOperationFullVO
in interface FishingOperationDao
- Overrides:
toRemoteFishingOperationFullVO
in class FishingOperationDaoBase
- See Also:
FishingOperationDao.toRemoteFishingOperationFullVO(fr.ifremer.allegro.data.operation.FishingOperation)
remoteFishingOperationFullVOToEntity
public FishingOperation remoteFishingOperationFullVOToEntity(RemoteFishingOperationFullVO remoteFishingOperationFullVO)
- Description copied from interface:
FishingOperationDao
- Converts an instance of type
RemoteFishingOperationFullVO
to this DAO's entity.
- See Also:
FishingOperationDao.remoteFishingOperationFullVOToEntity(fr.ifremer.allegro.data.operation.generic.vo.RemoteFishingOperationFullVO)
remoteFishingOperationFullVOToEntity
public void remoteFishingOperationFullVOToEntity(RemoteFishingOperationFullVO source,
FishingOperation target,
boolean copyIfNull)
- Description copied from interface:
FishingOperationDao
- Copies the fields of
RemoteFishingOperationFullVO
to the specified entity.
- Specified by:
remoteFishingOperationFullVOToEntity
in interface FishingOperationDao
- Overrides:
remoteFishingOperationFullVOToEntity
in class FishingOperationDaoBase
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.operation.FishingOperationDao#remoteFishingOperationFullVOToEntity(fr.ifremer.allegro.data.operation.generic.vo.RemoteFishingOperationFullVO, fr.ifremer.allegro.data.operation.FishingOperation)
toRemoteFishingOperationNaturalId
public void toRemoteFishingOperationNaturalId(FishingOperation source,
RemoteFishingOperationNaturalId target)
- Description copied from interface:
FishingOperationDao
- Copies the fields of the specified entity to the target value object. This method is similar to
toRemoteFishingOperationNaturalId(), 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:
toRemoteFishingOperationNaturalId
in interface FishingOperationDao
- Overrides:
toRemoteFishingOperationNaturalId
in class FishingOperationDaoBase
- See Also:
FishingOperationDao.toRemoteFishingOperationNaturalId(fr.ifremer.allegro.data.operation.FishingOperation, fr.ifremer.allegro.data.operation.generic.vo.RemoteFishingOperationNaturalId)
toRemoteFishingOperationNaturalId
public RemoteFishingOperationNaturalId toRemoteFishingOperationNaturalId(FishingOperation entity)
- Description copied from interface:
FishingOperationDao
- Converts this DAO's entity to an object of type
RemoteFishingOperationNaturalId
.
- Specified by:
toRemoteFishingOperationNaturalId
in interface FishingOperationDao
- Overrides:
toRemoteFishingOperationNaturalId
in class FishingOperationDaoBase
- See Also:
FishingOperationDao.toRemoteFishingOperationNaturalId(fr.ifremer.allegro.data.operation.FishingOperation)
remoteFishingOperationNaturalIdToEntity
public FishingOperation remoteFishingOperationNaturalIdToEntity(RemoteFishingOperationNaturalId remoteFishingOperationNaturalId)
- Description copied from interface:
FishingOperationDao
- Converts an instance of type
RemoteFishingOperationNaturalId
to this DAO's entity.
- See Also:
FishingOperationDao.remoteFishingOperationNaturalIdToEntity(fr.ifremer.allegro.data.operation.generic.vo.RemoteFishingOperationNaturalId)
remoteFishingOperationNaturalIdToEntity
public void remoteFishingOperationNaturalIdToEntity(RemoteFishingOperationNaturalId source,
FishingOperation target,
boolean copyIfNull)
- Description copied from interface:
FishingOperationDao
- Copies the fields of
RemoteFishingOperationNaturalId
to the specified entity.
- Specified by:
remoteFishingOperationNaturalIdToEntity
in interface FishingOperationDao
- Overrides:
remoteFishingOperationNaturalIdToEntity
in class FishingOperationDaoBase
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.operation.FishingOperationDao#remoteFishingOperationNaturalIdToEntity(fr.ifremer.allegro.data.operation.generic.vo.RemoteFishingOperationNaturalId, fr.ifremer.allegro.data.operation.FishingOperation)
toClusterFishingOperation
public void toClusterFishingOperation(FishingOperation source,
ClusterFishingOperation target)
- Description copied from interface:
FishingOperationDao
- Copies the fields of the specified entity to the target value object. This method is similar to
toClusterFishingOperation(), 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:
toClusterFishingOperation
in interface FishingOperationDao
- Overrides:
toClusterFishingOperation
in class FishingOperationDaoBase
- See Also:
FishingOperationDao.toClusterFishingOperation(fr.ifremer.allegro.data.operation.FishingOperation, fr.ifremer.allegro.data.operation.generic.cluster.ClusterFishingOperation)
toClusterFishingOperation
public ClusterFishingOperation toClusterFishingOperation(FishingOperation entity)
- Description copied from interface:
FishingOperationDao
- Converts this DAO's entity to an object of type
ClusterFishingOperation
.
- Specified by:
toClusterFishingOperation
in interface FishingOperationDao
- Overrides:
toClusterFishingOperation
in class FishingOperationDaoBase
- See Also:
FishingOperationDao.toClusterFishingOperation(fr.ifremer.allegro.data.operation.FishingOperation)
clusterFishingOperationToEntity
public FishingOperation clusterFishingOperationToEntity(ClusterFishingOperation clusterFishingOperation)
- Description copied from interface:
FishingOperationDao
- Converts an instance of type
ClusterFishingOperation
to this DAO's entity.
- See Also:
FishingOperationDao.clusterFishingOperationToEntity(fr.ifremer.allegro.data.operation.generic.cluster.ClusterFishingOperation)
clusterFishingOperationToEntity
public void clusterFishingOperationToEntity(ClusterFishingOperation source,
FishingOperation target,
boolean copyIfNull)
- Description copied from interface:
FishingOperationDao
- Copies the fields of
ClusterFishingOperation
to the specified entity.
- Specified by:
clusterFishingOperationToEntity
in interface FishingOperationDao
- Overrides:
clusterFishingOperationToEntity
in class FishingOperationDaoBase
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.operation.FishingOperationDao#clusterFishingOperationToEntity(fr.ifremer.allegro.data.operation.generic.cluster.ClusterFishingOperation, fr.ifremer.allegro.data.operation.FishingOperation)
Copyright © 2008-2010 IFREMER. All Rights Reserved.