fr.ifremer.allegro.data.survey.sale
Class SaleDaoBase

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.data.survey.sale.SaleDaoBase
All Implemented Interfaces:
SaleDao
Direct Known Subclasses:
SaleDaoImpl

public abstract class SaleDaoBase
extends org.springframework.orm.hibernate3.support.HibernateDaoSupport
implements SaleDao

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

See Also:
Sale

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.data.survey.sale.SaleDao
TRANSFORM_CLUSTERSALE, TRANSFORM_NONE, TRANSFORM_REMOTESALEFULLVO, TRANSFORM_REMOTESALENATURALID
 
Constructor Summary
SaleDaoBase()
           
 
Method Summary
 void clusterSaleToEntity(ClusterSale source, Sale target, boolean copyIfNull)
          Copies the fields of ClusterSale to the specified entity.
 void clusterSaleToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterSale to this DAO's entity.
 java.util.Collection create(java.util.Collection entities)
          Creates a new instance of fr.ifremer.allegro.data.survey.sale.Sale and adds from the passed in entities collection
 Sale create(java.util.Date saleStartDate, java.util.Date saleEndDate, java.lang.String comments, java.util.Date creationDate, java.util.Date controlDate, java.util.Date validationDate, java.util.Date qualificationDate, java.lang.String qualificationComments, java.sql.Timestamp updateDate, CatchBatch catchBatch, java.util.Collection saleMeasurements, java.util.Collection surveyMeasurements, DeclaredDocumentReference declaredDocumentReference, Landing landing, FishingTrip fishingTrip, Location saleLocation, SaleType saleType, Vessel vessel, java.util.Collection saleProduces, Program program, Department recorderDepartment, QualityFlag qualityFlag, java.util.Collection saleOrigins, Person recorderPerson)
           Creates a new fr.ifremer.allegro.data.survey.sale.Sale instance from all attributes and properties and adds it to the persistent store.
 Sale create(java.util.Date creationDate, Program program, QualityFlag qualityFlag, Department recorderDepartment, Location saleLocation, java.util.Date saleStartDate, SaleType saleType, Vessel vessel)
           Creates a new fr.ifremer.allegro.data.survey.sale.Sale instance from only required properties (attributes and association ends) and adds it to the persistent store.
 java.util.Collection create(int transform, java.util.Collection entities)
           Does the same thing as SaleDao.create(fr.ifremer.allegro.data.survey.sale.Sale) with an additional flag called transform.
 java.lang.Object create(int transform, java.util.Date saleStartDate, java.util.Date saleEndDate, java.lang.String comments, java.util.Date creationDate, java.util.Date controlDate, java.util.Date validationDate, java.util.Date qualificationDate, java.lang.String qualificationComments, java.sql.Timestamp updateDate, CatchBatch catchBatch, java.util.Collection saleMeasurements, java.util.Collection surveyMeasurements, DeclaredDocumentReference declaredDocumentReference, Landing landing, FishingTrip fishingTrip, Location saleLocation, SaleType saleType, Vessel vessel, java.util.Collection saleProduces, Program program, Department recorderDepartment, QualityFlag qualityFlag, java.util.Collection saleOrigins, Person recorderPerson)
           Does the same thing as SaleDao.create(java.util.Date,java.util.Date,java.lang.String,java.util.Date,java.util.Date,java.util.Date,java.util.Date,java.lang.String,java.sql.Timestamp,fr.ifremer.allegro.data.batch.CatchBatch,java.util.Collection,java.util.Collection,fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference,fr.ifremer.allegro.data.survey.landing.Landing,fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip,fr.ifremer.allegro.referential.location.Location,fr.ifremer.allegro.referential.SaleType,fr.ifremer.allegro.referential.vessel.Vessel,java.util.Collection,fr.ifremer.allegro.administration.programStrategy.Program,fr.ifremer.allegro.administration.user.Department,fr.ifremer.allegro.referential.QualityFlag,java.util.Collection,fr.ifremer.allegro.administration.user.Person) with an additional flag called transform.
 java.lang.Object create(int transform, java.util.Date creationDate, Program program, QualityFlag qualityFlag, Department recorderDepartment, Location saleLocation, java.util.Date saleStartDate, SaleType saleType, Vessel vessel)
           Does the same thing as SaleDao.create(java.util.Date,fr.ifremer.allegro.administration.programStrategy.Program,fr.ifremer.allegro.referential.QualityFlag,fr.ifremer.allegro.administration.user.Department,fr.ifremer.allegro.referential.location.Location,java.util.Date,fr.ifremer.allegro.referential.SaleType,fr.ifremer.allegro.referential.vessel.Vessel) with an additional flag called transform.
 java.lang.Object create(int transform, Sale sale)
           Does the same thing as SaleDao.create(fr.ifremer.allegro.data.survey.sale.Sale) with an additional flag called transform.
 Sale create(Sale sale)
          Creates an instance of fr.ifremer.allegro.data.survey.sale.Sale and adds it to the persistent store.
 Sale createFromClusterSale(ClusterSale clusterSale)
           
 Sale findSaleByCatchBatch(CatchBatch catchBatch)
           
 java.lang.Object findSaleByCatchBatch(int transform, CatchBatch catchBatch)
           Does the same thing as SaleDao.findSaleByCatchBatch(fr.ifremer.allegro.data.batch.CatchBatch) with an additional flag called transform.
 java.lang.Object findSaleByCatchBatch(int transform, java.lang.String queryString, CatchBatch catchBatch)
           Does the same thing as SaleDao.findSaleByCatchBatch(int, fr.ifremer.allegro.data.batch.CatchBatch) with an additional argument called queryString.
 Sale findSaleByCatchBatch(java.lang.String queryString, CatchBatch catchBatch)
           Does the same thing as SaleDao.findSaleByCatchBatch(fr.ifremer.allegro.data.batch.CatchBatch) with an additional argument called queryString.
 java.util.Collection findSaleByDeclaredDocumentReference(DeclaredDocumentReference declaredDocumentReference)
           
 java.util.Collection findSaleByDeclaredDocumentReference(int transform, DeclaredDocumentReference declaredDocumentReference)
           Does the same thing as SaleDao.findSaleByDeclaredDocumentReference(fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference) with an additional flag called transform.
 java.util.Collection findSaleByDeclaredDocumentReference(int pageNumber, int pageSize, DeclaredDocumentReference declaredDocumentReference)
           Does the same thing as SaleDao.findSaleByDeclaredDocumentReference(fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSaleByDeclaredDocumentReference(int transform, int pageNumber, int pageSize, DeclaredDocumentReference declaredDocumentReference)
           Does the same thing as SaleDao.findSaleByDeclaredDocumentReference(int, fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSaleByDeclaredDocumentReference(int transform, java.lang.String queryString, DeclaredDocumentReference declaredDocumentReference)
           Does the same thing as SaleDao.findSaleByDeclaredDocumentReference(int, fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference) with an additional argument called queryString.
 java.util.Collection findSaleByDeclaredDocumentReference(int transform, java.lang.String queryString, int pageNumber, int pageSize, DeclaredDocumentReference declaredDocumentReference)
           Does the same thing as SaleDao.findSaleByDeclaredDocumentReference(int, String, fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSaleByDeclaredDocumentReference(java.lang.String queryString, DeclaredDocumentReference declaredDocumentReference)
           Does the same thing as SaleDao.findSaleByDeclaredDocumentReference(fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference) with an additional argument called queryString.
 java.util.Collection findSaleByDeclaredDocumentReference(java.lang.String queryString, int pageNumber, int pageSize, DeclaredDocumentReference declaredDocumentReference)
           Does the same thing as SaleDao.findSaleByDeclaredDocumentReference(String, fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSaleByFishingTrip(FishingTrip fishingTrip)
           
 java.util.Collection findSaleByFishingTrip(int transform, FishingTrip fishingTrip)
           Does the same thing as SaleDao.findSaleByFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an additional flag called transform.
 java.util.Collection findSaleByFishingTrip(int pageNumber, int pageSize, FishingTrip fishingTrip)
           Does the same thing as SaleDao.findSaleByFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSaleByFishingTrip(int transform, int pageNumber, int pageSize, FishingTrip fishingTrip)
           Does the same thing as SaleDao.findSaleByFishingTrip(int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSaleByFishingTrip(int transform, java.lang.String queryString, FishingTrip fishingTrip)
           Does the same thing as SaleDao.findSaleByFishingTrip(int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an additional argument called queryString.
 java.util.Collection findSaleByFishingTrip(int transform, java.lang.String queryString, int pageNumber, int pageSize, FishingTrip fishingTrip)
           Does the same thing as SaleDao.findSaleByFishingTrip(int, String, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSaleByFishingTrip(java.lang.String queryString, FishingTrip fishingTrip)
           Does the same thing as SaleDao.findSaleByFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an additional argument called queryString.
 java.util.Collection findSaleByFishingTrip(java.lang.String queryString, int pageNumber, int pageSize, FishingTrip fishingTrip)
           Does the same thing as SaleDao.findSaleByFishingTrip(String, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an additional two arguments called pageNumber and pageSize.
 Sale findSaleById(java.lang.Integer id)
           
 java.lang.Object findSaleById(int transform, java.lang.Integer id)
           Does the same thing as SaleDao.findSaleById(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findSaleById(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as SaleDao.findSaleById(int, java.lang.Integer) with an additional argument called queryString.
 Sale findSaleById(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as SaleDao.findSaleById(java.lang.Integer) with an additional argument called queryString.
 java.util.Collection findSaleByLanding(int transform, int pageNumber, int pageSize, Landing landing)
           Does the same thing as SaleDao.findSaleByLanding(int, fr.ifremer.allegro.data.survey.landing.Landing) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSaleByLanding(int pageNumber, int pageSize, Landing landing)
           Does the same thing as SaleDao.findSaleByLanding(fr.ifremer.allegro.data.survey.landing.Landing) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSaleByLanding(int transform, Landing landing)
           Does the same thing as SaleDao.findSaleByLanding(fr.ifremer.allegro.data.survey.landing.Landing) with an additional flag called transform.
 java.util.Collection findSaleByLanding(int transform, java.lang.String queryString, int pageNumber, int pageSize, Landing landing)
           Does the same thing as SaleDao.findSaleByLanding(int, String, fr.ifremer.allegro.data.survey.landing.Landing) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSaleByLanding(int transform, java.lang.String queryString, Landing landing)
           Does the same thing as SaleDao.findSaleByLanding(int, fr.ifremer.allegro.data.survey.landing.Landing) with an additional argument called queryString.
 java.util.Collection findSaleByLanding(Landing landing)
           
 java.util.Collection findSaleByLanding(java.lang.String queryString, int pageNumber, int pageSize, Landing landing)
           Does the same thing as SaleDao.findSaleByLanding(String, fr.ifremer.allegro.data.survey.landing.Landing) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSaleByLanding(java.lang.String queryString, Landing landing)
           Does the same thing as SaleDao.findSaleByLanding(fr.ifremer.allegro.data.survey.landing.Landing) with an additional argument called queryString.
 Sale findSaleByNaturalId(java.lang.Integer id)
           
 java.lang.Object findSaleByNaturalId(int transform, java.lang.Integer id)
           Does the same thing as SaleDao.findSaleByNaturalId(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findSaleByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as SaleDao.findSaleByNaturalId(int, java.lang.Integer) with an additional argument called queryString.
 Sale findSaleByNaturalId(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as SaleDao.findSaleByNaturalId(java.lang.Integer) with an additional argument called queryString.
 java.util.Collection findSaleByProgram(int transform, int pageNumber, int pageSize, Program program)
           Does the same thing as SaleDao.findSaleByProgram(int, fr.ifremer.allegro.administration.programStrategy.Program) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSaleByProgram(int pageNumber, int pageSize, Program program)
           Does the same thing as SaleDao.findSaleByProgram(fr.ifremer.allegro.administration.programStrategy.Program) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSaleByProgram(int transform, Program program)
           Does the same thing as SaleDao.findSaleByProgram(fr.ifremer.allegro.administration.programStrategy.Program) with an additional flag called transform.
 java.util.Collection findSaleByProgram(int transform, java.lang.String queryString, int pageNumber, int pageSize, Program program)
           Does the same thing as SaleDao.findSaleByProgram(int, String, fr.ifremer.allegro.administration.programStrategy.Program) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSaleByProgram(int transform, java.lang.String queryString, Program program)
           Does the same thing as SaleDao.findSaleByProgram(int, fr.ifremer.allegro.administration.programStrategy.Program) with an additional argument called queryString.
 java.util.Collection findSaleByProgram(Program program)
           
 java.util.Collection findSaleByProgram(java.lang.String queryString, int pageNumber, int pageSize, Program program)
           Does the same thing as SaleDao.findSaleByProgram(String, fr.ifremer.allegro.administration.programStrategy.Program) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSaleByProgram(java.lang.String queryString, Program program)
           Does the same thing as SaleDao.findSaleByProgram(fr.ifremer.allegro.administration.programStrategy.Program) with an additional argument called queryString.
 java.util.Collection findSaleByQualityFlag(int transform, int pageNumber, int pageSize, QualityFlag qualityFlag)
           Does the same thing as SaleDao.findSaleByQualityFlag(int, fr.ifremer.allegro.referential.QualityFlag) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSaleByQualityFlag(int pageNumber, int pageSize, QualityFlag qualityFlag)
           Does the same thing as SaleDao.findSaleByQualityFlag(fr.ifremer.allegro.referential.QualityFlag) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSaleByQualityFlag(int transform, QualityFlag qualityFlag)
           Does the same thing as SaleDao.findSaleByQualityFlag(fr.ifremer.allegro.referential.QualityFlag) with an additional flag called transform.
 java.util.Collection findSaleByQualityFlag(int transform, java.lang.String queryString, int pageNumber, int pageSize, QualityFlag qualityFlag)
           Does the same thing as SaleDao.findSaleByQualityFlag(int, String, fr.ifremer.allegro.referential.QualityFlag) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSaleByQualityFlag(int transform, java.lang.String queryString, QualityFlag qualityFlag)
           Does the same thing as SaleDao.findSaleByQualityFlag(int, fr.ifremer.allegro.referential.QualityFlag) with an additional argument called queryString.
 java.util.Collection findSaleByQualityFlag(QualityFlag qualityFlag)
           
 java.util.Collection findSaleByQualityFlag(java.lang.String queryString, int pageNumber, int pageSize, QualityFlag qualityFlag)
           Does the same thing as SaleDao.findSaleByQualityFlag(String, fr.ifremer.allegro.referential.QualityFlag) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSaleByQualityFlag(java.lang.String queryString, QualityFlag qualityFlag)
           Does the same thing as SaleDao.findSaleByQualityFlag(fr.ifremer.allegro.referential.QualityFlag) with an additional argument called queryString.
 java.util.Collection findSaleByRecorderDepartment(Department recorderDepartment)
           
 java.util.Collection findSaleByRecorderDepartment(int transform, Department recorderDepartment)
           Does the same thing as SaleDao.findSaleByRecorderDepartment(fr.ifremer.allegro.administration.user.Department) with an additional flag called transform.
 java.util.Collection findSaleByRecorderDepartment(int pageNumber, int pageSize, Department recorderDepartment)
           Does the same thing as SaleDao.findSaleByRecorderDepartment(fr.ifremer.allegro.administration.user.Department) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSaleByRecorderDepartment(int transform, int pageNumber, int pageSize, Department recorderDepartment)
           Does the same thing as SaleDao.findSaleByRecorderDepartment(int, fr.ifremer.allegro.administration.user.Department) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSaleByRecorderDepartment(int transform, java.lang.String queryString, Department recorderDepartment)
           Does the same thing as SaleDao.findSaleByRecorderDepartment(int, fr.ifremer.allegro.administration.user.Department) with an additional argument called queryString.
 java.util.Collection findSaleByRecorderDepartment(int transform, java.lang.String queryString, int pageNumber, int pageSize, Department recorderDepartment)
           Does the same thing as SaleDao.findSaleByRecorderDepartment(int, String, fr.ifremer.allegro.administration.user.Department) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSaleByRecorderDepartment(java.lang.String queryString, Department recorderDepartment)
           Does the same thing as SaleDao.findSaleByRecorderDepartment(fr.ifremer.allegro.administration.user.Department) with an additional argument called queryString.
 java.util.Collection findSaleByRecorderDepartment(java.lang.String queryString, int pageNumber, int pageSize, Department recorderDepartment)
           Does the same thing as SaleDao.findSaleByRecorderDepartment(String, fr.ifremer.allegro.administration.user.Department) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSaleByRecorderPerson(int transform, int pageNumber, int pageSize, Person recorderPerson)
           Does the same thing as SaleDao.findSaleByRecorderPerson(int, fr.ifremer.allegro.administration.user.Person) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSaleByRecorderPerson(int pageNumber, int pageSize, Person recorderPerson)
           Does the same thing as SaleDao.findSaleByRecorderPerson(fr.ifremer.allegro.administration.user.Person) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSaleByRecorderPerson(int transform, Person recorderPerson)
           Does the same thing as SaleDao.findSaleByRecorderPerson(fr.ifremer.allegro.administration.user.Person) with an additional flag called transform.
 java.util.Collection findSaleByRecorderPerson(int transform, java.lang.String queryString, int pageNumber, int pageSize, Person recorderPerson)
           Does the same thing as SaleDao.findSaleByRecorderPerson(int, String, fr.ifremer.allegro.administration.user.Person) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSaleByRecorderPerson(int transform, java.lang.String queryString, Person recorderPerson)
           Does the same thing as SaleDao.findSaleByRecorderPerson(int, fr.ifremer.allegro.administration.user.Person) with an additional argument called queryString.
 java.util.Collection findSaleByRecorderPerson(Person recorderPerson)
           
 java.util.Collection findSaleByRecorderPerson(java.lang.String queryString, int pageNumber, int pageSize, Person recorderPerson)
           Does the same thing as SaleDao.findSaleByRecorderPerson(String, fr.ifremer.allegro.administration.user.Person) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSaleByRecorderPerson(java.lang.String queryString, Person recorderPerson)
           Does the same thing as SaleDao.findSaleByRecorderPerson(fr.ifremer.allegro.administration.user.Person) with an additional argument called queryString.
 java.util.Collection findSaleBySaleLocation(int transform, int pageNumber, int pageSize, Location saleLocation)
           Does the same thing as SaleDao.findSaleBySaleLocation(int, fr.ifremer.allegro.referential.location.Location) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSaleBySaleLocation(int pageNumber, int pageSize, Location saleLocation)
           Does the same thing as SaleDao.findSaleBySaleLocation(fr.ifremer.allegro.referential.location.Location) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSaleBySaleLocation(int transform, Location saleLocation)
           Does the same thing as SaleDao.findSaleBySaleLocation(fr.ifremer.allegro.referential.location.Location) with an additional flag called transform.
 java.util.Collection findSaleBySaleLocation(int transform, java.lang.String queryString, int pageNumber, int pageSize, Location saleLocation)
           Does the same thing as SaleDao.findSaleBySaleLocation(int, String, fr.ifremer.allegro.referential.location.Location) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSaleBySaleLocation(int transform, java.lang.String queryString, Location saleLocation)
           Does the same thing as SaleDao.findSaleBySaleLocation(int, fr.ifremer.allegro.referential.location.Location) with an additional argument called queryString.
 java.util.Collection findSaleBySaleLocation(Location saleLocation)
           
 java.util.Collection findSaleBySaleLocation(java.lang.String queryString, int pageNumber, int pageSize, Location saleLocation)
           Does the same thing as SaleDao.findSaleBySaleLocation(String, fr.ifremer.allegro.referential.location.Location) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSaleBySaleLocation(java.lang.String queryString, Location saleLocation)
           Does the same thing as SaleDao.findSaleBySaleLocation(fr.ifremer.allegro.referential.location.Location) with an additional argument called queryString.
 java.util.Collection findSaleBySaleType(int transform, int pageNumber, int pageSize, SaleType saleType)
           Does the same thing as SaleDao.findSaleBySaleType(int, fr.ifremer.allegro.referential.SaleType) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSaleBySaleType(int pageNumber, int pageSize, SaleType saleType)
           Does the same thing as SaleDao.findSaleBySaleType(fr.ifremer.allegro.referential.SaleType) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSaleBySaleType(int transform, SaleType saleType)
           Does the same thing as SaleDao.findSaleBySaleType(fr.ifremer.allegro.referential.SaleType) with an additional flag called transform.
 java.util.Collection findSaleBySaleType(int transform, java.lang.String queryString, int pageNumber, int pageSize, SaleType saleType)
           Does the same thing as SaleDao.findSaleBySaleType(int, String, fr.ifremer.allegro.referential.SaleType) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSaleBySaleType(int transform, java.lang.String queryString, SaleType saleType)
           Does the same thing as SaleDao.findSaleBySaleType(int, fr.ifremer.allegro.referential.SaleType) with an additional argument called queryString.
 java.util.Collection findSaleBySaleType(SaleType saleType)
           
 java.util.Collection findSaleBySaleType(java.lang.String queryString, int pageNumber, int pageSize, SaleType saleType)
           Does the same thing as SaleDao.findSaleBySaleType(String, fr.ifremer.allegro.referential.SaleType) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSaleBySaleType(java.lang.String queryString, SaleType saleType)
           Does the same thing as SaleDao.findSaleBySaleType(fr.ifremer.allegro.referential.SaleType) with an additional argument called queryString.
 java.util.Collection findSaleByVessel(int transform, int pageNumber, int pageSize, Vessel vessel)
           Does the same thing as SaleDao.findSaleByVessel(int, fr.ifremer.allegro.referential.vessel.Vessel) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSaleByVessel(int pageNumber, int pageSize, Vessel vessel)
           Does the same thing as SaleDao.findSaleByVessel(fr.ifremer.allegro.referential.vessel.Vessel) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSaleByVessel(int transform, java.lang.String queryString, int pageNumber, int pageSize, Vessel vessel)
           Does the same thing as SaleDao.findSaleByVessel(int, String, fr.ifremer.allegro.referential.vessel.Vessel) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSaleByVessel(int transform, java.lang.String queryString, Vessel vessel)
           Does the same thing as SaleDao.findSaleByVessel(int, fr.ifremer.allegro.referential.vessel.Vessel) with an additional argument called queryString.
 java.util.Collection findSaleByVessel(int transform, Vessel vessel)
           Does the same thing as SaleDao.findSaleByVessel(fr.ifremer.allegro.referential.vessel.Vessel) with an additional flag called transform.
 java.util.Collection findSaleByVessel(java.lang.String queryString, int pageNumber, int pageSize, Vessel vessel)
           Does the same thing as SaleDao.findSaleByVessel(String, fr.ifremer.allegro.referential.vessel.Vessel) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSaleByVessel(java.lang.String queryString, Vessel vessel)
           Does the same thing as SaleDao.findSaleByVessel(fr.ifremer.allegro.referential.vessel.Vessel) with an additional argument called queryString.
 java.util.Collection findSaleByVessel(Vessel vessel)
           
 ClusterSale[] getAllClusterSaleSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
 java.util.Collection getAllSale()
           
 java.util.Collection getAllSale(int transform)
           Does the same thing as SaleDao.getAllSale() with an additional flag called transform.
 java.util.Collection getAllSale(int pageNumber, int pageSize)
           Does the same thing as SaleDao.getAllSale() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllSale(int transform, int pageNumber, int pageSize)
           Does the same thing as SaleDao.getAllSale(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllSale(int transform, java.lang.String queryString)
           Does the same thing as SaleDao.getAllSale(int) with an additional argument called queryString.
 java.util.Collection getAllSale(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as SaleDao.getAllSale(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllSale(java.lang.String queryString)
           Does the same thing as SaleDao.getAllSale() with an additional argument called queryString.
 java.util.Collection getAllSale(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as SaleDao.getAllSale(String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllSaleSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as SaleDao.getAllSaleSinceDateSynchro(int, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllSaleSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as SaleDao.getAllSaleSinceDateSynchro(java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllSaleSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as SaleDao.getAllSaleSinceDateSynchro(int, String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllSaleSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as SaleDao.getAllSaleSinceDateSynchro(int, java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllSaleSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
           Does the same thing as SaleDao.getAllSaleSinceDateSynchro(java.sql.Timestamp) with an additional flag called transform.
 java.util.Collection getAllSaleSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as SaleDao.getAllSaleSinceDateSynchro(String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllSaleSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as SaleDao.getAllSaleSinceDateSynchro(java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllSaleSinceDateSynchro(java.sql.Timestamp updateDate)
           
protected  CatchBatchDao getCatchBatchDao()
          Gets the reference to catchBatchDao.
protected  DeclaredDocumentReferenceDao getDeclaredDocumentReferenceDao()
          Gets the reference to declaredDocumentReferenceDao.
protected  DepartmentDao getDepartmentDao()
          Gets the reference to departmentDao.
protected  FishingTripDao getFishingTripDao()
          Gets the reference to fishingTripDao.
protected  LandingDao getLandingDao()
          Gets the reference to landingDao.
protected  LocationDao getLocationDao()
          Gets the reference to locationDao.
protected  PersonDao getPersonDao()
          Gets the reference to personDao.
protected  java.security.Principal getPrincipal()
          Gets the current principal if one has been set, otherwise returns null.
protected  ProgramDao getProgramDao()
          Gets the reference to programDao.
protected  QualityFlagDao getQualityFlagDao()
          Gets the reference to qualityFlagDao.
protected  SaleMeasurementDao getSaleMeasurementDao()
          Gets the reference to saleMeasurementDao.
protected  SaleOriginDao getSaleOriginDao()
          Gets the reference to saleOriginDao.
protected  SaleProduceDao getSaleProduceDao()
          Gets the reference to saleProduceDao.
protected  SaleTypeDao getSaleTypeDao()
          Gets the reference to saleTypeDao.
protected  SurveyMeasurementDao getSurveyMeasurementDao()
          Gets the reference to surveyMeasurementDao.
protected  VesselDao getVesselDao()
          Gets the reference to vesselDao.
protected abstract  Sale handleCreateFromClusterSale(ClusterSale clusterSale)
          Performs the core logic for createFromClusterSale(fr.ifremer.allegro.data.survey.sale.generic.cluster.ClusterSale)
protected abstract  ClusterSale[] handleGetAllClusterSaleSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
          Performs the core logic for getAllClusterSaleSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 Sale load(java.lang.Integer id)
          Loads an instance of fr.ifremer.allegro.data.survey.sale.Sale from the persistent store.
 java.lang.Object load(int transform, java.lang.Integer id)
           Does the same thing as SaleDao.load(java.lang.Integer) with an additional flag called transform.
 java.util.Collection loadAll()
          Loads all entities of type Sale.
 java.util.Collection loadAll(int transform)
           Does the same thing as SaleDao.loadAll() with an additional flag called transform.
 java.util.Collection loadAll(int pageNumber, int pageSize)
           Does the same thing as SaleDao.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 SaleDao.loadAll(int) with an additional two arguments called pageNumber and pageSize.
 void remoteSaleFullVOToEntity(RemoteSaleFullVO source, Sale target, boolean copyIfNull)
          Copies the fields of RemoteSaleFullVO to the specified entity.
 void remoteSaleFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteSaleFullVO to this DAO's entity.
 void remoteSaleNaturalIdToEntity(RemoteSaleNaturalId source, Sale target, boolean copyIfNull)
          Copies the fields of RemoteSaleNaturalId to the specified entity.
 void remoteSaleNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteSaleNaturalId 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.survey.sale.Sale having the given identifier from the persistent store.
 void remove(Sale sale)
          Removes the instance of fr.ifremer.allegro.data.survey.sale.Sale 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 SaleDao.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 setCatchBatchDao(CatchBatchDao catchBatchDao)
          Sets the reference to catchBatchDao.
 void setDeclaredDocumentReferenceDao(DeclaredDocumentReferenceDao declaredDocumentReferenceDao)
          Sets the reference to declaredDocumentReferenceDao.
 void setDepartmentDao(DepartmentDao departmentDao)
          Sets the reference to departmentDao.
 void setFishingTripDao(FishingTripDao fishingTripDao)
          Sets the reference to fishingTripDao.
 void setLandingDao(LandingDao landingDao)
          Sets the reference to landingDao.
 void setLocationDao(LocationDao locationDao)
          Sets the reference to locationDao.
 void setPersonDao(PersonDao personDao)
          Sets the reference to personDao.
 void setProgramDao(ProgramDao programDao)
          Sets the reference to programDao.
 void setQualityFlagDao(QualityFlagDao qualityFlagDao)
          Sets the reference to qualityFlagDao.
 void setSaleMeasurementDao(SaleMeasurementDao saleMeasurementDao)
          Sets the reference to saleMeasurementDao.
 void setSaleOriginDao(SaleOriginDao saleOriginDao)
          Sets the reference to saleOriginDao.
 void setSaleProduceDao(SaleProduceDao saleProduceDao)
          Sets the reference to saleProduceDao.
 void setSaleTypeDao(SaleTypeDao saleTypeDao)
          Sets the reference to saleTypeDao.
 void setSurveyMeasurementDao(SurveyMeasurementDao surveyMeasurementDao)
          Sets the reference to surveyMeasurementDao.
 void setVesselDao(VesselDao vesselDao)
          Sets the reference to vesselDao.
protected  ClusterSale toClusterSale(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 ClusterSale toClusterSale(Sale entity)
          Converts this DAO's entity to an object of type ClusterSale.
 void toClusterSale(Sale source, ClusterSale target)
          Copies the fields of the specified entity to the target value object.
 ClusterSale[] toClusterSaleArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterSale.
 void toClusterSaleCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterSale.
protected  Sale toEntity(java.lang.Object[] row)
           
protected  RemoteSaleFullVO toRemoteSaleFullVO(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteSaleFullVO toRemoteSaleFullVO(Sale entity)
          Converts this DAO's entity to an object of type RemoteSaleFullVO.
 void toRemoteSaleFullVO(Sale source, RemoteSaleFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteSaleFullVO[] toRemoteSaleFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteSaleFullVO.
 void toRemoteSaleFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteSaleFullVO.
protected  RemoteSaleNaturalId toRemoteSaleNaturalId(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteSaleNaturalId toRemoteSaleNaturalId(Sale entity)
          Converts this DAO's entity to an object of type RemoteSaleNaturalId.
 void toRemoteSaleNaturalId(Sale source, RemoteSaleNaturalId target)
          Copies the fields of the specified entity to the target value object.
 RemoteSaleNaturalId[] toRemoteSaleNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteSaleNaturalId.
 void toRemoteSaleNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteSaleNaturalId.
protected  void transformEntities(int transform, java.util.Collection entities)
          Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.data.survey.sale.Sale) method.
protected  java.lang.Object transformEntity(int transform, Sale 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.survey.sale.SaleDao, please note that the SaleDao.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(Sale sale)
          Updates the sale 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.survey.sale.SaleDao
clusterSaleToEntity, remoteSaleFullVOToEntity, remoteSaleNaturalIdToEntity
 

Constructor Detail

SaleDaoBase

public SaleDaoBase()
Method Detail

setLocationDao

public void setLocationDao(LocationDao locationDao)
Sets the reference to locationDao.


getLocationDao

protected LocationDao getLocationDao()
Gets the reference to locationDao.


setVesselDao

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


getVesselDao

protected VesselDao getVesselDao()
Gets the reference to vesselDao.


setFishingTripDao

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


getFishingTripDao

protected FishingTripDao getFishingTripDao()
Gets the reference to fishingTripDao.


setDeclaredDocumentReferenceDao

public void setDeclaredDocumentReferenceDao(DeclaredDocumentReferenceDao declaredDocumentReferenceDao)
Sets the reference to declaredDocumentReferenceDao.


getDeclaredDocumentReferenceDao

protected DeclaredDocumentReferenceDao getDeclaredDocumentReferenceDao()
Gets the reference to declaredDocumentReferenceDao.


setSaleTypeDao

public void setSaleTypeDao(SaleTypeDao saleTypeDao)
Sets the reference to saleTypeDao.


getSaleTypeDao

protected SaleTypeDao getSaleTypeDao()
Gets the reference to saleTypeDao.


setLandingDao

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


getLandingDao

protected LandingDao getLandingDao()
Gets the reference to landingDao.


setProgramDao

public void setProgramDao(ProgramDao programDao)
Sets the reference to programDao.


getProgramDao

protected ProgramDao getProgramDao()
Gets the reference to programDao.


setDepartmentDao

public void setDepartmentDao(DepartmentDao departmentDao)
Sets the reference to departmentDao.


getDepartmentDao

protected DepartmentDao getDepartmentDao()
Gets the reference to departmentDao.


setQualityFlagDao

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


getQualityFlagDao

protected QualityFlagDao getQualityFlagDao()
Gets the reference to qualityFlagDao.


setCatchBatchDao

public void setCatchBatchDao(CatchBatchDao catchBatchDao)
Sets the reference to catchBatchDao.


getCatchBatchDao

protected CatchBatchDao getCatchBatchDao()
Gets the reference to catchBatchDao.


setPersonDao

public void setPersonDao(PersonDao personDao)
Sets the reference to personDao.


getPersonDao

protected PersonDao getPersonDao()
Gets the reference to personDao.


setSaleMeasurementDao

public void setSaleMeasurementDao(SaleMeasurementDao saleMeasurementDao)
Sets the reference to saleMeasurementDao.


getSaleMeasurementDao

protected SaleMeasurementDao getSaleMeasurementDao()
Gets the reference to saleMeasurementDao.


setSaleProduceDao

public void setSaleProduceDao(SaleProduceDao saleProduceDao)
Sets the reference to saleProduceDao.


getSaleProduceDao

protected SaleProduceDao getSaleProduceDao()
Gets the reference to saleProduceDao.


setSaleOriginDao

public void setSaleOriginDao(SaleOriginDao saleOriginDao)
Sets the reference to saleOriginDao.


getSaleOriginDao

protected SaleOriginDao getSaleOriginDao()
Gets the reference to saleOriginDao.


setSurveyMeasurementDao

public void setSurveyMeasurementDao(SurveyMeasurementDao surveyMeasurementDao)
Sets the reference to surveyMeasurementDao.


getSurveyMeasurementDao

protected SurveyMeasurementDao getSurveyMeasurementDao()
Gets the reference to surveyMeasurementDao.


load

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

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

load

public Sale load(java.lang.Integer id)
Description copied from interface: SaleDao
Loads an instance of fr.ifremer.allegro.data.survey.sale.Sale from the persistent store.

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

loadAll

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

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

loadAll

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

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

loadAll

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

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

loadAll

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

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

create

public Sale create(Sale sale)
Description copied from interface: SaleDao
Creates an instance of fr.ifremer.allegro.data.survey.sale.Sale and adds it to the persistent store.

Specified by:
create in interface SaleDao
See Also:
SaleDao.create(fr.ifremer.allegro.data.survey.sale.Sale)

create

public java.lang.Object create(int transform,
                               Sale sale)
Description copied from interface: SaleDao

Does the same thing as SaleDao.create(fr.ifremer.allegro.data.survey.sale.Sale) 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 SaleDao
See Also:
SaleDao.create(int transform, fr.ifremer.allegro.data.survey.sale.Sale)

create

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

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

create

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

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

create

public Sale create(java.util.Date saleStartDate,
                   java.util.Date saleEndDate,
                   java.lang.String comments,
                   java.util.Date creationDate,
                   java.util.Date controlDate,
                   java.util.Date validationDate,
                   java.util.Date qualificationDate,
                   java.lang.String qualificationComments,
                   java.sql.Timestamp updateDate,
                   CatchBatch catchBatch,
                   java.util.Collection saleMeasurements,
                   java.util.Collection surveyMeasurements,
                   DeclaredDocumentReference declaredDocumentReference,
                   Landing landing,
                   FishingTrip fishingTrip,
                   Location saleLocation,
                   SaleType saleType,
                   Vessel vessel,
                   java.util.Collection saleProduces,
                   Program program,
                   Department recorderDepartment,
                   QualityFlag qualityFlag,
                   java.util.Collection saleOrigins,
                   Person recorderPerson)
Description copied from interface: SaleDao

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

Specified by:
create in interface SaleDao
See Also:
SaleDao.create(java.util.Date,java.util.Date,java.lang.String,java.util.Date,java.util.Date,java.util.Date,java.util.Date,java.lang.String,java.sql.Timestamp,fr.ifremer.allegro.data.batch.CatchBatch,java.util.Collection,java.util.Collection,fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference,fr.ifremer.allegro.data.survey.landing.Landing,fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip,fr.ifremer.allegro.referential.location.Location,fr.ifremer.allegro.referential.SaleType,fr.ifremer.allegro.referential.vessel.Vessel,java.util.Collection,fr.ifremer.allegro.administration.programStrategy.Program,fr.ifremer.allegro.administration.user.Department,fr.ifremer.allegro.referential.QualityFlag,java.util.Collection,fr.ifremer.allegro.administration.user.Person)

create

public java.lang.Object create(int transform,
                               java.util.Date saleStartDate,
                               java.util.Date saleEndDate,
                               java.lang.String comments,
                               java.util.Date creationDate,
                               java.util.Date controlDate,
                               java.util.Date validationDate,
                               java.util.Date qualificationDate,
                               java.lang.String qualificationComments,
                               java.sql.Timestamp updateDate,
                               CatchBatch catchBatch,
                               java.util.Collection saleMeasurements,
                               java.util.Collection surveyMeasurements,
                               DeclaredDocumentReference declaredDocumentReference,
                               Landing landing,
                               FishingTrip fishingTrip,
                               Location saleLocation,
                               SaleType saleType,
                               Vessel vessel,
                               java.util.Collection saleProduces,
                               Program program,
                               Department recorderDepartment,
                               QualityFlag qualityFlag,
                               java.util.Collection saleOrigins,
                               Person recorderPerson)
Description copied from interface: SaleDao

Does the same thing as SaleDao.create(java.util.Date,java.util.Date,java.lang.String,java.util.Date,java.util.Date,java.util.Date,java.util.Date,java.lang.String,java.sql.Timestamp,fr.ifremer.allegro.data.batch.CatchBatch,java.util.Collection,java.util.Collection,fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference,fr.ifremer.allegro.data.survey.landing.Landing,fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip,fr.ifremer.allegro.referential.location.Location,fr.ifremer.allegro.referential.SaleType,fr.ifremer.allegro.referential.vessel.Vessel,java.util.Collection,fr.ifremer.allegro.administration.programStrategy.Program,fr.ifremer.allegro.administration.user.Department,fr.ifremer.allegro.referential.QualityFlag,java.util.Collection,fr.ifremer.allegro.administration.user.Person) 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 SaleDao
See Also:
SaleDao.create(int, java.util.Date,java.util.Date,java.lang.String,java.util.Date,java.util.Date,java.util.Date,java.util.Date,java.lang.String,java.sql.Timestamp,fr.ifremer.allegro.data.batch.CatchBatch,java.util.Collection,java.util.Collection,fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference,fr.ifremer.allegro.data.survey.landing.Landing,fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip,fr.ifremer.allegro.referential.location.Location,fr.ifremer.allegro.referential.SaleType,fr.ifremer.allegro.referential.vessel.Vessel,java.util.Collection,fr.ifremer.allegro.administration.programStrategy.Program,fr.ifremer.allegro.administration.user.Department,fr.ifremer.allegro.referential.QualityFlag,java.util.Collection,fr.ifremer.allegro.administration.user.Person)

create

public Sale create(java.util.Date creationDate,
                   Program program,
                   QualityFlag qualityFlag,
                   Department recorderDepartment,
                   Location saleLocation,
                   java.util.Date saleStartDate,
                   SaleType saleType,
                   Vessel vessel)
Description copied from interface: SaleDao

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

Specified by:
create in interface SaleDao
See Also:
SaleDao.create(java.util.Date,fr.ifremer.allegro.administration.programStrategy.Program,fr.ifremer.allegro.referential.QualityFlag,fr.ifremer.allegro.administration.user.Department,fr.ifremer.allegro.referential.location.Location,java.util.Date,fr.ifremer.allegro.referential.SaleType,fr.ifremer.allegro.referential.vessel.Vessel)

create

public java.lang.Object create(int transform,
                               java.util.Date creationDate,
                               Program program,
                               QualityFlag qualityFlag,
                               Department recorderDepartment,
                               Location saleLocation,
                               java.util.Date saleStartDate,
                               SaleType saleType,
                               Vessel vessel)
Description copied from interface: SaleDao

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

Specified by:
create in interface SaleDao
See Also:
SaleDao.create(int, java.util.Date,fr.ifremer.allegro.administration.programStrategy.Program,fr.ifremer.allegro.referential.QualityFlag,fr.ifremer.allegro.administration.user.Department,fr.ifremer.allegro.referential.location.Location,java.util.Date,fr.ifremer.allegro.referential.SaleType,fr.ifremer.allegro.referential.vessel.Vessel)

update

public void update(Sale sale)
Description copied from interface: SaleDao
Updates the sale instance in the persistent store.

Specified by:
update in interface SaleDao
See Also:
SaleDao.update(fr.ifremer.allegro.data.survey.sale.Sale)

update

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

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

remove

public void remove(Sale sale)
Description copied from interface: SaleDao
Removes the instance of fr.ifremer.allegro.data.survey.sale.Sale from the persistent store.

Specified by:
remove in interface SaleDao
See Also:
SaleDao.remove(fr.ifremer.allegro.data.survey.sale.Sale)

remove

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

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

remove

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

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

getAllSale

public java.util.Collection getAllSale()
Specified by:
getAllSale in interface SaleDao
See Also:
SaleDao.getAllSale()

getAllSale

public java.util.Collection getAllSale(int transform)
Description copied from interface: SaleDao

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

getAllSale

public java.util.Collection getAllSale(java.lang.String queryString)
Description copied from interface: SaleDao

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

Specified by:
getAllSale in interface SaleDao
See Also:
SaleDao.getAllSale(java.lang.String)

getAllSale

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

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

getAllSale

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

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

getAllSale

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

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

Specified by:
getAllSale in interface SaleDao
See Also:
SaleDao.getAllSale(int, String)

getAllSale

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

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

getAllSale

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

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

findSaleById

public Sale findSaleById(java.lang.Integer id)
Specified by:
findSaleById in interface SaleDao
See Also:
SaleDao.findSaleById(java.lang.Integer)

findSaleById

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

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

findSaleById

public Sale findSaleById(java.lang.String queryString,
                         java.lang.Integer id)
Description copied from interface: SaleDao

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

Specified by:
findSaleById in interface SaleDao
See Also:
SaleDao.findSaleById(java.lang.String, java.lang.Integer)

findSaleById

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

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

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

findSaleBySaleLocation

public java.util.Collection findSaleBySaleLocation(Location saleLocation)
Specified by:
findSaleBySaleLocation in interface SaleDao
See Also:
SaleDao.findSaleBySaleLocation(fr.ifremer.allegro.referential.location.Location)

findSaleBySaleLocation

public java.util.Collection findSaleBySaleLocation(int transform,
                                                   Location saleLocation)
Description copied from interface: SaleDao

Does the same thing as SaleDao.findSaleBySaleLocation(fr.ifremer.allegro.referential.location.Location) 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:
findSaleBySaleLocation in interface SaleDao
See Also:
SaleDao.findSaleBySaleLocation(int, fr.ifremer.allegro.referential.location.Location)

findSaleBySaleLocation

public java.util.Collection findSaleBySaleLocation(java.lang.String queryString,
                                                   Location saleLocation)
Description copied from interface: SaleDao

Does the same thing as SaleDao.findSaleBySaleLocation(fr.ifremer.allegro.referential.location.Location) with an additional argument called queryString. This queryString argument allows you to override the query string defined in SaleDao.findSaleBySaleLocation(fr.ifremer.allegro.referential.location.Location).

Specified by:
findSaleBySaleLocation in interface SaleDao
See Also:
SaleDao.findSaleBySaleLocation(java.lang.String, fr.ifremer.allegro.referential.location.Location)

findSaleBySaleLocation

public java.util.Collection findSaleBySaleLocation(int pageNumber,
                                                   int pageSize,
                                                   Location saleLocation)
Description copied from interface: SaleDao

Does the same thing as SaleDao.findSaleBySaleLocation(fr.ifremer.allegro.referential.location.Location) 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:
findSaleBySaleLocation in interface SaleDao
See Also:
SaleDao.findSaleBySaleLocation(int, int, fr.ifremer.allegro.referential.location.Location)

findSaleBySaleLocation

public java.util.Collection findSaleBySaleLocation(java.lang.String queryString,
                                                   int pageNumber,
                                                   int pageSize,
                                                   Location saleLocation)
Description copied from interface: SaleDao

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

findSaleBySaleLocation

public java.util.Collection findSaleBySaleLocation(int transform,
                                                   java.lang.String queryString,
                                                   Location saleLocation)
Description copied from interface: SaleDao

Does the same thing as SaleDao.findSaleBySaleLocation(int, fr.ifremer.allegro.referential.location.Location) with an additional argument called queryString. This queryString argument allows you to override the query string defined in SaleDao.findSaleBySaleLocation(int, fr.ifremer.allegro.referential.location.Location saleLocation).

Specified by:
findSaleBySaleLocation in interface SaleDao
See Also:
SaleDao.findSaleBySaleLocation(int, String, fr.ifremer.allegro.referential.location.Location)

findSaleBySaleLocation

public java.util.Collection findSaleBySaleLocation(int transform,
                                                   int pageNumber,
                                                   int pageSize,
                                                   Location saleLocation)
Description copied from interface: SaleDao

Does the same thing as SaleDao.findSaleBySaleLocation(int, fr.ifremer.allegro.referential.location.Location) 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:
findSaleBySaleLocation in interface SaleDao
See Also:
SaleDao.findSaleBySaleLocation(int, int, int, fr.ifremer.allegro.referential.location.Location)

findSaleBySaleLocation

public java.util.Collection findSaleBySaleLocation(int transform,
                                                   java.lang.String queryString,
                                                   int pageNumber,
                                                   int pageSize,
                                                   Location saleLocation)
Description copied from interface: SaleDao

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

findSaleByVessel

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

findSaleByVessel

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

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

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

findSaleByVessel

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

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

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

findSaleByVessel

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

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

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

findSaleByVessel

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

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

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

findSaleByVessel

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

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

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

findSaleByVessel

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

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

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

findSaleByVessel

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

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

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

findSaleByFishingTrip

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

findSaleByFishingTrip

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

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

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

findSaleByFishingTrip

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

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

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

findSaleByFishingTrip

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

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

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

findSaleByFishingTrip

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

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

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

findSaleByFishingTrip

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

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

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

findSaleByFishingTrip

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

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

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

findSaleByFishingTrip

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

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

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

findSaleByDeclaredDocumentReference

public java.util.Collection findSaleByDeclaredDocumentReference(DeclaredDocumentReference declaredDocumentReference)
Specified by:
findSaleByDeclaredDocumentReference in interface SaleDao
See Also:
SaleDao.findSaleByDeclaredDocumentReference(fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference)

findSaleByDeclaredDocumentReference

public java.util.Collection findSaleByDeclaredDocumentReference(int transform,
                                                                DeclaredDocumentReference declaredDocumentReference)
Description copied from interface: SaleDao

Does the same thing as SaleDao.findSaleByDeclaredDocumentReference(fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference) 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:
findSaleByDeclaredDocumentReference in interface SaleDao
See Also:
SaleDao.findSaleByDeclaredDocumentReference(int, fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference)

findSaleByDeclaredDocumentReference

public java.util.Collection findSaleByDeclaredDocumentReference(java.lang.String queryString,
                                                                DeclaredDocumentReference declaredDocumentReference)
Description copied from interface: SaleDao

Does the same thing as SaleDao.findSaleByDeclaredDocumentReference(fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference) with an additional argument called queryString. This queryString argument allows you to override the query string defined in SaleDao.findSaleByDeclaredDocumentReference(fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference).

Specified by:
findSaleByDeclaredDocumentReference in interface SaleDao
See Also:
SaleDao.findSaleByDeclaredDocumentReference(java.lang.String, fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference)

findSaleByDeclaredDocumentReference

public java.util.Collection findSaleByDeclaredDocumentReference(int pageNumber,
                                                                int pageSize,
                                                                DeclaredDocumentReference declaredDocumentReference)
Description copied from interface: SaleDao

Does the same thing as SaleDao.findSaleByDeclaredDocumentReference(fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference) 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:
findSaleByDeclaredDocumentReference in interface SaleDao
See Also:
SaleDao.findSaleByDeclaredDocumentReference(int, int, fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference)

findSaleByDeclaredDocumentReference

public java.util.Collection findSaleByDeclaredDocumentReference(java.lang.String queryString,
                                                                int pageNumber,
                                                                int pageSize,
                                                                DeclaredDocumentReference declaredDocumentReference)
Description copied from interface: SaleDao

Does the same thing as SaleDao.findSaleByDeclaredDocumentReference(String, fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference) 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:
findSaleByDeclaredDocumentReference in interface SaleDao
See Also:
SaleDao.findSaleByDeclaredDocumentReference(String, int, int, fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference)

findSaleByDeclaredDocumentReference

public java.util.Collection findSaleByDeclaredDocumentReference(int transform,
                                                                java.lang.String queryString,
                                                                DeclaredDocumentReference declaredDocumentReference)
Description copied from interface: SaleDao

Does the same thing as SaleDao.findSaleByDeclaredDocumentReference(int, fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference) with an additional argument called queryString. This queryString argument allows you to override the query string defined in SaleDao.findSaleByDeclaredDocumentReference(int, fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference declaredDocumentReference).

Specified by:
findSaleByDeclaredDocumentReference in interface SaleDao
See Also:
SaleDao.findSaleByDeclaredDocumentReference(int, String, fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference)

findSaleByDeclaredDocumentReference

public java.util.Collection findSaleByDeclaredDocumentReference(int transform,
                                                                int pageNumber,
                                                                int pageSize,
                                                                DeclaredDocumentReference declaredDocumentReference)
Description copied from interface: SaleDao

Does the same thing as SaleDao.findSaleByDeclaredDocumentReference(int, fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference) 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:
findSaleByDeclaredDocumentReference in interface SaleDao
See Also:
SaleDao.findSaleByDeclaredDocumentReference(int, int, int, fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference)

findSaleByDeclaredDocumentReference

public java.util.Collection findSaleByDeclaredDocumentReference(int transform,
                                                                java.lang.String queryString,
                                                                int pageNumber,
                                                                int pageSize,
                                                                DeclaredDocumentReference declaredDocumentReference)
Description copied from interface: SaleDao

Does the same thing as SaleDao.findSaleByDeclaredDocumentReference(int, String, fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference) 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:
findSaleByDeclaredDocumentReference in interface SaleDao
See Also:
SaleDao.findSaleByDeclaredDocumentReference(int, java.lang.String, int, int, fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference)

findSaleBySaleType

public java.util.Collection findSaleBySaleType(SaleType saleType)
Specified by:
findSaleBySaleType in interface SaleDao
See Also:
SaleDao.findSaleBySaleType(fr.ifremer.allegro.referential.SaleType)

findSaleBySaleType

public java.util.Collection findSaleBySaleType(int transform,
                                               SaleType saleType)
Description copied from interface: SaleDao

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

findSaleBySaleType

public java.util.Collection findSaleBySaleType(java.lang.String queryString,
                                               SaleType saleType)
Description copied from interface: SaleDao

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

Specified by:
findSaleBySaleType in interface SaleDao
See Also:
SaleDao.findSaleBySaleType(java.lang.String, fr.ifremer.allegro.referential.SaleType)

findSaleBySaleType

public java.util.Collection findSaleBySaleType(int pageNumber,
                                               int pageSize,
                                               SaleType saleType)
Description copied from interface: SaleDao

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

findSaleBySaleType

public java.util.Collection findSaleBySaleType(java.lang.String queryString,
                                               int pageNumber,
                                               int pageSize,
                                               SaleType saleType)
Description copied from interface: SaleDao

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

findSaleBySaleType

public java.util.Collection findSaleBySaleType(int transform,
                                               java.lang.String queryString,
                                               SaleType saleType)
Description copied from interface: SaleDao

Does the same thing as SaleDao.findSaleBySaleType(int, fr.ifremer.allegro.referential.SaleType) with an additional argument called queryString. This queryString argument allows you to override the query string defined in SaleDao.findSaleBySaleType(int, fr.ifremer.allegro.referential.SaleType saleType).

Specified by:
findSaleBySaleType in interface SaleDao
See Also:
SaleDao.findSaleBySaleType(int, String, fr.ifremer.allegro.referential.SaleType)

findSaleBySaleType

public java.util.Collection findSaleBySaleType(int transform,
                                               int pageNumber,
                                               int pageSize,
                                               SaleType saleType)
Description copied from interface: SaleDao

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

findSaleBySaleType

public java.util.Collection findSaleBySaleType(int transform,
                                               java.lang.String queryString,
                                               int pageNumber,
                                               int pageSize,
                                               SaleType saleType)
Description copied from interface: SaleDao

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

findSaleByLanding

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

findSaleByLanding

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

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

findSaleByLanding

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

Does the same thing as SaleDao.findSaleByLanding(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 SaleDao.findSaleByLanding(fr.ifremer.allegro.data.survey.landing.Landing).

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

findSaleByLanding

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

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

findSaleByLanding

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

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

findSaleByLanding

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

Does the same thing as SaleDao.findSaleByLanding(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 SaleDao.findSaleByLanding(int, fr.ifremer.allegro.data.survey.landing.Landing landing).

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

findSaleByLanding

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

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

findSaleByLanding

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

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

findSaleByProgram

public java.util.Collection findSaleByProgram(Program program)
Specified by:
findSaleByProgram in interface SaleDao
See Also:
SaleDao.findSaleByProgram(fr.ifremer.allegro.administration.programStrategy.Program)

findSaleByProgram

public java.util.Collection findSaleByProgram(int transform,
                                              Program program)
Description copied from interface: SaleDao

Does the same thing as SaleDao.findSaleByProgram(fr.ifremer.allegro.administration.programStrategy.Program) 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:
findSaleByProgram in interface SaleDao
See Also:
SaleDao.findSaleByProgram(int, fr.ifremer.allegro.administration.programStrategy.Program)

findSaleByProgram

public java.util.Collection findSaleByProgram(java.lang.String queryString,
                                              Program program)
Description copied from interface: SaleDao

Does the same thing as SaleDao.findSaleByProgram(fr.ifremer.allegro.administration.programStrategy.Program) with an additional argument called queryString. This queryString argument allows you to override the query string defined in SaleDao.findSaleByProgram(fr.ifremer.allegro.administration.programStrategy.Program).

Specified by:
findSaleByProgram in interface SaleDao
See Also:
SaleDao.findSaleByProgram(java.lang.String, fr.ifremer.allegro.administration.programStrategy.Program)

findSaleByProgram

public java.util.Collection findSaleByProgram(int pageNumber,
                                              int pageSize,
                                              Program program)
Description copied from interface: SaleDao

Does the same thing as SaleDao.findSaleByProgram(fr.ifremer.allegro.administration.programStrategy.Program) 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:
findSaleByProgram in interface SaleDao
See Also:
SaleDao.findSaleByProgram(int, int, fr.ifremer.allegro.administration.programStrategy.Program)

findSaleByProgram

public java.util.Collection findSaleByProgram(java.lang.String queryString,
                                              int pageNumber,
                                              int pageSize,
                                              Program program)
Description copied from interface: SaleDao

Does the same thing as SaleDao.findSaleByProgram(String, fr.ifremer.allegro.administration.programStrategy.Program) 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:
findSaleByProgram in interface SaleDao
See Also:
SaleDao.findSaleByProgram(String, int, int, fr.ifremer.allegro.administration.programStrategy.Program)

findSaleByProgram

public java.util.Collection findSaleByProgram(int transform,
                                              java.lang.String queryString,
                                              Program program)
Description copied from interface: SaleDao

Does the same thing as SaleDao.findSaleByProgram(int, fr.ifremer.allegro.administration.programStrategy.Program) with an additional argument called queryString. This queryString argument allows you to override the query string defined in SaleDao.findSaleByProgram(int, fr.ifremer.allegro.administration.programStrategy.Program program).

Specified by:
findSaleByProgram in interface SaleDao
See Also:
SaleDao.findSaleByProgram(int, String, fr.ifremer.allegro.administration.programStrategy.Program)

findSaleByProgram

public java.util.Collection findSaleByProgram(int transform,
                                              int pageNumber,
                                              int pageSize,
                                              Program program)
Description copied from interface: SaleDao

Does the same thing as SaleDao.findSaleByProgram(int, fr.ifremer.allegro.administration.programStrategy.Program) 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:
findSaleByProgram in interface SaleDao
See Also:
SaleDao.findSaleByProgram(int, int, int, fr.ifremer.allegro.administration.programStrategy.Program)

findSaleByProgram

public java.util.Collection findSaleByProgram(int transform,
                                              java.lang.String queryString,
                                              int pageNumber,
                                              int pageSize,
                                              Program program)
Description copied from interface: SaleDao

Does the same thing as SaleDao.findSaleByProgram(int, String, fr.ifremer.allegro.administration.programStrategy.Program) 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:
findSaleByProgram in interface SaleDao
See Also:
SaleDao.findSaleByProgram(int, java.lang.String, int, int, fr.ifremer.allegro.administration.programStrategy.Program)

findSaleByRecorderDepartment

public java.util.Collection findSaleByRecorderDepartment(Department recorderDepartment)
Specified by:
findSaleByRecorderDepartment in interface SaleDao
See Also:
SaleDao.findSaleByRecorderDepartment(fr.ifremer.allegro.administration.user.Department)

findSaleByRecorderDepartment

public java.util.Collection findSaleByRecorderDepartment(int transform,
                                                         Department recorderDepartment)
Description copied from interface: SaleDao

Does the same thing as SaleDao.findSaleByRecorderDepartment(fr.ifremer.allegro.administration.user.Department) 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:
findSaleByRecorderDepartment in interface SaleDao
See Also:
SaleDao.findSaleByRecorderDepartment(int, fr.ifremer.allegro.administration.user.Department)

findSaleByRecorderDepartment

public java.util.Collection findSaleByRecorderDepartment(java.lang.String queryString,
                                                         Department recorderDepartment)
Description copied from interface: SaleDao

Does the same thing as SaleDao.findSaleByRecorderDepartment(fr.ifremer.allegro.administration.user.Department) with an additional argument called queryString. This queryString argument allows you to override the query string defined in SaleDao.findSaleByRecorderDepartment(fr.ifremer.allegro.administration.user.Department).

Specified by:
findSaleByRecorderDepartment in interface SaleDao
See Also:
SaleDao.findSaleByRecorderDepartment(java.lang.String, fr.ifremer.allegro.administration.user.Department)

findSaleByRecorderDepartment

public java.util.Collection findSaleByRecorderDepartment(int pageNumber,
                                                         int pageSize,
                                                         Department recorderDepartment)
Description copied from interface: SaleDao

Does the same thing as SaleDao.findSaleByRecorderDepartment(fr.ifremer.allegro.administration.user.Department) 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:
findSaleByRecorderDepartment in interface SaleDao
See Also:
SaleDao.findSaleByRecorderDepartment(int, int, fr.ifremer.allegro.administration.user.Department)

findSaleByRecorderDepartment

public java.util.Collection findSaleByRecorderDepartment(java.lang.String queryString,
                                                         int pageNumber,
                                                         int pageSize,
                                                         Department recorderDepartment)
Description copied from interface: SaleDao

Does the same thing as SaleDao.findSaleByRecorderDepartment(String, fr.ifremer.allegro.administration.user.Department) 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:
findSaleByRecorderDepartment in interface SaleDao
See Also:
SaleDao.findSaleByRecorderDepartment(String, int, int, fr.ifremer.allegro.administration.user.Department)

findSaleByRecorderDepartment

public java.util.Collection findSaleByRecorderDepartment(int transform,
                                                         java.lang.String queryString,
                                                         Department recorderDepartment)
Description copied from interface: SaleDao

Does the same thing as SaleDao.findSaleByRecorderDepartment(int, fr.ifremer.allegro.administration.user.Department) with an additional argument called queryString. This queryString argument allows you to override the query string defined in SaleDao.findSaleByRecorderDepartment(int, fr.ifremer.allegro.administration.user.Department recorderDepartment).

Specified by:
findSaleByRecorderDepartment in interface SaleDao
See Also:
SaleDao.findSaleByRecorderDepartment(int, String, fr.ifremer.allegro.administration.user.Department)

findSaleByRecorderDepartment

public java.util.Collection findSaleByRecorderDepartment(int transform,
                                                         int pageNumber,
                                                         int pageSize,
                                                         Department recorderDepartment)
Description copied from interface: SaleDao

Does the same thing as SaleDao.findSaleByRecorderDepartment(int, fr.ifremer.allegro.administration.user.Department) 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:
findSaleByRecorderDepartment in interface SaleDao
See Also:
SaleDao.findSaleByRecorderDepartment(int, int, int, fr.ifremer.allegro.administration.user.Department)

findSaleByRecorderDepartment

public java.util.Collection findSaleByRecorderDepartment(int transform,
                                                         java.lang.String queryString,
                                                         int pageNumber,
                                                         int pageSize,
                                                         Department recorderDepartment)
Description copied from interface: SaleDao

Does the same thing as SaleDao.findSaleByRecorderDepartment(int, String, fr.ifremer.allegro.administration.user.Department) 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:
findSaleByRecorderDepartment in interface SaleDao
See Also:
SaleDao.findSaleByRecorderDepartment(int, java.lang.String, int, int, fr.ifremer.allegro.administration.user.Department)

findSaleByQualityFlag

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

findSaleByQualityFlag

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

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

findSaleByQualityFlag

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

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

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

findSaleByQualityFlag

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

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

findSaleByQualityFlag

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

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

findSaleByQualityFlag

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

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

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

findSaleByQualityFlag

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

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

findSaleByQualityFlag

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

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

findSaleByCatchBatch

public Sale findSaleByCatchBatch(CatchBatch catchBatch)
Specified by:
findSaleByCatchBatch in interface SaleDao
See Also:
SaleDao.findSaleByCatchBatch(fr.ifremer.allegro.data.batch.CatchBatch)

findSaleByCatchBatch

public java.lang.Object findSaleByCatchBatch(int transform,
                                             CatchBatch catchBatch)
Description copied from interface: SaleDao

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

findSaleByCatchBatch

public Sale findSaleByCatchBatch(java.lang.String queryString,
                                 CatchBatch catchBatch)
Description copied from interface: SaleDao

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

Specified by:
findSaleByCatchBatch in interface SaleDao
See Also:
SaleDao.findSaleByCatchBatch(java.lang.String, fr.ifremer.allegro.data.batch.CatchBatch)

findSaleByCatchBatch

public java.lang.Object findSaleByCatchBatch(int transform,
                                             java.lang.String queryString,
                                             CatchBatch catchBatch)
Description copied from interface: SaleDao

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

Specified by:
findSaleByCatchBatch in interface SaleDao
See Also:
SaleDao.findSaleByCatchBatch(int, java.lang.String, fr.ifremer.allegro.data.batch.CatchBatch)

findSaleByRecorderPerson

public java.util.Collection findSaleByRecorderPerson(Person recorderPerson)
Specified by:
findSaleByRecorderPerson in interface SaleDao
See Also:
SaleDao.findSaleByRecorderPerson(fr.ifremer.allegro.administration.user.Person)

findSaleByRecorderPerson

public java.util.Collection findSaleByRecorderPerson(int transform,
                                                     Person recorderPerson)
Description copied from interface: SaleDao

Does the same thing as SaleDao.findSaleByRecorderPerson(fr.ifremer.allegro.administration.user.Person) 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:
findSaleByRecorderPerson in interface SaleDao
See Also:
SaleDao.findSaleByRecorderPerson(int, fr.ifremer.allegro.administration.user.Person)

findSaleByRecorderPerson

public java.util.Collection findSaleByRecorderPerson(java.lang.String queryString,
                                                     Person recorderPerson)
Description copied from interface: SaleDao

Does the same thing as SaleDao.findSaleByRecorderPerson(fr.ifremer.allegro.administration.user.Person) with an additional argument called queryString. This queryString argument allows you to override the query string defined in SaleDao.findSaleByRecorderPerson(fr.ifremer.allegro.administration.user.Person).

Specified by:
findSaleByRecorderPerson in interface SaleDao
See Also:
SaleDao.findSaleByRecorderPerson(java.lang.String, fr.ifremer.allegro.administration.user.Person)

findSaleByRecorderPerson

public java.util.Collection findSaleByRecorderPerson(int pageNumber,
                                                     int pageSize,
                                                     Person recorderPerson)
Description copied from interface: SaleDao

Does the same thing as SaleDao.findSaleByRecorderPerson(fr.ifremer.allegro.administration.user.Person) 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:
findSaleByRecorderPerson in interface SaleDao
See Also:
SaleDao.findSaleByRecorderPerson(int, int, fr.ifremer.allegro.administration.user.Person)

findSaleByRecorderPerson

public java.util.Collection findSaleByRecorderPerson(java.lang.String queryString,
                                                     int pageNumber,
                                                     int pageSize,
                                                     Person recorderPerson)
Description copied from interface: SaleDao

Does the same thing as SaleDao.findSaleByRecorderPerson(String, fr.ifremer.allegro.administration.user.Person) 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:
findSaleByRecorderPerson in interface SaleDao
See Also:
SaleDao.findSaleByRecorderPerson(String, int, int, fr.ifremer.allegro.administration.user.Person)

findSaleByRecorderPerson

public java.util.Collection findSaleByRecorderPerson(int transform,
                                                     java.lang.String queryString,
                                                     Person recorderPerson)
Description copied from interface: SaleDao

Does the same thing as SaleDao.findSaleByRecorderPerson(int, fr.ifremer.allegro.administration.user.Person) with an additional argument called queryString. This queryString argument allows you to override the query string defined in SaleDao.findSaleByRecorderPerson(int, fr.ifremer.allegro.administration.user.Person recorderPerson).

Specified by:
findSaleByRecorderPerson in interface SaleDao
See Also:
SaleDao.findSaleByRecorderPerson(int, String, fr.ifremer.allegro.administration.user.Person)

findSaleByRecorderPerson

public java.util.Collection findSaleByRecorderPerson(int transform,
                                                     int pageNumber,
                                                     int pageSize,
                                                     Person recorderPerson)
Description copied from interface: SaleDao

Does the same thing as SaleDao.findSaleByRecorderPerson(int, fr.ifremer.allegro.administration.user.Person) 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:
findSaleByRecorderPerson in interface SaleDao
See Also:
SaleDao.findSaleByRecorderPerson(int, int, int, fr.ifremer.allegro.administration.user.Person)

findSaleByRecorderPerson

public java.util.Collection findSaleByRecorderPerson(int transform,
                                                     java.lang.String queryString,
                                                     int pageNumber,
                                                     int pageSize,
                                                     Person recorderPerson)
Description copied from interface: SaleDao

Does the same thing as SaleDao.findSaleByRecorderPerson(int, String, fr.ifremer.allegro.administration.user.Person) 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:
findSaleByRecorderPerson in interface SaleDao
See Also:
SaleDao.findSaleByRecorderPerson(int, java.lang.String, int, int, fr.ifremer.allegro.administration.user.Person)

findSaleByNaturalId

public Sale findSaleByNaturalId(java.lang.Integer id)
Specified by:
findSaleByNaturalId in interface SaleDao
See Also:
SaleDao.findSaleByNaturalId(java.lang.Integer)

findSaleByNaturalId

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

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

findSaleByNaturalId

public Sale findSaleByNaturalId(java.lang.String queryString,
                                java.lang.Integer id)
Description copied from interface: SaleDao

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

Specified by:
findSaleByNaturalId in interface SaleDao
See Also:
SaleDao.findSaleByNaturalId(java.lang.String, java.lang.Integer)

findSaleByNaturalId

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

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

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

getAllSaleSinceDateSynchro

public java.util.Collection getAllSaleSinceDateSynchro(java.sql.Timestamp updateDate)
Specified by:
getAllSaleSinceDateSynchro in interface SaleDao
See Also:
SaleDao.getAllSaleSinceDateSynchro(java.sql.Timestamp)

getAllSaleSinceDateSynchro

public java.util.Collection getAllSaleSinceDateSynchro(int transform,
                                                       java.sql.Timestamp updateDate)
Description copied from interface: SaleDao

Does the same thing as SaleDao.getAllSaleSinceDateSynchro(java.sql.Timestamp) 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:
getAllSaleSinceDateSynchro in interface SaleDao
See Also:
SaleDao.getAllSaleSinceDateSynchro(int, java.sql.Timestamp)

getAllSaleSinceDateSynchro

public java.util.Collection getAllSaleSinceDateSynchro(java.lang.String queryString,
                                                       java.sql.Timestamp updateDate)
Description copied from interface: SaleDao

Does the same thing as SaleDao.getAllSaleSinceDateSynchro(java.sql.Timestamp) with an additional argument called queryString. This queryString argument allows you to override the query string defined in SaleDao.getAllSaleSinceDateSynchro(java.sql.Timestamp).

Specified by:
getAllSaleSinceDateSynchro in interface SaleDao
See Also:
SaleDao.getAllSaleSinceDateSynchro(java.lang.String, java.sql.Timestamp)

getAllSaleSinceDateSynchro

public java.util.Collection getAllSaleSinceDateSynchro(int pageNumber,
                                                       int pageSize,
                                                       java.sql.Timestamp updateDate)
Description copied from interface: SaleDao

Does the same thing as SaleDao.getAllSaleSinceDateSynchro(java.sql.Timestamp) 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:
getAllSaleSinceDateSynchro in interface SaleDao
See Also:
SaleDao.getAllSaleSinceDateSynchro(int, int, java.sql.Timestamp)

getAllSaleSinceDateSynchro

public java.util.Collection getAllSaleSinceDateSynchro(java.lang.String queryString,
                                                       int pageNumber,
                                                       int pageSize,
                                                       java.sql.Timestamp updateDate)
Description copied from interface: SaleDao

Does the same thing as SaleDao.getAllSaleSinceDateSynchro(String, java.sql.Timestamp) 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:
getAllSaleSinceDateSynchro in interface SaleDao
See Also:
SaleDao.getAllSaleSinceDateSynchro(String, int, int, java.sql.Timestamp)

getAllSaleSinceDateSynchro

public java.util.Collection getAllSaleSinceDateSynchro(int transform,
                                                       java.lang.String queryString,
                                                       java.sql.Timestamp updateDate)
Description copied from interface: SaleDao

Does the same thing as SaleDao.getAllSaleSinceDateSynchro(int, java.sql.Timestamp) with an additional argument called queryString. This queryString argument allows you to override the query string defined in SaleDao.getAllSaleSinceDateSynchro(int, java.sql.Timestamp updateDate).

Specified by:
getAllSaleSinceDateSynchro in interface SaleDao
See Also:
SaleDao.getAllSaleSinceDateSynchro(int, String, java.sql.Timestamp)

getAllSaleSinceDateSynchro

public java.util.Collection getAllSaleSinceDateSynchro(int transform,
                                                       int pageNumber,
                                                       int pageSize,
                                                       java.sql.Timestamp updateDate)
Description copied from interface: SaleDao

Does the same thing as SaleDao.getAllSaleSinceDateSynchro(int, java.sql.Timestamp) 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:
getAllSaleSinceDateSynchro in interface SaleDao
See Also:
SaleDao.getAllSaleSinceDateSynchro(int, int, int, java.sql.Timestamp)

getAllSaleSinceDateSynchro

public java.util.Collection getAllSaleSinceDateSynchro(int transform,
                                                       java.lang.String queryString,
                                                       int pageNumber,
                                                       int pageSize,
                                                       java.sql.Timestamp updateDate)
Description copied from interface: SaleDao

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

createFromClusterSale

public Sale createFromClusterSale(ClusterSale clusterSale)
Specified by:
createFromClusterSale in interface SaleDao
See Also:
SaleDao.createFromClusterSale(fr.ifremer.allegro.data.survey.sale.generic.cluster.ClusterSale)

handleCreateFromClusterSale

protected abstract Sale handleCreateFromClusterSale(ClusterSale clusterSale)
                                             throws java.lang.Exception
Performs the core logic for createFromClusterSale(fr.ifremer.allegro.data.survey.sale.generic.cluster.ClusterSale)

Throws:
java.lang.Exception

getAllClusterSaleSinceDateSynchro

public ClusterSale[] getAllClusterSaleSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                       java.lang.Integer userId,
                                                       java.lang.Integer[] registrationLocationIds,
                                                       java.lang.Integer pageNumber,
                                                       java.lang.Integer pageSize)
Specified by:
getAllClusterSaleSinceDateSynchro in interface SaleDao
See Also:
SaleDao.getAllClusterSaleSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

handleGetAllClusterSaleSinceDateSynchro

protected abstract ClusterSale[] handleGetAllClusterSaleSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                                         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 getAllClusterSaleSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Throws:
java.lang.Exception

transformEntity

protected java.lang.Object transformEntity(int transform,
                                           Sale 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.survey.sale.SaleDao, please note that the SaleDao.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 SaleDao.TRANSFORM_NONE is assumed.

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

toEntity

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

toRemoteSaleFullVOCollection

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

Specified by:
toRemoteSaleFullVOCollection in interface SaleDao
See Also:
SaleDao.toRemoteSaleFullVOCollection(java.util.Collection)

toRemoteSaleFullVOArray

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

Specified by:
toRemoteSaleFullVOArray in interface SaleDao
See Also:
SaleDao.toRemoteSaleFullVOArray(java.util.Collection)

toRemoteSaleFullVO

protected RemoteSaleFullVO toRemoteSaleFullVO(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 SaleDaoImpl class if you intend to use reporting queries.

See Also:
SaleDao.toRemoteSaleFullVO(fr.ifremer.allegro.data.survey.sale.Sale)

remoteSaleFullVOToEntityCollection

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

Specified by:
remoteSaleFullVOToEntityCollection in interface SaleDao
See Also:
SaleDao.remoteSaleFullVOToEntityCollection(java.util.Collection)

toRemoteSaleFullVO

public void toRemoteSaleFullVO(Sale source,
                               RemoteSaleFullVO target)
Description copied from interface: SaleDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteSaleFullVO(), 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:
toRemoteSaleFullVO in interface SaleDao
See Also:
SaleDao.toRemoteSaleFullVO(fr.ifremer.allegro.data.survey.sale.Sale, fr.ifremer.allegro.data.survey.sale.generic.vo.RemoteSaleFullVO)

toRemoteSaleFullVO

public RemoteSaleFullVO toRemoteSaleFullVO(Sale entity)
Description copied from interface: SaleDao
Converts this DAO's entity to an object of type RemoteSaleFullVO.

Specified by:
toRemoteSaleFullVO in interface SaleDao
See Also:
SaleDao.toRemoteSaleFullVO(fr.ifremer.allegro.data.survey.sale.Sale)

remoteSaleFullVOToEntity

public void remoteSaleFullVOToEntity(RemoteSaleFullVO source,
                                     Sale target,
                                     boolean copyIfNull)
Description copied from interface: SaleDao
Copies the fields of RemoteSaleFullVO to the specified entity.

Specified by:
remoteSaleFullVOToEntity in interface SaleDao
copyIfNull - If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE, it will be copied regardless of its value.
See Also:
fr.ifremer.allegro.data.survey.sale.SaleDao#remoteSaleFullVOToEntity(fr.ifremer.allegro.data.survey.sale.generic.vo.RemoteSaleFullVO, fr.ifremer.allegro.data.survey.sale.Sale)

toRemoteSaleNaturalIdCollection

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

Specified by:
toRemoteSaleNaturalIdCollection in interface SaleDao
See Also:
SaleDao.toRemoteSaleNaturalIdCollection(java.util.Collection)

toRemoteSaleNaturalIdArray

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

Specified by:
toRemoteSaleNaturalIdArray in interface SaleDao
See Also:
SaleDao.toRemoteSaleNaturalIdArray(java.util.Collection)

toRemoteSaleNaturalId

protected RemoteSaleNaturalId toRemoteSaleNaturalId(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 SaleDaoImpl class if you intend to use reporting queries.

See Also:
SaleDao.toRemoteSaleNaturalId(fr.ifremer.allegro.data.survey.sale.Sale)

remoteSaleNaturalIdToEntityCollection

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

Specified by:
remoteSaleNaturalIdToEntityCollection in interface SaleDao
See Also:
SaleDao.remoteSaleNaturalIdToEntityCollection(java.util.Collection)

toRemoteSaleNaturalId

public void toRemoteSaleNaturalId(Sale source,
                                  RemoteSaleNaturalId target)
Description copied from interface: SaleDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteSaleNaturalId(), 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:
toRemoteSaleNaturalId in interface SaleDao
See Also:
SaleDao.toRemoteSaleNaturalId(fr.ifremer.allegro.data.survey.sale.Sale, fr.ifremer.allegro.data.survey.sale.generic.vo.RemoteSaleNaturalId)

toRemoteSaleNaturalId

public RemoteSaleNaturalId toRemoteSaleNaturalId(Sale entity)
Description copied from interface: SaleDao
Converts this DAO's entity to an object of type RemoteSaleNaturalId.

Specified by:
toRemoteSaleNaturalId in interface SaleDao
See Also:
SaleDao.toRemoteSaleNaturalId(fr.ifremer.allegro.data.survey.sale.Sale)

remoteSaleNaturalIdToEntity

public void remoteSaleNaturalIdToEntity(RemoteSaleNaturalId source,
                                        Sale target,
                                        boolean copyIfNull)
Description copied from interface: SaleDao
Copies the fields of RemoteSaleNaturalId to the specified entity.

Specified by:
remoteSaleNaturalIdToEntity in interface SaleDao
copyIfNull - If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE, it will be copied regardless of its value.
See Also:
fr.ifremer.allegro.data.survey.sale.SaleDao#remoteSaleNaturalIdToEntity(fr.ifremer.allegro.data.survey.sale.generic.vo.RemoteSaleNaturalId, fr.ifremer.allegro.data.survey.sale.Sale)

toClusterSaleCollection

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

Specified by:
toClusterSaleCollection in interface SaleDao
See Also:
SaleDao.toClusterSaleCollection(java.util.Collection)

toClusterSaleArray

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

Specified by:
toClusterSaleArray in interface SaleDao
See Also:
SaleDao.toClusterSaleArray(java.util.Collection)

toClusterSale

protected ClusterSale toClusterSale(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 SaleDaoImpl class if you intend to use reporting queries.

See Also:
SaleDao.toClusterSale(fr.ifremer.allegro.data.survey.sale.Sale)

clusterSaleToEntityCollection

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

Specified by:
clusterSaleToEntityCollection in interface SaleDao
See Also:
SaleDao.clusterSaleToEntityCollection(java.util.Collection)

toClusterSale

public void toClusterSale(Sale source,
                          ClusterSale target)
Description copied from interface: SaleDao
Copies the fields of the specified entity to the target value object. This method is similar to toClusterSale(), 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:
toClusterSale in interface SaleDao
See Also:
SaleDao.toClusterSale(fr.ifremer.allegro.data.survey.sale.Sale, fr.ifremer.allegro.data.survey.sale.generic.cluster.ClusterSale)

toClusterSale

public ClusterSale toClusterSale(Sale entity)
Description copied from interface: SaleDao
Converts this DAO's entity to an object of type ClusterSale.

Specified by:
toClusterSale in interface SaleDao
See Also:
SaleDao.toClusterSale(fr.ifremer.allegro.data.survey.sale.Sale)

clusterSaleToEntity

public void clusterSaleToEntity(ClusterSale source,
                                Sale target,
                                boolean copyIfNull)
Description copied from interface: SaleDao
Copies the fields of ClusterSale to the specified entity.

Specified by:
clusterSaleToEntity in interface SaleDao
copyIfNull - If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE, it will be copied regardless of its value.
See Also:
fr.ifremer.allegro.data.survey.sale.SaleDao#clusterSaleToEntity(fr.ifremer.allegro.data.survey.sale.generic.cluster.ClusterSale, fr.ifremer.allegro.data.survey.sale.Sale)

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

search

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

search

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

search

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

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


Copyright © 2008-2010 IFREMER. All Rights Reserved.