fr.ifremer.allegro.data.operation
Class OperationDaoBase

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

public abstract class OperationDaoBase
extends org.springframework.orm.hibernate3.support.HibernateDaoSupport
implements OperationDao

Base Spring DAO Class: is able to create, update, remove, load, and find objects of type fr.ifremer.allegro.data.operation.Operation.

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
OperationDaoBase()
           
 
Method Summary
 void clusterOperationToEntity(ClusterOperation source, Operation target, boolean copyIfNull)
          Copies the fields of ClusterOperation to the specified entity.
 void clusterOperationToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterOperation to this DAO's entity.
 java.util.Collection create(java.util.Collection entities)
          Creates a new instance of fr.ifremer.allegro.data.operation.Operation and adds from the passed in entities collection
 java.util.Collection create(int transform, java.util.Collection entities)
           Does the same thing as OperationDao.create(fr.ifremer.allegro.data.operation.Operation) with an additional flag called transform.
 java.lang.Object create(int transform, Operation operation)
           Does the same thing as OperationDao.create(fr.ifremer.allegro.data.operation.Operation) with an additional flag called transform.
 java.lang.Object create(int transform, QualityFlag qualityFlag, Vessel vessel)
           Does the same thing as OperationDao.create(fr.ifremer.allegro.referential.QualityFlag,fr.ifremer.allegro.referential.vessel.Vessel) with an additional flag called transform.
 java.lang.Object create(int transform, java.lang.String name, java.lang.Short rankOrderOnPeriod, java.util.Date startDateTime, java.util.Date endDateTime, java.lang.Boolean isMainOperation, java.lang.String comments, java.util.Date controlDate, java.util.Date validationDate, java.util.Date qualificationDate, java.lang.String qualificationComments, FishingTrip fishingTrip, java.util.Collection operationVesselAssociations, Vessel vessel, QualityFlag qualityFlag, java.util.Collection vesselPositions, java.util.Collection gearUseFeatures, java.util.Collection vesselUseFeatures, GearPhysicalFeatures gearPhysicalFeatures)
           Does the same thing as OperationDao.create(java.lang.String,java.lang.Short,java.util.Date,java.util.Date,java.lang.Boolean,java.lang.String,java.util.Date,java.util.Date,java.util.Date,java.lang.String,fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip,java.util.Collection,fr.ifremer.allegro.referential.vessel.Vessel,fr.ifremer.allegro.referential.QualityFlag,java.util.Collection,java.util.Collection,java.util.Collection,fr.ifremer.allegro.data.vessel.feature.physical.GearPhysicalFeatures) with an additional flag called transform.
 Operation create(Operation operation)
          Creates an instance of fr.ifremer.allegro.data.operation.Operation and adds it to the persistent store.
 Operation create(QualityFlag qualityFlag, Vessel vessel)
           Creates a new fr.ifremer.allegro.data.operation.Operation instance from only required properties (attributes and association ends) and adds it to the persistent store.
 Operation create(java.lang.String name, java.lang.Short rankOrderOnPeriod, java.util.Date startDateTime, java.util.Date endDateTime, java.lang.Boolean isMainOperation, java.lang.String comments, java.util.Date controlDate, java.util.Date validationDate, java.util.Date qualificationDate, java.lang.String qualificationComments, FishingTrip fishingTrip, java.util.Collection operationVesselAssociations, Vessel vessel, QualityFlag qualityFlag, java.util.Collection vesselPositions, java.util.Collection gearUseFeatures, java.util.Collection vesselUseFeatures, GearPhysicalFeatures gearPhysicalFeatures)
           Creates a new fr.ifremer.allegro.data.operation.Operation instance from all attributes and properties and adds it to the persistent store.
 Operation createFromClusterOperation(ClusterOperation clusterOperation)
           
 java.util.Collection findOperationByFishingTrip(FishingTrip fishingTrip)
           
 java.util.Collection findOperationByFishingTrip(int transform, FishingTrip fishingTrip)
           Does the same thing as OperationDao.findOperationByFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an additional flag called transform.
 java.util.Collection findOperationByFishingTrip(int pageNumber, int pageSize, FishingTrip fishingTrip)
           Does the same thing as OperationDao.findOperationByFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findOperationByFishingTrip(int transform, int pageNumber, int pageSize, FishingTrip fishingTrip)
           Does the same thing as OperationDao.findOperationByFishingTrip(int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findOperationByFishingTrip(int transform, java.lang.String queryString, FishingTrip fishingTrip)
           Does the same thing as OperationDao.findOperationByFishingTrip(int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an additional argument called queryString.
 java.util.Collection findOperationByFishingTrip(int transform, java.lang.String queryString, int pageNumber, int pageSize, FishingTrip fishingTrip)
           Does the same thing as OperationDao.findOperationByFishingTrip(int, String, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findOperationByFishingTrip(java.lang.String queryString, FishingTrip fishingTrip)
           Does the same thing as OperationDao.findOperationByFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an additional argument called queryString.
 java.util.Collection findOperationByFishingTrip(java.lang.String queryString, int pageNumber, int pageSize, FishingTrip fishingTrip)
           Does the same thing as OperationDao.findOperationByFishingTrip(String, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findOperationByGearPhysicalFeatures(GearPhysicalFeatures gearPhysicalFeatures)
           
 java.util.Collection findOperationByGearPhysicalFeatures(int transform, GearPhysicalFeatures gearPhysicalFeatures)
           Does the same thing as OperationDao.findOperationByGearPhysicalFeatures(fr.ifremer.allegro.data.vessel.feature.physical.GearPhysicalFeatures) with an additional flag called transform.
 java.util.Collection findOperationByGearPhysicalFeatures(int pageNumber, int pageSize, GearPhysicalFeatures gearPhysicalFeatures)
           Does the same thing as OperationDao.findOperationByGearPhysicalFeatures(fr.ifremer.allegro.data.vessel.feature.physical.GearPhysicalFeatures) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findOperationByGearPhysicalFeatures(int transform, int pageNumber, int pageSize, GearPhysicalFeatures gearPhysicalFeatures)
           Does the same thing as OperationDao.findOperationByGearPhysicalFeatures(int, fr.ifremer.allegro.data.vessel.feature.physical.GearPhysicalFeatures) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findOperationByGearPhysicalFeatures(int transform, java.lang.String queryString, GearPhysicalFeatures gearPhysicalFeatures)
           Does the same thing as OperationDao.findOperationByGearPhysicalFeatures(int, fr.ifremer.allegro.data.vessel.feature.physical.GearPhysicalFeatures) with an additional argument called queryString.
 java.util.Collection findOperationByGearPhysicalFeatures(int transform, java.lang.String queryString, int pageNumber, int pageSize, GearPhysicalFeatures gearPhysicalFeatures)
           Does the same thing as OperationDao.findOperationByGearPhysicalFeatures(int, String, fr.ifremer.allegro.data.vessel.feature.physical.GearPhysicalFeatures) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findOperationByGearPhysicalFeatures(java.lang.String queryString, GearPhysicalFeatures gearPhysicalFeatures)
           Does the same thing as OperationDao.findOperationByGearPhysicalFeatures(fr.ifremer.allegro.data.vessel.feature.physical.GearPhysicalFeatures) with an additional argument called queryString.
 java.util.Collection findOperationByGearPhysicalFeatures(java.lang.String queryString, int pageNumber, int pageSize, GearPhysicalFeatures gearPhysicalFeatures)
           Does the same thing as OperationDao.findOperationByGearPhysicalFeatures(String, fr.ifremer.allegro.data.vessel.feature.physical.GearPhysicalFeatures) with an additional two arguments called pageNumber and pageSize.
 Operation findOperationById(java.lang.Integer id)
           
 java.lang.Object findOperationById(int transform, java.lang.Integer id)
           Does the same thing as OperationDao.findOperationById(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findOperationById(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as OperationDao.findOperationById(int, java.lang.Integer) with an additional argument called queryString.
 Operation findOperationById(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as OperationDao.findOperationById(java.lang.Integer) with an additional argument called queryString.
 java.lang.Object findOperationByNaturalId(int transform, java.lang.Short rankOrderOnPeriod, java.util.Date startDateTime, Vessel vessel, FishingTrip fishingTrip)
           Does the same thing as OperationDao.findOperationByNaturalId(java.lang.Short, java.util.Date, fr.ifremer.allegro.referential.vessel.Vessel, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an additional flag called transform.
 java.lang.Object findOperationByNaturalId(int transform, java.lang.String queryString, java.lang.Short rankOrderOnPeriod, java.util.Date startDateTime, Vessel vessel, FishingTrip fishingTrip)
           Does the same thing as OperationDao.findOperationByNaturalId(int, java.lang.Short, java.util.Date, fr.ifremer.allegro.referential.vessel.Vessel, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an additional argument called queryString.
 Operation findOperationByNaturalId(java.lang.Short rankOrderOnPeriod, java.util.Date startDateTime, Vessel vessel, FishingTrip fishingTrip)
           
 Operation findOperationByNaturalId(java.lang.String queryString, java.lang.Short rankOrderOnPeriod, java.util.Date startDateTime, Vessel vessel, FishingTrip fishingTrip)
           Does the same thing as OperationDao.findOperationByNaturalId(java.lang.Short, java.util.Date, fr.ifremer.allegro.referential.vessel.Vessel, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an additional argument called queryString.
 java.util.Collection findOperationByQualityFlag(int transform, int pageNumber, int pageSize, QualityFlag qualityFlag)
           Does the same thing as OperationDao.findOperationByQualityFlag(int, fr.ifremer.allegro.referential.QualityFlag) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findOperationByQualityFlag(int pageNumber, int pageSize, QualityFlag qualityFlag)
           Does the same thing as OperationDao.findOperationByQualityFlag(fr.ifremer.allegro.referential.QualityFlag) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findOperationByQualityFlag(int transform, QualityFlag qualityFlag)
           Does the same thing as OperationDao.findOperationByQualityFlag(fr.ifremer.allegro.referential.QualityFlag) with an additional flag called transform.
 java.util.Collection findOperationByQualityFlag(int transform, java.lang.String queryString, int pageNumber, int pageSize, QualityFlag qualityFlag)
           Does the same thing as OperationDao.findOperationByQualityFlag(int, String, fr.ifremer.allegro.referential.QualityFlag) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findOperationByQualityFlag(int transform, java.lang.String queryString, QualityFlag qualityFlag)
           Does the same thing as OperationDao.findOperationByQualityFlag(int, fr.ifremer.allegro.referential.QualityFlag) with an additional argument called queryString.
 java.util.Collection findOperationByQualityFlag(QualityFlag qualityFlag)
           
 java.util.Collection findOperationByQualityFlag(java.lang.String queryString, int pageNumber, int pageSize, QualityFlag qualityFlag)
           Does the same thing as OperationDao.findOperationByQualityFlag(String, fr.ifremer.allegro.referential.QualityFlag) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findOperationByQualityFlag(java.lang.String queryString, QualityFlag qualityFlag)
           Does the same thing as OperationDao.findOperationByQualityFlag(fr.ifremer.allegro.referential.QualityFlag) with an additional argument called queryString.
 java.util.Collection findOperationByVessel(int transform, int pageNumber, int pageSize, Vessel vessel)
           Does the same thing as OperationDao.findOperationByVessel(int, fr.ifremer.allegro.referential.vessel.Vessel) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findOperationByVessel(int pageNumber, int pageSize, Vessel vessel)
           Does the same thing as OperationDao.findOperationByVessel(fr.ifremer.allegro.referential.vessel.Vessel) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findOperationByVessel(int transform, java.lang.String queryString, int pageNumber, int pageSize, Vessel vessel)
           Does the same thing as OperationDao.findOperationByVessel(int, String, fr.ifremer.allegro.referential.vessel.Vessel) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findOperationByVessel(int transform, java.lang.String queryString, Vessel vessel)
           Does the same thing as OperationDao.findOperationByVessel(int, fr.ifremer.allegro.referential.vessel.Vessel) with an additional argument called queryString.
 java.util.Collection findOperationByVessel(int transform, Vessel vessel)
           Does the same thing as OperationDao.findOperationByVessel(fr.ifremer.allegro.referential.vessel.Vessel) with an additional flag called transform.
 java.util.Collection findOperationByVessel(java.lang.String queryString, int pageNumber, int pageSize, Vessel vessel)
           Does the same thing as OperationDao.findOperationByVessel(String, fr.ifremer.allegro.referential.vessel.Vessel) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findOperationByVessel(java.lang.String queryString, Vessel vessel)
           Does the same thing as OperationDao.findOperationByVessel(fr.ifremer.allegro.referential.vessel.Vessel) with an additional argument called queryString.
 java.util.Collection findOperationByVessel(Vessel vessel)
           
 ClusterOperation[] getAllClusterOperation(java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
 java.util.Collection getAllOperation()
           
 java.util.Collection getAllOperation(int transform)
           Does the same thing as OperationDao.getAllOperation() with an additional flag called transform.
 java.util.Collection getAllOperation(int pageNumber, int pageSize)
           Does the same thing as OperationDao.getAllOperation() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllOperation(int transform, int pageNumber, int pageSize)
           Does the same thing as OperationDao.getAllOperation(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllOperation(int transform, java.lang.String queryString)
           Does the same thing as OperationDao.getAllOperation(int) with an additional argument called queryString.
 java.util.Collection getAllOperation(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as OperationDao.getAllOperation(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllOperation(java.lang.String queryString)
           Does the same thing as OperationDao.getAllOperation() with an additional argument called queryString.
 java.util.Collection getAllOperation(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as OperationDao.getAllOperation(String) with an additional two arguments called pageNumber and pageSize.
protected  FishingTripDao getFishingTripDao()
          Gets the reference to fishingTripDao.
protected  GearPhysicalFeaturesDao getGearPhysicalFeaturesDao()
          Gets the reference to gearPhysicalFeaturesDao.
protected  GearUseFeaturesDao getGearUseFeaturesDao()
          Gets the reference to gearUseFeaturesDao.
protected  MetierUseFeaturesDao getMetierUseFeaturesDao()
          Gets the reference to metierUseFeaturesDao.
protected  OperationVesselAssociationDao getOperationVesselAssociationDao()
          Gets the reference to operationVesselAssociationDao.
protected  java.security.Principal getPrincipal()
          Gets the current principal if one has been set, otherwise returns null.
protected  QualityFlagDao getQualityFlagDao()
          Gets the reference to qualityFlagDao.
protected  VesselDao getVesselDao()
          Gets the reference to vesselDao.
protected  VesselExtendedPositionDao getVesselExtendedPositionDao()
          Gets the reference to vesselExtendedPositionDao.
protected  VesselPositionDao getVesselPositionDao()
          Gets the reference to vesselPositionDao.
protected  VesselUseFeaturesDao getVesselUseFeaturesDao()
          Gets the reference to vesselUseFeaturesDao.
protected abstract  Operation handleCreateFromClusterOperation(ClusterOperation clusterOperation)
          Performs the core logic for createFromClusterOperation(fr.ifremer.allegro.data.operation.generic.cluster.ClusterOperation)
protected abstract  ClusterOperation[] handleGetAllClusterOperation(java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
          Performs the core logic for getAllClusterOperation(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 Operation load(java.lang.Integer id)
          Loads an instance of fr.ifremer.allegro.data.operation.Operation from the persistent store.
 java.lang.Object load(int transform, java.lang.Integer id)
           Does the same thing as OperationDao.load(java.lang.Integer) with an additional flag called transform.
 java.util.Collection loadAll()
          Loads all entities of type Operation.
 java.util.Collection loadAll(int transform)
           Does the same thing as OperationDao.loadAll() with an additional flag called transform.
 java.util.Collection loadAll(int pageNumber, int pageSize)
           Does the same thing as OperationDao.loadAll() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
           Does the same thing as OperationDao.loadAll(int) with an additional two arguments called pageNumber and pageSize.
 void remoteOperationFullVOToEntity(RemoteOperationFullVO source, Operation target, boolean copyIfNull)
          Copies the fields of RemoteOperationFullVO to the specified entity.
 void remoteOperationFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteOperationFullVO to this DAO's entity.
 void remoteOperationNaturalIdToEntity(RemoteOperationNaturalId source, Operation target, boolean copyIfNull)
          Copies the fields of RemoteOperationNaturalId to the specified entity.
 void remoteOperationNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteOperationNaturalId to this DAO's entity.
 void remove(java.util.Collection entities)
          Removes all entities in the given entities collection.
 void remove(java.lang.Integer id)
          Removes the instance of fr.ifremer.allegro.data.operation.Operation having the given identifier from the persistent store.
 void remove(Operation operation)
          Removes the instance of fr.ifremer.allegro.data.operation.Operation from the persistent store.
 PaginationResult search(int transform, int pageNumber, int pageSize, Search search)
          Does the same thing as {@link #search(int, fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize.
 PaginationResult search(int pageNumber, int pageSize, Search search)
          Does the same thing as {@link #search(fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize.
 java.util.Set search(int transform, Search search)
          Does the same thing as OperationDao.search(fr.ifremer.allegro.Search) but with an additional flag called transform.
 java.util.Set search(Search search)
          Performs a search using the parameters specified in the given search object.
 void setFishingTripDao(FishingTripDao fishingTripDao)
          Sets the reference to fishingTripDao.
 void setGearPhysicalFeaturesDao(GearPhysicalFeaturesDao gearPhysicalFeaturesDao)
          Sets the reference to gearPhysicalFeaturesDao.
 void setGearUseFeaturesDao(GearUseFeaturesDao gearUseFeaturesDao)
          Sets the reference to gearUseFeaturesDao.
 void setMetierUseFeaturesDao(MetierUseFeaturesDao metierUseFeaturesDao)
          Sets the reference to metierUseFeaturesDao.
 void setOperationVesselAssociationDao(OperationVesselAssociationDao operationVesselAssociationDao)
          Sets the reference to operationVesselAssociationDao.
 void setQualityFlagDao(QualityFlagDao qualityFlagDao)
          Sets the reference to qualityFlagDao.
 void setVesselDao(VesselDao vesselDao)
          Sets the reference to vesselDao.
 void setVesselExtendedPositionDao(VesselExtendedPositionDao vesselExtendedPositionDao)
          Sets the reference to vesselExtendedPositionDao.
 void setVesselPositionDao(VesselPositionDao vesselPositionDao)
          Sets the reference to vesselPositionDao.
 void setVesselUseFeaturesDao(VesselUseFeaturesDao vesselUseFeaturesDao)
          Sets the reference to vesselUseFeaturesDao.
protected  ClusterOperation toClusterOperation(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 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.
 ClusterOperation[] toClusterOperationArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterOperation.
 void toClusterOperationCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterOperation.
protected  Operation toEntity(java.lang.Object[] row)
           
protected  RemoteOperationFullVO toRemoteOperationFullVO(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a 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.
 RemoteOperationFullVO[] toRemoteOperationFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteOperationFullVO.
 void toRemoteOperationFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteOperationFullVO.
protected  RemoteOperationNaturalId toRemoteOperationNaturalId(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a 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.
 RemoteOperationNaturalId[] toRemoteOperationNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteOperationNaturalId.
 void toRemoteOperationNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteOperationNaturalId.
protected  void transformEntities(int transform, java.util.Collection entities)
          Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.data.operation.Operation) method.
protected  java.lang.Object transformEntity(int transform, Operation entity)
          Allows transformation of entities into value objects (or something else for that matter), when the transform flag is set to one of the constants defined in fr.ifremer.allegro.data.operation.OperationDao, please note that the OperationDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself will be returned.
 void update(java.util.Collection entities)
          Updates all instances in the entities collection in the persistent store.
 void update(Operation operation)
          Updates the operation instance in the persistent store.
 
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, remoteOperationFullVOToEntity, remoteOperationNaturalIdToEntity
 

Constructor Detail

OperationDaoBase

public OperationDaoBase()
Method Detail

setVesselDao

public void setVesselDao(VesselDao vesselDao)
Sets the reference to vesselDao.


getVesselDao

protected VesselDao getVesselDao()
Gets the reference to vesselDao.


setFishingTripDao

public void setFishingTripDao(FishingTripDao fishingTripDao)
Sets the reference to fishingTripDao.


getFishingTripDao

protected FishingTripDao getFishingTripDao()
Gets the reference to fishingTripDao.


setGearPhysicalFeaturesDao

public void setGearPhysicalFeaturesDao(GearPhysicalFeaturesDao gearPhysicalFeaturesDao)
Sets the reference to gearPhysicalFeaturesDao.


getGearPhysicalFeaturesDao

protected GearPhysicalFeaturesDao getGearPhysicalFeaturesDao()
Gets the reference to gearPhysicalFeaturesDao.


setQualityFlagDao

public void setQualityFlagDao(QualityFlagDao qualityFlagDao)
Sets the reference to qualityFlagDao.


getQualityFlagDao

protected QualityFlagDao getQualityFlagDao()
Gets the reference to qualityFlagDao.


setOperationVesselAssociationDao

public void setOperationVesselAssociationDao(OperationVesselAssociationDao operationVesselAssociationDao)
Sets the reference to operationVesselAssociationDao.


getOperationVesselAssociationDao

protected OperationVesselAssociationDao getOperationVesselAssociationDao()
Gets the reference to operationVesselAssociationDao.


setGearUseFeaturesDao

public void setGearUseFeaturesDao(GearUseFeaturesDao gearUseFeaturesDao)
Sets the reference to gearUseFeaturesDao.


getGearUseFeaturesDao

protected GearUseFeaturesDao getGearUseFeaturesDao()
Gets the reference to gearUseFeaturesDao.


setVesselUseFeaturesDao

public void setVesselUseFeaturesDao(VesselUseFeaturesDao vesselUseFeaturesDao)
Sets the reference to vesselUseFeaturesDao.


getVesselUseFeaturesDao

protected VesselUseFeaturesDao getVesselUseFeaturesDao()
Gets the reference to vesselUseFeaturesDao.


setVesselPositionDao

public void setVesselPositionDao(VesselPositionDao vesselPositionDao)
Sets the reference to vesselPositionDao.


getVesselPositionDao

protected VesselPositionDao getVesselPositionDao()
Gets the reference to vesselPositionDao.


setMetierUseFeaturesDao

public void setMetierUseFeaturesDao(MetierUseFeaturesDao metierUseFeaturesDao)
Sets the reference to metierUseFeaturesDao.


getMetierUseFeaturesDao

protected MetierUseFeaturesDao getMetierUseFeaturesDao()
Gets the reference to metierUseFeaturesDao.


setVesselExtendedPositionDao

public void setVesselExtendedPositionDao(VesselExtendedPositionDao vesselExtendedPositionDao)
Sets the reference to vesselExtendedPositionDao.


getVesselExtendedPositionDao

protected VesselExtendedPositionDao getVesselExtendedPositionDao()
Gets the reference to vesselExtendedPositionDao.


load

public java.lang.Object load(int transform,
                             java.lang.Integer id)
Description copied from interface: OperationDao

Does the same thing as OperationDao.load(java.lang.Integer) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then the returned entity will NOT be transformed. If this flag is any of the other constants defined in this class then the result WILL BE passed through an operation which can optionally transform the entity (into a value object for example). By default, transformation does not occur.

Specified by:
load in interface OperationDao
id - identifier of the entity to load
Returns:
either the entity or the object transformed from the entity.
See Also:
OperationDao.load(int, java.lang.Integer)

load

public Operation load(java.lang.Integer id)
Description copied from interface: OperationDao
Loads an instance of fr.ifremer.allegro.data.operation.Operation from the persistent store.

Specified by:
load in interface OperationDao
See Also:
OperationDao.load(java.lang.Integer)

loadAll

public java.util.Collection loadAll()
Description copied from interface: OperationDao
Loads all entities of type Operation.

Specified by:
loadAll in interface OperationDao
Returns:
the loaded entities.
See Also:
OperationDao.loadAll()

loadAll

public java.util.Collection loadAll(int transform)
Description copied from interface: OperationDao

Does the same thing as OperationDao.loadAll() with an additional flag called transform. If this flag is set to TRANSFORM_NONE then the returned entity will NOT be transformed. If this flag is any of the other constants defined here then the result WILL BE passed through an operation which can optionally transform the entity (into a value object for example). By default, transformation does not occur.

Specified by:
loadAll in interface OperationDao
Parameters:
transform - the flag indicating what transformation to use.
Returns:
the loaded entities.
See Also:
OperationDao.loadAll(int)

loadAll

public java.util.Collection loadAll(int pageNumber,
                                    int pageSize)
Description copied from interface: OperationDao

Does the same thing as OperationDao.loadAll() with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
loadAll in interface OperationDao
Parameters:
pageNumber - the page number to retrieve when paging results.
pageSize - the size of the page to retrieve when paging results.
Returns:
the loaded entities.
See Also:
OperationDao.loadAll(int, int)

loadAll

public java.util.Collection loadAll(int transform,
                                    int pageNumber,
                                    int pageSize)
Description copied from interface: OperationDao

Does the same thing as OperationDao.loadAll(int) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
loadAll in interface OperationDao
Parameters:
transform - the flag indicating what transformation to use.
pageNumber - the page number to retrieve when paging results.
pageSize - the size of the page to retrieve when paging results.
Returns:
the loaded entities.
See Also:
OperationDao.loadAll(int, int, int)

create

public Operation create(Operation operation)
Description copied from interface: OperationDao
Creates an instance of fr.ifremer.allegro.data.operation.Operation and adds it to the persistent store.

Specified by:
create in interface OperationDao
See Also:
OperationDao.create(fr.ifremer.allegro.data.operation.Operation)

create

public java.lang.Object create(int transform,
                               Operation operation)
Description copied from interface: OperationDao

Does the same thing as OperationDao.create(fr.ifremer.allegro.data.operation.Operation) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then the returned entity will NOT be transformed. If this flag is any of the other constants defined here then the result WILL BE passed through an operation which can optionally transform the entity (into a value object for example). By default, transformation does not occur.

Specified by:
create in interface OperationDao
See Also:
OperationDao.create(int transform, fr.ifremer.allegro.data.operation.Operation)

create

public java.util.Collection create(java.util.Collection entities)
Description copied from interface: OperationDao
Creates a new instance of fr.ifremer.allegro.data.operation.Operation and adds from the passed in entities collection

Specified by:
create in interface OperationDao
Parameters:
entities - the collection of fr.ifremer.allegro.data.operation.Operation instances to create.
Returns:
the created instances.
See Also:
OperationDao.create(java.util.Collection)

create

public java.util.Collection create(int transform,
                                   java.util.Collection entities)
Description copied from interface: OperationDao

Does the same thing as OperationDao.create(fr.ifremer.allegro.data.operation.Operation) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then the returned entity will NOT be transformed. If this flag is any of the other constants defined here then the result WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

Specified by:
create in interface OperationDao
See Also:
OperationDao.create(int, java.util.Collection)

create

public Operation create(java.lang.String name,
                        java.lang.Short rankOrderOnPeriod,
                        java.util.Date startDateTime,
                        java.util.Date endDateTime,
                        java.lang.Boolean isMainOperation,
                        java.lang.String comments,
                        java.util.Date controlDate,
                        java.util.Date validationDate,
                        java.util.Date qualificationDate,
                        java.lang.String qualificationComments,
                        FishingTrip fishingTrip,
                        java.util.Collection operationVesselAssociations,
                        Vessel vessel,
                        QualityFlag qualityFlag,
                        java.util.Collection vesselPositions,
                        java.util.Collection gearUseFeatures,
                        java.util.Collection vesselUseFeatures,
                        GearPhysicalFeatures gearPhysicalFeatures)
Description copied from interface: OperationDao

Creates a new fr.ifremer.allegro.data.operation.Operation instance from all attributes and properties and adds it to the persistent store.

Specified by:
create in interface OperationDao
See Also:
OperationDao.create(java.lang.String,java.lang.Short,java.util.Date,java.util.Date,java.lang.Boolean,java.lang.String,java.util.Date,java.util.Date,java.util.Date,java.lang.String,fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip,java.util.Collection,fr.ifremer.allegro.referential.vessel.Vessel,fr.ifremer.allegro.referential.QualityFlag,java.util.Collection,java.util.Collection,java.util.Collection,fr.ifremer.allegro.data.vessel.feature.physical.GearPhysicalFeatures)

create

public java.lang.Object create(int transform,
                               java.lang.String name,
                               java.lang.Short rankOrderOnPeriod,
                               java.util.Date startDateTime,
                               java.util.Date endDateTime,
                               java.lang.Boolean isMainOperation,
                               java.lang.String comments,
                               java.util.Date controlDate,
                               java.util.Date validationDate,
                               java.util.Date qualificationDate,
                               java.lang.String qualificationComments,
                               FishingTrip fishingTrip,
                               java.util.Collection operationVesselAssociations,
                               Vessel vessel,
                               QualityFlag qualityFlag,
                               java.util.Collection vesselPositions,
                               java.util.Collection gearUseFeatures,
                               java.util.Collection vesselUseFeatures,
                               GearPhysicalFeatures gearPhysicalFeatures)
Description copied from interface: OperationDao

Does the same thing as OperationDao.create(java.lang.String,java.lang.Short,java.util.Date,java.util.Date,java.lang.Boolean,java.lang.String,java.util.Date,java.util.Date,java.util.Date,java.lang.String,fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip,java.util.Collection,fr.ifremer.allegro.referential.vessel.Vessel,fr.ifremer.allegro.referential.QualityFlag,java.util.Collection,java.util.Collection,java.util.Collection,fr.ifremer.allegro.data.vessel.feature.physical.GearPhysicalFeatures) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then the returned entity will NOT be transformed. If this flag is any of the other constants defined here then the result WILL BE passed through an operation which can optionally transform the entity (into a value object for example). By default, transformation does not occur.

Specified by:
create in interface OperationDao
See Also:
OperationDao.create(int, java.lang.String,java.lang.Short,java.util.Date,java.util.Date,java.lang.Boolean,java.lang.String,java.util.Date,java.util.Date,java.util.Date,java.lang.String,fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip,java.util.Collection,fr.ifremer.allegro.referential.vessel.Vessel,fr.ifremer.allegro.referential.QualityFlag,java.util.Collection,java.util.Collection,java.util.Collection,fr.ifremer.allegro.data.vessel.feature.physical.GearPhysicalFeatures)

create

public Operation create(QualityFlag qualityFlag,
                        Vessel vessel)
Description copied from interface: OperationDao

Creates a new fr.ifremer.allegro.data.operation.Operation instance from only required properties (attributes and association ends) and adds it to the persistent store.

Specified by:
create in interface OperationDao
See Also:
OperationDao.create(fr.ifremer.allegro.referential.QualityFlag,fr.ifremer.allegro.referential.vessel.Vessel)

create

public java.lang.Object create(int transform,
                               QualityFlag qualityFlag,
                               Vessel vessel)
Description copied from interface: OperationDao

Does the same thing as OperationDao.create(fr.ifremer.allegro.referential.QualityFlag,fr.ifremer.allegro.referential.vessel.Vessel) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then the returned entity will NOTWILL BE passed through an operation which can optionally transform the entity (into a value object for example). By default, transformation does not occur.

Specified by:
create in interface OperationDao
See Also:
OperationDao.create(int, fr.ifremer.allegro.referential.QualityFlag,fr.ifremer.allegro.referential.vessel.Vessel)

update

public void update(Operation operation)
Description copied from interface: OperationDao
Updates the operation instance in the persistent store.

Specified by:
update in interface OperationDao
See Also:
OperationDao.update(fr.ifremer.allegro.data.operation.Operation)

update

public void update(java.util.Collection entities)
Description copied from interface: OperationDao
Updates all instances in the entities collection in the persistent store.

Specified by:
update in interface OperationDao
See Also:
OperationDao.update(java.util.Collection)

remove

public void remove(Operation operation)
Description copied from interface: OperationDao
Removes the instance of fr.ifremer.allegro.data.operation.Operation from the persistent store.

Specified by:
remove in interface OperationDao
See Also:
OperationDao.remove(fr.ifremer.allegro.data.operation.Operation)

remove

public void remove(java.lang.Integer id)
Description copied from interface: OperationDao
Removes the instance of fr.ifremer.allegro.data.operation.Operation having the given identifier from the persistent store.

Specified by:
remove in interface OperationDao
See Also:
OperationDao.remove(java.lang.Integer)

remove

public void remove(java.util.Collection entities)
Description copied from interface: OperationDao
Removes all entities in the given entities collection.

Specified by:
remove in interface OperationDao
See Also:
OperationDao.remove(java.util.Collection)

getAllOperation

public java.util.Collection getAllOperation()
Specified by:
getAllOperation in interface OperationDao
See Also:
OperationDao.getAllOperation()

getAllOperation

public java.util.Collection getAllOperation(int transform)
Description copied from interface: OperationDao

Does the same thing as OperationDao.getAllOperation() with an additional flag called transform. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then finder results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

Specified by:
getAllOperation in interface OperationDao
See Also:
OperationDao.getAllOperation(int)

getAllOperation

public java.util.Collection getAllOperation(java.lang.String queryString)
Description copied from interface: OperationDao

Does the same thing as OperationDao.getAllOperation() with an additional argument called queryString. This queryString argument allows you to override the query string defined in OperationDao.getAllOperation().

Specified by:
getAllOperation in interface OperationDao
See Also:
OperationDao.getAllOperation(java.lang.String)

getAllOperation

public java.util.Collection getAllOperation(int pageNumber,
                                            int pageSize)
Description copied from interface: OperationDao

Does the same thing as OperationDao.getAllOperation() with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
getAllOperation in interface OperationDao
See Also:
OperationDao.getAllOperation(int, int)

getAllOperation

public java.util.Collection getAllOperation(java.lang.String queryString,
                                            int pageNumber,
                                            int pageSize)
Description copied from interface: OperationDao

Does the same thing as OperationDao.getAllOperation(String) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
getAllOperation in interface OperationDao
See Also:
OperationDao.getAllOperation(String, int, int)

getAllOperation

public java.util.Collection getAllOperation(int transform,
                                            java.lang.String queryString)
Description copied from interface: OperationDao

Does the same thing as OperationDao.getAllOperation(int) with an additional argument called queryString. This queryString argument allows you to override the query string defined in OperationDao.getAllOperation(int).

Specified by:
getAllOperation in interface OperationDao
See Also:
OperationDao.getAllOperation(int, String)

getAllOperation

public java.util.Collection getAllOperation(int transform,
                                            int pageNumber,
                                            int pageSize)
Description copied from interface: OperationDao

Does the same thing as OperationDao.getAllOperation(int) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
getAllOperation in interface OperationDao
See Also:
OperationDao.getAllOperation(int, int, int)

getAllOperation

public java.util.Collection getAllOperation(int transform,
                                            java.lang.String queryString,
                                            int pageNumber,
                                            int pageSize)
Description copied from interface: OperationDao

Does the same thing as OperationDao.getAllOperation(int, String) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
getAllOperation in interface OperationDao
See Also:
OperationDao.getAllOperation(int, java.lang.String, int, int)

findOperationById

public Operation findOperationById(java.lang.Integer id)
Specified by:
findOperationById in interface OperationDao
See Also:
OperationDao.findOperationById(java.lang.Integer)

findOperationById

public java.lang.Object findOperationById(int transform,
                                          java.lang.Integer id)
Description copied from interface: OperationDao

Does the same thing as OperationDao.findOperationById(java.lang.Integer) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then finder results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

Specified by:
findOperationById in interface OperationDao
See Also:
OperationDao.findOperationById(int, java.lang.Integer)

findOperationById

public Operation findOperationById(java.lang.String queryString,
                                   java.lang.Integer id)
Description copied from interface: OperationDao

Does the same thing as OperationDao.findOperationById(java.lang.Integer) with an additional argument called queryString. This queryString argument allows you to override the query string defined in OperationDao.findOperationById(java.lang.Integer).

Specified by:
findOperationById in interface OperationDao
See Also:
OperationDao.findOperationById(java.lang.String, java.lang.Integer)

findOperationById

public java.lang.Object findOperationById(int transform,
                                          java.lang.String queryString,
                                          java.lang.Integer id)
Description copied from interface: OperationDao

Does the same thing as OperationDao.findOperationById(int, java.lang.Integer) with an additional argument called queryString. This queryString argument allows you to override the query string defined in OperationDao.findOperationById(int, java.lang.Integer id).

Specified by:
findOperationById in interface OperationDao
See Also:
OperationDao.findOperationById(int, java.lang.String, java.lang.Integer)

findOperationByVessel

public java.util.Collection findOperationByVessel(Vessel vessel)
Specified by:
findOperationByVessel in interface OperationDao
See Also:
OperationDao.findOperationByVessel(fr.ifremer.allegro.referential.vessel.Vessel)

findOperationByVessel

public java.util.Collection findOperationByVessel(int transform,
                                                  Vessel vessel)
Description copied from interface: OperationDao

Does the same thing as OperationDao.findOperationByVessel(fr.ifremer.allegro.referential.vessel.Vessel) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then finder results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

Specified by:
findOperationByVessel in interface OperationDao
See Also:
OperationDao.findOperationByVessel(int, fr.ifremer.allegro.referential.vessel.Vessel)

findOperationByVessel

public java.util.Collection findOperationByVessel(java.lang.String queryString,
                                                  Vessel vessel)
Description copied from interface: OperationDao

Does the same thing as OperationDao.findOperationByVessel(fr.ifremer.allegro.referential.vessel.Vessel) with an additional argument called queryString. This queryString argument allows you to override the query string defined in OperationDao.findOperationByVessel(fr.ifremer.allegro.referential.vessel.Vessel).

Specified by:
findOperationByVessel in interface OperationDao
See Also:
OperationDao.findOperationByVessel(java.lang.String, fr.ifremer.allegro.referential.vessel.Vessel)

findOperationByVessel

public java.util.Collection findOperationByVessel(int pageNumber,
                                                  int pageSize,
                                                  Vessel vessel)
Description copied from interface: OperationDao

Does the same thing as OperationDao.findOperationByVessel(fr.ifremer.allegro.referential.vessel.Vessel) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findOperationByVessel in interface OperationDao
See Also:
OperationDao.findOperationByVessel(int, int, fr.ifremer.allegro.referential.vessel.Vessel)

findOperationByVessel

public java.util.Collection findOperationByVessel(java.lang.String queryString,
                                                  int pageNumber,
                                                  int pageSize,
                                                  Vessel vessel)
Description copied from interface: OperationDao

Does the same thing as OperationDao.findOperationByVessel(String, fr.ifremer.allegro.referential.vessel.Vessel) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findOperationByVessel in interface OperationDao
See Also:
OperationDao.findOperationByVessel(String, int, int, fr.ifremer.allegro.referential.vessel.Vessel)

findOperationByVessel

public java.util.Collection findOperationByVessel(int transform,
                                                  java.lang.String queryString,
                                                  Vessel vessel)
Description copied from interface: OperationDao

Does the same thing as OperationDao.findOperationByVessel(int, fr.ifremer.allegro.referential.vessel.Vessel) with an additional argument called queryString. This queryString argument allows you to override the query string defined in OperationDao.findOperationByVessel(int, fr.ifremer.allegro.referential.vessel.Vessel vessel).

Specified by:
findOperationByVessel in interface OperationDao
See Also:
OperationDao.findOperationByVessel(int, String, fr.ifremer.allegro.referential.vessel.Vessel)

findOperationByVessel

public java.util.Collection findOperationByVessel(int transform,
                                                  int pageNumber,
                                                  int pageSize,
                                                  Vessel vessel)
Description copied from interface: OperationDao

Does the same thing as OperationDao.findOperationByVessel(int, fr.ifremer.allegro.referential.vessel.Vessel) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findOperationByVessel in interface OperationDao
See Also:
OperationDao.findOperationByVessel(int, int, int, fr.ifremer.allegro.referential.vessel.Vessel)

findOperationByVessel

public java.util.Collection findOperationByVessel(int transform,
                                                  java.lang.String queryString,
                                                  int pageNumber,
                                                  int pageSize,
                                                  Vessel vessel)
Description copied from interface: OperationDao

Does the same thing as OperationDao.findOperationByVessel(int, String, fr.ifremer.allegro.referential.vessel.Vessel) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findOperationByVessel in interface OperationDao
See Also:
OperationDao.findOperationByVessel(int, java.lang.String, int, int, fr.ifremer.allegro.referential.vessel.Vessel)

findOperationByGearPhysicalFeatures

public java.util.Collection findOperationByGearPhysicalFeatures(GearPhysicalFeatures gearPhysicalFeatures)
Specified by:
findOperationByGearPhysicalFeatures in interface OperationDao
See Also:
OperationDao.findOperationByGearPhysicalFeatures(fr.ifremer.allegro.data.vessel.feature.physical.GearPhysicalFeatures)

findOperationByGearPhysicalFeatures

public java.util.Collection findOperationByGearPhysicalFeatures(int transform,
                                                                GearPhysicalFeatures gearPhysicalFeatures)
Description copied from interface: OperationDao

Does the same thing as OperationDao.findOperationByGearPhysicalFeatures(fr.ifremer.allegro.data.vessel.feature.physical.GearPhysicalFeatures) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then finder results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

Specified by:
findOperationByGearPhysicalFeatures in interface OperationDao
See Also:
OperationDao.findOperationByGearPhysicalFeatures(int, fr.ifremer.allegro.data.vessel.feature.physical.GearPhysicalFeatures)

findOperationByGearPhysicalFeatures

public java.util.Collection findOperationByGearPhysicalFeatures(java.lang.String queryString,
                                                                GearPhysicalFeatures gearPhysicalFeatures)
Description copied from interface: OperationDao

Does the same thing as OperationDao.findOperationByGearPhysicalFeatures(fr.ifremer.allegro.data.vessel.feature.physical.GearPhysicalFeatures) with an additional argument called queryString. This queryString argument allows you to override the query string defined in OperationDao.findOperationByGearPhysicalFeatures(fr.ifremer.allegro.data.vessel.feature.physical.GearPhysicalFeatures).

Specified by:
findOperationByGearPhysicalFeatures in interface OperationDao
See Also:
OperationDao.findOperationByGearPhysicalFeatures(java.lang.String, fr.ifremer.allegro.data.vessel.feature.physical.GearPhysicalFeatures)

findOperationByGearPhysicalFeatures

public java.util.Collection findOperationByGearPhysicalFeatures(int pageNumber,
                                                                int pageSize,
                                                                GearPhysicalFeatures gearPhysicalFeatures)
Description copied from interface: OperationDao

Does the same thing as OperationDao.findOperationByGearPhysicalFeatures(fr.ifremer.allegro.data.vessel.feature.physical.GearPhysicalFeatures) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findOperationByGearPhysicalFeatures in interface OperationDao
See Also:
OperationDao.findOperationByGearPhysicalFeatures(int, int, fr.ifremer.allegro.data.vessel.feature.physical.GearPhysicalFeatures)

findOperationByGearPhysicalFeatures

public java.util.Collection findOperationByGearPhysicalFeatures(java.lang.String queryString,
                                                                int pageNumber,
                                                                int pageSize,
                                                                GearPhysicalFeatures gearPhysicalFeatures)
Description copied from interface: OperationDao

Does the same thing as OperationDao.findOperationByGearPhysicalFeatures(String, fr.ifremer.allegro.data.vessel.feature.physical.GearPhysicalFeatures) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findOperationByGearPhysicalFeatures in interface OperationDao
See Also:
OperationDao.findOperationByGearPhysicalFeatures(String, int, int, fr.ifremer.allegro.data.vessel.feature.physical.GearPhysicalFeatures)

findOperationByGearPhysicalFeatures

public java.util.Collection findOperationByGearPhysicalFeatures(int transform,
                                                                java.lang.String queryString,
                                                                GearPhysicalFeatures gearPhysicalFeatures)
Description copied from interface: OperationDao

Does the same thing as OperationDao.findOperationByGearPhysicalFeatures(int, fr.ifremer.allegro.data.vessel.feature.physical.GearPhysicalFeatures) with an additional argument called queryString. This queryString argument allows you to override the query string defined in OperationDao.findOperationByGearPhysicalFeatures(int, fr.ifremer.allegro.data.vessel.feature.physical.GearPhysicalFeatures gearPhysicalFeatures).

Specified by:
findOperationByGearPhysicalFeatures in interface OperationDao
See Also:
OperationDao.findOperationByGearPhysicalFeatures(int, String, fr.ifremer.allegro.data.vessel.feature.physical.GearPhysicalFeatures)

findOperationByGearPhysicalFeatures

public java.util.Collection findOperationByGearPhysicalFeatures(int transform,
                                                                int pageNumber,
                                                                int pageSize,
                                                                GearPhysicalFeatures gearPhysicalFeatures)
Description copied from interface: OperationDao

Does the same thing as OperationDao.findOperationByGearPhysicalFeatures(int, fr.ifremer.allegro.data.vessel.feature.physical.GearPhysicalFeatures) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findOperationByGearPhysicalFeatures in interface OperationDao
See Also:
OperationDao.findOperationByGearPhysicalFeatures(int, int, int, fr.ifremer.allegro.data.vessel.feature.physical.GearPhysicalFeatures)

findOperationByGearPhysicalFeatures

public java.util.Collection findOperationByGearPhysicalFeatures(int transform,
                                                                java.lang.String queryString,
                                                                int pageNumber,
                                                                int pageSize,
                                                                GearPhysicalFeatures gearPhysicalFeatures)
Description copied from interface: OperationDao

Does the same thing as OperationDao.findOperationByGearPhysicalFeatures(int, String, fr.ifremer.allegro.data.vessel.feature.physical.GearPhysicalFeatures) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findOperationByGearPhysicalFeatures in interface OperationDao
See Also:
OperationDao.findOperationByGearPhysicalFeatures(int, java.lang.String, int, int, fr.ifremer.allegro.data.vessel.feature.physical.GearPhysicalFeatures)

findOperationByFishingTrip

public java.util.Collection findOperationByFishingTrip(FishingTrip fishingTrip)
Specified by:
findOperationByFishingTrip in interface OperationDao
See Also:
OperationDao.findOperationByFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)

findOperationByFishingTrip

public java.util.Collection findOperationByFishingTrip(int transform,
                                                       FishingTrip fishingTrip)
Description copied from interface: OperationDao

Does the same thing as OperationDao.findOperationByFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then finder results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

Specified by:
findOperationByFishingTrip in interface OperationDao
See Also:
OperationDao.findOperationByFishingTrip(int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)

findOperationByFishingTrip

public java.util.Collection findOperationByFishingTrip(java.lang.String queryString,
                                                       FishingTrip fishingTrip)
Description copied from interface: OperationDao

Does the same thing as OperationDao.findOperationByFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an additional argument called queryString. This queryString argument allows you to override the query string defined in OperationDao.findOperationByFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip).

Specified by:
findOperationByFishingTrip in interface OperationDao
See Also:
OperationDao.findOperationByFishingTrip(java.lang.String, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)

findOperationByFishingTrip

public java.util.Collection findOperationByFishingTrip(int pageNumber,
                                                       int pageSize,
                                                       FishingTrip fishingTrip)
Description copied from interface: OperationDao

Does the same thing as OperationDao.findOperationByFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findOperationByFishingTrip in interface OperationDao
See Also:
OperationDao.findOperationByFishingTrip(int, int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)

findOperationByFishingTrip

public java.util.Collection findOperationByFishingTrip(java.lang.String queryString,
                                                       int pageNumber,
                                                       int pageSize,
                                                       FishingTrip fishingTrip)
Description copied from interface: OperationDao

Does the same thing as OperationDao.findOperationByFishingTrip(String, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findOperationByFishingTrip in interface OperationDao
See Also:
OperationDao.findOperationByFishingTrip(String, int, int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)

findOperationByFishingTrip

public java.util.Collection findOperationByFishingTrip(int transform,
                                                       java.lang.String queryString,
                                                       FishingTrip fishingTrip)
Description copied from interface: OperationDao

Does the same thing as OperationDao.findOperationByFishingTrip(int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an additional argument called queryString. This queryString argument allows you to override the query string defined in OperationDao.findOperationByFishingTrip(int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip fishingTrip).

Specified by:
findOperationByFishingTrip in interface OperationDao
See Also:
OperationDao.findOperationByFishingTrip(int, String, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)

findOperationByFishingTrip

public java.util.Collection findOperationByFishingTrip(int transform,
                                                       int pageNumber,
                                                       int pageSize,
                                                       FishingTrip fishingTrip)
Description copied from interface: OperationDao

Does the same thing as OperationDao.findOperationByFishingTrip(int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findOperationByFishingTrip in interface OperationDao
See Also:
OperationDao.findOperationByFishingTrip(int, int, int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)

findOperationByFishingTrip

public java.util.Collection findOperationByFishingTrip(int transform,
                                                       java.lang.String queryString,
                                                       int pageNumber,
                                                       int pageSize,
                                                       FishingTrip fishingTrip)
Description copied from interface: OperationDao

Does the same thing as OperationDao.findOperationByFishingTrip(int, String, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findOperationByFishingTrip in interface OperationDao
See Also:
OperationDao.findOperationByFishingTrip(int, java.lang.String, int, int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)

findOperationByQualityFlag

public java.util.Collection findOperationByQualityFlag(QualityFlag qualityFlag)
Specified by:
findOperationByQualityFlag in interface OperationDao
See Also:
OperationDao.findOperationByQualityFlag(fr.ifremer.allegro.referential.QualityFlag)

findOperationByQualityFlag

public java.util.Collection findOperationByQualityFlag(int transform,
                                                       QualityFlag qualityFlag)
Description copied from interface: OperationDao

Does the same thing as OperationDao.findOperationByQualityFlag(fr.ifremer.allegro.referential.QualityFlag) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then finder results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

Specified by:
findOperationByQualityFlag in interface OperationDao
See Also:
OperationDao.findOperationByQualityFlag(int, fr.ifremer.allegro.referential.QualityFlag)

findOperationByQualityFlag

public java.util.Collection findOperationByQualityFlag(java.lang.String queryString,
                                                       QualityFlag qualityFlag)
Description copied from interface: OperationDao

Does the same thing as OperationDao.findOperationByQualityFlag(fr.ifremer.allegro.referential.QualityFlag) with an additional argument called queryString. This queryString argument allows you to override the query string defined in OperationDao.findOperationByQualityFlag(fr.ifremer.allegro.referential.QualityFlag).

Specified by:
findOperationByQualityFlag in interface OperationDao
See Also:
OperationDao.findOperationByQualityFlag(java.lang.String, fr.ifremer.allegro.referential.QualityFlag)

findOperationByQualityFlag

public java.util.Collection findOperationByQualityFlag(int pageNumber,
                                                       int pageSize,
                                                       QualityFlag qualityFlag)
Description copied from interface: OperationDao

Does the same thing as OperationDao.findOperationByQualityFlag(fr.ifremer.allegro.referential.QualityFlag) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findOperationByQualityFlag in interface OperationDao
See Also:
OperationDao.findOperationByQualityFlag(int, int, fr.ifremer.allegro.referential.QualityFlag)

findOperationByQualityFlag

public java.util.Collection findOperationByQualityFlag(java.lang.String queryString,
                                                       int pageNumber,
                                                       int pageSize,
                                                       QualityFlag qualityFlag)
Description copied from interface: OperationDao

Does the same thing as OperationDao.findOperationByQualityFlag(String, fr.ifremer.allegro.referential.QualityFlag) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findOperationByQualityFlag in interface OperationDao
See Also:
OperationDao.findOperationByQualityFlag(String, int, int, fr.ifremer.allegro.referential.QualityFlag)

findOperationByQualityFlag

public java.util.Collection findOperationByQualityFlag(int transform,
                                                       java.lang.String queryString,
                                                       QualityFlag qualityFlag)
Description copied from interface: OperationDao

Does the same thing as OperationDao.findOperationByQualityFlag(int, fr.ifremer.allegro.referential.QualityFlag) with an additional argument called queryString. This queryString argument allows you to override the query string defined in OperationDao.findOperationByQualityFlag(int, fr.ifremer.allegro.referential.QualityFlag qualityFlag).

Specified by:
findOperationByQualityFlag in interface OperationDao
See Also:
OperationDao.findOperationByQualityFlag(int, String, fr.ifremer.allegro.referential.QualityFlag)

findOperationByQualityFlag

public java.util.Collection findOperationByQualityFlag(int transform,
                                                       int pageNumber,
                                                       int pageSize,
                                                       QualityFlag qualityFlag)
Description copied from interface: OperationDao

Does the same thing as OperationDao.findOperationByQualityFlag(int, fr.ifremer.allegro.referential.QualityFlag) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findOperationByQualityFlag in interface OperationDao
See Also:
OperationDao.findOperationByQualityFlag(int, int, int, fr.ifremer.allegro.referential.QualityFlag)

findOperationByQualityFlag

public java.util.Collection findOperationByQualityFlag(int transform,
                                                       java.lang.String queryString,
                                                       int pageNumber,
                                                       int pageSize,
                                                       QualityFlag qualityFlag)
Description copied from interface: OperationDao

Does the same thing as OperationDao.findOperationByQualityFlag(int, String, fr.ifremer.allegro.referential.QualityFlag) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findOperationByQualityFlag in interface OperationDao
See Also:
OperationDao.findOperationByQualityFlag(int, java.lang.String, int, int, fr.ifremer.allegro.referential.QualityFlag)

findOperationByNaturalId

public Operation findOperationByNaturalId(java.lang.Short rankOrderOnPeriod,
                                          java.util.Date startDateTime,
                                          Vessel vessel,
                                          FishingTrip fishingTrip)
Specified by:
findOperationByNaturalId in interface OperationDao
See Also:
OperationDao.findOperationByNaturalId(java.lang.Short, java.util.Date, fr.ifremer.allegro.referential.vessel.Vessel, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)

findOperationByNaturalId

public java.lang.Object findOperationByNaturalId(int transform,
                                                 java.lang.Short rankOrderOnPeriod,
                                                 java.util.Date startDateTime,
                                                 Vessel vessel,
                                                 FishingTrip fishingTrip)
Description copied from interface: OperationDao

Does the same thing as OperationDao.findOperationByNaturalId(java.lang.Short, java.util.Date, fr.ifremer.allegro.referential.vessel.Vessel, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then finder results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

Specified by:
findOperationByNaturalId in interface OperationDao
See Also:
OperationDao.findOperationByNaturalId(int, java.lang.Short, java.util.Date, fr.ifremer.allegro.referential.vessel.Vessel, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)

findOperationByNaturalId

public Operation findOperationByNaturalId(java.lang.String queryString,
                                          java.lang.Short rankOrderOnPeriod,
                                          java.util.Date startDateTime,
                                          Vessel vessel,
                                          FishingTrip fishingTrip)
Description copied from interface: OperationDao

Does the same thing as OperationDao.findOperationByNaturalId(java.lang.Short, java.util.Date, fr.ifremer.allegro.referential.vessel.Vessel, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an additional argument called queryString. This queryString argument allows you to override the query string defined in OperationDao.findOperationByNaturalId(java.lang.Short, java.util.Date, fr.ifremer.allegro.referential.vessel.Vessel, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip).

Specified by:
findOperationByNaturalId in interface OperationDao
See Also:
OperationDao.findOperationByNaturalId(java.lang.String, java.lang.Short, java.util.Date, fr.ifremer.allegro.referential.vessel.Vessel, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)

findOperationByNaturalId

public java.lang.Object findOperationByNaturalId(int transform,
                                                 java.lang.String queryString,
                                                 java.lang.Short rankOrderOnPeriod,
                                                 java.util.Date startDateTime,
                                                 Vessel vessel,
                                                 FishingTrip fishingTrip)
Description copied from interface: OperationDao

Does the same thing as OperationDao.findOperationByNaturalId(int, java.lang.Short, java.util.Date, fr.ifremer.allegro.referential.vessel.Vessel, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an additional argument called queryString. This queryString argument allows you to override the query string defined in OperationDao.findOperationByNaturalId(int, java.lang.Short rankOrderOnPeriod, java.util.Date startDateTime, fr.ifremer.allegro.referential.vessel.Vessel vessel, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip fishingTrip).

Specified by:
findOperationByNaturalId in interface OperationDao
See Also:
OperationDao.findOperationByNaturalId(int, java.lang.String, java.lang.Short, java.util.Date, fr.ifremer.allegro.referential.vessel.Vessel, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)

createFromClusterOperation

public Operation createFromClusterOperation(ClusterOperation clusterOperation)
Specified by:
createFromClusterOperation in interface OperationDao
See Also:
OperationDao.createFromClusterOperation(fr.ifremer.allegro.data.operation.generic.cluster.ClusterOperation)

handleCreateFromClusterOperation

protected abstract Operation handleCreateFromClusterOperation(ClusterOperation clusterOperation)
                                                       throws java.lang.Exception
Performs the core logic for createFromClusterOperation(fr.ifremer.allegro.data.operation.generic.cluster.ClusterOperation)

Throws:
java.lang.Exception

getAllClusterOperation

public ClusterOperation[] getAllClusterOperation(java.lang.Integer userId,
                                                 java.lang.Integer[] registrationLocationIds,
                                                 java.lang.Integer pageNumber,
                                                 java.lang.Integer pageSize)
Specified by:
getAllClusterOperation in interface OperationDao
See Also:
OperationDao.getAllClusterOperation(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

handleGetAllClusterOperation

protected abstract ClusterOperation[] handleGetAllClusterOperation(java.lang.Integer userId,
                                                                   java.lang.Integer[] registrationLocationIds,
                                                                   java.lang.Integer pageNumber,
                                                                   java.lang.Integer pageSize)
                                                            throws java.lang.Exception
Performs the core logic for getAllClusterOperation(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Throws:
java.lang.Exception

transformEntity

protected java.lang.Object transformEntity(int transform,
                                           Operation entity)
Allows transformation of entities into value objects (or something else for that matter), when the transform flag is set to one of the constants defined in fr.ifremer.allegro.data.operation.OperationDao, please note that the OperationDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself will be returned.

This method will return instances of these types:

If the integer argument value is unknown OperationDao.TRANSFORM_NONE is assumed.

Parameters:
transform - one of the constants declared in OperationDao
entity - an entity that was found
Returns:
the transformed entity (i.e. new value object, etc)
See Also:
transformEntities(int,java.util.Collection)

transformEntities

protected void transformEntities(int transform,
                                 java.util.Collection entities)
Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.data.operation.Operation) method. This method does not instantiate a new collection.

This method is to be used internally only.

Parameters:
transform - one of the constants declared in fr.ifremer.allegro.data.operation.OperationDao
entities - the collection of entities to transform
See Also:
transformEntity(int,fr.ifremer.allegro.data.operation.Operation)

toEntity

protected Operation toEntity(java.lang.Object[] row)

toRemoteOperationFullVOCollection

public final void toRemoteOperationFullVOCollection(java.util.Collection entities)
Description copied from interface: OperationDao
Converts this DAO's entity to a Collection of instances of type RemoteOperationFullVO.

Specified by:
toRemoteOperationFullVOCollection in interface OperationDao
See Also:
OperationDao.toRemoteOperationFullVOCollection(java.util.Collection)

toRemoteOperationFullVOArray

public final RemoteOperationFullVO[] toRemoteOperationFullVOArray(java.util.Collection entities)
Description copied from interface: OperationDao
Converts this DAO's entity to an array of instances of type RemoteOperationFullVO.

Specified by:
toRemoteOperationFullVOArray in interface OperationDao
See Also:
OperationDao.toRemoteOperationFullVOArray(java.util.Collection)

toRemoteOperationFullVO

protected RemoteOperationFullVO toRemoteOperationFullVO(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. This implementation exists for convenience reasons only. It needs only be overridden in the OperationDaoImpl class if you intend to use reporting queries.

See Also:
OperationDao.toRemoteOperationFullVO(fr.ifremer.allegro.data.operation.Operation)

remoteOperationFullVOToEntityCollection

public final void remoteOperationFullVOToEntityCollection(java.util.Collection instances)
Description copied from interface: OperationDao
Converts a Collection of instances of type RemoteOperationFullVO to this DAO's entity.

Specified by:
remoteOperationFullVOToEntityCollection in interface OperationDao
See Also:
OperationDao.remoteOperationFullVOToEntityCollection(java.util.Collection)

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
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
See Also:
OperationDao.toRemoteOperationFullVO(fr.ifremer.allegro.data.operation.Operation)

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
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)

toRemoteOperationNaturalIdCollection

public final void toRemoteOperationNaturalIdCollection(java.util.Collection entities)
Description copied from interface: OperationDao
Converts this DAO's entity to a Collection of instances of type RemoteOperationNaturalId.

Specified by:
toRemoteOperationNaturalIdCollection in interface OperationDao
See Also:
OperationDao.toRemoteOperationNaturalIdCollection(java.util.Collection)

toRemoteOperationNaturalIdArray

public final RemoteOperationNaturalId[] toRemoteOperationNaturalIdArray(java.util.Collection entities)
Description copied from interface: OperationDao
Converts this DAO's entity to an array of instances of type RemoteOperationNaturalId.

Specified by:
toRemoteOperationNaturalIdArray in interface OperationDao
See Also:
OperationDao.toRemoteOperationNaturalIdArray(java.util.Collection)

toRemoteOperationNaturalId

protected RemoteOperationNaturalId toRemoteOperationNaturalId(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. This implementation exists for convenience reasons only. It needs only be overridden in the OperationDaoImpl class if you intend to use reporting queries.

See Also:
OperationDao.toRemoteOperationNaturalId(fr.ifremer.allegro.data.operation.Operation)

remoteOperationNaturalIdToEntityCollection

public final void remoteOperationNaturalIdToEntityCollection(java.util.Collection instances)
Description copied from interface: OperationDao
Converts a Collection of instances of type RemoteOperationNaturalId to this DAO's entity.

Specified by:
remoteOperationNaturalIdToEntityCollection in interface OperationDao
See Also:
OperationDao.remoteOperationNaturalIdToEntityCollection(java.util.Collection)

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
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
See Also:
OperationDao.toRemoteOperationNaturalId(fr.ifremer.allegro.data.operation.Operation)

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
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)

toClusterOperationCollection

public final void toClusterOperationCollection(java.util.Collection entities)
Description copied from interface: OperationDao
Converts this DAO's entity to a Collection of instances of type ClusterOperation.

Specified by:
toClusterOperationCollection in interface OperationDao
See Also:
OperationDao.toClusterOperationCollection(java.util.Collection)

toClusterOperationArray

public final ClusterOperation[] toClusterOperationArray(java.util.Collection entities)
Description copied from interface: OperationDao
Converts this DAO's entity to an array of instances of type ClusterOperation.

Specified by:
toClusterOperationArray in interface OperationDao
See Also:
OperationDao.toClusterOperationArray(java.util.Collection)

toClusterOperation

protected ClusterOperation toClusterOperation(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. This implementation exists for convenience reasons only. It needs only be overridden in the OperationDaoImpl class if you intend to use reporting queries.

See Also:
OperationDao.toClusterOperation(fr.ifremer.allegro.data.operation.Operation)

clusterOperationToEntityCollection

public final void clusterOperationToEntityCollection(java.util.Collection instances)
Description copied from interface: OperationDao
Converts a Collection of instances of type ClusterOperation to this DAO's entity.

Specified by:
clusterOperationToEntityCollection in interface OperationDao
See Also:
OperationDao.clusterOperationToEntityCollection(java.util.Collection)

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
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
See Also:
OperationDao.toClusterOperation(fr.ifremer.allegro.data.operation.Operation)

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
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)

getPrincipal

protected java.security.Principal getPrincipal()
Gets the current principal if one has been set, otherwise returns null.

Returns:
the current principal

search

public PaginationResult search(int transform,
                               int pageNumber,
                               int pageSize,
                               Search search)
Description copied from interface: OperationDao
Does the same thing as {@link #search(int, fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize. These flags allow you to limit your data to a specified page number and size.

Specified by:
search in interface OperationDao
Parameters:
transform - the transformation flag.
pageNumber - the page number in the data to retrieve
pageSize - the size of the page to retrieve.
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search wrapped in a PaginationResult instance.
See Also:
OperationDao.search(int, int, int, fr.ifremer.allegro.Search)

search

public PaginationResult search(int pageNumber,
                               int pageSize,
                               Search search)
Description copied from interface: OperationDao
Does the same thing as {@link #search(fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize. These flags allow you to limit your data to a specified page number and size.

Specified by:
search in interface OperationDao
Parameters:
pageNumber - the page number in the data to retrieve
pageSize - the size of the page to retrieve.
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search wrapped in a PaginationResult instance.
See Also:
OperationDao.search(int, int, fr.ifremer.allegro.Search)

search

public java.util.Set search(int transform,
                            Search search)
Description copied from interface: OperationDao
Does the same thing as OperationDao.search(fr.ifremer.allegro.Search) but with an additional flag called transform. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

Specified by:
search in interface OperationDao
Parameters:
transform - the transformation flag.
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search.
See Also:
OperationDao.search(int, fr.ifremer.allegro.Search)

search

public java.util.Set search(Search search)
Description copied from interface: OperationDao
Performs a search using the parameters specified in the given search object.

Specified by:
search in interface OperationDao
Parameters:
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search.
See Also:
OperationDao.search(fr.ifremer.allegro.Search)


Copyright © 2008-2010 IFREMER. All Rights Reserved.