fr.ifremer.allegro.data.sample
Class SampleDaoBase

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.data.sample.SampleDaoBase
All Implemented Interfaces:
SampleDao
Direct Known Subclasses:
SampleDaoImpl

public abstract class SampleDaoBase
extends org.springframework.orm.hibernate3.support.HibernateDaoSupport
implements SampleDao

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

See Also:
Sample

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.data.sample.SampleDao
TRANSFORM_CLUSTERSAMPLE, TRANSFORM_NONE, TRANSFORM_REMOTESAMPLEFULLVO, TRANSFORM_REMOTESAMPLENATURALID
 
Constructor Summary
SampleDaoBase()
           
 
Method Summary
 void clusterSampleToEntity(ClusterSample source, Sample target, boolean copyIfNull)
          Copies the fields of ClusterSample to the specified entity.
 void clusterSampleToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterSample to this DAO's entity.
 java.util.Collection create(java.util.Collection entities)
          Creates a new instance of fr.ifremer.allegro.data.sample.Sample and adds from the passed in entities collection
 Sample create(java.util.Date creationDate, java.lang.String label, Matrix matrix, Program program, QualityFlag qualityFlag, Department recorderDepartment)
           Creates a new fr.ifremer.allegro.data.sample.Sample 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 SampleDao.create(fr.ifremer.allegro.data.sample.Sample) with an additional flag called transform.
 java.lang.Object create(int transform, java.util.Date creationDate, java.lang.String label, Matrix matrix, Program program, QualityFlag qualityFlag, Department recorderDepartment)
           Does the same thing as SampleDao.create(java.util.Date,java.lang.String,fr.ifremer.allegro.referential.pmfm.Matrix,fr.ifremer.allegro.administration.programStrategy.Program,fr.ifremer.allegro.referential.QualityFlag,fr.ifremer.allegro.administration.user.Department) with an additional flag called transform.
 java.lang.Object create(int transform, Sample sample)
           Does the same thing as SampleDao.create(fr.ifremer.allegro.data.sample.Sample) with an additional flag called transform.
 java.lang.Object create(int transform, java.lang.String label, java.util.Date sampleDate, java.lang.Short individualCount, java.lang.Float size, 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, java.util.Collection sampleMeasurements, Sample parentSample, java.util.Collection childSamples, Matrix matrix, Unit sizeUnit, Batch batch, TaxonGroup taxonGroup, ReferenceTaxon referenceTaxon, User recorderUser, Program program, Department recorderDepartment, QualityFlag qualityFlag, FishingOperation fishingOperation, java.util.Collection fishingAreas)
           Does the same thing as SampleDao.create(java.lang.String,java.util.Date,java.lang.Short,java.lang.Float,java.lang.String,java.util.Date,java.util.Date,java.util.Date,java.util.Date,java.lang.String,java.sql.Timestamp,java.util.Collection,fr.ifremer.allegro.data.sample.Sample,java.util.Collection,fr.ifremer.allegro.referential.pmfm.Matrix,fr.ifremer.allegro.referential.pmfm.Unit,fr.ifremer.allegro.data.batch.Batch,fr.ifremer.allegro.referential.taxon.TaxonGroup,fr.ifremer.allegro.referential.taxon.ReferenceTaxon,fr.ifremer.allegro.administration.user.User,fr.ifremer.allegro.administration.programStrategy.Program,fr.ifremer.allegro.administration.user.Department,fr.ifremer.allegro.referential.QualityFlag,fr.ifremer.allegro.data.operation.FishingOperation,java.util.Collection) with an additional flag called transform.
 Sample create(Sample sample)
          Creates an instance of fr.ifremer.allegro.data.sample.Sample and adds it to the persistent store.
 Sample create(java.lang.String label, java.util.Date sampleDate, java.lang.Short individualCount, java.lang.Float size, 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, java.util.Collection sampleMeasurements, Sample parentSample, java.util.Collection childSamples, Matrix matrix, Unit sizeUnit, Batch batch, TaxonGroup taxonGroup, ReferenceTaxon referenceTaxon, User recorderUser, Program program, Department recorderDepartment, QualityFlag qualityFlag, FishingOperation fishingOperation, java.util.Collection fishingAreas)
           Creates a new fr.ifremer.allegro.data.sample.Sample instance from all attributes and properties and adds it to the persistent store.
 Sample createFromClusterSample(ClusterSample clusterSample)
           
 java.util.Collection findSampleByBatch(Batch batch)
           
 java.util.Collection findSampleByBatch(int transform, Batch batch)
           Does the same thing as SampleDao.findSampleByBatch(fr.ifremer.allegro.data.batch.Batch) with an additional flag called transform.
 java.util.Collection findSampleByBatch(int pageNumber, int pageSize, Batch batch)
           Does the same thing as SampleDao.findSampleByBatch(fr.ifremer.allegro.data.batch.Batch) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSampleByBatch(int transform, int pageNumber, int pageSize, Batch batch)
           Does the same thing as SampleDao.findSampleByBatch(int, fr.ifremer.allegro.data.batch.Batch) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSampleByBatch(int transform, java.lang.String queryString, Batch batch)
           Does the same thing as SampleDao.findSampleByBatch(int, fr.ifremer.allegro.data.batch.Batch) with an additional argument called queryString.
 java.util.Collection findSampleByBatch(int transform, java.lang.String queryString, int pageNumber, int pageSize, Batch batch)
           Does the same thing as SampleDao.findSampleByBatch(int, String, fr.ifremer.allegro.data.batch.Batch) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSampleByBatch(java.lang.String queryString, Batch batch)
           Does the same thing as SampleDao.findSampleByBatch(fr.ifremer.allegro.data.batch.Batch) with an additional argument called queryString.
 java.util.Collection findSampleByBatch(java.lang.String queryString, int pageNumber, int pageSize, Batch batch)
           Does the same thing as SampleDao.findSampleByBatch(String, fr.ifremer.allegro.data.batch.Batch) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSampleByFishingOperation(FishingOperation fishingOperation)
           
 java.util.Collection findSampleByFishingOperation(int transform, FishingOperation fishingOperation)
           Does the same thing as SampleDao.findSampleByFishingOperation(fr.ifremer.allegro.data.operation.FishingOperation) with an additional flag called transform.
 java.util.Collection findSampleByFishingOperation(int pageNumber, int pageSize, FishingOperation fishingOperation)
           Does the same thing as SampleDao.findSampleByFishingOperation(fr.ifremer.allegro.data.operation.FishingOperation) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSampleByFishingOperation(int transform, int pageNumber, int pageSize, FishingOperation fishingOperation)
           Does the same thing as SampleDao.findSampleByFishingOperation(int, fr.ifremer.allegro.data.operation.FishingOperation) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSampleByFishingOperation(int transform, java.lang.String queryString, FishingOperation fishingOperation)
           Does the same thing as SampleDao.findSampleByFishingOperation(int, fr.ifremer.allegro.data.operation.FishingOperation) with an additional argument called queryString.
 java.util.Collection findSampleByFishingOperation(int transform, java.lang.String queryString, int pageNumber, int pageSize, FishingOperation fishingOperation)
           Does the same thing as SampleDao.findSampleByFishingOperation(int, String, fr.ifremer.allegro.data.operation.FishingOperation) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSampleByFishingOperation(java.lang.String queryString, FishingOperation fishingOperation)
           Does the same thing as SampleDao.findSampleByFishingOperation(fr.ifremer.allegro.data.operation.FishingOperation) with an additional argument called queryString.
 java.util.Collection findSampleByFishingOperation(java.lang.String queryString, int pageNumber, int pageSize, FishingOperation fishingOperation)
           Does the same thing as SampleDao.findSampleByFishingOperation(String, fr.ifremer.allegro.data.operation.FishingOperation) with an additional two arguments called pageNumber and pageSize.
 Sample findSampleById(java.lang.Integer id)
           
 java.lang.Object findSampleById(int transform, java.lang.Integer id)
           Does the same thing as SampleDao.findSampleById(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findSampleById(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as SampleDao.findSampleById(int, java.lang.Integer) with an additional argument called queryString.
 Sample findSampleById(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as SampleDao.findSampleById(java.lang.Integer) with an additional argument called queryString.
 java.util.Collection findSampleByMatrix(int transform, int pageNumber, int pageSize, Matrix matrix)
           Does the same thing as SampleDao.findSampleByMatrix(int, fr.ifremer.allegro.referential.pmfm.Matrix) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSampleByMatrix(int pageNumber, int pageSize, Matrix matrix)
           Does the same thing as SampleDao.findSampleByMatrix(fr.ifremer.allegro.referential.pmfm.Matrix) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSampleByMatrix(int transform, Matrix matrix)
           Does the same thing as SampleDao.findSampleByMatrix(fr.ifremer.allegro.referential.pmfm.Matrix) with an additional flag called transform.
 java.util.Collection findSampleByMatrix(int transform, java.lang.String queryString, int pageNumber, int pageSize, Matrix matrix)
           Does the same thing as SampleDao.findSampleByMatrix(int, String, fr.ifremer.allegro.referential.pmfm.Matrix) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSampleByMatrix(int transform, java.lang.String queryString, Matrix matrix)
           Does the same thing as SampleDao.findSampleByMatrix(int, fr.ifremer.allegro.referential.pmfm.Matrix) with an additional argument called queryString.
 java.util.Collection findSampleByMatrix(Matrix matrix)
           
 java.util.Collection findSampleByMatrix(java.lang.String queryString, int pageNumber, int pageSize, Matrix matrix)
           Does the same thing as SampleDao.findSampleByMatrix(String, fr.ifremer.allegro.referential.pmfm.Matrix) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSampleByMatrix(java.lang.String queryString, Matrix matrix)
           Does the same thing as SampleDao.findSampleByMatrix(fr.ifremer.allegro.referential.pmfm.Matrix) with an additional argument called queryString.
 java.lang.Object findSampleByNaturalId(int transform, java.lang.String label, Matrix matrix, FishingOperation fishingOperation, Program program)
           Does the same thing as SampleDao.findSampleByNaturalId(java.lang.String, fr.ifremer.allegro.referential.pmfm.Matrix, fr.ifremer.allegro.data.operation.FishingOperation, fr.ifremer.allegro.administration.programStrategy.Program) with an additional flag called transform.
 java.lang.Object findSampleByNaturalId(int transform, java.lang.String queryString, java.lang.String label, Matrix matrix, FishingOperation fishingOperation, Program program)
           Does the same thing as SampleDao.findSampleByNaturalId(int, java.lang.String, fr.ifremer.allegro.referential.pmfm.Matrix, fr.ifremer.allegro.data.operation.FishingOperation, fr.ifremer.allegro.administration.programStrategy.Program) with an additional argument called queryString.
 Sample findSampleByNaturalId(java.lang.String label, Matrix matrix, FishingOperation fishingOperation, Program program)
           
 Sample findSampleByNaturalId(java.lang.String queryString, java.lang.String label, Matrix matrix, FishingOperation fishingOperation, Program program)
           Does the same thing as SampleDao.findSampleByNaturalId(java.lang.String, fr.ifremer.allegro.referential.pmfm.Matrix, fr.ifremer.allegro.data.operation.FishingOperation, fr.ifremer.allegro.administration.programStrategy.Program) with an additional argument called queryString.
 java.util.Collection findSampleByParentSample(int transform, int pageNumber, int pageSize, Sample parentSample)
           Does the same thing as SampleDao.findSampleByParentSample(int, fr.ifremer.allegro.data.sample.Sample) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSampleByParentSample(int pageNumber, int pageSize, Sample parentSample)
           Does the same thing as SampleDao.findSampleByParentSample(fr.ifremer.allegro.data.sample.Sample) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSampleByParentSample(int transform, Sample parentSample)
           Does the same thing as SampleDao.findSampleByParentSample(fr.ifremer.allegro.data.sample.Sample) with an additional flag called transform.
 java.util.Collection findSampleByParentSample(int transform, java.lang.String queryString, int pageNumber, int pageSize, Sample parentSample)
           Does the same thing as SampleDao.findSampleByParentSample(int, String, fr.ifremer.allegro.data.sample.Sample) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSampleByParentSample(int transform, java.lang.String queryString, Sample parentSample)
           Does the same thing as SampleDao.findSampleByParentSample(int, fr.ifremer.allegro.data.sample.Sample) with an additional argument called queryString.
 java.util.Collection findSampleByParentSample(Sample parentSample)
           
 java.util.Collection findSampleByParentSample(java.lang.String queryString, int pageNumber, int pageSize, Sample parentSample)
           Does the same thing as SampleDao.findSampleByParentSample(String, fr.ifremer.allegro.data.sample.Sample) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSampleByParentSample(java.lang.String queryString, Sample parentSample)
           Does the same thing as SampleDao.findSampleByParentSample(fr.ifremer.allegro.data.sample.Sample) with an additional argument called queryString.
 java.util.Collection findSampleByProgram(int transform, int pageNumber, int pageSize, Program program)
           Does the same thing as SampleDao.findSampleByProgram(int, fr.ifremer.allegro.administration.programStrategy.Program) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSampleByProgram(int pageNumber, int pageSize, Program program)
           Does the same thing as SampleDao.findSampleByProgram(fr.ifremer.allegro.administration.programStrategy.Program) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSampleByProgram(int transform, Program program)
           Does the same thing as SampleDao.findSampleByProgram(fr.ifremer.allegro.administration.programStrategy.Program) with an additional flag called transform.
 java.util.Collection findSampleByProgram(int transform, java.lang.String queryString, int pageNumber, int pageSize, Program program)
           Does the same thing as SampleDao.findSampleByProgram(int, String, fr.ifremer.allegro.administration.programStrategy.Program) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSampleByProgram(int transform, java.lang.String queryString, Program program)
           Does the same thing as SampleDao.findSampleByProgram(int, fr.ifremer.allegro.administration.programStrategy.Program) with an additional argument called queryString.
 java.util.Collection findSampleByProgram(Program program)
           
 java.util.Collection findSampleByProgram(java.lang.String queryString, int pageNumber, int pageSize, Program program)
           Does the same thing as SampleDao.findSampleByProgram(String, fr.ifremer.allegro.administration.programStrategy.Program) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSampleByProgram(java.lang.String queryString, Program program)
           Does the same thing as SampleDao.findSampleByProgram(fr.ifremer.allegro.administration.programStrategy.Program) with an additional argument called queryString.
 java.util.Collection findSampleByQualityFlag(int transform, int pageNumber, int pageSize, QualityFlag qualityFlag)
           Does the same thing as SampleDao.findSampleByQualityFlag(int, fr.ifremer.allegro.referential.QualityFlag) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSampleByQualityFlag(int pageNumber, int pageSize, QualityFlag qualityFlag)
           Does the same thing as SampleDao.findSampleByQualityFlag(fr.ifremer.allegro.referential.QualityFlag) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSampleByQualityFlag(int transform, QualityFlag qualityFlag)
           Does the same thing as SampleDao.findSampleByQualityFlag(fr.ifremer.allegro.referential.QualityFlag) with an additional flag called transform.
 java.util.Collection findSampleByQualityFlag(int transform, java.lang.String queryString, int pageNumber, int pageSize, QualityFlag qualityFlag)
           Does the same thing as SampleDao.findSampleByQualityFlag(int, String, fr.ifremer.allegro.referential.QualityFlag) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSampleByQualityFlag(int transform, java.lang.String queryString, QualityFlag qualityFlag)
           Does the same thing as SampleDao.findSampleByQualityFlag(int, fr.ifremer.allegro.referential.QualityFlag) with an additional argument called queryString.
 java.util.Collection findSampleByQualityFlag(QualityFlag qualityFlag)
           
 java.util.Collection findSampleByQualityFlag(java.lang.String queryString, int pageNumber, int pageSize, QualityFlag qualityFlag)
           Does the same thing as SampleDao.findSampleByQualityFlag(String, fr.ifremer.allegro.referential.QualityFlag) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSampleByQualityFlag(java.lang.String queryString, QualityFlag qualityFlag)
           Does the same thing as SampleDao.findSampleByQualityFlag(fr.ifremer.allegro.referential.QualityFlag) with an additional argument called queryString.
 java.util.Collection findSampleByRecorderDepartment(Department recorderDepartment)
           
 java.util.Collection findSampleByRecorderDepartment(int transform, Department recorderDepartment)
           Does the same thing as SampleDao.findSampleByRecorderDepartment(fr.ifremer.allegro.administration.user.Department) with an additional flag called transform.
 java.util.Collection findSampleByRecorderDepartment(int pageNumber, int pageSize, Department recorderDepartment)
           Does the same thing as SampleDao.findSampleByRecorderDepartment(fr.ifremer.allegro.administration.user.Department) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSampleByRecorderDepartment(int transform, int pageNumber, int pageSize, Department recorderDepartment)
           Does the same thing as SampleDao.findSampleByRecorderDepartment(int, fr.ifremer.allegro.administration.user.Department) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSampleByRecorderDepartment(int transform, java.lang.String queryString, Department recorderDepartment)
           Does the same thing as SampleDao.findSampleByRecorderDepartment(int, fr.ifremer.allegro.administration.user.Department) with an additional argument called queryString.
 java.util.Collection findSampleByRecorderDepartment(int transform, java.lang.String queryString, int pageNumber, int pageSize, Department recorderDepartment)
           Does the same thing as SampleDao.findSampleByRecorderDepartment(int, String, fr.ifremer.allegro.administration.user.Department) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSampleByRecorderDepartment(java.lang.String queryString, Department recorderDepartment)
           Does the same thing as SampleDao.findSampleByRecorderDepartment(fr.ifremer.allegro.administration.user.Department) with an additional argument called queryString.
 java.util.Collection findSampleByRecorderDepartment(java.lang.String queryString, int pageNumber, int pageSize, Department recorderDepartment)
           Does the same thing as SampleDao.findSampleByRecorderDepartment(String, fr.ifremer.allegro.administration.user.Department) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSampleByRecorderUser(int transform, int pageNumber, int pageSize, User recorderUser)
           Does the same thing as SampleDao.findSampleByRecorderUser(int, fr.ifremer.allegro.administration.user.User) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSampleByRecorderUser(int pageNumber, int pageSize, User recorderUser)
           Does the same thing as SampleDao.findSampleByRecorderUser(fr.ifremer.allegro.administration.user.User) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSampleByRecorderUser(int transform, java.lang.String queryString, int pageNumber, int pageSize, User recorderUser)
           Does the same thing as SampleDao.findSampleByRecorderUser(int, String, fr.ifremer.allegro.administration.user.User) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSampleByRecorderUser(int transform, java.lang.String queryString, User recorderUser)
           Does the same thing as SampleDao.findSampleByRecorderUser(int, fr.ifremer.allegro.administration.user.User) with an additional argument called queryString.
 java.util.Collection findSampleByRecorderUser(int transform, User recorderUser)
           Does the same thing as SampleDao.findSampleByRecorderUser(fr.ifremer.allegro.administration.user.User) with an additional flag called transform.
 java.util.Collection findSampleByRecorderUser(java.lang.String queryString, int pageNumber, int pageSize, User recorderUser)
           Does the same thing as SampleDao.findSampleByRecorderUser(String, fr.ifremer.allegro.administration.user.User) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSampleByRecorderUser(java.lang.String queryString, User recorderUser)
           Does the same thing as SampleDao.findSampleByRecorderUser(fr.ifremer.allegro.administration.user.User) with an additional argument called queryString.
 java.util.Collection findSampleByRecorderUser(User recorderUser)
           
 java.util.Collection findSampleByReferenceTaxon(int transform, int pageNumber, int pageSize, ReferenceTaxon referenceTaxon)
           Does the same thing as SampleDao.findSampleByReferenceTaxon(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSampleByReferenceTaxon(int pageNumber, int pageSize, ReferenceTaxon referenceTaxon)
           Does the same thing as SampleDao.findSampleByReferenceTaxon(fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSampleByReferenceTaxon(int transform, ReferenceTaxon referenceTaxon)
           Does the same thing as SampleDao.findSampleByReferenceTaxon(fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an additional flag called transform.
 java.util.Collection findSampleByReferenceTaxon(int transform, java.lang.String queryString, int pageNumber, int pageSize, ReferenceTaxon referenceTaxon)
           Does the same thing as SampleDao.findSampleByReferenceTaxon(int, String, fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSampleByReferenceTaxon(int transform, java.lang.String queryString, ReferenceTaxon referenceTaxon)
           Does the same thing as SampleDao.findSampleByReferenceTaxon(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an additional argument called queryString.
 java.util.Collection findSampleByReferenceTaxon(ReferenceTaxon referenceTaxon)
           
 java.util.Collection findSampleByReferenceTaxon(java.lang.String queryString, int pageNumber, int pageSize, ReferenceTaxon referenceTaxon)
           Does the same thing as SampleDao.findSampleByReferenceTaxon(String, fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSampleByReferenceTaxon(java.lang.String queryString, ReferenceTaxon referenceTaxon)
           Does the same thing as SampleDao.findSampleByReferenceTaxon(fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an additional argument called queryString.
 java.util.Collection findSampleBySizeUnit(int transform, int pageNumber, int pageSize, Unit sizeUnit)
           Does the same thing as SampleDao.findSampleBySizeUnit(int, fr.ifremer.allegro.referential.pmfm.Unit) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSampleBySizeUnit(int pageNumber, int pageSize, Unit sizeUnit)
           Does the same thing as SampleDao.findSampleBySizeUnit(fr.ifremer.allegro.referential.pmfm.Unit) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSampleBySizeUnit(int transform, java.lang.String queryString, int pageNumber, int pageSize, Unit sizeUnit)
           Does the same thing as SampleDao.findSampleBySizeUnit(int, String, fr.ifremer.allegro.referential.pmfm.Unit) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSampleBySizeUnit(int transform, java.lang.String queryString, Unit sizeUnit)
           Does the same thing as SampleDao.findSampleBySizeUnit(int, fr.ifremer.allegro.referential.pmfm.Unit) with an additional argument called queryString.
 java.util.Collection findSampleBySizeUnit(int transform, Unit sizeUnit)
           Does the same thing as SampleDao.findSampleBySizeUnit(fr.ifremer.allegro.referential.pmfm.Unit) with an additional flag called transform.
 java.util.Collection findSampleBySizeUnit(java.lang.String queryString, int pageNumber, int pageSize, Unit sizeUnit)
           Does the same thing as SampleDao.findSampleBySizeUnit(String, fr.ifremer.allegro.referential.pmfm.Unit) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSampleBySizeUnit(java.lang.String queryString, Unit sizeUnit)
           Does the same thing as SampleDao.findSampleBySizeUnit(fr.ifremer.allegro.referential.pmfm.Unit) with an additional argument called queryString.
 java.util.Collection findSampleBySizeUnit(Unit sizeUnit)
           
 java.util.Collection findSampleByTaxonGroup(int transform, int pageNumber, int pageSize, TaxonGroup taxonGroup)
           Does the same thing as SampleDao.findSampleByTaxonGroup(int, fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSampleByTaxonGroup(int pageNumber, int pageSize, TaxonGroup taxonGroup)
           Does the same thing as SampleDao.findSampleByTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSampleByTaxonGroup(int transform, java.lang.String queryString, int pageNumber, int pageSize, TaxonGroup taxonGroup)
           Does the same thing as SampleDao.findSampleByTaxonGroup(int, String, fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSampleByTaxonGroup(int transform, java.lang.String queryString, TaxonGroup taxonGroup)
           Does the same thing as SampleDao.findSampleByTaxonGroup(int, fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional argument called queryString.
 java.util.Collection findSampleByTaxonGroup(int transform, TaxonGroup taxonGroup)
           Does the same thing as SampleDao.findSampleByTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional flag called transform.
 java.util.Collection findSampleByTaxonGroup(java.lang.String queryString, int pageNumber, int pageSize, TaxonGroup taxonGroup)
           Does the same thing as SampleDao.findSampleByTaxonGroup(String, fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSampleByTaxonGroup(java.lang.String queryString, TaxonGroup taxonGroup)
           Does the same thing as SampleDao.findSampleByTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional argument called queryString.
 java.util.Collection findSampleByTaxonGroup(TaxonGroup taxonGroup)
           
 ClusterSample[] getAllClusterSampleSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
 java.util.Collection getAllSample()
           
 java.util.Collection getAllSample(int transform)
           Does the same thing as SampleDao.getAllSample() with an additional flag called transform.
 java.util.Collection getAllSample(int pageNumber, int pageSize)
           Does the same thing as SampleDao.getAllSample() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllSample(int transform, int pageNumber, int pageSize)
           Does the same thing as SampleDao.getAllSample(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllSample(int transform, java.lang.String queryString)
           Does the same thing as SampleDao.getAllSample(int) with an additional argument called queryString.
 java.util.Collection getAllSample(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as SampleDao.getAllSample(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllSample(java.lang.String queryString)
           Does the same thing as SampleDao.getAllSample() with an additional argument called queryString.
 java.util.Collection getAllSample(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as SampleDao.getAllSample(String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllSampleSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as SampleDao.getAllSampleSinceDateSynchro(int, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllSampleSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as SampleDao.getAllSampleSinceDateSynchro(java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllSampleSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as SampleDao.getAllSampleSinceDateSynchro(int, String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllSampleSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as SampleDao.getAllSampleSinceDateSynchro(int, java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllSampleSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
           Does the same thing as SampleDao.getAllSampleSinceDateSynchro(java.sql.Timestamp) with an additional flag called transform.
 java.util.Collection getAllSampleSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as SampleDao.getAllSampleSinceDateSynchro(String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllSampleSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as SampleDao.getAllSampleSinceDateSynchro(java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllSampleSinceDateSynchro(java.sql.Timestamp updateDate)
           
protected  BatchDao getBatchDao()
          Gets the reference to batchDao.
protected  DepartmentDao getDepartmentDao()
          Gets the reference to departmentDao.
protected  FishingAreaDao getFishingAreaDao()
          Gets the reference to fishingAreaDao.
protected  FishingOperationDao getFishingOperationDao()
          Gets the reference to fishingOperationDao.
protected  MatrixDao getMatrixDao()
          Gets the reference to matrixDao.
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  ReferenceTaxonDao getReferenceTaxonDao()
          Gets the reference to referenceTaxonDao.
protected  SampleDao getSampleDao()
          Gets the reference to sampleDao.
protected  SampleMeasurementDao getSampleMeasurementDao()
          Gets the reference to sampleMeasurementDao.
protected  TaxonGroupDao getTaxonGroupDao()
          Gets the reference to taxonGroupDao.
protected  UnitDao getUnitDao()
          Gets the reference to unitDao.
protected  UserDao getUserDao()
          Gets the reference to userDao.
protected abstract  Sample handleCreateFromClusterSample(ClusterSample clusterSample)
          Performs the core logic for createFromClusterSample(fr.ifremer.allegro.data.sample.generic.cluster.ClusterSample)
protected abstract  ClusterSample[] handleGetAllClusterSampleSinceDateSynchro(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 getAllClusterSampleSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 Sample load(java.lang.Integer id)
          Loads an instance of fr.ifremer.allegro.data.sample.Sample from the persistent store.
 java.lang.Object load(int transform, java.lang.Integer id)
           Does the same thing as SampleDao.load(java.lang.Integer) with an additional flag called transform.
 java.util.Collection loadAll()
          Loads all entities of type Sample.
 java.util.Collection loadAll(int transform)
           Does the same thing as SampleDao.loadAll() with an additional flag called transform.
 java.util.Collection loadAll(int pageNumber, int pageSize)
           Does the same thing as SampleDao.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 SampleDao.loadAll(int) with an additional two arguments called pageNumber and pageSize.
 void remoteSampleFullVOToEntity(RemoteSampleFullVO source, Sample target, boolean copyIfNull)
          Copies the fields of RemoteSampleFullVO to the specified entity.
 void remoteSampleFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteSampleFullVO to this DAO's entity.
 void remoteSampleNaturalIdToEntity(RemoteSampleNaturalId source, Sample target, boolean copyIfNull)
          Copies the fields of RemoteSampleNaturalId to the specified entity.
 void remoteSampleNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteSampleNaturalId 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.sample.Sample having the given identifier from the persistent store.
 void remove(Sample sample)
          Removes the instance of fr.ifremer.allegro.data.sample.Sample 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 SampleDao.search(fr.ifremer.allegro.Search) but with an additional flag called transform.
 java.util.Set search(Search search)
          Performs a search using the parameters specified in the given search object.
 void setBatchDao(BatchDao batchDao)
          Sets the reference to batchDao.
 void setDepartmentDao(DepartmentDao departmentDao)
          Sets the reference to departmentDao.
 void setFishingAreaDao(FishingAreaDao fishingAreaDao)
          Sets the reference to fishingAreaDao.
 void setFishingOperationDao(FishingOperationDao fishingOperationDao)
          Sets the reference to fishingOperationDao.
 void setMatrixDao(MatrixDao matrixDao)
          Sets the reference to matrixDao.
 void setProgramDao(ProgramDao programDao)
          Sets the reference to programDao.
 void setQualityFlagDao(QualityFlagDao qualityFlagDao)
          Sets the reference to qualityFlagDao.
 void setReferenceTaxonDao(ReferenceTaxonDao referenceTaxonDao)
          Sets the reference to referenceTaxonDao.
 void setSampleDao(SampleDao sampleDao)
          Sets the reference to sampleDao.
 void setSampleMeasurementDao(SampleMeasurementDao sampleMeasurementDao)
          Sets the reference to sampleMeasurementDao.
 void setTaxonGroupDao(TaxonGroupDao taxonGroupDao)
          Sets the reference to taxonGroupDao.
 void setUnitDao(UnitDao unitDao)
          Sets the reference to unitDao.
 void setUserDao(UserDao userDao)
          Sets the reference to userDao.
protected  ClusterSample toClusterSample(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 ClusterSample toClusterSample(Sample entity)
          Converts this DAO's entity to an object of type ClusterSample.
 void toClusterSample(Sample source, ClusterSample target)
          Copies the fields of the specified entity to the target value object.
 ClusterSample[] toClusterSampleArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterSample.
 void toClusterSampleCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterSample.
protected  Sample toEntity(java.lang.Object[] row)
           
protected  RemoteSampleFullVO toRemoteSampleFullVO(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteSampleFullVO toRemoteSampleFullVO(Sample entity)
          Converts this DAO's entity to an object of type RemoteSampleFullVO.
 void toRemoteSampleFullVO(Sample source, RemoteSampleFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteSampleFullVO[] toRemoteSampleFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteSampleFullVO.
 void toRemoteSampleFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteSampleFullVO.
protected  RemoteSampleNaturalId toRemoteSampleNaturalId(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteSampleNaturalId toRemoteSampleNaturalId(Sample entity)
          Converts this DAO's entity to an object of type RemoteSampleNaturalId.
 void toRemoteSampleNaturalId(Sample source, RemoteSampleNaturalId target)
          Copies the fields of the specified entity to the target value object.
 RemoteSampleNaturalId[] toRemoteSampleNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteSampleNaturalId.
 void toRemoteSampleNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteSampleNaturalId.
protected  void transformEntities(int transform, java.util.Collection entities)
          Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.data.sample.Sample) method.
protected  java.lang.Object transformEntity(int transform, Sample 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.sample.SampleDao, please note that the SampleDao.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(Sample sample)
          Updates the sample 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.sample.SampleDao
clusterSampleToEntity, remoteSampleFullVOToEntity, remoteSampleNaturalIdToEntity
 

Constructor Detail

SampleDaoBase

public SampleDaoBase()
Method Detail

setMatrixDao

public void setMatrixDao(MatrixDao matrixDao)
Sets the reference to matrixDao.


getMatrixDao

protected MatrixDao getMatrixDao()
Gets the reference to matrixDao.


setFishingOperationDao

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


getFishingOperationDao

protected FishingOperationDao getFishingOperationDao()
Gets the reference to fishingOperationDao.


setProgramDao

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


getProgramDao

protected ProgramDao getProgramDao()
Gets the reference to programDao.


setUnitDao

public void setUnitDao(UnitDao unitDao)
Sets the reference to unitDao.


getUnitDao

protected UnitDao getUnitDao()
Gets the reference to unitDao.


setBatchDao

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


getBatchDao

protected BatchDao getBatchDao()
Gets the reference to batchDao.


setTaxonGroupDao

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


getTaxonGroupDao

protected TaxonGroupDao getTaxonGroupDao()
Gets the reference to taxonGroupDao.


setReferenceTaxonDao

public void setReferenceTaxonDao(ReferenceTaxonDao referenceTaxonDao)
Sets the reference to referenceTaxonDao.


getReferenceTaxonDao

protected ReferenceTaxonDao getReferenceTaxonDao()
Gets the reference to referenceTaxonDao.


setDepartmentDao

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


getDepartmentDao

protected DepartmentDao getDepartmentDao()
Gets the reference to departmentDao.


setUserDao

public void setUserDao(UserDao userDao)
Sets the reference to userDao.


getUserDao

protected UserDao getUserDao()
Gets the reference to userDao.


setSampleDao

public void setSampleDao(SampleDao sampleDao)
Sets the reference to sampleDao.


getSampleDao

protected SampleDao getSampleDao()
Gets the reference to sampleDao.


setQualityFlagDao

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


getQualityFlagDao

protected QualityFlagDao getQualityFlagDao()
Gets the reference to qualityFlagDao.


setSampleMeasurementDao

public void setSampleMeasurementDao(SampleMeasurementDao sampleMeasurementDao)
Sets the reference to sampleMeasurementDao.


getSampleMeasurementDao

protected SampleMeasurementDao getSampleMeasurementDao()
Gets the reference to sampleMeasurementDao.


setFishingAreaDao

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


getFishingAreaDao

protected FishingAreaDao getFishingAreaDao()
Gets the reference to fishingAreaDao.


load

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

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

load

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

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

loadAll

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

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

loadAll

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

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

loadAll

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

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

loadAll

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

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

create

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

Specified by:
create in interface SampleDao
See Also:
SampleDao.create(fr.ifremer.allegro.data.sample.Sample)

create

public java.lang.Object create(int transform,
                               Sample sample)
Description copied from interface: SampleDao

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

create

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

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

create

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

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

create

public Sample create(java.lang.String label,
                     java.util.Date sampleDate,
                     java.lang.Short individualCount,
                     java.lang.Float size,
                     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,
                     java.util.Collection sampleMeasurements,
                     Sample parentSample,
                     java.util.Collection childSamples,
                     Matrix matrix,
                     Unit sizeUnit,
                     Batch batch,
                     TaxonGroup taxonGroup,
                     ReferenceTaxon referenceTaxon,
                     User recorderUser,
                     Program program,
                     Department recorderDepartment,
                     QualityFlag qualityFlag,
                     FishingOperation fishingOperation,
                     java.util.Collection fishingAreas)
Description copied from interface: SampleDao

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

Specified by:
create in interface SampleDao
See Also:
SampleDao.create(java.lang.String,java.util.Date,java.lang.Short,java.lang.Float,java.lang.String,java.util.Date,java.util.Date,java.util.Date,java.util.Date,java.lang.String,java.sql.Timestamp,java.util.Collection,fr.ifremer.allegro.data.sample.Sample,java.util.Collection,fr.ifremer.allegro.referential.pmfm.Matrix,fr.ifremer.allegro.referential.pmfm.Unit,fr.ifremer.allegro.data.batch.Batch,fr.ifremer.allegro.referential.taxon.TaxonGroup,fr.ifremer.allegro.referential.taxon.ReferenceTaxon,fr.ifremer.allegro.administration.user.User,fr.ifremer.allegro.administration.programStrategy.Program,fr.ifremer.allegro.administration.user.Department,fr.ifremer.allegro.referential.QualityFlag,fr.ifremer.allegro.data.operation.FishingOperation,java.util.Collection)

create

public java.lang.Object create(int transform,
                               java.lang.String label,
                               java.util.Date sampleDate,
                               java.lang.Short individualCount,
                               java.lang.Float size,
                               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,
                               java.util.Collection sampleMeasurements,
                               Sample parentSample,
                               java.util.Collection childSamples,
                               Matrix matrix,
                               Unit sizeUnit,
                               Batch batch,
                               TaxonGroup taxonGroup,
                               ReferenceTaxon referenceTaxon,
                               User recorderUser,
                               Program program,
                               Department recorderDepartment,
                               QualityFlag qualityFlag,
                               FishingOperation fishingOperation,
                               java.util.Collection fishingAreas)
Description copied from interface: SampleDao

Does the same thing as SampleDao.create(java.lang.String,java.util.Date,java.lang.Short,java.lang.Float,java.lang.String,java.util.Date,java.util.Date,java.util.Date,java.util.Date,java.lang.String,java.sql.Timestamp,java.util.Collection,fr.ifremer.allegro.data.sample.Sample,java.util.Collection,fr.ifremer.allegro.referential.pmfm.Matrix,fr.ifremer.allegro.referential.pmfm.Unit,fr.ifremer.allegro.data.batch.Batch,fr.ifremer.allegro.referential.taxon.TaxonGroup,fr.ifremer.allegro.referential.taxon.ReferenceTaxon,fr.ifremer.allegro.administration.user.User,fr.ifremer.allegro.administration.programStrategy.Program,fr.ifremer.allegro.administration.user.Department,fr.ifremer.allegro.referential.QualityFlag,fr.ifremer.allegro.data.operation.FishingOperation,java.util.Collection) 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 SampleDao
See Also:
SampleDao.create(int, java.lang.String,java.util.Date,java.lang.Short,java.lang.Float,java.lang.String,java.util.Date,java.util.Date,java.util.Date,java.util.Date,java.lang.String,java.sql.Timestamp,java.util.Collection,fr.ifremer.allegro.data.sample.Sample,java.util.Collection,fr.ifremer.allegro.referential.pmfm.Matrix,fr.ifremer.allegro.referential.pmfm.Unit,fr.ifremer.allegro.data.batch.Batch,fr.ifremer.allegro.referential.taxon.TaxonGroup,fr.ifremer.allegro.referential.taxon.ReferenceTaxon,fr.ifremer.allegro.administration.user.User,fr.ifremer.allegro.administration.programStrategy.Program,fr.ifremer.allegro.administration.user.Department,fr.ifremer.allegro.referential.QualityFlag,fr.ifremer.allegro.data.operation.FishingOperation,java.util.Collection)

create

public Sample create(java.util.Date creationDate,
                     java.lang.String label,
                     Matrix matrix,
                     Program program,
                     QualityFlag qualityFlag,
                     Department recorderDepartment)
Description copied from interface: SampleDao

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

Specified by:
create in interface SampleDao
See Also:
SampleDao.create(java.util.Date,java.lang.String,fr.ifremer.allegro.referential.pmfm.Matrix,fr.ifremer.allegro.administration.programStrategy.Program,fr.ifremer.allegro.referential.QualityFlag,fr.ifremer.allegro.administration.user.Department)

create

public java.lang.Object create(int transform,
                               java.util.Date creationDate,
                               java.lang.String label,
                               Matrix matrix,
                               Program program,
                               QualityFlag qualityFlag,
                               Department recorderDepartment)
Description copied from interface: SampleDao

Does the same thing as SampleDao.create(java.util.Date,java.lang.String,fr.ifremer.allegro.referential.pmfm.Matrix,fr.ifremer.allegro.administration.programStrategy.Program,fr.ifremer.allegro.referential.QualityFlag,fr.ifremer.allegro.administration.user.Department) 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 SampleDao
See Also:
SampleDao.create(int, java.util.Date,java.lang.String,fr.ifremer.allegro.referential.pmfm.Matrix,fr.ifremer.allegro.administration.programStrategy.Program,fr.ifremer.allegro.referential.QualityFlag,fr.ifremer.allegro.administration.user.Department)

update

public void update(Sample sample)
Description copied from interface: SampleDao
Updates the sample instance in the persistent store.

Specified by:
update in interface SampleDao
See Also:
SampleDao.update(fr.ifremer.allegro.data.sample.Sample)

update

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

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

remove

public void remove(Sample sample)
Description copied from interface: SampleDao
Removes the instance of fr.ifremer.allegro.data.sample.Sample from the persistent store.

Specified by:
remove in interface SampleDao
See Also:
SampleDao.remove(fr.ifremer.allegro.data.sample.Sample)

remove

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

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

remove

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

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

getAllSample

public java.util.Collection getAllSample()
Specified by:
getAllSample in interface SampleDao
See Also:
SampleDao.getAllSample()

getAllSample

public java.util.Collection getAllSample(int transform)
Description copied from interface: SampleDao

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

getAllSample

public java.util.Collection getAllSample(java.lang.String queryString)
Description copied from interface: SampleDao

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

Specified by:
getAllSample in interface SampleDao
See Also:
SampleDao.getAllSample(java.lang.String)

getAllSample

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

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

getAllSample

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

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

getAllSample

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

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

Specified by:
getAllSample in interface SampleDao
See Also:
SampleDao.getAllSample(int, String)

getAllSample

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

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

getAllSample

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

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

findSampleById

public Sample findSampleById(java.lang.Integer id)
Specified by:
findSampleById in interface SampleDao
See Also:
SampleDao.findSampleById(java.lang.Integer)

findSampleById

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

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

findSampleById

public Sample findSampleById(java.lang.String queryString,
                             java.lang.Integer id)
Description copied from interface: SampleDao

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

Specified by:
findSampleById in interface SampleDao
See Also:
SampleDao.findSampleById(java.lang.String, java.lang.Integer)

findSampleById

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

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

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

findSampleByMatrix

public java.util.Collection findSampleByMatrix(Matrix matrix)
Specified by:
findSampleByMatrix in interface SampleDao
See Also:
SampleDao.findSampleByMatrix(fr.ifremer.allegro.referential.pmfm.Matrix)

findSampleByMatrix

public java.util.Collection findSampleByMatrix(int transform,
                                               Matrix matrix)
Description copied from interface: SampleDao

Does the same thing as SampleDao.findSampleByMatrix(fr.ifremer.allegro.referential.pmfm.Matrix) 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:
findSampleByMatrix in interface SampleDao
See Also:
SampleDao.findSampleByMatrix(int, fr.ifremer.allegro.referential.pmfm.Matrix)

findSampleByMatrix

public java.util.Collection findSampleByMatrix(java.lang.String queryString,
                                               Matrix matrix)
Description copied from interface: SampleDao

Does the same thing as SampleDao.findSampleByMatrix(fr.ifremer.allegro.referential.pmfm.Matrix) with an additional argument called queryString. This queryString argument allows you to override the query string defined in SampleDao.findSampleByMatrix(fr.ifremer.allegro.referential.pmfm.Matrix).

Specified by:
findSampleByMatrix in interface SampleDao
See Also:
SampleDao.findSampleByMatrix(java.lang.String, fr.ifremer.allegro.referential.pmfm.Matrix)

findSampleByMatrix

public java.util.Collection findSampleByMatrix(int pageNumber,
                                               int pageSize,
                                               Matrix matrix)
Description copied from interface: SampleDao

Does the same thing as SampleDao.findSampleByMatrix(fr.ifremer.allegro.referential.pmfm.Matrix) 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:
findSampleByMatrix in interface SampleDao
See Also:
SampleDao.findSampleByMatrix(int, int, fr.ifremer.allegro.referential.pmfm.Matrix)

findSampleByMatrix

public java.util.Collection findSampleByMatrix(java.lang.String queryString,
                                               int pageNumber,
                                               int pageSize,
                                               Matrix matrix)
Description copied from interface: SampleDao

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

findSampleByMatrix

public java.util.Collection findSampleByMatrix(int transform,
                                               java.lang.String queryString,
                                               Matrix matrix)
Description copied from interface: SampleDao

Does the same thing as SampleDao.findSampleByMatrix(int, fr.ifremer.allegro.referential.pmfm.Matrix) with an additional argument called queryString. This queryString argument allows you to override the query string defined in SampleDao.findSampleByMatrix(int, fr.ifremer.allegro.referential.pmfm.Matrix matrix).

Specified by:
findSampleByMatrix in interface SampleDao
See Also:
SampleDao.findSampleByMatrix(int, String, fr.ifremer.allegro.referential.pmfm.Matrix)

findSampleByMatrix

public java.util.Collection findSampleByMatrix(int transform,
                                               int pageNumber,
                                               int pageSize,
                                               Matrix matrix)
Description copied from interface: SampleDao

Does the same thing as SampleDao.findSampleByMatrix(int, fr.ifremer.allegro.referential.pmfm.Matrix) 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:
findSampleByMatrix in interface SampleDao
See Also:
SampleDao.findSampleByMatrix(int, int, int, fr.ifremer.allegro.referential.pmfm.Matrix)

findSampleByMatrix

public java.util.Collection findSampleByMatrix(int transform,
                                               java.lang.String queryString,
                                               int pageNumber,
                                               int pageSize,
                                               Matrix matrix)
Description copied from interface: SampleDao

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

findSampleBySizeUnit

public java.util.Collection findSampleBySizeUnit(Unit sizeUnit)
Specified by:
findSampleBySizeUnit in interface SampleDao
See Also:
SampleDao.findSampleBySizeUnit(fr.ifremer.allegro.referential.pmfm.Unit)

findSampleBySizeUnit

public java.util.Collection findSampleBySizeUnit(int transform,
                                                 Unit sizeUnit)
Description copied from interface: SampleDao

Does the same thing as SampleDao.findSampleBySizeUnit(fr.ifremer.allegro.referential.pmfm.Unit) 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:
findSampleBySizeUnit in interface SampleDao
See Also:
SampleDao.findSampleBySizeUnit(int, fr.ifremer.allegro.referential.pmfm.Unit)

findSampleBySizeUnit

public java.util.Collection findSampleBySizeUnit(java.lang.String queryString,
                                                 Unit sizeUnit)
Description copied from interface: SampleDao

Does the same thing as SampleDao.findSampleBySizeUnit(fr.ifremer.allegro.referential.pmfm.Unit) with an additional argument called queryString. This queryString argument allows you to override the query string defined in SampleDao.findSampleBySizeUnit(fr.ifremer.allegro.referential.pmfm.Unit).

Specified by:
findSampleBySizeUnit in interface SampleDao
See Also:
SampleDao.findSampleBySizeUnit(java.lang.String, fr.ifremer.allegro.referential.pmfm.Unit)

findSampleBySizeUnit

public java.util.Collection findSampleBySizeUnit(int pageNumber,
                                                 int pageSize,
                                                 Unit sizeUnit)
Description copied from interface: SampleDao

Does the same thing as SampleDao.findSampleBySizeUnit(fr.ifremer.allegro.referential.pmfm.Unit) 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:
findSampleBySizeUnit in interface SampleDao
See Also:
SampleDao.findSampleBySizeUnit(int, int, fr.ifremer.allegro.referential.pmfm.Unit)

findSampleBySizeUnit

public java.util.Collection findSampleBySizeUnit(java.lang.String queryString,
                                                 int pageNumber,
                                                 int pageSize,
                                                 Unit sizeUnit)
Description copied from interface: SampleDao

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

findSampleBySizeUnit

public java.util.Collection findSampleBySizeUnit(int transform,
                                                 java.lang.String queryString,
                                                 Unit sizeUnit)
Description copied from interface: SampleDao

Does the same thing as SampleDao.findSampleBySizeUnit(int, fr.ifremer.allegro.referential.pmfm.Unit) with an additional argument called queryString. This queryString argument allows you to override the query string defined in SampleDao.findSampleBySizeUnit(int, fr.ifremer.allegro.referential.pmfm.Unit sizeUnit).

Specified by:
findSampleBySizeUnit in interface SampleDao
See Also:
SampleDao.findSampleBySizeUnit(int, String, fr.ifremer.allegro.referential.pmfm.Unit)

findSampleBySizeUnit

public java.util.Collection findSampleBySizeUnit(int transform,
                                                 int pageNumber,
                                                 int pageSize,
                                                 Unit sizeUnit)
Description copied from interface: SampleDao

Does the same thing as SampleDao.findSampleBySizeUnit(int, fr.ifremer.allegro.referential.pmfm.Unit) 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:
findSampleBySizeUnit in interface SampleDao
See Also:
SampleDao.findSampleBySizeUnit(int, int, int, fr.ifremer.allegro.referential.pmfm.Unit)

findSampleBySizeUnit

public java.util.Collection findSampleBySizeUnit(int transform,
                                                 java.lang.String queryString,
                                                 int pageNumber,
                                                 int pageSize,
                                                 Unit sizeUnit)
Description copied from interface: SampleDao

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

findSampleByBatch

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

findSampleByBatch

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

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

Specified by:
findSampleByBatch in interface SampleDao
See Also:
SampleDao.findSampleByBatch(int, fr.ifremer.allegro.data.batch.Batch)

findSampleByBatch

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

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

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

findSampleByBatch

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

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

Specified by:
findSampleByBatch in interface SampleDao
See Also:
SampleDao.findSampleByBatch(int, int, fr.ifremer.allegro.data.batch.Batch)

findSampleByBatch

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

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

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

findSampleByBatch

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

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

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

findSampleByBatch

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

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

Specified by:
findSampleByBatch in interface SampleDao
See Also:
SampleDao.findSampleByBatch(int, int, int, fr.ifremer.allegro.data.batch.Batch)

findSampleByBatch

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

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

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

findSampleByFishingOperation

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

findSampleByFishingOperation

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

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

Specified by:
findSampleByFishingOperation in interface SampleDao
See Also:
SampleDao.findSampleByFishingOperation(int, fr.ifremer.allegro.data.operation.FishingOperation)

findSampleByFishingOperation

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

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

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

findSampleByFishingOperation

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

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

Specified by:
findSampleByFishingOperation in interface SampleDao
See Also:
SampleDao.findSampleByFishingOperation(int, int, fr.ifremer.allegro.data.operation.FishingOperation)

findSampleByFishingOperation

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

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

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

findSampleByFishingOperation

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

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

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

findSampleByFishingOperation

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

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

Specified by:
findSampleByFishingOperation in interface SampleDao
See Also:
SampleDao.findSampleByFishingOperation(int, int, int, fr.ifremer.allegro.data.operation.FishingOperation)

findSampleByFishingOperation

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

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

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

findSampleByTaxonGroup

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

findSampleByTaxonGroup

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

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

Specified by:
findSampleByTaxonGroup in interface SampleDao
See Also:
SampleDao.findSampleByTaxonGroup(int, fr.ifremer.allegro.referential.taxon.TaxonGroup)

findSampleByTaxonGroup

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

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

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

findSampleByTaxonGroup

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

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

Specified by:
findSampleByTaxonGroup in interface SampleDao
See Also:
SampleDao.findSampleByTaxonGroup(int, int, fr.ifremer.allegro.referential.taxon.TaxonGroup)

findSampleByTaxonGroup

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

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

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

findSampleByTaxonGroup

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

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

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

findSampleByTaxonGroup

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

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

Specified by:
findSampleByTaxonGroup in interface SampleDao
See Also:
SampleDao.findSampleByTaxonGroup(int, int, int, fr.ifremer.allegro.referential.taxon.TaxonGroup)

findSampleByTaxonGroup

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

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

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

findSampleByReferenceTaxon

public java.util.Collection findSampleByReferenceTaxon(ReferenceTaxon referenceTaxon)
Specified by:
findSampleByReferenceTaxon in interface SampleDao
See Also:
SampleDao.findSampleByReferenceTaxon(fr.ifremer.allegro.referential.taxon.ReferenceTaxon)

findSampleByReferenceTaxon

public java.util.Collection findSampleByReferenceTaxon(int transform,
                                                       ReferenceTaxon referenceTaxon)
Description copied from interface: SampleDao

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

findSampleByReferenceTaxon

public java.util.Collection findSampleByReferenceTaxon(java.lang.String queryString,
                                                       ReferenceTaxon referenceTaxon)
Description copied from interface: SampleDao

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

Specified by:
findSampleByReferenceTaxon in interface SampleDao
See Also:
SampleDao.findSampleByReferenceTaxon(java.lang.String, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)

findSampleByReferenceTaxon

public java.util.Collection findSampleByReferenceTaxon(int pageNumber,
                                                       int pageSize,
                                                       ReferenceTaxon referenceTaxon)
Description copied from interface: SampleDao

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

findSampleByReferenceTaxon

public java.util.Collection findSampleByReferenceTaxon(java.lang.String queryString,
                                                       int pageNumber,
                                                       int pageSize,
                                                       ReferenceTaxon referenceTaxon)
Description copied from interface: SampleDao

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

findSampleByReferenceTaxon

public java.util.Collection findSampleByReferenceTaxon(int transform,
                                                       java.lang.String queryString,
                                                       ReferenceTaxon referenceTaxon)
Description copied from interface: SampleDao

Does the same thing as SampleDao.findSampleByReferenceTaxon(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an additional argument called queryString. This queryString argument allows you to override the query string defined in SampleDao.findSampleByReferenceTaxon(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon referenceTaxon).

Specified by:
findSampleByReferenceTaxon in interface SampleDao
See Also:
SampleDao.findSampleByReferenceTaxon(int, String, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)

findSampleByReferenceTaxon

public java.util.Collection findSampleByReferenceTaxon(int transform,
                                                       int pageNumber,
                                                       int pageSize,
                                                       ReferenceTaxon referenceTaxon)
Description copied from interface: SampleDao

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

findSampleByReferenceTaxon

public java.util.Collection findSampleByReferenceTaxon(int transform,
                                                       java.lang.String queryString,
                                                       int pageNumber,
                                                       int pageSize,
                                                       ReferenceTaxon referenceTaxon)
Description copied from interface: SampleDao

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

findSampleByRecorderDepartment

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

findSampleByRecorderDepartment

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

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

findSampleByRecorderDepartment

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

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

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

findSampleByRecorderDepartment

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

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

findSampleByRecorderDepartment

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

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

findSampleByRecorderDepartment

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

Does the same thing as SampleDao.findSampleByRecorderDepartment(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 SampleDao.findSampleByRecorderDepartment(int, fr.ifremer.allegro.administration.user.Department recorderDepartment).

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

findSampleByRecorderDepartment

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

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

findSampleByRecorderDepartment

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

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

findSampleByRecorderUser

public java.util.Collection findSampleByRecorderUser(User recorderUser)
Specified by:
findSampleByRecorderUser in interface SampleDao
See Also:
SampleDao.findSampleByRecorderUser(fr.ifremer.allegro.administration.user.User)

findSampleByRecorderUser

public java.util.Collection findSampleByRecorderUser(int transform,
                                                     User recorderUser)
Description copied from interface: SampleDao

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

findSampleByRecorderUser

public java.util.Collection findSampleByRecorderUser(java.lang.String queryString,
                                                     User recorderUser)
Description copied from interface: SampleDao

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

Specified by:
findSampleByRecorderUser in interface SampleDao
See Also:
SampleDao.findSampleByRecorderUser(java.lang.String, fr.ifremer.allegro.administration.user.User)

findSampleByRecorderUser

public java.util.Collection findSampleByRecorderUser(int pageNumber,
                                                     int pageSize,
                                                     User recorderUser)
Description copied from interface: SampleDao

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

findSampleByRecorderUser

public java.util.Collection findSampleByRecorderUser(java.lang.String queryString,
                                                     int pageNumber,
                                                     int pageSize,
                                                     User recorderUser)
Description copied from interface: SampleDao

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

findSampleByRecorderUser

public java.util.Collection findSampleByRecorderUser(int transform,
                                                     java.lang.String queryString,
                                                     User recorderUser)
Description copied from interface: SampleDao

Does the same thing as SampleDao.findSampleByRecorderUser(int, fr.ifremer.allegro.administration.user.User) with an additional argument called queryString. This queryString argument allows you to override the query string defined in SampleDao.findSampleByRecorderUser(int, fr.ifremer.allegro.administration.user.User recorderUser).

Specified by:
findSampleByRecorderUser in interface SampleDao
See Also:
SampleDao.findSampleByRecorderUser(int, String, fr.ifremer.allegro.administration.user.User)

findSampleByRecorderUser

public java.util.Collection findSampleByRecorderUser(int transform,
                                                     int pageNumber,
                                                     int pageSize,
                                                     User recorderUser)
Description copied from interface: SampleDao

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

findSampleByRecorderUser

public java.util.Collection findSampleByRecorderUser(int transform,
                                                     java.lang.String queryString,
                                                     int pageNumber,
                                                     int pageSize,
                                                     User recorderUser)
Description copied from interface: SampleDao

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

findSampleByParentSample

public java.util.Collection findSampleByParentSample(Sample parentSample)
Specified by:
findSampleByParentSample in interface SampleDao
See Also:
SampleDao.findSampleByParentSample(fr.ifremer.allegro.data.sample.Sample)

findSampleByParentSample

public java.util.Collection findSampleByParentSample(int transform,
                                                     Sample parentSample)
Description copied from interface: SampleDao

Does the same thing as SampleDao.findSampleByParentSample(fr.ifremer.allegro.data.sample.Sample) 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:
findSampleByParentSample in interface SampleDao
See Also:
SampleDao.findSampleByParentSample(int, fr.ifremer.allegro.data.sample.Sample)

findSampleByParentSample

public java.util.Collection findSampleByParentSample(java.lang.String queryString,
                                                     Sample parentSample)
Description copied from interface: SampleDao

Does the same thing as SampleDao.findSampleByParentSample(fr.ifremer.allegro.data.sample.Sample) with an additional argument called queryString. This queryString argument allows you to override the query string defined in SampleDao.findSampleByParentSample(fr.ifremer.allegro.data.sample.Sample).

Specified by:
findSampleByParentSample in interface SampleDao
See Also:
SampleDao.findSampleByParentSample(java.lang.String, fr.ifremer.allegro.data.sample.Sample)

findSampleByParentSample

public java.util.Collection findSampleByParentSample(int pageNumber,
                                                     int pageSize,
                                                     Sample parentSample)
Description copied from interface: SampleDao

Does the same thing as SampleDao.findSampleByParentSample(fr.ifremer.allegro.data.sample.Sample) 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:
findSampleByParentSample in interface SampleDao
See Also:
SampleDao.findSampleByParentSample(int, int, fr.ifremer.allegro.data.sample.Sample)

findSampleByParentSample

public java.util.Collection findSampleByParentSample(java.lang.String queryString,
                                                     int pageNumber,
                                                     int pageSize,
                                                     Sample parentSample)
Description copied from interface: SampleDao

Does the same thing as SampleDao.findSampleByParentSample(String, fr.ifremer.allegro.data.sample.Sample) 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:
findSampleByParentSample in interface SampleDao
See Also:
SampleDao.findSampleByParentSample(String, int, int, fr.ifremer.allegro.data.sample.Sample)

findSampleByParentSample

public java.util.Collection findSampleByParentSample(int transform,
                                                     java.lang.String queryString,
                                                     Sample parentSample)
Description copied from interface: SampleDao

Does the same thing as SampleDao.findSampleByParentSample(int, fr.ifremer.allegro.data.sample.Sample) with an additional argument called queryString. This queryString argument allows you to override the query string defined in SampleDao.findSampleByParentSample(int, fr.ifremer.allegro.data.sample.Sample parentSample).

Specified by:
findSampleByParentSample in interface SampleDao
See Also:
SampleDao.findSampleByParentSample(int, String, fr.ifremer.allegro.data.sample.Sample)

findSampleByParentSample

public java.util.Collection findSampleByParentSample(int transform,
                                                     int pageNumber,
                                                     int pageSize,
                                                     Sample parentSample)
Description copied from interface: SampleDao

Does the same thing as SampleDao.findSampleByParentSample(int, fr.ifremer.allegro.data.sample.Sample) 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:
findSampleByParentSample in interface SampleDao
See Also:
SampleDao.findSampleByParentSample(int, int, int, fr.ifremer.allegro.data.sample.Sample)

findSampleByParentSample

public java.util.Collection findSampleByParentSample(int transform,
                                                     java.lang.String queryString,
                                                     int pageNumber,
                                                     int pageSize,
                                                     Sample parentSample)
Description copied from interface: SampleDao

Does the same thing as SampleDao.findSampleByParentSample(int, String, fr.ifremer.allegro.data.sample.Sample) 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:
findSampleByParentSample in interface SampleDao
See Also:
SampleDao.findSampleByParentSample(int, java.lang.String, int, int, fr.ifremer.allegro.data.sample.Sample)

findSampleByProgram

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

findSampleByProgram

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

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

findSampleByProgram

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

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

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

findSampleByProgram

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

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

findSampleByProgram

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

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

findSampleByProgram

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

Does the same thing as SampleDao.findSampleByProgram(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 SampleDao.findSampleByProgram(int, fr.ifremer.allegro.administration.programStrategy.Program program).

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

findSampleByProgram

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

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

findSampleByProgram

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

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

findSampleByQualityFlag

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

findSampleByQualityFlag

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

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

findSampleByQualityFlag

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

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

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

findSampleByQualityFlag

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

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

findSampleByQualityFlag

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

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

findSampleByQualityFlag

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

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

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

findSampleByQualityFlag

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

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

findSampleByQualityFlag

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

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

findSampleByNaturalId

public Sample findSampleByNaturalId(java.lang.String label,
                                    Matrix matrix,
                                    FishingOperation fishingOperation,
                                    Program program)
Specified by:
findSampleByNaturalId in interface SampleDao
See Also:
SampleDao.findSampleByNaturalId(java.lang.String, fr.ifremer.allegro.referential.pmfm.Matrix, fr.ifremer.allegro.data.operation.FishingOperation, fr.ifremer.allegro.administration.programStrategy.Program)

findSampleByNaturalId

public java.lang.Object findSampleByNaturalId(int transform,
                                              java.lang.String label,
                                              Matrix matrix,
                                              FishingOperation fishingOperation,
                                              Program program)
Description copied from interface: SampleDao

Does the same thing as SampleDao.findSampleByNaturalId(java.lang.String, fr.ifremer.allegro.referential.pmfm.Matrix, fr.ifremer.allegro.data.operation.FishingOperation, 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:
findSampleByNaturalId in interface SampleDao
See Also:
SampleDao.findSampleByNaturalId(int, java.lang.String, fr.ifremer.allegro.referential.pmfm.Matrix, fr.ifremer.allegro.data.operation.FishingOperation, fr.ifremer.allegro.administration.programStrategy.Program)

findSampleByNaturalId

public Sample findSampleByNaturalId(java.lang.String queryString,
                                    java.lang.String label,
                                    Matrix matrix,
                                    FishingOperation fishingOperation,
                                    Program program)
Description copied from interface: SampleDao

Does the same thing as SampleDao.findSampleByNaturalId(java.lang.String, fr.ifremer.allegro.referential.pmfm.Matrix, fr.ifremer.allegro.data.operation.FishingOperation, fr.ifremer.allegro.administration.programStrategy.Program) with an additional argument called queryString. This queryString argument allows you to override the query string defined in SampleDao.findSampleByNaturalId(java.lang.String, fr.ifremer.allegro.referential.pmfm.Matrix, fr.ifremer.allegro.data.operation.FishingOperation, fr.ifremer.allegro.administration.programStrategy.Program).

Specified by:
findSampleByNaturalId in interface SampleDao
See Also:
SampleDao.findSampleByNaturalId(java.lang.String, java.lang.String, fr.ifremer.allegro.referential.pmfm.Matrix, fr.ifremer.allegro.data.operation.FishingOperation, fr.ifremer.allegro.administration.programStrategy.Program)

findSampleByNaturalId

public java.lang.Object findSampleByNaturalId(int transform,
                                              java.lang.String queryString,
                                              java.lang.String label,
                                              Matrix matrix,
                                              FishingOperation fishingOperation,
                                              Program program)
Description copied from interface: SampleDao

Does the same thing as SampleDao.findSampleByNaturalId(int, java.lang.String, fr.ifremer.allegro.referential.pmfm.Matrix, fr.ifremer.allegro.data.operation.FishingOperation, fr.ifremer.allegro.administration.programStrategy.Program) with an additional argument called queryString. This queryString argument allows you to override the query string defined in SampleDao.findSampleByNaturalId(int, java.lang.String label, fr.ifremer.allegro.referential.pmfm.Matrix matrix, fr.ifremer.allegro.data.operation.FishingOperation fishingOperation, fr.ifremer.allegro.administration.programStrategy.Program program).

Specified by:
findSampleByNaturalId in interface SampleDao
See Also:
SampleDao.findSampleByNaturalId(int, java.lang.String, java.lang.String, fr.ifremer.allegro.referential.pmfm.Matrix, fr.ifremer.allegro.data.operation.FishingOperation, fr.ifremer.allegro.administration.programStrategy.Program)

getAllSampleSinceDateSynchro

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

getAllSampleSinceDateSynchro

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

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

getAllSampleSinceDateSynchro

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

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

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

getAllSampleSinceDateSynchro

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

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

getAllSampleSinceDateSynchro

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

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

getAllSampleSinceDateSynchro

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

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

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

getAllSampleSinceDateSynchro

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

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

getAllSampleSinceDateSynchro

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

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

createFromClusterSample

public Sample createFromClusterSample(ClusterSample clusterSample)
Specified by:
createFromClusterSample in interface SampleDao
See Also:
SampleDao.createFromClusterSample(fr.ifremer.allegro.data.sample.generic.cluster.ClusterSample)

handleCreateFromClusterSample

protected abstract Sample handleCreateFromClusterSample(ClusterSample clusterSample)
                                                 throws java.lang.Exception
Performs the core logic for createFromClusterSample(fr.ifremer.allegro.data.sample.generic.cluster.ClusterSample)

Throws:
java.lang.Exception

getAllClusterSampleSinceDateSynchro

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

handleGetAllClusterSampleSinceDateSynchro

protected abstract ClusterSample[] handleGetAllClusterSampleSinceDateSynchro(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 getAllClusterSampleSinceDateSynchro(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,
                                           Sample 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.sample.SampleDao, please note that the SampleDao.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 SampleDao.TRANSFORM_NONE is assumed.

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

toEntity

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

toRemoteSampleFullVOCollection

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

Specified by:
toRemoteSampleFullVOCollection in interface SampleDao
See Also:
SampleDao.toRemoteSampleFullVOCollection(java.util.Collection)

toRemoteSampleFullVOArray

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

Specified by:
toRemoteSampleFullVOArray in interface SampleDao
See Also:
SampleDao.toRemoteSampleFullVOArray(java.util.Collection)

toRemoteSampleFullVO

protected RemoteSampleFullVO toRemoteSampleFullVO(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 SampleDaoImpl class if you intend to use reporting queries.

See Also:
SampleDao.toRemoteSampleFullVO(fr.ifremer.allegro.data.sample.Sample)

remoteSampleFullVOToEntityCollection

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

Specified by:
remoteSampleFullVOToEntityCollection in interface SampleDao
See Also:
SampleDao.remoteSampleFullVOToEntityCollection(java.util.Collection)

toRemoteSampleFullVO

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

toRemoteSampleFullVO

public RemoteSampleFullVO toRemoteSampleFullVO(Sample entity)
Description copied from interface: SampleDao
Converts this DAO's entity to an object of type RemoteSampleFullVO.

Specified by:
toRemoteSampleFullVO in interface SampleDao
See Also:
SampleDao.toRemoteSampleFullVO(fr.ifremer.allegro.data.sample.Sample)

remoteSampleFullVOToEntity

public void remoteSampleFullVOToEntity(RemoteSampleFullVO source,
                                       Sample target,
                                       boolean copyIfNull)
Description copied from interface: SampleDao
Copies the fields of RemoteSampleFullVO to the specified entity.

Specified by:
remoteSampleFullVOToEntity in interface SampleDao
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.sample.SampleDao#remoteSampleFullVOToEntity(fr.ifremer.allegro.data.sample.generic.vo.RemoteSampleFullVO, fr.ifremer.allegro.data.sample.Sample)

toRemoteSampleNaturalIdCollection

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

Specified by:
toRemoteSampleNaturalIdCollection in interface SampleDao
See Also:
SampleDao.toRemoteSampleNaturalIdCollection(java.util.Collection)

toRemoteSampleNaturalIdArray

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

Specified by:
toRemoteSampleNaturalIdArray in interface SampleDao
See Also:
SampleDao.toRemoteSampleNaturalIdArray(java.util.Collection)

toRemoteSampleNaturalId

protected RemoteSampleNaturalId toRemoteSampleNaturalId(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 SampleDaoImpl class if you intend to use reporting queries.

See Also:
SampleDao.toRemoteSampleNaturalId(fr.ifremer.allegro.data.sample.Sample)

remoteSampleNaturalIdToEntityCollection

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

Specified by:
remoteSampleNaturalIdToEntityCollection in interface SampleDao
See Also:
SampleDao.remoteSampleNaturalIdToEntityCollection(java.util.Collection)

toRemoteSampleNaturalId

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

toRemoteSampleNaturalId

public RemoteSampleNaturalId toRemoteSampleNaturalId(Sample entity)
Description copied from interface: SampleDao
Converts this DAO's entity to an object of type RemoteSampleNaturalId.

Specified by:
toRemoteSampleNaturalId in interface SampleDao
See Also:
SampleDao.toRemoteSampleNaturalId(fr.ifremer.allegro.data.sample.Sample)

remoteSampleNaturalIdToEntity

public void remoteSampleNaturalIdToEntity(RemoteSampleNaturalId source,
                                          Sample target,
                                          boolean copyIfNull)
Description copied from interface: SampleDao
Copies the fields of RemoteSampleNaturalId to the specified entity.

Specified by:
remoteSampleNaturalIdToEntity in interface SampleDao
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.sample.SampleDao#remoteSampleNaturalIdToEntity(fr.ifremer.allegro.data.sample.generic.vo.RemoteSampleNaturalId, fr.ifremer.allegro.data.sample.Sample)

toClusterSampleCollection

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

Specified by:
toClusterSampleCollection in interface SampleDao
See Also:
SampleDao.toClusterSampleCollection(java.util.Collection)

toClusterSampleArray

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

Specified by:
toClusterSampleArray in interface SampleDao
See Also:
SampleDao.toClusterSampleArray(java.util.Collection)

toClusterSample

protected ClusterSample toClusterSample(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 SampleDaoImpl class if you intend to use reporting queries.

See Also:
SampleDao.toClusterSample(fr.ifremer.allegro.data.sample.Sample)

clusterSampleToEntityCollection

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

Specified by:
clusterSampleToEntityCollection in interface SampleDao
See Also:
SampleDao.clusterSampleToEntityCollection(java.util.Collection)

toClusterSample

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

toClusterSample

public ClusterSample toClusterSample(Sample entity)
Description copied from interface: SampleDao
Converts this DAO's entity to an object of type ClusterSample.

Specified by:
toClusterSample in interface SampleDao
See Also:
SampleDao.toClusterSample(fr.ifremer.allegro.data.sample.Sample)

clusterSampleToEntity

public void clusterSampleToEntity(ClusterSample source,
                                  Sample target,
                                  boolean copyIfNull)
Description copied from interface: SampleDao
Copies the fields of ClusterSample to the specified entity.

Specified by:
clusterSampleToEntity in interface SampleDao
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.sample.SampleDao#clusterSampleToEntity(fr.ifremer.allegro.data.sample.generic.cluster.ClusterSample, fr.ifremer.allegro.data.sample.Sample)

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

search

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

search

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

search

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

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


Copyright © 2008-2010 IFREMER. All Rights Reserved.