fr.ifremer.allegro.data.produce
Class ProduceDaoBase

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.data.produce.ProduceDaoBase
All Implemented Interfaces:
ProduceDao
Direct Known Subclasses:
ProduceDaoImpl

public abstract class ProduceDaoBase
extends org.springframework.orm.hibernate3.support.HibernateDaoSupport
implements ProduceDao

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

See Also:
Produce

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.data.produce.ProduceDao
TRANSFORM_CLUSTERPRODUCE, TRANSFORM_NONE, TRANSFORM_REMOTEPRODUCEFULLVO, TRANSFORM_REMOTEPRODUCENATURALID
 
Constructor Summary
ProduceDaoBase()
           
 
Method Summary
 void clusterProduceToEntity(ClusterProduce source, Produce target, boolean copyIfNull)
          Copies the fields of ClusterProduce to the specified entity.
 void clusterProduceToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterProduce to this DAO's entity.
 Produce create(java.lang.Boolean isDiscard, java.lang.Float subgroupCount, java.lang.Short individualCount, java.lang.String taxonGroupOtherInformation, java.util.Date controlDate, java.util.Date validationDate, java.util.Date qualificationDate, java.lang.String qualificationComments, Batch batch, java.util.Collection sortingMeasurements, java.util.Collection quantificationMeasurements, Landing landing, Gear gear, TaxonGroup otherTaxonGroup, TaxonGroup taxonGroup, java.util.Collection fishingAreas, FishingOperation fishingOperation, Transshipment transshipment, QualityFlag qualityFlag)
           Creates a new fr.ifremer.allegro.data.produce.Produce instance from all attributes and properties and adds it to the persistent store.
 Produce create(java.lang.Boolean isDiscard, QualityFlag qualityFlag, java.util.Collection quantificationMeasurements, TaxonGroup taxonGroup)
           Creates a new fr.ifremer.allegro.data.produce.Produce instance from only required properties (attributes and association ends) and adds it to the persistent store.
 java.util.Collection create(java.util.Collection entities)
          Creates a new instance of fr.ifremer.allegro.data.produce.Produce and adds from the passed in entities collection
 java.lang.Object create(int transform, java.lang.Boolean isDiscard, java.lang.Float subgroupCount, java.lang.Short individualCount, java.lang.String taxonGroupOtherInformation, java.util.Date controlDate, java.util.Date validationDate, java.util.Date qualificationDate, java.lang.String qualificationComments, Batch batch, java.util.Collection sortingMeasurements, java.util.Collection quantificationMeasurements, Landing landing, Gear gear, TaxonGroup otherTaxonGroup, TaxonGroup taxonGroup, java.util.Collection fishingAreas, FishingOperation fishingOperation, Transshipment transshipment, QualityFlag qualityFlag)
           Does the same thing as ProduceDao.create(java.lang.Boolean,java.lang.Float,java.lang.Short,java.lang.String,java.util.Date,java.util.Date,java.util.Date,java.lang.String,fr.ifremer.allegro.data.batch.Batch,java.util.Collection,java.util.Collection,fr.ifremer.allegro.data.survey.landing.Landing,fr.ifremer.allegro.referential.gear.Gear,fr.ifremer.allegro.referential.taxon.TaxonGroup,fr.ifremer.allegro.referential.taxon.TaxonGroup,java.util.Collection,fr.ifremer.allegro.data.operation.FishingOperation,fr.ifremer.allegro.data.transshipment.Transshipment,fr.ifremer.allegro.referential.QualityFlag) with an additional flag called transform.
 java.lang.Object create(int transform, java.lang.Boolean isDiscard, QualityFlag qualityFlag, java.util.Collection quantificationMeasurements, TaxonGroup taxonGroup)
           Does the same thing as ProduceDao.create(java.lang.Boolean,fr.ifremer.allegro.referential.QualityFlag,java.util.Collection,fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional flag called transform.
 java.util.Collection create(int transform, java.util.Collection entities)
           Does the same thing as ProduceDao.create(fr.ifremer.allegro.data.produce.Produce) with an additional flag called transform.
 java.lang.Object create(int transform, Produce produce)
           Does the same thing as ProduceDao.create(fr.ifremer.allegro.data.produce.Produce) with an additional flag called transform.
 Produce create(Produce produce)
          Creates an instance of fr.ifremer.allegro.data.produce.Produce and adds it to the persistent store.
 Produce createFromClusterProduce(ClusterProduce clusterProduce)
           
 java.util.Collection findProduceByBatch(Batch batch)
           
 java.util.Collection findProduceByBatch(int transform, Batch batch)
           Does the same thing as ProduceDao.findProduceByBatch(fr.ifremer.allegro.data.batch.Batch) with an additional flag called transform.
 java.util.Collection findProduceByBatch(int pageNumber, int pageSize, Batch batch)
           Does the same thing as ProduceDao.findProduceByBatch(fr.ifremer.allegro.data.batch.Batch) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findProduceByBatch(int transform, int pageNumber, int pageSize, Batch batch)
           Does the same thing as ProduceDao.findProduceByBatch(int, fr.ifremer.allegro.data.batch.Batch) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findProduceByBatch(int transform, java.lang.String queryString, Batch batch)
           Does the same thing as ProduceDao.findProduceByBatch(int, fr.ifremer.allegro.data.batch.Batch) with an additional argument called queryString.
 java.util.Collection findProduceByBatch(int transform, java.lang.String queryString, int pageNumber, int pageSize, Batch batch)
           Does the same thing as ProduceDao.findProduceByBatch(int, String, fr.ifremer.allegro.data.batch.Batch) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findProduceByBatch(java.lang.String queryString, Batch batch)
           Does the same thing as ProduceDao.findProduceByBatch(fr.ifremer.allegro.data.batch.Batch) with an additional argument called queryString.
 java.util.Collection findProduceByBatch(java.lang.String queryString, int pageNumber, int pageSize, Batch batch)
           Does the same thing as ProduceDao.findProduceByBatch(String, fr.ifremer.allegro.data.batch.Batch) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findProduceByFishingOperation(FishingOperation fishingOperation)
           
 java.util.Collection findProduceByFishingOperation(int transform, FishingOperation fishingOperation)
           Does the same thing as ProduceDao.findProduceByFishingOperation(fr.ifremer.allegro.data.operation.FishingOperation) with an additional flag called transform.
 java.util.Collection findProduceByFishingOperation(int pageNumber, int pageSize, FishingOperation fishingOperation)
           Does the same thing as ProduceDao.findProduceByFishingOperation(fr.ifremer.allegro.data.operation.FishingOperation) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findProduceByFishingOperation(int transform, int pageNumber, int pageSize, FishingOperation fishingOperation)
           Does the same thing as ProduceDao.findProduceByFishingOperation(int, fr.ifremer.allegro.data.operation.FishingOperation) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findProduceByFishingOperation(int transform, java.lang.String queryString, FishingOperation fishingOperation)
           Does the same thing as ProduceDao.findProduceByFishingOperation(int, fr.ifremer.allegro.data.operation.FishingOperation) with an additional argument called queryString.
 java.util.Collection findProduceByFishingOperation(int transform, java.lang.String queryString, int pageNumber, int pageSize, FishingOperation fishingOperation)
           Does the same thing as ProduceDao.findProduceByFishingOperation(int, String, fr.ifremer.allegro.data.operation.FishingOperation) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findProduceByFishingOperation(java.lang.String queryString, FishingOperation fishingOperation)
           Does the same thing as ProduceDao.findProduceByFishingOperation(fr.ifremer.allegro.data.operation.FishingOperation) with an additional argument called queryString.
 java.util.Collection findProduceByFishingOperation(java.lang.String queryString, int pageNumber, int pageSize, FishingOperation fishingOperation)
           Does the same thing as ProduceDao.findProduceByFishingOperation(String, fr.ifremer.allegro.data.operation.FishingOperation) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findProduceByGear(Gear gear)
           
 java.util.Collection findProduceByGear(int transform, Gear gear)
           Does the same thing as ProduceDao.findProduceByGear(fr.ifremer.allegro.referential.gear.Gear) with an additional flag called transform.
 java.util.Collection findProduceByGear(int pageNumber, int pageSize, Gear gear)
           Does the same thing as ProduceDao.findProduceByGear(fr.ifremer.allegro.referential.gear.Gear) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findProduceByGear(int transform, int pageNumber, int pageSize, Gear gear)
           Does the same thing as ProduceDao.findProduceByGear(int, fr.ifremer.allegro.referential.gear.Gear) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findProduceByGear(int transform, java.lang.String queryString, Gear gear)
           Does the same thing as ProduceDao.findProduceByGear(int, fr.ifremer.allegro.referential.gear.Gear) with an additional argument called queryString.
 java.util.Collection findProduceByGear(int transform, java.lang.String queryString, int pageNumber, int pageSize, Gear gear)
           Does the same thing as ProduceDao.findProduceByGear(int, String, fr.ifremer.allegro.referential.gear.Gear) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findProduceByGear(java.lang.String queryString, Gear gear)
           Does the same thing as ProduceDao.findProduceByGear(fr.ifremer.allegro.referential.gear.Gear) with an additional argument called queryString.
 java.util.Collection findProduceByGear(java.lang.String queryString, int pageNumber, int pageSize, Gear gear)
           Does the same thing as ProduceDao.findProduceByGear(String, fr.ifremer.allegro.referential.gear.Gear) with an additional two arguments called pageNumber and pageSize.
 Produce findProduceById(java.lang.Integer id)
           
 java.lang.Object findProduceById(int transform, java.lang.Integer id)
           Does the same thing as ProduceDao.findProduceById(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findProduceById(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as ProduceDao.findProduceById(int, java.lang.Integer) with an additional argument called queryString.
 Produce findProduceById(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as ProduceDao.findProduceById(java.lang.Integer) with an additional argument called queryString.
 java.util.Collection findProduceByLanding(int transform, int pageNumber, int pageSize, Landing landing)
           Does the same thing as ProduceDao.findProduceByLanding(int, fr.ifremer.allegro.data.survey.landing.Landing) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findProduceByLanding(int pageNumber, int pageSize, Landing landing)
           Does the same thing as ProduceDao.findProduceByLanding(fr.ifremer.allegro.data.survey.landing.Landing) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findProduceByLanding(int transform, Landing landing)
           Does the same thing as ProduceDao.findProduceByLanding(fr.ifremer.allegro.data.survey.landing.Landing) with an additional flag called transform.
 java.util.Collection findProduceByLanding(int transform, java.lang.String queryString, int pageNumber, int pageSize, Landing landing)
           Does the same thing as ProduceDao.findProduceByLanding(int, String, fr.ifremer.allegro.data.survey.landing.Landing) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findProduceByLanding(int transform, java.lang.String queryString, Landing landing)
           Does the same thing as ProduceDao.findProduceByLanding(int, fr.ifremer.allegro.data.survey.landing.Landing) with an additional argument called queryString.
 java.util.Collection findProduceByLanding(Landing landing)
           
 java.util.Collection findProduceByLanding(java.lang.String queryString, int pageNumber, int pageSize, Landing landing)
           Does the same thing as ProduceDao.findProduceByLanding(String, fr.ifremer.allegro.data.survey.landing.Landing) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findProduceByLanding(java.lang.String queryString, Landing landing)
           Does the same thing as ProduceDao.findProduceByLanding(fr.ifremer.allegro.data.survey.landing.Landing) with an additional argument called queryString.
 Produce findProduceByNaturalId(java.lang.Integer id)
           
 java.lang.Object findProduceByNaturalId(int transform, java.lang.Integer id)
           Does the same thing as ProduceDao.findProduceByNaturalId(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findProduceByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as ProduceDao.findProduceByNaturalId(int, java.lang.Integer) with an additional argument called queryString.
 Produce findProduceByNaturalId(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as ProduceDao.findProduceByNaturalId(java.lang.Integer) with an additional argument called queryString.
 java.util.Collection findProduceByOtherTaxonGroup(int transform, int pageNumber, int pageSize, TaxonGroup otherTaxonGroup)
           Does the same thing as ProduceDao.findProduceByOtherTaxonGroup(int, fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findProduceByOtherTaxonGroup(int pageNumber, int pageSize, TaxonGroup otherTaxonGroup)
           Does the same thing as ProduceDao.findProduceByOtherTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findProduceByOtherTaxonGroup(int transform, java.lang.String queryString, int pageNumber, int pageSize, TaxonGroup otherTaxonGroup)
           Does the same thing as ProduceDao.findProduceByOtherTaxonGroup(int, String, fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findProduceByOtherTaxonGroup(int transform, java.lang.String queryString, TaxonGroup otherTaxonGroup)
           Does the same thing as ProduceDao.findProduceByOtherTaxonGroup(int, fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional argument called queryString.
 java.util.Collection findProduceByOtherTaxonGroup(int transform, TaxonGroup otherTaxonGroup)
           Does the same thing as ProduceDao.findProduceByOtherTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional flag called transform.
 java.util.Collection findProduceByOtherTaxonGroup(java.lang.String queryString, int pageNumber, int pageSize, TaxonGroup otherTaxonGroup)
           Does the same thing as ProduceDao.findProduceByOtherTaxonGroup(String, fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findProduceByOtherTaxonGroup(java.lang.String queryString, TaxonGroup otherTaxonGroup)
           Does the same thing as ProduceDao.findProduceByOtherTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional argument called queryString.
 java.util.Collection findProduceByOtherTaxonGroup(TaxonGroup otherTaxonGroup)
           
 java.util.Collection findProduceByQualityFlag(int transform, int pageNumber, int pageSize, QualityFlag qualityFlag)
           Does the same thing as ProduceDao.findProduceByQualityFlag(int, fr.ifremer.allegro.referential.QualityFlag) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findProduceByQualityFlag(int pageNumber, int pageSize, QualityFlag qualityFlag)
           Does the same thing as ProduceDao.findProduceByQualityFlag(fr.ifremer.allegro.referential.QualityFlag) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findProduceByQualityFlag(int transform, QualityFlag qualityFlag)
           Does the same thing as ProduceDao.findProduceByQualityFlag(fr.ifremer.allegro.referential.QualityFlag) with an additional flag called transform.
 java.util.Collection findProduceByQualityFlag(int transform, java.lang.String queryString, int pageNumber, int pageSize, QualityFlag qualityFlag)
           Does the same thing as ProduceDao.findProduceByQualityFlag(int, String, fr.ifremer.allegro.referential.QualityFlag) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findProduceByQualityFlag(int transform, java.lang.String queryString, QualityFlag qualityFlag)
           Does the same thing as ProduceDao.findProduceByQualityFlag(int, fr.ifremer.allegro.referential.QualityFlag) with an additional argument called queryString.
 java.util.Collection findProduceByQualityFlag(QualityFlag qualityFlag)
           
 java.util.Collection findProduceByQualityFlag(java.lang.String queryString, int pageNumber, int pageSize, QualityFlag qualityFlag)
           Does the same thing as ProduceDao.findProduceByQualityFlag(String, fr.ifremer.allegro.referential.QualityFlag) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findProduceByQualityFlag(java.lang.String queryString, QualityFlag qualityFlag)
           Does the same thing as ProduceDao.findProduceByQualityFlag(fr.ifremer.allegro.referential.QualityFlag) with an additional argument called queryString.
 java.util.Collection findProduceByTaxonGroup(int transform, int pageNumber, int pageSize, TaxonGroup taxonGroup)
           Does the same thing as ProduceDao.findProduceByTaxonGroup(int, fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findProduceByTaxonGroup(int pageNumber, int pageSize, TaxonGroup taxonGroup)
           Does the same thing as ProduceDao.findProduceByTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findProduceByTaxonGroup(int transform, java.lang.String queryString, int pageNumber, int pageSize, TaxonGroup taxonGroup)
           Does the same thing as ProduceDao.findProduceByTaxonGroup(int, String, fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findProduceByTaxonGroup(int transform, java.lang.String queryString, TaxonGroup taxonGroup)
           Does the same thing as ProduceDao.findProduceByTaxonGroup(int, fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional argument called queryString.
 java.util.Collection findProduceByTaxonGroup(int transform, TaxonGroup taxonGroup)
           Does the same thing as ProduceDao.findProduceByTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional flag called transform.
 java.util.Collection findProduceByTaxonGroup(java.lang.String queryString, int pageNumber, int pageSize, TaxonGroup taxonGroup)
           Does the same thing as ProduceDao.findProduceByTaxonGroup(String, fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findProduceByTaxonGroup(java.lang.String queryString, TaxonGroup taxonGroup)
           Does the same thing as ProduceDao.findProduceByTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional argument called queryString.
 java.util.Collection findProduceByTaxonGroup(TaxonGroup taxonGroup)
           
 java.util.Collection findProduceByTransshipment(int transform, int pageNumber, int pageSize, Transshipment transshipment)
           Does the same thing as ProduceDao.findProduceByTransshipment(int, fr.ifremer.allegro.data.transshipment.Transshipment) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findProduceByTransshipment(int pageNumber, int pageSize, Transshipment transshipment)
           Does the same thing as ProduceDao.findProduceByTransshipment(fr.ifremer.allegro.data.transshipment.Transshipment) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findProduceByTransshipment(int transform, java.lang.String queryString, int pageNumber, int pageSize, Transshipment transshipment)
           Does the same thing as ProduceDao.findProduceByTransshipment(int, String, fr.ifremer.allegro.data.transshipment.Transshipment) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findProduceByTransshipment(int transform, java.lang.String queryString, Transshipment transshipment)
           Does the same thing as ProduceDao.findProduceByTransshipment(int, fr.ifremer.allegro.data.transshipment.Transshipment) with an additional argument called queryString.
 java.util.Collection findProduceByTransshipment(int transform, Transshipment transshipment)
           Does the same thing as ProduceDao.findProduceByTransshipment(fr.ifremer.allegro.data.transshipment.Transshipment) with an additional flag called transform.
 java.util.Collection findProduceByTransshipment(java.lang.String queryString, int pageNumber, int pageSize, Transshipment transshipment)
           Does the same thing as ProduceDao.findProduceByTransshipment(String, fr.ifremer.allegro.data.transshipment.Transshipment) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findProduceByTransshipment(java.lang.String queryString, Transshipment transshipment)
           Does the same thing as ProduceDao.findProduceByTransshipment(fr.ifremer.allegro.data.transshipment.Transshipment) with an additional argument called queryString.
 java.util.Collection findProduceByTransshipment(Transshipment transshipment)
           
 ClusterProduce[] getAllClusterProduce(java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
 java.util.Collection getAllProduce()
           
 java.util.Collection getAllProduce(int transform)
           Does the same thing as ProduceDao.getAllProduce() with an additional flag called transform.
 java.util.Collection getAllProduce(int pageNumber, int pageSize)
           Does the same thing as ProduceDao.getAllProduce() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllProduce(int transform, int pageNumber, int pageSize)
           Does the same thing as ProduceDao.getAllProduce(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllProduce(int transform, java.lang.String queryString)
           Does the same thing as ProduceDao.getAllProduce(int) with an additional argument called queryString.
 java.util.Collection getAllProduce(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as ProduceDao.getAllProduce(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllProduce(java.lang.String queryString)
           Does the same thing as ProduceDao.getAllProduce() with an additional argument called queryString.
 java.util.Collection getAllProduce(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as ProduceDao.getAllProduce(String) with an additional two arguments called pageNumber and pageSize.
protected  BatchDao getBatchDao()
          Gets the reference to batchDao.
protected  FishingAreaDao getFishingAreaDao()
          Gets the reference to fishingAreaDao.
protected  FishingOperationDao getFishingOperationDao()
          Gets the reference to fishingOperationDao.
protected  GearDao getGearDao()
          Gets the reference to gearDao.
protected  LandingDao getLandingDao()
          Gets the reference to landingDao.
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  QuantificationMeasurementDao getQuantificationMeasurementDao()
          Gets the reference to quantificationMeasurementDao.
protected  SortingMeasurementDao getSortingMeasurementDao()
          Gets the reference to sortingMeasurementDao.
protected  TaxonGroupDao getTaxonGroupDao()
          Gets the reference to taxonGroupDao.
protected  TransshipmentDao getTransshipmentDao()
          Gets the reference to transshipmentDao.
protected abstract  Produce handleCreateFromClusterProduce(ClusterProduce clusterProduce)
          Performs the core logic for createFromClusterProduce(fr.ifremer.allegro.data.produce.generic.cluster.ClusterProduce)
protected abstract  ClusterProduce[] handleGetAllClusterProduce(java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
          Performs the core logic for getAllClusterProduce(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 Produce load(java.lang.Integer id)
          Loads an instance of fr.ifremer.allegro.data.produce.Produce from the persistent store.
 java.lang.Object load(int transform, java.lang.Integer id)
           Does the same thing as ProduceDao.load(java.lang.Integer) with an additional flag called transform.
 java.util.Collection loadAll()
          Loads all entities of type Produce.
 java.util.Collection loadAll(int transform)
           Does the same thing as ProduceDao.loadAll() with an additional flag called transform.
 java.util.Collection loadAll(int pageNumber, int pageSize)
           Does the same thing as ProduceDao.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 ProduceDao.loadAll(int) with an additional two arguments called pageNumber and pageSize.
 void remoteProduceFullVOToEntity(RemoteProduceFullVO source, Produce target, boolean copyIfNull)
          Copies the fields of RemoteProduceFullVO to the specified entity.
 void remoteProduceFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteProduceFullVO to this DAO's entity.
 void remoteProduceNaturalIdToEntity(RemoteProduceNaturalId source, Produce target, boolean copyIfNull)
          Copies the fields of RemoteProduceNaturalId to the specified entity.
 void remoteProduceNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteProduceNaturalId 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.produce.Produce having the given identifier from the persistent store.
 void remove(Produce produce)
          Removes the instance of fr.ifremer.allegro.data.produce.Produce 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 ProduceDao.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 setBatchDao(BatchDao batchDao)
          Sets the reference to batchDao.
 void setFishingAreaDao(FishingAreaDao fishingAreaDao)
          Sets the reference to fishingAreaDao.
 void setFishingOperationDao(FishingOperationDao fishingOperationDao)
          Sets the reference to fishingOperationDao.
 void setGearDao(GearDao gearDao)
          Sets the reference to gearDao.
 void setLandingDao(LandingDao landingDao)
          Sets the reference to landingDao.
 void setQualityFlagDao(QualityFlagDao qualityFlagDao)
          Sets the reference to qualityFlagDao.
 void setQuantificationMeasurementDao(QuantificationMeasurementDao quantificationMeasurementDao)
          Sets the reference to quantificationMeasurementDao.
 void setSortingMeasurementDao(SortingMeasurementDao sortingMeasurementDao)
          Sets the reference to sortingMeasurementDao.
 void setTaxonGroupDao(TaxonGroupDao taxonGroupDao)
          Sets the reference to taxonGroupDao.
 void setTransshipmentDao(TransshipmentDao transshipmentDao)
          Sets the reference to transshipmentDao.
protected  ClusterProduce toClusterProduce(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 ClusterProduce toClusterProduce(Produce entity)
          Converts this DAO's entity to an object of type ClusterProduce.
 void toClusterProduce(Produce source, ClusterProduce target)
          Copies the fields of the specified entity to the target value object.
 ClusterProduce[] toClusterProduceArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterProduce.
 void toClusterProduceCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterProduce.
protected  Produce toEntity(java.lang.Object[] row)
           
protected  RemoteProduceFullVO toRemoteProduceFullVO(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteProduceFullVO toRemoteProduceFullVO(Produce entity)
          Converts this DAO's entity to an object of type RemoteProduceFullVO.
 void toRemoteProduceFullVO(Produce source, RemoteProduceFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteProduceFullVO[] toRemoteProduceFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteProduceFullVO.
 void toRemoteProduceFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteProduceFullVO.
protected  RemoteProduceNaturalId toRemoteProduceNaturalId(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteProduceNaturalId toRemoteProduceNaturalId(Produce entity)
          Converts this DAO's entity to an object of type RemoteProduceNaturalId.
 void toRemoteProduceNaturalId(Produce source, RemoteProduceNaturalId target)
          Copies the fields of the specified entity to the target value object.
 RemoteProduceNaturalId[] toRemoteProduceNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteProduceNaturalId.
 void toRemoteProduceNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteProduceNaturalId.
protected  void transformEntities(int transform, java.util.Collection entities)
          Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.data.produce.Produce) method.
protected  java.lang.Object transformEntity(int transform, Produce 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.produce.ProduceDao, please note that the ProduceDao.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(Produce produce)
          Updates the produce 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.produce.ProduceDao
clusterProduceToEntity, remoteProduceFullVOToEntity, remoteProduceNaturalIdToEntity
 

Constructor Detail

ProduceDaoBase

public ProduceDaoBase()
Method Detail

setTaxonGroupDao

public void setTaxonGroupDao(TaxonGroupDao taxonGroupDao)
Sets the reference to taxonGroupDao.


getTaxonGroupDao

protected TaxonGroupDao getTaxonGroupDao()
Gets the reference to taxonGroupDao.


setLandingDao

public void setLandingDao(LandingDao landingDao)
Sets the reference to landingDao.


getLandingDao

protected LandingDao getLandingDao()
Gets the reference to landingDao.


setGearDao

public void setGearDao(GearDao gearDao)
Sets the reference to gearDao.


getGearDao

protected GearDao getGearDao()
Gets the reference to gearDao.


setTransshipmentDao

public void setTransshipmentDao(TransshipmentDao transshipmentDao)
Sets the reference to transshipmentDao.


getTransshipmentDao

protected TransshipmentDao getTransshipmentDao()
Gets the reference to transshipmentDao.


setBatchDao

public void setBatchDao(BatchDao batchDao)
Sets the reference to batchDao.


getBatchDao

protected BatchDao getBatchDao()
Gets the reference to batchDao.


setFishingOperationDao

public void setFishingOperationDao(FishingOperationDao fishingOperationDao)
Sets the reference to fishingOperationDao.


getFishingOperationDao

protected FishingOperationDao getFishingOperationDao()
Gets the reference to fishingOperationDao.


setQualityFlagDao

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


getQualityFlagDao

protected QualityFlagDao getQualityFlagDao()
Gets the reference to qualityFlagDao.


setQuantificationMeasurementDao

public void setQuantificationMeasurementDao(QuantificationMeasurementDao quantificationMeasurementDao)
Sets the reference to quantificationMeasurementDao.


getQuantificationMeasurementDao

protected QuantificationMeasurementDao getQuantificationMeasurementDao()
Gets the reference to quantificationMeasurementDao.


setSortingMeasurementDao

public void setSortingMeasurementDao(SortingMeasurementDao sortingMeasurementDao)
Sets the reference to sortingMeasurementDao.


getSortingMeasurementDao

protected SortingMeasurementDao getSortingMeasurementDao()
Gets the reference to sortingMeasurementDao.


setFishingAreaDao

public void setFishingAreaDao(FishingAreaDao fishingAreaDao)
Sets the reference to fishingAreaDao.


getFishingAreaDao

protected FishingAreaDao getFishingAreaDao()
Gets the reference to fishingAreaDao.


load

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

Does the same thing as ProduceDao.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 ProduceDao
id - identifier of the entity to load
Returns:
either the entity or the object transformed from the entity.
See Also:
ProduceDao.load(int, java.lang.Integer)

load

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

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

loadAll

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

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

loadAll

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

Does the same thing as ProduceDao.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 ProduceDao
Parameters:
transform - the flag indicating what transformation to use.
Returns:
the loaded entities.
See Also:
ProduceDao.loadAll(int)

loadAll

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

Does the same thing as ProduceDao.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 ProduceDao
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:
ProduceDao.loadAll(int, int)

loadAll

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

Does the same thing as ProduceDao.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 ProduceDao
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:
ProduceDao.loadAll(int, int, int)

create

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

Specified by:
create in interface ProduceDao
See Also:
ProduceDao.create(fr.ifremer.allegro.data.produce.Produce)

create

public java.lang.Object create(int transform,
                               Produce produce)
Description copied from interface: ProduceDao

Does the same thing as ProduceDao.create(fr.ifremer.allegro.data.produce.Produce) 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 ProduceDao
See Also:
ProduceDao.create(int transform, fr.ifremer.allegro.data.produce.Produce)

create

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

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

create

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

Does the same thing as ProduceDao.create(fr.ifremer.allegro.data.produce.Produce) 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 ProduceDao
See Also:
ProduceDao.create(int, java.util.Collection)

create

public Produce create(java.lang.Boolean isDiscard,
                      java.lang.Float subgroupCount,
                      java.lang.Short individualCount,
                      java.lang.String taxonGroupOtherInformation,
                      java.util.Date controlDate,
                      java.util.Date validationDate,
                      java.util.Date qualificationDate,
                      java.lang.String qualificationComments,
                      Batch batch,
                      java.util.Collection sortingMeasurements,
                      java.util.Collection quantificationMeasurements,
                      Landing landing,
                      Gear gear,
                      TaxonGroup otherTaxonGroup,
                      TaxonGroup taxonGroup,
                      java.util.Collection fishingAreas,
                      FishingOperation fishingOperation,
                      Transshipment transshipment,
                      QualityFlag qualityFlag)
Description copied from interface: ProduceDao

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

Specified by:
create in interface ProduceDao
See Also:
ProduceDao.create(java.lang.Boolean,java.lang.Float,java.lang.Short,java.lang.String,java.util.Date,java.util.Date,java.util.Date,java.lang.String,fr.ifremer.allegro.data.batch.Batch,java.util.Collection,java.util.Collection,fr.ifremer.allegro.data.survey.landing.Landing,fr.ifremer.allegro.referential.gear.Gear,fr.ifremer.allegro.referential.taxon.TaxonGroup,fr.ifremer.allegro.referential.taxon.TaxonGroup,java.util.Collection,fr.ifremer.allegro.data.operation.FishingOperation,fr.ifremer.allegro.data.transshipment.Transshipment,fr.ifremer.allegro.referential.QualityFlag)

create

public java.lang.Object create(int transform,
                               java.lang.Boolean isDiscard,
                               java.lang.Float subgroupCount,
                               java.lang.Short individualCount,
                               java.lang.String taxonGroupOtherInformation,
                               java.util.Date controlDate,
                               java.util.Date validationDate,
                               java.util.Date qualificationDate,
                               java.lang.String qualificationComments,
                               Batch batch,
                               java.util.Collection sortingMeasurements,
                               java.util.Collection quantificationMeasurements,
                               Landing landing,
                               Gear gear,
                               TaxonGroup otherTaxonGroup,
                               TaxonGroup taxonGroup,
                               java.util.Collection fishingAreas,
                               FishingOperation fishingOperation,
                               Transshipment transshipment,
                               QualityFlag qualityFlag)
Description copied from interface: ProduceDao

Does the same thing as ProduceDao.create(java.lang.Boolean,java.lang.Float,java.lang.Short,java.lang.String,java.util.Date,java.util.Date,java.util.Date,java.lang.String,fr.ifremer.allegro.data.batch.Batch,java.util.Collection,java.util.Collection,fr.ifremer.allegro.data.survey.landing.Landing,fr.ifremer.allegro.referential.gear.Gear,fr.ifremer.allegro.referential.taxon.TaxonGroup,fr.ifremer.allegro.referential.taxon.TaxonGroup,java.util.Collection,fr.ifremer.allegro.data.operation.FishingOperation,fr.ifremer.allegro.data.transshipment.Transshipment,fr.ifremer.allegro.referential.QualityFlag) 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 ProduceDao
See Also:
ProduceDao.create(int, java.lang.Boolean,java.lang.Float,java.lang.Short,java.lang.String,java.util.Date,java.util.Date,java.util.Date,java.lang.String,fr.ifremer.allegro.data.batch.Batch,java.util.Collection,java.util.Collection,fr.ifremer.allegro.data.survey.landing.Landing,fr.ifremer.allegro.referential.gear.Gear,fr.ifremer.allegro.referential.taxon.TaxonGroup,fr.ifremer.allegro.referential.taxon.TaxonGroup,java.util.Collection,fr.ifremer.allegro.data.operation.FishingOperation,fr.ifremer.allegro.data.transshipment.Transshipment,fr.ifremer.allegro.referential.QualityFlag)

create

public Produce create(java.lang.Boolean isDiscard,
                      QualityFlag qualityFlag,
                      java.util.Collection quantificationMeasurements,
                      TaxonGroup taxonGroup)
Description copied from interface: ProduceDao

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

Specified by:
create in interface ProduceDao
See Also:
ProduceDao.create(java.lang.Boolean,fr.ifremer.allegro.referential.QualityFlag,java.util.Collection,fr.ifremer.allegro.referential.taxon.TaxonGroup)

create

public java.lang.Object create(int transform,
                               java.lang.Boolean isDiscard,
                               QualityFlag qualityFlag,
                               java.util.Collection quantificationMeasurements,
                               TaxonGroup taxonGroup)
Description copied from interface: ProduceDao

Does the same thing as ProduceDao.create(java.lang.Boolean,fr.ifremer.allegro.referential.QualityFlag,java.util.Collection,fr.ifremer.allegro.referential.taxon.TaxonGroup) 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 ProduceDao
See Also:
ProduceDao.create(int, java.lang.Boolean,fr.ifremer.allegro.referential.QualityFlag,java.util.Collection,fr.ifremer.allegro.referential.taxon.TaxonGroup)

update

public void update(Produce produce)
Description copied from interface: ProduceDao
Updates the produce instance in the persistent store.

Specified by:
update in interface ProduceDao
See Also:
ProduceDao.update(fr.ifremer.allegro.data.produce.Produce)

update

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

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

remove

public void remove(Produce produce)
Description copied from interface: ProduceDao
Removes the instance of fr.ifremer.allegro.data.produce.Produce from the persistent store.

Specified by:
remove in interface ProduceDao
See Also:
ProduceDao.remove(fr.ifremer.allegro.data.produce.Produce)

remove

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

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

remove

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

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

getAllProduce

public java.util.Collection getAllProduce()
Specified by:
getAllProduce in interface ProduceDao
See Also:
ProduceDao.getAllProduce()

getAllProduce

public java.util.Collection getAllProduce(int transform)
Description copied from interface: ProduceDao

Does the same thing as ProduceDao.getAllProduce() 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:
getAllProduce in interface ProduceDao
See Also:
ProduceDao.getAllProduce(int)

getAllProduce

public java.util.Collection getAllProduce(java.lang.String queryString)
Description copied from interface: ProduceDao

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

Specified by:
getAllProduce in interface ProduceDao
See Also:
ProduceDao.getAllProduce(java.lang.String)

getAllProduce

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

Does the same thing as ProduceDao.getAllProduce() 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:
getAllProduce in interface ProduceDao
See Also:
ProduceDao.getAllProduce(int, int)

getAllProduce

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

Does the same thing as ProduceDao.getAllProduce(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:
getAllProduce in interface ProduceDao
See Also:
ProduceDao.getAllProduce(String, int, int)

getAllProduce

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

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

Specified by:
getAllProduce in interface ProduceDao
See Also:
ProduceDao.getAllProduce(int, String)

getAllProduce

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

Does the same thing as ProduceDao.getAllProduce(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:
getAllProduce in interface ProduceDao
See Also:
ProduceDao.getAllProduce(int, int, int)

getAllProduce

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

Does the same thing as ProduceDao.getAllProduce(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:
getAllProduce in interface ProduceDao
See Also:
ProduceDao.getAllProduce(int, java.lang.String, int, int)

findProduceById

public Produce findProduceById(java.lang.Integer id)
Specified by:
findProduceById in interface ProduceDao
See Also:
ProduceDao.findProduceById(java.lang.Integer)

findProduceById

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

Does the same thing as ProduceDao.findProduceById(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:
findProduceById in interface ProduceDao
See Also:
ProduceDao.findProduceById(int, java.lang.Integer)

findProduceById

public Produce findProduceById(java.lang.String queryString,
                               java.lang.Integer id)
Description copied from interface: ProduceDao

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

Specified by:
findProduceById in interface ProduceDao
See Also:
ProduceDao.findProduceById(java.lang.String, java.lang.Integer)

findProduceById

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

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

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

findProduceByOtherTaxonGroup

public java.util.Collection findProduceByOtherTaxonGroup(TaxonGroup otherTaxonGroup)
Specified by:
findProduceByOtherTaxonGroup in interface ProduceDao
See Also:
ProduceDao.findProduceByOtherTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup)

findProduceByOtherTaxonGroup

public java.util.Collection findProduceByOtherTaxonGroup(int transform,
                                                         TaxonGroup otherTaxonGroup)
Description copied from interface: ProduceDao

Does the same thing as ProduceDao.findProduceByOtherTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup) 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:
findProduceByOtherTaxonGroup in interface ProduceDao
See Also:
ProduceDao.findProduceByOtherTaxonGroup(int, fr.ifremer.allegro.referential.taxon.TaxonGroup)

findProduceByOtherTaxonGroup

public java.util.Collection findProduceByOtherTaxonGroup(java.lang.String queryString,
                                                         TaxonGroup otherTaxonGroup)
Description copied from interface: ProduceDao

Does the same thing as ProduceDao.findProduceByOtherTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional argument called queryString. This queryString argument allows you to override the query string defined in ProduceDao.findProduceByOtherTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup).

Specified by:
findProduceByOtherTaxonGroup in interface ProduceDao
See Also:
ProduceDao.findProduceByOtherTaxonGroup(java.lang.String, fr.ifremer.allegro.referential.taxon.TaxonGroup)

findProduceByOtherTaxonGroup

public java.util.Collection findProduceByOtherTaxonGroup(int pageNumber,
                                                         int pageSize,
                                                         TaxonGroup otherTaxonGroup)
Description copied from interface: ProduceDao

Does the same thing as ProduceDao.findProduceByOtherTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup) 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:
findProduceByOtherTaxonGroup in interface ProduceDao
See Also:
ProduceDao.findProduceByOtherTaxonGroup(int, int, fr.ifremer.allegro.referential.taxon.TaxonGroup)

findProduceByOtherTaxonGroup

public java.util.Collection findProduceByOtherTaxonGroup(java.lang.String queryString,
                                                         int pageNumber,
                                                         int pageSize,
                                                         TaxonGroup otherTaxonGroup)
Description copied from interface: ProduceDao

Does the same thing as ProduceDao.findProduceByOtherTaxonGroup(String, fr.ifremer.allegro.referential.taxon.TaxonGroup) 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:
findProduceByOtherTaxonGroup in interface ProduceDao
See Also:
ProduceDao.findProduceByOtherTaxonGroup(String, int, int, fr.ifremer.allegro.referential.taxon.TaxonGroup)

findProduceByOtherTaxonGroup

public java.util.Collection findProduceByOtherTaxonGroup(int transform,
                                                         java.lang.String queryString,
                                                         TaxonGroup otherTaxonGroup)
Description copied from interface: ProduceDao

Does the same thing as ProduceDao.findProduceByOtherTaxonGroup(int, fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional argument called queryString. This queryString argument allows you to override the query string defined in ProduceDao.findProduceByOtherTaxonGroup(int, fr.ifremer.allegro.referential.taxon.TaxonGroup otherTaxonGroup).

Specified by:
findProduceByOtherTaxonGroup in interface ProduceDao
See Also:
ProduceDao.findProduceByOtherTaxonGroup(int, String, fr.ifremer.allegro.referential.taxon.TaxonGroup)

findProduceByOtherTaxonGroup

public java.util.Collection findProduceByOtherTaxonGroup(int transform,
                                                         int pageNumber,
                                                         int pageSize,
                                                         TaxonGroup otherTaxonGroup)
Description copied from interface: ProduceDao

Does the same thing as ProduceDao.findProduceByOtherTaxonGroup(int, fr.ifremer.allegro.referential.taxon.TaxonGroup) 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:
findProduceByOtherTaxonGroup in interface ProduceDao
See Also:
ProduceDao.findProduceByOtherTaxonGroup(int, int, int, fr.ifremer.allegro.referential.taxon.TaxonGroup)

findProduceByOtherTaxonGroup

public java.util.Collection findProduceByOtherTaxonGroup(int transform,
                                                         java.lang.String queryString,
                                                         int pageNumber,
                                                         int pageSize,
                                                         TaxonGroup otherTaxonGroup)
Description copied from interface: ProduceDao

Does the same thing as ProduceDao.findProduceByOtherTaxonGroup(int, String, fr.ifremer.allegro.referential.taxon.TaxonGroup) 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:
findProduceByOtherTaxonGroup in interface ProduceDao
See Also:
ProduceDao.findProduceByOtherTaxonGroup(int, java.lang.String, int, int, fr.ifremer.allegro.referential.taxon.TaxonGroup)

findProduceByTaxonGroup

public java.util.Collection findProduceByTaxonGroup(TaxonGroup taxonGroup)
Specified by:
findProduceByTaxonGroup in interface ProduceDao
See Also:
ProduceDao.findProduceByTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup)

findProduceByTaxonGroup

public java.util.Collection findProduceByTaxonGroup(int transform,
                                                    TaxonGroup taxonGroup)
Description copied from interface: ProduceDao

Does the same thing as ProduceDao.findProduceByTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup) 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:
findProduceByTaxonGroup in interface ProduceDao
See Also:
ProduceDao.findProduceByTaxonGroup(int, fr.ifremer.allegro.referential.taxon.TaxonGroup)

findProduceByTaxonGroup

public java.util.Collection findProduceByTaxonGroup(java.lang.String queryString,
                                                    TaxonGroup taxonGroup)
Description copied from interface: ProduceDao

Does the same thing as ProduceDao.findProduceByTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional argument called queryString. This queryString argument allows you to override the query string defined in ProduceDao.findProduceByTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup).

Specified by:
findProduceByTaxonGroup in interface ProduceDao
See Also:
ProduceDao.findProduceByTaxonGroup(java.lang.String, fr.ifremer.allegro.referential.taxon.TaxonGroup)

findProduceByTaxonGroup

public java.util.Collection findProduceByTaxonGroup(int pageNumber,
                                                    int pageSize,
                                                    TaxonGroup taxonGroup)
Description copied from interface: ProduceDao

Does the same thing as ProduceDao.findProduceByTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup) 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:
findProduceByTaxonGroup in interface ProduceDao
See Also:
ProduceDao.findProduceByTaxonGroup(int, int, fr.ifremer.allegro.referential.taxon.TaxonGroup)

findProduceByTaxonGroup

public java.util.Collection findProduceByTaxonGroup(java.lang.String queryString,
                                                    int pageNumber,
                                                    int pageSize,
                                                    TaxonGroup taxonGroup)
Description copied from interface: ProduceDao

Does the same thing as ProduceDao.findProduceByTaxonGroup(String, fr.ifremer.allegro.referential.taxon.TaxonGroup) 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:
findProduceByTaxonGroup in interface ProduceDao
See Also:
ProduceDao.findProduceByTaxonGroup(String, int, int, fr.ifremer.allegro.referential.taxon.TaxonGroup)

findProduceByTaxonGroup

public java.util.Collection findProduceByTaxonGroup(int transform,
                                                    java.lang.String queryString,
                                                    TaxonGroup taxonGroup)
Description copied from interface: ProduceDao

Does the same thing as ProduceDao.findProduceByTaxonGroup(int, fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional argument called queryString. This queryString argument allows you to override the query string defined in ProduceDao.findProduceByTaxonGroup(int, fr.ifremer.allegro.referential.taxon.TaxonGroup taxonGroup).

Specified by:
findProduceByTaxonGroup in interface ProduceDao
See Also:
ProduceDao.findProduceByTaxonGroup(int, String, fr.ifremer.allegro.referential.taxon.TaxonGroup)

findProduceByTaxonGroup

public java.util.Collection findProduceByTaxonGroup(int transform,
                                                    int pageNumber,
                                                    int pageSize,
                                                    TaxonGroup taxonGroup)
Description copied from interface: ProduceDao

Does the same thing as ProduceDao.findProduceByTaxonGroup(int, fr.ifremer.allegro.referential.taxon.TaxonGroup) 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:
findProduceByTaxonGroup in interface ProduceDao
See Also:
ProduceDao.findProduceByTaxonGroup(int, int, int, fr.ifremer.allegro.referential.taxon.TaxonGroup)

findProduceByTaxonGroup

public java.util.Collection findProduceByTaxonGroup(int transform,
                                                    java.lang.String queryString,
                                                    int pageNumber,
                                                    int pageSize,
                                                    TaxonGroup taxonGroup)
Description copied from interface: ProduceDao

Does the same thing as ProduceDao.findProduceByTaxonGroup(int, String, fr.ifremer.allegro.referential.taxon.TaxonGroup) 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:
findProduceByTaxonGroup in interface ProduceDao
See Also:
ProduceDao.findProduceByTaxonGroup(int, java.lang.String, int, int, fr.ifremer.allegro.referential.taxon.TaxonGroup)

findProduceByLanding

public java.util.Collection findProduceByLanding(Landing landing)
Specified by:
findProduceByLanding in interface ProduceDao
See Also:
ProduceDao.findProduceByLanding(fr.ifremer.allegro.data.survey.landing.Landing)

findProduceByLanding

public java.util.Collection findProduceByLanding(int transform,
                                                 Landing landing)
Description copied from interface: ProduceDao

Does the same thing as ProduceDao.findProduceByLanding(fr.ifremer.allegro.data.survey.landing.Landing) 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:
findProduceByLanding in interface ProduceDao
See Also:
ProduceDao.findProduceByLanding(int, fr.ifremer.allegro.data.survey.landing.Landing)

findProduceByLanding

public java.util.Collection findProduceByLanding(java.lang.String queryString,
                                                 Landing landing)
Description copied from interface: ProduceDao

Does the same thing as ProduceDao.findProduceByLanding(fr.ifremer.allegro.data.survey.landing.Landing) with an additional argument called queryString. This queryString argument allows you to override the query string defined in ProduceDao.findProduceByLanding(fr.ifremer.allegro.data.survey.landing.Landing).

Specified by:
findProduceByLanding in interface ProduceDao
See Also:
ProduceDao.findProduceByLanding(java.lang.String, fr.ifremer.allegro.data.survey.landing.Landing)

findProduceByLanding

public java.util.Collection findProduceByLanding(int pageNumber,
                                                 int pageSize,
                                                 Landing landing)
Description copied from interface: ProduceDao

Does the same thing as ProduceDao.findProduceByLanding(fr.ifremer.allegro.data.survey.landing.Landing) 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:
findProduceByLanding in interface ProduceDao
See Also:
ProduceDao.findProduceByLanding(int, int, fr.ifremer.allegro.data.survey.landing.Landing)

findProduceByLanding

public java.util.Collection findProduceByLanding(java.lang.String queryString,
                                                 int pageNumber,
                                                 int pageSize,
                                                 Landing landing)
Description copied from interface: ProduceDao

Does the same thing as ProduceDao.findProduceByLanding(String, fr.ifremer.allegro.data.survey.landing.Landing) 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:
findProduceByLanding in interface ProduceDao
See Also:
ProduceDao.findProduceByLanding(String, int, int, fr.ifremer.allegro.data.survey.landing.Landing)

findProduceByLanding

public java.util.Collection findProduceByLanding(int transform,
                                                 java.lang.String queryString,
                                                 Landing landing)
Description copied from interface: ProduceDao

Does the same thing as ProduceDao.findProduceByLanding(int, fr.ifremer.allegro.data.survey.landing.Landing) with an additional argument called queryString. This queryString argument allows you to override the query string defined in ProduceDao.findProduceByLanding(int, fr.ifremer.allegro.data.survey.landing.Landing landing).

Specified by:
findProduceByLanding in interface ProduceDao
See Also:
ProduceDao.findProduceByLanding(int, String, fr.ifremer.allegro.data.survey.landing.Landing)

findProduceByLanding

public java.util.Collection findProduceByLanding(int transform,
                                                 int pageNumber,
                                                 int pageSize,
                                                 Landing landing)
Description copied from interface: ProduceDao

Does the same thing as ProduceDao.findProduceByLanding(int, fr.ifremer.allegro.data.survey.landing.Landing) 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:
findProduceByLanding in interface ProduceDao
See Also:
ProduceDao.findProduceByLanding(int, int, int, fr.ifremer.allegro.data.survey.landing.Landing)

findProduceByLanding

public java.util.Collection findProduceByLanding(int transform,
                                                 java.lang.String queryString,
                                                 int pageNumber,
                                                 int pageSize,
                                                 Landing landing)
Description copied from interface: ProduceDao

Does the same thing as ProduceDao.findProduceByLanding(int, String, fr.ifremer.allegro.data.survey.landing.Landing) 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:
findProduceByLanding in interface ProduceDao
See Also:
ProduceDao.findProduceByLanding(int, java.lang.String, int, int, fr.ifremer.allegro.data.survey.landing.Landing)

findProduceByGear

public java.util.Collection findProduceByGear(Gear gear)
Specified by:
findProduceByGear in interface ProduceDao
See Also:
ProduceDao.findProduceByGear(fr.ifremer.allegro.referential.gear.Gear)

findProduceByGear

public java.util.Collection findProduceByGear(int transform,
                                              Gear gear)
Description copied from interface: ProduceDao

Does the same thing as ProduceDao.findProduceByGear(fr.ifremer.allegro.referential.gear.Gear) 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:
findProduceByGear in interface ProduceDao
See Also:
ProduceDao.findProduceByGear(int, fr.ifremer.allegro.referential.gear.Gear)

findProduceByGear

public java.util.Collection findProduceByGear(java.lang.String queryString,
                                              Gear gear)
Description copied from interface: ProduceDao

Does the same thing as ProduceDao.findProduceByGear(fr.ifremer.allegro.referential.gear.Gear) with an additional argument called queryString. This queryString argument allows you to override the query string defined in ProduceDao.findProduceByGear(fr.ifremer.allegro.referential.gear.Gear).

Specified by:
findProduceByGear in interface ProduceDao
See Also:
ProduceDao.findProduceByGear(java.lang.String, fr.ifremer.allegro.referential.gear.Gear)

findProduceByGear

public java.util.Collection findProduceByGear(int pageNumber,
                                              int pageSize,
                                              Gear gear)
Description copied from interface: ProduceDao

Does the same thing as ProduceDao.findProduceByGear(fr.ifremer.allegro.referential.gear.Gear) 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:
findProduceByGear in interface ProduceDao
See Also:
ProduceDao.findProduceByGear(int, int, fr.ifremer.allegro.referential.gear.Gear)

findProduceByGear

public java.util.Collection findProduceByGear(java.lang.String queryString,
                                              int pageNumber,
                                              int pageSize,
                                              Gear gear)
Description copied from interface: ProduceDao

Does the same thing as ProduceDao.findProduceByGear(String, fr.ifremer.allegro.referential.gear.Gear) 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:
findProduceByGear in interface ProduceDao
See Also:
ProduceDao.findProduceByGear(String, int, int, fr.ifremer.allegro.referential.gear.Gear)

findProduceByGear

public java.util.Collection findProduceByGear(int transform,
                                              java.lang.String queryString,
                                              Gear gear)
Description copied from interface: ProduceDao

Does the same thing as ProduceDao.findProduceByGear(int, fr.ifremer.allegro.referential.gear.Gear) with an additional argument called queryString. This queryString argument allows you to override the query string defined in ProduceDao.findProduceByGear(int, fr.ifremer.allegro.referential.gear.Gear gear).

Specified by:
findProduceByGear in interface ProduceDao
See Also:
ProduceDao.findProduceByGear(int, String, fr.ifremer.allegro.referential.gear.Gear)

findProduceByGear

public java.util.Collection findProduceByGear(int transform,
                                              int pageNumber,
                                              int pageSize,
                                              Gear gear)
Description copied from interface: ProduceDao

Does the same thing as ProduceDao.findProduceByGear(int, fr.ifremer.allegro.referential.gear.Gear) 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:
findProduceByGear in interface ProduceDao
See Also:
ProduceDao.findProduceByGear(int, int, int, fr.ifremer.allegro.referential.gear.Gear)

findProduceByGear

public java.util.Collection findProduceByGear(int transform,
                                              java.lang.String queryString,
                                              int pageNumber,
                                              int pageSize,
                                              Gear gear)
Description copied from interface: ProduceDao

Does the same thing as ProduceDao.findProduceByGear(int, String, fr.ifremer.allegro.referential.gear.Gear) 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:
findProduceByGear in interface ProduceDao
See Also:
ProduceDao.findProduceByGear(int, java.lang.String, int, int, fr.ifremer.allegro.referential.gear.Gear)

findProduceByTransshipment

public java.util.Collection findProduceByTransshipment(Transshipment transshipment)
Specified by:
findProduceByTransshipment in interface ProduceDao
See Also:
ProduceDao.findProduceByTransshipment(fr.ifremer.allegro.data.transshipment.Transshipment)

findProduceByTransshipment

public java.util.Collection findProduceByTransshipment(int transform,
                                                       Transshipment transshipment)
Description copied from interface: ProduceDao

Does the same thing as ProduceDao.findProduceByTransshipment(fr.ifremer.allegro.data.transshipment.Transshipment) 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:
findProduceByTransshipment in interface ProduceDao
See Also:
ProduceDao.findProduceByTransshipment(int, fr.ifremer.allegro.data.transshipment.Transshipment)

findProduceByTransshipment

public java.util.Collection findProduceByTransshipment(java.lang.String queryString,
                                                       Transshipment transshipment)
Description copied from interface: ProduceDao

Does the same thing as ProduceDao.findProduceByTransshipment(fr.ifremer.allegro.data.transshipment.Transshipment) with an additional argument called queryString. This queryString argument allows you to override the query string defined in ProduceDao.findProduceByTransshipment(fr.ifremer.allegro.data.transshipment.Transshipment).

Specified by:
findProduceByTransshipment in interface ProduceDao
See Also:
ProduceDao.findProduceByTransshipment(java.lang.String, fr.ifremer.allegro.data.transshipment.Transshipment)

findProduceByTransshipment

public java.util.Collection findProduceByTransshipment(int pageNumber,
                                                       int pageSize,
                                                       Transshipment transshipment)
Description copied from interface: ProduceDao

Does the same thing as ProduceDao.findProduceByTransshipment(fr.ifremer.allegro.data.transshipment.Transshipment) 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:
findProduceByTransshipment in interface ProduceDao
See Also:
ProduceDao.findProduceByTransshipment(int, int, fr.ifremer.allegro.data.transshipment.Transshipment)

findProduceByTransshipment

public java.util.Collection findProduceByTransshipment(java.lang.String queryString,
                                                       int pageNumber,
                                                       int pageSize,
                                                       Transshipment transshipment)
Description copied from interface: ProduceDao

Does the same thing as ProduceDao.findProduceByTransshipment(String, fr.ifremer.allegro.data.transshipment.Transshipment) 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:
findProduceByTransshipment in interface ProduceDao
See Also:
ProduceDao.findProduceByTransshipment(String, int, int, fr.ifremer.allegro.data.transshipment.Transshipment)

findProduceByTransshipment

public java.util.Collection findProduceByTransshipment(int transform,
                                                       java.lang.String queryString,
                                                       Transshipment transshipment)
Description copied from interface: ProduceDao

Does the same thing as ProduceDao.findProduceByTransshipment(int, fr.ifremer.allegro.data.transshipment.Transshipment) with an additional argument called queryString. This queryString argument allows you to override the query string defined in ProduceDao.findProduceByTransshipment(int, fr.ifremer.allegro.data.transshipment.Transshipment transshipment).

Specified by:
findProduceByTransshipment in interface ProduceDao
See Also:
ProduceDao.findProduceByTransshipment(int, String, fr.ifremer.allegro.data.transshipment.Transshipment)

findProduceByTransshipment

public java.util.Collection findProduceByTransshipment(int transform,
                                                       int pageNumber,
                                                       int pageSize,
                                                       Transshipment transshipment)
Description copied from interface: ProduceDao

Does the same thing as ProduceDao.findProduceByTransshipment(int, fr.ifremer.allegro.data.transshipment.Transshipment) 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:
findProduceByTransshipment in interface ProduceDao
See Also:
ProduceDao.findProduceByTransshipment(int, int, int, fr.ifremer.allegro.data.transshipment.Transshipment)

findProduceByTransshipment

public java.util.Collection findProduceByTransshipment(int transform,
                                                       java.lang.String queryString,
                                                       int pageNumber,
                                                       int pageSize,
                                                       Transshipment transshipment)
Description copied from interface: ProduceDao

Does the same thing as ProduceDao.findProduceByTransshipment(int, String, fr.ifremer.allegro.data.transshipment.Transshipment) 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:
findProduceByTransshipment in interface ProduceDao
See Also:
ProduceDao.findProduceByTransshipment(int, java.lang.String, int, int, fr.ifremer.allegro.data.transshipment.Transshipment)

findProduceByBatch

public java.util.Collection findProduceByBatch(Batch batch)
Specified by:
findProduceByBatch in interface ProduceDao
See Also:
ProduceDao.findProduceByBatch(fr.ifremer.allegro.data.batch.Batch)

findProduceByBatch

public java.util.Collection findProduceByBatch(int transform,
                                               Batch batch)
Description copied from interface: ProduceDao

Does the same thing as ProduceDao.findProduceByBatch(fr.ifremer.allegro.data.batch.Batch) 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:
findProduceByBatch in interface ProduceDao
See Also:
ProduceDao.findProduceByBatch(int, fr.ifremer.allegro.data.batch.Batch)

findProduceByBatch

public java.util.Collection findProduceByBatch(java.lang.String queryString,
                                               Batch batch)
Description copied from interface: ProduceDao

Does the same thing as ProduceDao.findProduceByBatch(fr.ifremer.allegro.data.batch.Batch) with an additional argument called queryString. This queryString argument allows you to override the query string defined in ProduceDao.findProduceByBatch(fr.ifremer.allegro.data.batch.Batch).

Specified by:
findProduceByBatch in interface ProduceDao
See Also:
ProduceDao.findProduceByBatch(java.lang.String, fr.ifremer.allegro.data.batch.Batch)

findProduceByBatch

public java.util.Collection findProduceByBatch(int pageNumber,
                                               int pageSize,
                                               Batch batch)
Description copied from interface: ProduceDao

Does the same thing as ProduceDao.findProduceByBatch(fr.ifremer.allegro.data.batch.Batch) 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:
findProduceByBatch in interface ProduceDao
See Also:
ProduceDao.findProduceByBatch(int, int, fr.ifremer.allegro.data.batch.Batch)

findProduceByBatch

public java.util.Collection findProduceByBatch(java.lang.String queryString,
                                               int pageNumber,
                                               int pageSize,
                                               Batch batch)
Description copied from interface: ProduceDao

Does the same thing as ProduceDao.findProduceByBatch(String, fr.ifremer.allegro.data.batch.Batch) 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:
findProduceByBatch in interface ProduceDao
See Also:
ProduceDao.findProduceByBatch(String, int, int, fr.ifremer.allegro.data.batch.Batch)

findProduceByBatch

public java.util.Collection findProduceByBatch(int transform,
                                               java.lang.String queryString,
                                               Batch batch)
Description copied from interface: ProduceDao

Does the same thing as ProduceDao.findProduceByBatch(int, fr.ifremer.allegro.data.batch.Batch) with an additional argument called queryString. This queryString argument allows you to override the query string defined in ProduceDao.findProduceByBatch(int, fr.ifremer.allegro.data.batch.Batch batch).

Specified by:
findProduceByBatch in interface ProduceDao
See Also:
ProduceDao.findProduceByBatch(int, String, fr.ifremer.allegro.data.batch.Batch)

findProduceByBatch

public java.util.Collection findProduceByBatch(int transform,
                                               int pageNumber,
                                               int pageSize,
                                               Batch batch)
Description copied from interface: ProduceDao

Does the same thing as ProduceDao.findProduceByBatch(int, fr.ifremer.allegro.data.batch.Batch) 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:
findProduceByBatch in interface ProduceDao
See Also:
ProduceDao.findProduceByBatch(int, int, int, fr.ifremer.allegro.data.batch.Batch)

findProduceByBatch

public java.util.Collection findProduceByBatch(int transform,
                                               java.lang.String queryString,
                                               int pageNumber,
                                               int pageSize,
                                               Batch batch)
Description copied from interface: ProduceDao

Does the same thing as ProduceDao.findProduceByBatch(int, String, fr.ifremer.allegro.data.batch.Batch) 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:
findProduceByBatch in interface ProduceDao
See Also:
ProduceDao.findProduceByBatch(int, java.lang.String, int, int, fr.ifremer.allegro.data.batch.Batch)

findProduceByFishingOperation

public java.util.Collection findProduceByFishingOperation(FishingOperation fishingOperation)
Specified by:
findProduceByFishingOperation in interface ProduceDao
See Also:
ProduceDao.findProduceByFishingOperation(fr.ifremer.allegro.data.operation.FishingOperation)

findProduceByFishingOperation

public java.util.Collection findProduceByFishingOperation(int transform,
                                                          FishingOperation fishingOperation)
Description copied from interface: ProduceDao

Does the same thing as ProduceDao.findProduceByFishingOperation(fr.ifremer.allegro.data.operation.FishingOperation) 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:
findProduceByFishingOperation in interface ProduceDao
See Also:
ProduceDao.findProduceByFishingOperation(int, fr.ifremer.allegro.data.operation.FishingOperation)

findProduceByFishingOperation

public java.util.Collection findProduceByFishingOperation(java.lang.String queryString,
                                                          FishingOperation fishingOperation)
Description copied from interface: ProduceDao

Does the same thing as ProduceDao.findProduceByFishingOperation(fr.ifremer.allegro.data.operation.FishingOperation) with an additional argument called queryString. This queryString argument allows you to override the query string defined in ProduceDao.findProduceByFishingOperation(fr.ifremer.allegro.data.operation.FishingOperation).

Specified by:
findProduceByFishingOperation in interface ProduceDao
See Also:
ProduceDao.findProduceByFishingOperation(java.lang.String, fr.ifremer.allegro.data.operation.FishingOperation)

findProduceByFishingOperation

public java.util.Collection findProduceByFishingOperation(int pageNumber,
                                                          int pageSize,
                                                          FishingOperation fishingOperation)
Description copied from interface: ProduceDao

Does the same thing as ProduceDao.findProduceByFishingOperation(fr.ifremer.allegro.data.operation.FishingOperation) 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:
findProduceByFishingOperation in interface ProduceDao
See Also:
ProduceDao.findProduceByFishingOperation(int, int, fr.ifremer.allegro.data.operation.FishingOperation)

findProduceByFishingOperation

public java.util.Collection findProduceByFishingOperation(java.lang.String queryString,
                                                          int pageNumber,
                                                          int pageSize,
                                                          FishingOperation fishingOperation)
Description copied from interface: ProduceDao

Does the same thing as ProduceDao.findProduceByFishingOperation(String, fr.ifremer.allegro.data.operation.FishingOperation) 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:
findProduceByFishingOperation in interface ProduceDao
See Also:
ProduceDao.findProduceByFishingOperation(String, int, int, fr.ifremer.allegro.data.operation.FishingOperation)

findProduceByFishingOperation

public java.util.Collection findProduceByFishingOperation(int transform,
                                                          java.lang.String queryString,
                                                          FishingOperation fishingOperation)
Description copied from interface: ProduceDao

Does the same thing as ProduceDao.findProduceByFishingOperation(int, fr.ifremer.allegro.data.operation.FishingOperation) with an additional argument called queryString. This queryString argument allows you to override the query string defined in ProduceDao.findProduceByFishingOperation(int, fr.ifremer.allegro.data.operation.FishingOperation fishingOperation).

Specified by:
findProduceByFishingOperation in interface ProduceDao
See Also:
ProduceDao.findProduceByFishingOperation(int, String, fr.ifremer.allegro.data.operation.FishingOperation)

findProduceByFishingOperation

public java.util.Collection findProduceByFishingOperation(int transform,
                                                          int pageNumber,
                                                          int pageSize,
                                                          FishingOperation fishingOperation)
Description copied from interface: ProduceDao

Does the same thing as ProduceDao.findProduceByFishingOperation(int, fr.ifremer.allegro.data.operation.FishingOperation) 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:
findProduceByFishingOperation in interface ProduceDao
See Also:
ProduceDao.findProduceByFishingOperation(int, int, int, fr.ifremer.allegro.data.operation.FishingOperation)

findProduceByFishingOperation

public java.util.Collection findProduceByFishingOperation(int transform,
                                                          java.lang.String queryString,
                                                          int pageNumber,
                                                          int pageSize,
                                                          FishingOperation fishingOperation)
Description copied from interface: ProduceDao

Does the same thing as ProduceDao.findProduceByFishingOperation(int, String, fr.ifremer.allegro.data.operation.FishingOperation) 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:
findProduceByFishingOperation in interface ProduceDao
See Also:
ProduceDao.findProduceByFishingOperation(int, java.lang.String, int, int, fr.ifremer.allegro.data.operation.FishingOperation)

findProduceByQualityFlag

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

findProduceByQualityFlag

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

Does the same thing as ProduceDao.findProduceByQualityFlag(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:
findProduceByQualityFlag in interface ProduceDao
See Also:
ProduceDao.findProduceByQualityFlag(int, fr.ifremer.allegro.referential.QualityFlag)

findProduceByQualityFlag

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

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

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

findProduceByQualityFlag

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

Does the same thing as ProduceDao.findProduceByQualityFlag(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:
findProduceByQualityFlag in interface ProduceDao
See Also:
ProduceDao.findProduceByQualityFlag(int, int, fr.ifremer.allegro.referential.QualityFlag)

findProduceByQualityFlag

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

Does the same thing as ProduceDao.findProduceByQualityFlag(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:
findProduceByQualityFlag in interface ProduceDao
See Also:
ProduceDao.findProduceByQualityFlag(String, int, int, fr.ifremer.allegro.referential.QualityFlag)

findProduceByQualityFlag

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

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

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

findProduceByQualityFlag

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

Does the same thing as ProduceDao.findProduceByQualityFlag(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:
findProduceByQualityFlag in interface ProduceDao
See Also:
ProduceDao.findProduceByQualityFlag(int, int, int, fr.ifremer.allegro.referential.QualityFlag)

findProduceByQualityFlag

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

Does the same thing as ProduceDao.findProduceByQualityFlag(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:
findProduceByQualityFlag in interface ProduceDao
See Also:
ProduceDao.findProduceByQualityFlag(int, java.lang.String, int, int, fr.ifremer.allegro.referential.QualityFlag)

findProduceByNaturalId

public Produce findProduceByNaturalId(java.lang.Integer id)
Specified by:
findProduceByNaturalId in interface ProduceDao
See Also:
ProduceDao.findProduceByNaturalId(java.lang.Integer)

findProduceByNaturalId

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

Does the same thing as ProduceDao.findProduceByNaturalId(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:
findProduceByNaturalId in interface ProduceDao
See Also:
ProduceDao.findProduceByNaturalId(int, java.lang.Integer)

findProduceByNaturalId

public Produce findProduceByNaturalId(java.lang.String queryString,
                                      java.lang.Integer id)
Description copied from interface: ProduceDao

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

Specified by:
findProduceByNaturalId in interface ProduceDao
See Also:
ProduceDao.findProduceByNaturalId(java.lang.String, java.lang.Integer)

findProduceByNaturalId

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

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

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

createFromClusterProduce

public Produce createFromClusterProduce(ClusterProduce clusterProduce)
Specified by:
createFromClusterProduce in interface ProduceDao
See Also:
ProduceDao.createFromClusterProduce(fr.ifremer.allegro.data.produce.generic.cluster.ClusterProduce)

handleCreateFromClusterProduce

protected abstract Produce handleCreateFromClusterProduce(ClusterProduce clusterProduce)
                                                   throws java.lang.Exception
Performs the core logic for createFromClusterProduce(fr.ifremer.allegro.data.produce.generic.cluster.ClusterProduce)

Throws:
java.lang.Exception

getAllClusterProduce

public ClusterProduce[] getAllClusterProduce(java.lang.Integer userId,
                                             java.lang.Integer[] registrationLocationIds,
                                             java.lang.Integer pageNumber,
                                             java.lang.Integer pageSize)
Specified by:
getAllClusterProduce in interface ProduceDao
See Also:
ProduceDao.getAllClusterProduce(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

handleGetAllClusterProduce

protected abstract ClusterProduce[] handleGetAllClusterProduce(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 getAllClusterProduce(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Throws:
java.lang.Exception

transformEntity

protected java.lang.Object transformEntity(int transform,
                                           Produce 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.produce.ProduceDao, please note that the ProduceDao.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 ProduceDao.TRANSFORM_NONE is assumed.

Parameters:
transform - one of the constants declared in ProduceDao
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.produce.Produce) 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.produce.ProduceDao
entities - the collection of entities to transform
See Also:
transformEntity(int,fr.ifremer.allegro.data.produce.Produce)

toEntity

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

toRemoteProduceFullVOCollection

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

Specified by:
toRemoteProduceFullVOCollection in interface ProduceDao
See Also:
ProduceDao.toRemoteProduceFullVOCollection(java.util.Collection)

toRemoteProduceFullVOArray

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

Specified by:
toRemoteProduceFullVOArray in interface ProduceDao
See Also:
ProduceDao.toRemoteProduceFullVOArray(java.util.Collection)

toRemoteProduceFullVO

protected RemoteProduceFullVO toRemoteProduceFullVO(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 ProduceDaoImpl class if you intend to use reporting queries.

See Also:
ProduceDao.toRemoteProduceFullVO(fr.ifremer.allegro.data.produce.Produce)

remoteProduceFullVOToEntityCollection

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

Specified by:
remoteProduceFullVOToEntityCollection in interface ProduceDao
See Also:
ProduceDao.remoteProduceFullVOToEntityCollection(java.util.Collection)

toRemoteProduceFullVO

public void toRemoteProduceFullVO(Produce source,
                                  RemoteProduceFullVO target)
Description copied from interface: ProduceDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteProduceFullVO(), 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:
toRemoteProduceFullVO in interface ProduceDao
See Also:
ProduceDao.toRemoteProduceFullVO(fr.ifremer.allegro.data.produce.Produce, fr.ifremer.allegro.data.produce.generic.vo.RemoteProduceFullVO)

toRemoteProduceFullVO

public RemoteProduceFullVO toRemoteProduceFullVO(Produce entity)
Description copied from interface: ProduceDao
Converts this DAO's entity to an object of type RemoteProduceFullVO.

Specified by:
toRemoteProduceFullVO in interface ProduceDao
See Also:
ProduceDao.toRemoteProduceFullVO(fr.ifremer.allegro.data.produce.Produce)

remoteProduceFullVOToEntity

public void remoteProduceFullVOToEntity(RemoteProduceFullVO source,
                                        Produce target,
                                        boolean copyIfNull)
Description copied from interface: ProduceDao
Copies the fields of RemoteProduceFullVO to the specified entity.

Specified by:
remoteProduceFullVOToEntity in interface ProduceDao
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.produce.ProduceDao#remoteProduceFullVOToEntity(fr.ifremer.allegro.data.produce.generic.vo.RemoteProduceFullVO, fr.ifremer.allegro.data.produce.Produce)

toRemoteProduceNaturalIdCollection

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

Specified by:
toRemoteProduceNaturalIdCollection in interface ProduceDao
See Also:
ProduceDao.toRemoteProduceNaturalIdCollection(java.util.Collection)

toRemoteProduceNaturalIdArray

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

Specified by:
toRemoteProduceNaturalIdArray in interface ProduceDao
See Also:
ProduceDao.toRemoteProduceNaturalIdArray(java.util.Collection)

toRemoteProduceNaturalId

protected RemoteProduceNaturalId toRemoteProduceNaturalId(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 ProduceDaoImpl class if you intend to use reporting queries.

See Also:
ProduceDao.toRemoteProduceNaturalId(fr.ifremer.allegro.data.produce.Produce)

remoteProduceNaturalIdToEntityCollection

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

Specified by:
remoteProduceNaturalIdToEntityCollection in interface ProduceDao
See Also:
ProduceDao.remoteProduceNaturalIdToEntityCollection(java.util.Collection)

toRemoteProduceNaturalId

public void toRemoteProduceNaturalId(Produce source,
                                     RemoteProduceNaturalId target)
Description copied from interface: ProduceDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteProduceNaturalId(), 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:
toRemoteProduceNaturalId in interface ProduceDao
See Also:
ProduceDao.toRemoteProduceNaturalId(fr.ifremer.allegro.data.produce.Produce, fr.ifremer.allegro.data.produce.generic.vo.RemoteProduceNaturalId)

toRemoteProduceNaturalId

public RemoteProduceNaturalId toRemoteProduceNaturalId(Produce entity)
Description copied from interface: ProduceDao
Converts this DAO's entity to an object of type RemoteProduceNaturalId.

Specified by:
toRemoteProduceNaturalId in interface ProduceDao
See Also:
ProduceDao.toRemoteProduceNaturalId(fr.ifremer.allegro.data.produce.Produce)

remoteProduceNaturalIdToEntity

public void remoteProduceNaturalIdToEntity(RemoteProduceNaturalId source,
                                           Produce target,
                                           boolean copyIfNull)
Description copied from interface: ProduceDao
Copies the fields of RemoteProduceNaturalId to the specified entity.

Specified by:
remoteProduceNaturalIdToEntity in interface ProduceDao
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.produce.ProduceDao#remoteProduceNaturalIdToEntity(fr.ifremer.allegro.data.produce.generic.vo.RemoteProduceNaturalId, fr.ifremer.allegro.data.produce.Produce)

toClusterProduceCollection

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

Specified by:
toClusterProduceCollection in interface ProduceDao
See Also:
ProduceDao.toClusterProduceCollection(java.util.Collection)

toClusterProduceArray

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

Specified by:
toClusterProduceArray in interface ProduceDao
See Also:
ProduceDao.toClusterProduceArray(java.util.Collection)

toClusterProduce

protected ClusterProduce toClusterProduce(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 ProduceDaoImpl class if you intend to use reporting queries.

See Also:
ProduceDao.toClusterProduce(fr.ifremer.allegro.data.produce.Produce)

clusterProduceToEntityCollection

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

Specified by:
clusterProduceToEntityCollection in interface ProduceDao
See Also:
ProduceDao.clusterProduceToEntityCollection(java.util.Collection)

toClusterProduce

public void toClusterProduce(Produce source,
                             ClusterProduce target)
Description copied from interface: ProduceDao
Copies the fields of the specified entity to the target value object. This method is similar to toClusterProduce(), 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:
toClusterProduce in interface ProduceDao
See Also:
ProduceDao.toClusterProduce(fr.ifremer.allegro.data.produce.Produce, fr.ifremer.allegro.data.produce.generic.cluster.ClusterProduce)

toClusterProduce

public ClusterProduce toClusterProduce(Produce entity)
Description copied from interface: ProduceDao
Converts this DAO's entity to an object of type ClusterProduce.

Specified by:
toClusterProduce in interface ProduceDao
See Also:
ProduceDao.toClusterProduce(fr.ifremer.allegro.data.produce.Produce)

clusterProduceToEntity

public void clusterProduceToEntity(ClusterProduce source,
                                   Produce target,
                                   boolean copyIfNull)
Description copied from interface: ProduceDao
Copies the fields of ClusterProduce to the specified entity.

Specified by:
clusterProduceToEntity in interface ProduceDao
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.produce.ProduceDao#clusterProduceToEntity(fr.ifremer.allegro.data.produce.generic.cluster.ClusterProduce, fr.ifremer.allegro.data.produce.Produce)

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: ProduceDao
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 ProduceDao
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:
ProduceDao.search(int, int, int, fr.ifremer.allegro.Search)

search

public PaginationResult search(int pageNumber,
                               int pageSize,
                               Search search)
Description copied from interface: ProduceDao
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 ProduceDao
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:
ProduceDao.search(int, int, fr.ifremer.allegro.Search)

search

public java.util.Set search(int transform,
                            Search search)
Description copied from interface: ProduceDao
Does the same thing as ProduceDao.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 ProduceDao
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:
ProduceDao.search(int, fr.ifremer.allegro.Search)

search

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

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


Copyright © 2008-2010 IFREMER. All Rights Reserved.