fr.ifremer.allegro.data.operation
Class OperationDaoImpl

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.data.operation.OperationDaoBase
          extended by fr.ifremer.allegro.data.operation.OperationDaoImpl
All Implemented Interfaces:
OperationDao
Direct Known Subclasses:
FishingOperationDaoBase

public class OperationDaoImpl
extends OperationDaoBase

See Also:
Operation

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.data.operation.OperationDao
TRANSFORM_CLUSTEROPERATION, TRANSFORM_NONE, TRANSFORM_REMOTEOPERATIONFULLVO, TRANSFORM_REMOTEOPERATIONNATURALID
 
Constructor Summary
OperationDaoImpl()
           
 
Method Summary
 Operation clusterOperationToEntity(ClusterOperation clusterOperation)
          Converts an instance of type ClusterOperation to this DAO's entity.
 void clusterOperationToEntity(ClusterOperation source, Operation target, boolean copyIfNull)
          Copies the fields of ClusterOperation to the specified entity.
protected  Operation handleCreateFromClusterOperation(ClusterOperation clusterOperation)
          Performs the core logic for OperationDaoBase.createFromClusterOperation(fr.ifremer.allegro.data.operation.generic.cluster.ClusterOperation)
protected  ClusterOperation[] handleGetAllClusterOperation(java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
          Performs the core logic for OperationDaoBase.getAllClusterOperation(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 Operation remoteOperationFullVOToEntity(RemoteOperationFullVO remoteOperationFullVO)
          Converts an instance of type RemoteOperationFullVO to this DAO's entity.
 void remoteOperationFullVOToEntity(RemoteOperationFullVO source, Operation target, boolean copyIfNull)
          Copies the fields of RemoteOperationFullVO to the specified entity.
 Operation remoteOperationNaturalIdToEntity(RemoteOperationNaturalId remoteOperationNaturalId)
          Converts an instance of type RemoteOperationNaturalId to this DAO's entity.
 void remoteOperationNaturalIdToEntity(RemoteOperationNaturalId source, Operation target, boolean copyIfNull)
          Copies the fields of RemoteOperationNaturalId to the specified entity.
 ClusterOperation toClusterOperation(Operation entity)
          Converts this DAO's entity to an object of type ClusterOperation.
 void toClusterOperation(Operation source, ClusterOperation target)
          Copies the fields of the specified entity to the target value object.
 RemoteOperationFullVO toRemoteOperationFullVO(Operation entity)
          Converts this DAO's entity to an object of type RemoteOperationFullVO.
 void toRemoteOperationFullVO(Operation source, RemoteOperationFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteOperationNaturalId toRemoteOperationNaturalId(Operation entity)
          Converts this DAO's entity to an object of type RemoteOperationNaturalId.
 void toRemoteOperationNaturalId(Operation source, RemoteOperationNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.data.operation.OperationDaoBase
clusterOperationToEntityCollection, create, create, create, create, create, create, create, create, createFromClusterOperation, 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, getAllClusterOperation, getAllOperation, getAllOperation, getAllOperation, getAllOperation, getAllOperation, getAllOperation, getAllOperation, getAllOperation, getFishingTripDao, getGearPhysicalFeaturesDao, getGearUseFeaturesDao, getMetierUseFeaturesDao, getOperationVesselAssociationDao, getPrincipal, getQualityFlagDao, getVesselDao, getVesselExtendedPositionDao, getVesselPositionDao, getVesselUseFeaturesDao, load, load, loadAll, loadAll, loadAll, loadAll, remoteOperationFullVOToEntityCollection, remoteOperationNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, setFishingTripDao, setGearPhysicalFeaturesDao, setGearUseFeaturesDao, setMetierUseFeaturesDao, setOperationVesselAssociationDao, setQualityFlagDao, setVesselDao, setVesselExtendedPositionDao, setVesselPositionDao, setVesselUseFeaturesDao, toClusterOperation, toClusterOperationArray, toClusterOperationCollection, toEntity, toRemoteOperationFullVO, toRemoteOperationFullVOArray, toRemoteOperationFullVOCollection, toRemoteOperationNaturalId, toRemoteOperationNaturalIdArray, toRemoteOperationNaturalIdCollection, transformEntities, transformEntity, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OperationDaoImpl

public OperationDaoImpl()
Method Detail

handleCreateFromClusterOperation

protected Operation handleCreateFromClusterOperation(ClusterOperation clusterOperation)
Description copied from class: OperationDaoBase
Performs the core logic for OperationDaoBase.createFromClusterOperation(fr.ifremer.allegro.data.operation.generic.cluster.ClusterOperation)

Specified by:
handleCreateFromClusterOperation in class OperationDaoBase
See Also:
OperationDao.createFromClusterOperation(fr.ifremer.allegro.data.operation.generic.cluster.ClusterOperation)

handleGetAllClusterOperation

protected ClusterOperation[] handleGetAllClusterOperation(java.lang.Integer userId,
                                                          java.lang.Integer[] registrationLocationIds,
                                                          java.lang.Integer pageNumber,
                                                          java.lang.Integer pageSize)
Description copied from class: OperationDaoBase
Performs the core logic for OperationDaoBase.getAllClusterOperation(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Specified by:
handleGetAllClusterOperation in class OperationDaoBase
See Also:
OperationDao.getAllClusterOperation(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

toRemoteOperationFullVO

public void toRemoteOperationFullVO(Operation source,
                                    RemoteOperationFullVO target)
Description copied from interface: OperationDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteOperationFullVO(), 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:
toRemoteOperationFullVO in interface OperationDao
Overrides:
toRemoteOperationFullVO in class OperationDaoBase
See Also:
OperationDao.toRemoteOperationFullVO(fr.ifremer.allegro.data.operation.Operation, fr.ifremer.allegro.data.operation.generic.vo.RemoteOperationFullVO)

toRemoteOperationFullVO

public RemoteOperationFullVO toRemoteOperationFullVO(Operation entity)
Description copied from interface: OperationDao
Converts this DAO's entity to an object of type RemoteOperationFullVO.

Specified by:
toRemoteOperationFullVO in interface OperationDao
Overrides:
toRemoteOperationFullVO in class OperationDaoBase
See Also:
OperationDao.toRemoteOperationFullVO(fr.ifremer.allegro.data.operation.Operation)

remoteOperationFullVOToEntity

public Operation remoteOperationFullVOToEntity(RemoteOperationFullVO remoteOperationFullVO)
Description copied from interface: OperationDao
Converts an instance of type RemoteOperationFullVO to this DAO's entity.

See Also:
OperationDao.remoteOperationFullVOToEntity(fr.ifremer.allegro.data.operation.generic.vo.RemoteOperationFullVO)

remoteOperationFullVOToEntity

public void remoteOperationFullVOToEntity(RemoteOperationFullVO source,
                                          Operation target,
                                          boolean copyIfNull)
Description copied from interface: OperationDao
Copies the fields of RemoteOperationFullVO to the specified entity.

Specified by:
remoteOperationFullVOToEntity in interface OperationDao
Overrides:
remoteOperationFullVOToEntity in class OperationDaoBase
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.OperationDao#remoteOperationFullVOToEntity(fr.ifremer.allegro.data.operation.generic.vo.RemoteOperationFullVO, fr.ifremer.allegro.data.operation.Operation)

toRemoteOperationNaturalId

public void toRemoteOperationNaturalId(Operation source,
                                       RemoteOperationNaturalId target)
Description copied from interface: OperationDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteOperationNaturalId(), 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:
toRemoteOperationNaturalId in interface OperationDao
Overrides:
toRemoteOperationNaturalId in class OperationDaoBase
See Also:
OperationDao.toRemoteOperationNaturalId(fr.ifremer.allegro.data.operation.Operation, fr.ifremer.allegro.data.operation.generic.vo.RemoteOperationNaturalId)

toRemoteOperationNaturalId

public RemoteOperationNaturalId toRemoteOperationNaturalId(Operation entity)
Description copied from interface: OperationDao
Converts this DAO's entity to an object of type RemoteOperationNaturalId.

Specified by:
toRemoteOperationNaturalId in interface OperationDao
Overrides:
toRemoteOperationNaturalId in class OperationDaoBase
See Also:
OperationDao.toRemoteOperationNaturalId(fr.ifremer.allegro.data.operation.Operation)

remoteOperationNaturalIdToEntity

public Operation remoteOperationNaturalIdToEntity(RemoteOperationNaturalId remoteOperationNaturalId)
Description copied from interface: OperationDao
Converts an instance of type RemoteOperationNaturalId to this DAO's entity.

See Also:
OperationDao.remoteOperationNaturalIdToEntity(fr.ifremer.allegro.data.operation.generic.vo.RemoteOperationNaturalId)

remoteOperationNaturalIdToEntity

public void remoteOperationNaturalIdToEntity(RemoteOperationNaturalId source,
                                             Operation target,
                                             boolean copyIfNull)
Description copied from interface: OperationDao
Copies the fields of RemoteOperationNaturalId to the specified entity.

Specified by:
remoteOperationNaturalIdToEntity in interface OperationDao
Overrides:
remoteOperationNaturalIdToEntity in class OperationDaoBase
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.OperationDao#remoteOperationNaturalIdToEntity(fr.ifremer.allegro.data.operation.generic.vo.RemoteOperationNaturalId, fr.ifremer.allegro.data.operation.Operation)

toClusterOperation

public void toClusterOperation(Operation source,
                               ClusterOperation target)
Description copied from interface: OperationDao
Copies the fields of the specified entity to the target value object. This method is similar to toClusterOperation(), 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:
toClusterOperation in interface OperationDao
Overrides:
toClusterOperation in class OperationDaoBase
See Also:
OperationDao.toClusterOperation(fr.ifremer.allegro.data.operation.Operation, fr.ifremer.allegro.data.operation.generic.cluster.ClusterOperation)

toClusterOperation

public ClusterOperation toClusterOperation(Operation entity)
Description copied from interface: OperationDao
Converts this DAO's entity to an object of type ClusterOperation.

Specified by:
toClusterOperation in interface OperationDao
Overrides:
toClusterOperation in class OperationDaoBase
See Also:
OperationDao.toClusterOperation(fr.ifremer.allegro.data.operation.Operation)

clusterOperationToEntity

public Operation clusterOperationToEntity(ClusterOperation clusterOperation)
Description copied from interface: OperationDao
Converts an instance of type ClusterOperation to this DAO's entity.

See Also:
OperationDao.clusterOperationToEntity(fr.ifremer.allegro.data.operation.generic.cluster.ClusterOperation)

clusterOperationToEntity

public void clusterOperationToEntity(ClusterOperation source,
                                     Operation target,
                                     boolean copyIfNull)
Description copied from interface: OperationDao
Copies the fields of ClusterOperation to the specified entity.

Specified by:
clusterOperationToEntity in interface OperationDao
Overrides:
clusterOperationToEntity in class OperationDaoBase
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.OperationDao#clusterOperationToEntity(fr.ifremer.allegro.data.operation.generic.cluster.ClusterOperation, fr.ifremer.allegro.data.operation.Operation)


Copyright © 2008-2010 IFREMER. All Rights Reserved.