|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.orm.hibernate3.support.HibernateDaoSupport
fr.ifremer.allegro.data.sample.SampleDaoBase
public abstract class SampleDaoBase
Base Spring DAO Class: is able to create, update, remove, load, and find
objects of type fr.ifremer.allegro.data.sample.Sample
.
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 |
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 |
---|
public SampleDaoBase()
Method Detail |
---|
public void setMatrixDao(MatrixDao matrixDao)
matrixDao
.
protected MatrixDao getMatrixDao()
matrixDao
.
public void setFishingOperationDao(FishingOperationDao fishingOperationDao)
fishingOperationDao
.
protected FishingOperationDao getFishingOperationDao()
fishingOperationDao
.
public void setProgramDao(ProgramDao programDao)
programDao
.
protected ProgramDao getProgramDao()
programDao
.
public void setUnitDao(UnitDao unitDao)
unitDao
.
protected UnitDao getUnitDao()
unitDao
.
public void setBatchDao(BatchDao batchDao)
batchDao
.
protected BatchDao getBatchDao()
batchDao
.
public void setTaxonGroupDao(TaxonGroupDao taxonGroupDao)
taxonGroupDao
.
protected TaxonGroupDao getTaxonGroupDao()
taxonGroupDao
.
public void setReferenceTaxonDao(ReferenceTaxonDao referenceTaxonDao)
referenceTaxonDao
.
protected ReferenceTaxonDao getReferenceTaxonDao()
referenceTaxonDao
.
public void setDepartmentDao(DepartmentDao departmentDao)
departmentDao
.
protected DepartmentDao getDepartmentDao()
departmentDao
.
public void setUserDao(UserDao userDao)
userDao
.
protected UserDao getUserDao()
userDao
.
public void setSampleDao(SampleDao sampleDao)
sampleDao
.
protected SampleDao getSampleDao()
sampleDao
.
public void setQualityFlagDao(QualityFlagDao qualityFlagDao)
qualityFlagDao
.
protected QualityFlagDao getQualityFlagDao()
qualityFlagDao
.
public void setSampleMeasurementDao(SampleMeasurementDao sampleMeasurementDao)
sampleMeasurementDao
.
protected SampleMeasurementDao getSampleMeasurementDao()
sampleMeasurementDao
.
public void setFishingAreaDao(FishingAreaDao fishingAreaDao)
fishingAreaDao
.
protected FishingAreaDao getFishingAreaDao()
fishingAreaDao
.
public java.lang.Object load(int transform, java.lang.Integer id)
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.
load
in interface SampleDao
id
- identifier of the entity to load
SampleDao.load(int, java.lang.Integer)
public Sample load(java.lang.Integer id)
SampleDao
load
in interface SampleDao
SampleDao.load(java.lang.Integer)
public java.util.Collection loadAll()
SampleDao
Sample
.
loadAll
in interface SampleDao
SampleDao.loadAll()
public java.util.Collection loadAll(int transform)
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.
loadAll
in interface SampleDao
transform
- the flag indicating what transformation to use.
SampleDao.loadAll(int)
public java.util.Collection loadAll(int pageNumber, int pageSize)
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.
loadAll
in interface SampleDao
pageNumber
- the page number to retrieve when paging results.pageSize
- the size of the page to retrieve when paging results.
SampleDao.loadAll(int, int)
public java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
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.
loadAll
in interface SampleDao
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.
SampleDao.loadAll(int, int, int)
public Sample create(Sample sample)
SampleDao
create
in interface SampleDao
SampleDao.create(fr.ifremer.allegro.data.sample.Sample)
public java.lang.Object create(int transform, Sample sample)
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.
create
in interface SampleDao
SampleDao.create(int transform, fr.ifremer.allegro.data.sample.Sample)
public java.util.Collection create(java.util.Collection entities)
SampleDao
entities
collection
create
in interface SampleDao
entities
- the collection of fr.ifremer.allegro.data.sample.Sample
instances to create.
SampleDao.create(java.util.Collection)
public java.util.Collection create(int transform, java.util.Collection entities)
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.
create
in interface SampleDao
SampleDao.create(int, java.util.Collection)
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)
SampleDao
Creates a new fr.ifremer.allegro.data.sample.Sample
instance from all attributes and
properties and adds it to the persistent store.
create
in interface SampleDao
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)
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)
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.
create
in interface SampleDao
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)
public Sample create(java.util.Date creationDate, java.lang.String label, Matrix matrix, Program program, QualityFlag qualityFlag, Department recorderDepartment)
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.
create
in interface SampleDao
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)
public java.lang.Object create(int transform, java.util.Date creationDate, java.lang.String label, Matrix matrix, Program program, QualityFlag qualityFlag, Department recorderDepartment)
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.
create
in interface SampleDao
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)
public void update(Sample sample)
SampleDao
sample
instance in the persistent store.
update
in interface SampleDao
SampleDao.update(fr.ifremer.allegro.data.sample.Sample)
public void update(java.util.Collection entities)
SampleDao
entities
collection in the persistent store.
update
in interface SampleDao
SampleDao.update(java.util.Collection)
public void remove(Sample sample)
SampleDao
remove
in interface SampleDao
SampleDao.remove(fr.ifremer.allegro.data.sample.Sample)
public void remove(java.lang.Integer id)
SampleDao
identifier
from the persistent store.
remove
in interface SampleDao
SampleDao.remove(java.lang.Integer)
public void remove(java.util.Collection entities)
SampleDao
entities collection.
- Specified by:
remove
in interface SampleDao
- See Also:
SampleDao.remove(java.util.Collection)
public java.util.Collection getAllSample()
getAllSample
in interface SampleDao
SampleDao.getAllSample()
public java.util.Collection getAllSample(int transform)
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.
getAllSample
in interface SampleDao
SampleDao.getAllSample(int)
public java.util.Collection getAllSample(java.lang.String queryString)
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()
.
getAllSample
in interface SampleDao
SampleDao.getAllSample(java.lang.String)
public java.util.Collection getAllSample(int pageNumber, int pageSize)
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.
getAllSample
in interface SampleDao
SampleDao.getAllSample(int, int)
public java.util.Collection getAllSample(java.lang.String queryString, int pageNumber, int pageSize)
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.
getAllSample
in interface SampleDao
SampleDao.getAllSample(String, int, int)
public java.util.Collection getAllSample(int transform, java.lang.String queryString)
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)
.
getAllSample
in interface SampleDao
SampleDao.getAllSample(int, String)
public java.util.Collection getAllSample(int transform, int pageNumber, int pageSize)
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.
getAllSample
in interface SampleDao
SampleDao.getAllSample(int, int, int)
public java.util.Collection getAllSample(int transform, java.lang.String queryString, int pageNumber, int pageSize)
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.
getAllSample
in interface SampleDao
SampleDao.getAllSample(int, java.lang.String, int, int)
public Sample findSampleById(java.lang.Integer id)
findSampleById
in interface SampleDao
SampleDao.findSampleById(java.lang.Integer)
public java.lang.Object findSampleById(int transform, java.lang.Integer id)
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.
findSampleById
in interface SampleDao
SampleDao.findSampleById(int, java.lang.Integer)
public Sample findSampleById(java.lang.String queryString, java.lang.Integer id)
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)
.
findSampleById
in interface SampleDao
SampleDao.findSampleById(java.lang.String, java.lang.Integer)
public java.lang.Object findSampleById(int transform, java.lang.String queryString, java.lang.Integer id)
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)
.
findSampleById
in interface SampleDao
SampleDao.findSampleById(int, java.lang.String, java.lang.Integer)
public java.util.Collection findSampleByMatrix(Matrix matrix)
findSampleByMatrix
in interface SampleDao
SampleDao.findSampleByMatrix(fr.ifremer.allegro.referential.pmfm.Matrix)
public java.util.Collection findSampleByMatrix(int transform, Matrix matrix)
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.
findSampleByMatrix
in interface SampleDao
SampleDao.findSampleByMatrix(int, fr.ifremer.allegro.referential.pmfm.Matrix)
public java.util.Collection findSampleByMatrix(java.lang.String queryString, Matrix matrix)
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)
.
findSampleByMatrix
in interface SampleDao
SampleDao.findSampleByMatrix(java.lang.String, fr.ifremer.allegro.referential.pmfm.Matrix)
public java.util.Collection findSampleByMatrix(int pageNumber, int pageSize, Matrix matrix)
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.
findSampleByMatrix
in interface SampleDao
SampleDao.findSampleByMatrix(int, int, fr.ifremer.allegro.referential.pmfm.Matrix)
public java.util.Collection findSampleByMatrix(java.lang.String queryString, int pageNumber, int pageSize, Matrix matrix)
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.
findSampleByMatrix
in interface SampleDao
SampleDao.findSampleByMatrix(String, int, int, fr.ifremer.allegro.referential.pmfm.Matrix)
public java.util.Collection findSampleByMatrix(int transform, java.lang.String queryString, Matrix matrix)
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)
.
findSampleByMatrix
in interface SampleDao
SampleDao.findSampleByMatrix(int, String, fr.ifremer.allegro.referential.pmfm.Matrix)
public java.util.Collection findSampleByMatrix(int transform, int pageNumber, int pageSize, Matrix matrix)
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.
findSampleByMatrix
in interface SampleDao
SampleDao.findSampleByMatrix(int, int, int, fr.ifremer.allegro.referential.pmfm.Matrix)
public java.util.Collection findSampleByMatrix(int transform, java.lang.String queryString, int pageNumber, int pageSize, Matrix matrix)
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.
findSampleByMatrix
in interface SampleDao
SampleDao.findSampleByMatrix(int, java.lang.String, int, int, fr.ifremer.allegro.referential.pmfm.Matrix)
public java.util.Collection findSampleBySizeUnit(Unit sizeUnit)
findSampleBySizeUnit
in interface SampleDao
SampleDao.findSampleBySizeUnit(fr.ifremer.allegro.referential.pmfm.Unit)
public java.util.Collection findSampleBySizeUnit(int transform, Unit sizeUnit)
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.
findSampleBySizeUnit
in interface SampleDao
SampleDao.findSampleBySizeUnit(int, fr.ifremer.allegro.referential.pmfm.Unit)
public java.util.Collection findSampleBySizeUnit(java.lang.String queryString, Unit sizeUnit)
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)
.
findSampleBySizeUnit
in interface SampleDao
SampleDao.findSampleBySizeUnit(java.lang.String, fr.ifremer.allegro.referential.pmfm.Unit)
public java.util.Collection findSampleBySizeUnit(int pageNumber, int pageSize, Unit sizeUnit)
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.
findSampleBySizeUnit
in interface SampleDao
SampleDao.findSampleBySizeUnit(int, int, fr.ifremer.allegro.referential.pmfm.Unit)
public java.util.Collection findSampleBySizeUnit(java.lang.String queryString, int pageNumber, int pageSize, Unit sizeUnit)
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.
findSampleBySizeUnit
in interface SampleDao
SampleDao.findSampleBySizeUnit(String, int, int, fr.ifremer.allegro.referential.pmfm.Unit)
public java.util.Collection findSampleBySizeUnit(int transform, java.lang.String queryString, Unit sizeUnit)
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)
.
findSampleBySizeUnit
in interface SampleDao
SampleDao.findSampleBySizeUnit(int, String, fr.ifremer.allegro.referential.pmfm.Unit)
public java.util.Collection findSampleBySizeUnit(int transform, int pageNumber, int pageSize, Unit sizeUnit)
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.
findSampleBySizeUnit
in interface SampleDao
SampleDao.findSampleBySizeUnit(int, int, int, fr.ifremer.allegro.referential.pmfm.Unit)
public java.util.Collection findSampleBySizeUnit(int transform, java.lang.String queryString, int pageNumber, int pageSize, Unit sizeUnit)
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.
findSampleBySizeUnit
in interface SampleDao
SampleDao.findSampleBySizeUnit(int, java.lang.String, int, int, fr.ifremer.allegro.referential.pmfm.Unit)
public java.util.Collection findSampleByBatch(Batch batch)
findSampleByBatch
in interface SampleDao
SampleDao.findSampleByBatch(fr.ifremer.allegro.data.batch.Batch)
public java.util.Collection findSampleByBatch(int transform, Batch batch)
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.
findSampleByBatch
in interface SampleDao
SampleDao.findSampleByBatch(int, fr.ifremer.allegro.data.batch.Batch)
public java.util.Collection findSampleByBatch(java.lang.String queryString, Batch batch)
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)
.
findSampleByBatch
in interface SampleDao
SampleDao.findSampleByBatch(java.lang.String, fr.ifremer.allegro.data.batch.Batch)
public java.util.Collection findSampleByBatch(int pageNumber, int pageSize, Batch batch)
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.
findSampleByBatch
in interface SampleDao
SampleDao.findSampleByBatch(int, int, fr.ifremer.allegro.data.batch.Batch)
public java.util.Collection findSampleByBatch(java.lang.String queryString, int pageNumber, int pageSize, Batch batch)
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.
findSampleByBatch
in interface SampleDao
SampleDao.findSampleByBatch(String, int, int, fr.ifremer.allegro.data.batch.Batch)
public java.util.Collection findSampleByBatch(int transform, java.lang.String queryString, Batch batch)
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)
.
findSampleByBatch
in interface SampleDao
SampleDao.findSampleByBatch(int, String, fr.ifremer.allegro.data.batch.Batch)
public java.util.Collection findSampleByBatch(int transform, int pageNumber, int pageSize, Batch batch)
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.
findSampleByBatch
in interface SampleDao
SampleDao.findSampleByBatch(int, int, int, fr.ifremer.allegro.data.batch.Batch)
public java.util.Collection findSampleByBatch(int transform, java.lang.String queryString, int pageNumber, int pageSize, Batch batch)
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.
findSampleByBatch
in interface SampleDao
SampleDao.findSampleByBatch(int, java.lang.String, int, int, fr.ifremer.allegro.data.batch.Batch)
public java.util.Collection findSampleByFishingOperation(FishingOperation fishingOperation)
findSampleByFishingOperation
in interface SampleDao
SampleDao.findSampleByFishingOperation(fr.ifremer.allegro.data.operation.FishingOperation)
public java.util.Collection findSampleByFishingOperation(int transform, FishingOperation fishingOperation)
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.
findSampleByFishingOperation
in interface SampleDao
SampleDao.findSampleByFishingOperation(int, fr.ifremer.allegro.data.operation.FishingOperation)
public java.util.Collection findSampleByFishingOperation(java.lang.String queryString, FishingOperation fishingOperation)
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)
.
findSampleByFishingOperation
in interface SampleDao
SampleDao.findSampleByFishingOperation(java.lang.String, fr.ifremer.allegro.data.operation.FishingOperation)
public java.util.Collection findSampleByFishingOperation(int pageNumber, int pageSize, FishingOperation fishingOperation)
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.
findSampleByFishingOperation
in interface SampleDao
SampleDao.findSampleByFishingOperation(int, int, fr.ifremer.allegro.data.operation.FishingOperation)
public java.util.Collection findSampleByFishingOperation(java.lang.String queryString, int pageNumber, int pageSize, FishingOperation fishingOperation)
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.
findSampleByFishingOperation
in interface SampleDao
SampleDao.findSampleByFishingOperation(String, int, int, fr.ifremer.allegro.data.operation.FishingOperation)
public java.util.Collection findSampleByFishingOperation(int transform, java.lang.String queryString, FishingOperation fishingOperation)
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)
.
findSampleByFishingOperation
in interface SampleDao
SampleDao.findSampleByFishingOperation(int, String, fr.ifremer.allegro.data.operation.FishingOperation)
public java.util.Collection findSampleByFishingOperation(int transform, int pageNumber, int pageSize, FishingOperation fishingOperation)
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.
findSampleByFishingOperation
in interface SampleDao
SampleDao.findSampleByFishingOperation(int, int, int, fr.ifremer.allegro.data.operation.FishingOperation)
public java.util.Collection findSampleByFishingOperation(int transform, java.lang.String queryString, int pageNumber, int pageSize, FishingOperation fishingOperation)
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.
findSampleByFishingOperation
in interface SampleDao
SampleDao.findSampleByFishingOperation(int, java.lang.String, int, int, fr.ifremer.allegro.data.operation.FishingOperation)
public java.util.Collection findSampleByTaxonGroup(TaxonGroup taxonGroup)
findSampleByTaxonGroup
in interface SampleDao
SampleDao.findSampleByTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup)
public java.util.Collection findSampleByTaxonGroup(int transform, TaxonGroup taxonGroup)
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.
findSampleByTaxonGroup
in interface SampleDao
SampleDao.findSampleByTaxonGroup(int, fr.ifremer.allegro.referential.taxon.TaxonGroup)
public java.util.Collection findSampleByTaxonGroup(java.lang.String queryString, TaxonGroup taxonGroup)
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)
.
findSampleByTaxonGroup
in interface SampleDao
SampleDao.findSampleByTaxonGroup(java.lang.String, fr.ifremer.allegro.referential.taxon.TaxonGroup)
public java.util.Collection findSampleByTaxonGroup(int pageNumber, int pageSize, TaxonGroup taxonGroup)
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.
findSampleByTaxonGroup
in interface SampleDao
SampleDao.findSampleByTaxonGroup(int, int, fr.ifremer.allegro.referential.taxon.TaxonGroup)
public java.util.Collection findSampleByTaxonGroup(java.lang.String queryString, int pageNumber, int pageSize, TaxonGroup taxonGroup)
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.
findSampleByTaxonGroup
in interface SampleDao
SampleDao.findSampleByTaxonGroup(String, int, int, fr.ifremer.allegro.referential.taxon.TaxonGroup)
public java.util.Collection findSampleByTaxonGroup(int transform, java.lang.String queryString, TaxonGroup taxonGroup)
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)
.
findSampleByTaxonGroup
in interface SampleDao
SampleDao.findSampleByTaxonGroup(int, String, fr.ifremer.allegro.referential.taxon.TaxonGroup)
public java.util.Collection findSampleByTaxonGroup(int transform, int pageNumber, int pageSize, TaxonGroup taxonGroup)
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.
findSampleByTaxonGroup
in interface SampleDao
SampleDao.findSampleByTaxonGroup(int, int, int, fr.ifremer.allegro.referential.taxon.TaxonGroup)
public java.util.Collection findSampleByTaxonGroup(int transform, java.lang.String queryString, int pageNumber, int pageSize, TaxonGroup taxonGroup)
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.
findSampleByTaxonGroup
in interface SampleDao
SampleDao.findSampleByTaxonGroup(int, java.lang.String, int, int, fr.ifremer.allegro.referential.taxon.TaxonGroup)
public java.util.Collection findSampleByReferenceTaxon(ReferenceTaxon referenceTaxon)
findSampleByReferenceTaxon
in interface SampleDao
SampleDao.findSampleByReferenceTaxon(fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
public java.util.Collection findSampleByReferenceTaxon(int transform, ReferenceTaxon referenceTaxon)
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.
findSampleByReferenceTaxon
in interface SampleDao
SampleDao.findSampleByReferenceTaxon(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
public java.util.Collection findSampleByReferenceTaxon(java.lang.String queryString, ReferenceTaxon referenceTaxon)
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)
.
findSampleByReferenceTaxon
in interface SampleDao
SampleDao.findSampleByReferenceTaxon(java.lang.String, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
public java.util.Collection findSampleByReferenceTaxon(int pageNumber, int pageSize, ReferenceTaxon referenceTaxon)
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.
findSampleByReferenceTaxon
in interface SampleDao
SampleDao.findSampleByReferenceTaxon(int, int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
public java.util.Collection findSampleByReferenceTaxon(java.lang.String queryString, int pageNumber, int pageSize, ReferenceTaxon referenceTaxon)
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.
findSampleByReferenceTaxon
in interface SampleDao
SampleDao.findSampleByReferenceTaxon(String, int, int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
public java.util.Collection findSampleByReferenceTaxon(int transform, java.lang.String queryString, ReferenceTaxon referenceTaxon)
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)
.
findSampleByReferenceTaxon
in interface SampleDao
SampleDao.findSampleByReferenceTaxon(int, String, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
public java.util.Collection findSampleByReferenceTaxon(int transform, int pageNumber, int pageSize, ReferenceTaxon referenceTaxon)
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.
findSampleByReferenceTaxon
in interface SampleDao
SampleDao.findSampleByReferenceTaxon(int, int, int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
public java.util.Collection findSampleByReferenceTaxon(int transform, java.lang.String queryString, int pageNumber, int pageSize, ReferenceTaxon referenceTaxon)
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.
findSampleByReferenceTaxon
in interface SampleDao
SampleDao.findSampleByReferenceTaxon(int, java.lang.String, int, int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
public java.util.Collection findSampleByRecorderDepartment(Department recorderDepartment)
findSampleByRecorderDepartment
in interface SampleDao
SampleDao.findSampleByRecorderDepartment(fr.ifremer.allegro.administration.user.Department)
public java.util.Collection findSampleByRecorderDepartment(int transform, Department recorderDepartment)
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.
findSampleByRecorderDepartment
in interface SampleDao
SampleDao.findSampleByRecorderDepartment(int, fr.ifremer.allegro.administration.user.Department)
public java.util.Collection findSampleByRecorderDepartment(java.lang.String queryString, Department recorderDepartment)
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)
.
findSampleByRecorderDepartment
in interface SampleDao
SampleDao.findSampleByRecorderDepartment(java.lang.String, fr.ifremer.allegro.administration.user.Department)
public java.util.Collection findSampleByRecorderDepartment(int pageNumber, int pageSize, Department recorderDepartment)
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.
findSampleByRecorderDepartment
in interface SampleDao
SampleDao.findSampleByRecorderDepartment(int, int, fr.ifremer.allegro.administration.user.Department)
public java.util.Collection findSampleByRecorderDepartment(java.lang.String queryString, int pageNumber, int pageSize, Department recorderDepartment)
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.
findSampleByRecorderDepartment
in interface SampleDao
SampleDao.findSampleByRecorderDepartment(String, int, int, fr.ifremer.allegro.administration.user.Department)
public java.util.Collection findSampleByRecorderDepartment(int transform, java.lang.String queryString, Department recorderDepartment)
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)
.
findSampleByRecorderDepartment
in interface SampleDao
SampleDao.findSampleByRecorderDepartment(int, String, fr.ifremer.allegro.administration.user.Department)
public java.util.Collection findSampleByRecorderDepartment(int transform, int pageNumber, int pageSize, Department recorderDepartment)
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.
findSampleByRecorderDepartment
in interface SampleDao
SampleDao.findSampleByRecorderDepartment(int, int, int, fr.ifremer.allegro.administration.user.Department)
public java.util.Collection findSampleByRecorderDepartment(int transform, java.lang.String queryString, int pageNumber, int pageSize, Department recorderDepartment)
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.
findSampleByRecorderDepartment
in interface SampleDao
SampleDao.findSampleByRecorderDepartment(int, java.lang.String, int, int, fr.ifremer.allegro.administration.user.Department)
public java.util.Collection findSampleByRecorderUser(User recorderUser)
findSampleByRecorderUser
in interface SampleDao
SampleDao.findSampleByRecorderUser(fr.ifremer.allegro.administration.user.User)
public java.util.Collection findSampleByRecorderUser(int transform, User recorderUser)
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.
findSampleByRecorderUser
in interface SampleDao
SampleDao.findSampleByRecorderUser(int, fr.ifremer.allegro.administration.user.User)
public java.util.Collection findSampleByRecorderUser(java.lang.String queryString, User recorderUser)
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)
.
findSampleByRecorderUser
in interface SampleDao
SampleDao.findSampleByRecorderUser(java.lang.String, fr.ifremer.allegro.administration.user.User)
public java.util.Collection findSampleByRecorderUser(int pageNumber, int pageSize, User recorderUser)
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.
findSampleByRecorderUser
in interface SampleDao
SampleDao.findSampleByRecorderUser(int, int, fr.ifremer.allegro.administration.user.User)
public java.util.Collection findSampleByRecorderUser(java.lang.String queryString, int pageNumber, int pageSize, User recorderUser)
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.
findSampleByRecorderUser
in interface SampleDao
SampleDao.findSampleByRecorderUser(String, int, int, fr.ifremer.allegro.administration.user.User)
public java.util.Collection findSampleByRecorderUser(int transform, java.lang.String queryString, User recorderUser)
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)
.
findSampleByRecorderUser
in interface SampleDao
SampleDao.findSampleByRecorderUser(int, String, fr.ifremer.allegro.administration.user.User)
public java.util.Collection findSampleByRecorderUser(int transform, int pageNumber, int pageSize, User recorderUser)
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.
findSampleByRecorderUser
in interface SampleDao
SampleDao.findSampleByRecorderUser(int, int, int, fr.ifremer.allegro.administration.user.User)
public java.util.Collection findSampleByRecorderUser(int transform, java.lang.String queryString, int pageNumber, int pageSize, User recorderUser)
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.
findSampleByRecorderUser
in interface SampleDao
SampleDao.findSampleByRecorderUser(int, java.lang.String, int, int, fr.ifremer.allegro.administration.user.User)
public java.util.Collection findSampleByParentSample(Sample parentSample)
findSampleByParentSample
in interface SampleDao
SampleDao.findSampleByParentSample(fr.ifremer.allegro.data.sample.Sample)
public java.util.Collection findSampleByParentSample(int transform, Sample parentSample)
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.
findSampleByParentSample
in interface SampleDao
SampleDao.findSampleByParentSample(int, fr.ifremer.allegro.data.sample.Sample)
public java.util.Collection findSampleByParentSample(java.lang.String queryString, Sample parentSample)
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)
.
findSampleByParentSample
in interface SampleDao
SampleDao.findSampleByParentSample(java.lang.String, fr.ifremer.allegro.data.sample.Sample)
public java.util.Collection findSampleByParentSample(int pageNumber, int pageSize, Sample parentSample)
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.
findSampleByParentSample
in interface SampleDao
SampleDao.findSampleByParentSample(int, int, fr.ifremer.allegro.data.sample.Sample)
public java.util.Collection findSampleByParentSample(java.lang.String queryString, int pageNumber, int pageSize, Sample parentSample)
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.
findSampleByParentSample
in interface SampleDao
SampleDao.findSampleByParentSample(String, int, int, fr.ifremer.allegro.data.sample.Sample)
public java.util.Collection findSampleByParentSample(int transform, java.lang.String queryString, Sample parentSample)
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)
.
findSampleByParentSample
in interface SampleDao
SampleDao.findSampleByParentSample(int, String, fr.ifremer.allegro.data.sample.Sample)
public java.util.Collection findSampleByParentSample(int transform, int pageNumber, int pageSize, Sample parentSample)
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.
findSampleByParentSample
in interface SampleDao
SampleDao.findSampleByParentSample(int, int, int, fr.ifremer.allegro.data.sample.Sample)
public java.util.Collection findSampleByParentSample(int transform, java.lang.String queryString, int pageNumber, int pageSize, Sample parentSample)
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.
findSampleByParentSample
in interface SampleDao
SampleDao.findSampleByParentSample(int, java.lang.String, int, int, fr.ifremer.allegro.data.sample.Sample)
public java.util.Collection findSampleByProgram(Program program)
findSampleByProgram
in interface SampleDao
SampleDao.findSampleByProgram(fr.ifremer.allegro.administration.programStrategy.Program)
public java.util.Collection findSampleByProgram(int transform, Program program)
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.
findSampleByProgram
in interface SampleDao
SampleDao.findSampleByProgram(int, fr.ifremer.allegro.administration.programStrategy.Program)
public java.util.Collection findSampleByProgram(java.lang.String queryString, Program program)
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)
.
findSampleByProgram
in interface SampleDao
SampleDao.findSampleByProgram(java.lang.String, fr.ifremer.allegro.administration.programStrategy.Program)
public java.util.Collection findSampleByProgram(int pageNumber, int pageSize, Program program)
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.
findSampleByProgram
in interface SampleDao
SampleDao.findSampleByProgram(int, int, fr.ifremer.allegro.administration.programStrategy.Program)
public java.util.Collection findSampleByProgram(java.lang.String queryString, int pageNumber, int pageSize, Program program)
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.
findSampleByProgram
in interface SampleDao
SampleDao.findSampleByProgram(String, int, int, fr.ifremer.allegro.administration.programStrategy.Program)
public java.util.Collection findSampleByProgram(int transform, java.lang.String queryString, Program program)
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)
.
findSampleByProgram
in interface SampleDao
SampleDao.findSampleByProgram(int, String, fr.ifremer.allegro.administration.programStrategy.Program)
public java.util.Collection findSampleByProgram(int transform, int pageNumber, int pageSize, Program program)
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.
findSampleByProgram
in interface SampleDao
SampleDao.findSampleByProgram(int, int, int, fr.ifremer.allegro.administration.programStrategy.Program)
public java.util.Collection findSampleByProgram(int transform, java.lang.String queryString, int pageNumber, int pageSize, Program program)
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.
findSampleByProgram
in interface SampleDao
SampleDao.findSampleByProgram(int, java.lang.String, int, int, fr.ifremer.allegro.administration.programStrategy.Program)
public java.util.Collection findSampleByQualityFlag(QualityFlag qualityFlag)
findSampleByQualityFlag
in interface SampleDao
SampleDao.findSampleByQualityFlag(fr.ifremer.allegro.referential.QualityFlag)
public java.util.Collection findSampleByQualityFlag(int transform, QualityFlag qualityFlag)
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.
findSampleByQualityFlag
in interface SampleDao
SampleDao.findSampleByQualityFlag(int, fr.ifremer.allegro.referential.QualityFlag)
public java.util.Collection findSampleByQualityFlag(java.lang.String queryString, QualityFlag qualityFlag)
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)
.
findSampleByQualityFlag
in interface SampleDao
SampleDao.findSampleByQualityFlag(java.lang.String, fr.ifremer.allegro.referential.QualityFlag)
public java.util.Collection findSampleByQualityFlag(int pageNumber, int pageSize, QualityFlag qualityFlag)
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.
findSampleByQualityFlag
in interface SampleDao
SampleDao.findSampleByQualityFlag(int, int, fr.ifremer.allegro.referential.QualityFlag)
public java.util.Collection findSampleByQualityFlag(java.lang.String queryString, int pageNumber, int pageSize, QualityFlag qualityFlag)
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.
findSampleByQualityFlag
in interface SampleDao
SampleDao.findSampleByQualityFlag(String, int, int, fr.ifremer.allegro.referential.QualityFlag)
public java.util.Collection findSampleByQualityFlag(int transform, java.lang.String queryString, QualityFlag qualityFlag)
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)
.
findSampleByQualityFlag
in interface SampleDao
SampleDao.findSampleByQualityFlag(int, String, fr.ifremer.allegro.referential.QualityFlag)
public java.util.Collection findSampleByQualityFlag(int transform, int pageNumber, int pageSize, QualityFlag qualityFlag)
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.
findSampleByQualityFlag
in interface SampleDao
SampleDao.findSampleByQualityFlag(int, int, int, fr.ifremer.allegro.referential.QualityFlag)
public java.util.Collection findSampleByQualityFlag(int transform, java.lang.String queryString, int pageNumber, int pageSize, QualityFlag qualityFlag)
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.
findSampleByQualityFlag
in interface SampleDao
SampleDao.findSampleByQualityFlag(int, java.lang.String, int, int, fr.ifremer.allegro.referential.QualityFlag)
public Sample findSampleByNaturalId(java.lang.String label, Matrix matrix, FishingOperation fishingOperation, Program program)
findSampleByNaturalId
in interface SampleDao
SampleDao.findSampleByNaturalId(java.lang.String, fr.ifremer.allegro.referential.pmfm.Matrix, fr.ifremer.allegro.data.operation.FishingOperation, fr.ifremer.allegro.administration.programStrategy.Program)
public java.lang.Object findSampleByNaturalId(int transform, java.lang.String label, Matrix matrix, FishingOperation fishingOperation, Program program)
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.
findSampleByNaturalId
in interface SampleDao
SampleDao.findSampleByNaturalId(int, java.lang.String, fr.ifremer.allegro.referential.pmfm.Matrix, fr.ifremer.allegro.data.operation.FishingOperation, fr.ifremer.allegro.administration.programStrategy.Program)
public Sample findSampleByNaturalId(java.lang.String queryString, java.lang.String label, Matrix matrix, FishingOperation fishingOperation, Program program)
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)
.
findSampleByNaturalId
in interface SampleDao
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)
public java.lang.Object findSampleByNaturalId(int transform, java.lang.String queryString, java.lang.String label, Matrix matrix, FishingOperation fishingOperation, Program program)
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)
.
findSampleByNaturalId
in interface SampleDao
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)
public java.util.Collection getAllSampleSinceDateSynchro(java.sql.Timestamp updateDate)
getAllSampleSinceDateSynchro
in interface SampleDao
SampleDao.getAllSampleSinceDateSynchro(java.sql.Timestamp)
public java.util.Collection getAllSampleSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
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.
getAllSampleSinceDateSynchro
in interface SampleDao
SampleDao.getAllSampleSinceDateSynchro(int, java.sql.Timestamp)
public java.util.Collection getAllSampleSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
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)
.
getAllSampleSinceDateSynchro
in interface SampleDao
SampleDao.getAllSampleSinceDateSynchro(java.lang.String, java.sql.Timestamp)
public java.util.Collection getAllSampleSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
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.
getAllSampleSinceDateSynchro
in interface SampleDao
SampleDao.getAllSampleSinceDateSynchro(int, int, java.sql.Timestamp)
public java.util.Collection getAllSampleSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
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.
getAllSampleSinceDateSynchro
in interface SampleDao
SampleDao.getAllSampleSinceDateSynchro(String, int, int, java.sql.Timestamp)
public java.util.Collection getAllSampleSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
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)
.
getAllSampleSinceDateSynchro
in interface SampleDao
SampleDao.getAllSampleSinceDateSynchro(int, String, java.sql.Timestamp)
public java.util.Collection getAllSampleSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
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.
getAllSampleSinceDateSynchro
in interface SampleDao
SampleDao.getAllSampleSinceDateSynchro(int, int, int, java.sql.Timestamp)
public java.util.Collection getAllSampleSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
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.
getAllSampleSinceDateSynchro
in interface SampleDao
SampleDao.getAllSampleSinceDateSynchro(int, java.lang.String, int, int, java.sql.Timestamp)
public Sample createFromClusterSample(ClusterSample clusterSample)
createFromClusterSample
in interface SampleDao
SampleDao.createFromClusterSample(fr.ifremer.allegro.data.sample.generic.cluster.ClusterSample)
protected abstract Sample handleCreateFromClusterSample(ClusterSample clusterSample) throws java.lang.Exception
createFromClusterSample(fr.ifremer.allegro.data.sample.generic.cluster.ClusterSample)
java.lang.Exception
public ClusterSample[] getAllClusterSampleSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
getAllClusterSampleSinceDateSynchro
in interface SampleDao
SampleDao.getAllClusterSampleSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
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
getAllClusterSampleSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
java.lang.Exception
protected java.lang.Object transformEntity(int transform, Sample entity)
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:
Sample
- SampleDao.TRANSFORM_NONE
RemoteSampleFullVO
- TRANSFORM_REMOTESAMPLEFULLVO
RemoteSampleNaturalId
- TRANSFORM_REMOTESAMPLENATURALID
ClusterSample
- TRANSFORM_CLUSTERSAMPLE
SampleDao.TRANSFORM_NONE
is assumed.
transform
- one of the constants declared in SampleDao
entity
- an entity that was found
transformEntities(int,java.util.Collection)
protected void transformEntities(int transform, java.util.Collection entities)
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.
transform
- one of the constants declared in fr.ifremer.allegro.data.sample.SampleDao
entities
- the collection of entities to transformtransformEntity(int,fr.ifremer.allegro.data.sample.Sample)
protected Sample toEntity(java.lang.Object[] row)
public final void toRemoteSampleFullVOCollection(java.util.Collection entities)
SampleDao
RemoteSampleFullVO
.
toRemoteSampleFullVOCollection
in interface SampleDao
SampleDao.toRemoteSampleFullVOCollection(java.util.Collection)
public final RemoteSampleFullVO[] toRemoteSampleFullVOArray(java.util.Collection entities)
SampleDao
RemoteSampleFullVO
.
toRemoteSampleFullVOArray
in interface SampleDao
SampleDao.toRemoteSampleFullVOArray(java.util.Collection)
protected RemoteSampleFullVO toRemoteSampleFullVO(java.lang.Object[] row)
SampleDaoImpl
class if you intend to use reporting queries.
SampleDao.toRemoteSampleFullVO(fr.ifremer.allegro.data.sample.Sample)
public final void remoteSampleFullVOToEntityCollection(java.util.Collection instances)
SampleDao
RemoteSampleFullVO
to this
DAO's entity.
remoteSampleFullVOToEntityCollection
in interface SampleDao
SampleDao.remoteSampleFullVOToEntityCollection(java.util.Collection)
public void toRemoteSampleFullVO(Sample source, RemoteSampleFullVO target)
SampleDao
toRemoteSampleFullVO
in interface SampleDao
SampleDao.toRemoteSampleFullVO(fr.ifremer.allegro.data.sample.Sample, fr.ifremer.allegro.data.sample.generic.vo.RemoteSampleFullVO)
public RemoteSampleFullVO toRemoteSampleFullVO(Sample entity)
SampleDao
RemoteSampleFullVO
.
toRemoteSampleFullVO
in interface SampleDao
SampleDao.toRemoteSampleFullVO(fr.ifremer.allegro.data.sample.Sample)
public void remoteSampleFullVOToEntity(RemoteSampleFullVO source, Sample target, boolean copyIfNull)
SampleDao
RemoteSampleFullVO
to the specified entity.
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.fr.ifremer.allegro.data.sample.SampleDao#remoteSampleFullVOToEntity(fr.ifremer.allegro.data.sample.generic.vo.RemoteSampleFullVO, fr.ifremer.allegro.data.sample.Sample)
public final void toRemoteSampleNaturalIdCollection(java.util.Collection entities)
SampleDao
RemoteSampleNaturalId
.
toRemoteSampleNaturalIdCollection
in interface SampleDao
SampleDao.toRemoteSampleNaturalIdCollection(java.util.Collection)
public final RemoteSampleNaturalId[] toRemoteSampleNaturalIdArray(java.util.Collection entities)
SampleDao
RemoteSampleNaturalId
.
toRemoteSampleNaturalIdArray
in interface SampleDao
SampleDao.toRemoteSampleNaturalIdArray(java.util.Collection)
protected RemoteSampleNaturalId toRemoteSampleNaturalId(java.lang.Object[] row)
SampleDaoImpl
class if you intend to use reporting queries.
SampleDao.toRemoteSampleNaturalId(fr.ifremer.allegro.data.sample.Sample)
public final void remoteSampleNaturalIdToEntityCollection(java.util.Collection instances)
SampleDao
RemoteSampleNaturalId
to this
DAO's entity.
remoteSampleNaturalIdToEntityCollection
in interface SampleDao
SampleDao.remoteSampleNaturalIdToEntityCollection(java.util.Collection)
public void toRemoteSampleNaturalId(Sample source, RemoteSampleNaturalId target)
SampleDao
toRemoteSampleNaturalId
in interface SampleDao
SampleDao.toRemoteSampleNaturalId(fr.ifremer.allegro.data.sample.Sample, fr.ifremer.allegro.data.sample.generic.vo.RemoteSampleNaturalId)
public RemoteSampleNaturalId toRemoteSampleNaturalId(Sample entity)
SampleDao
RemoteSampleNaturalId
.
toRemoteSampleNaturalId
in interface SampleDao
SampleDao.toRemoteSampleNaturalId(fr.ifremer.allegro.data.sample.Sample)
public void remoteSampleNaturalIdToEntity(RemoteSampleNaturalId source, Sample target, boolean copyIfNull)
SampleDao
RemoteSampleNaturalId
to the specified entity.
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.fr.ifremer.allegro.data.sample.SampleDao#remoteSampleNaturalIdToEntity(fr.ifremer.allegro.data.sample.generic.vo.RemoteSampleNaturalId, fr.ifremer.allegro.data.sample.Sample)
public final void toClusterSampleCollection(java.util.Collection entities)
SampleDao
ClusterSample
.
toClusterSampleCollection
in interface SampleDao
SampleDao.toClusterSampleCollection(java.util.Collection)
public final ClusterSample[] toClusterSampleArray(java.util.Collection entities)
SampleDao
ClusterSample
.
toClusterSampleArray
in interface SampleDao
SampleDao.toClusterSampleArray(java.util.Collection)
protected ClusterSample toClusterSample(java.lang.Object[] row)
SampleDaoImpl
class if you intend to use reporting queries.
SampleDao.toClusterSample(fr.ifremer.allegro.data.sample.Sample)
public final void clusterSampleToEntityCollection(java.util.Collection instances)
SampleDao
ClusterSample
to this
DAO's entity.
clusterSampleToEntityCollection
in interface SampleDao
SampleDao.clusterSampleToEntityCollection(java.util.Collection)
public void toClusterSample(Sample source, ClusterSample target)
SampleDao
toClusterSample
in interface SampleDao
SampleDao.toClusterSample(fr.ifremer.allegro.data.sample.Sample, fr.ifremer.allegro.data.sample.generic.cluster.ClusterSample)
public ClusterSample toClusterSample(Sample entity)
SampleDao
ClusterSample
.
toClusterSample
in interface SampleDao
SampleDao.toClusterSample(fr.ifremer.allegro.data.sample.Sample)
public void clusterSampleToEntity(ClusterSample source, Sample target, boolean copyIfNull)
SampleDao
ClusterSample
to the specified entity.
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.fr.ifremer.allegro.data.sample.SampleDao#clusterSampleToEntity(fr.ifremer.allegro.data.sample.generic.cluster.ClusterSample, fr.ifremer.allegro.data.sample.Sample)
protected java.security.Principal getPrincipal()
principal
if one has been set,
otherwise returns null
.
public PaginationResult search(int transform, int pageNumber, int pageSize, Search search)
SampleDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface SampleDao
transform
- the transformation flag.pageNumber
- the page number in the data to retrievepageSize
- the size of the page to retrieve.search
- the search object which provides the search parameters and pagination specification.
PaginationResult
instance.SampleDao.search(int, int, int, fr.ifremer.allegro.Search)
public PaginationResult search(int pageNumber, int pageSize, Search search)
SampleDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface SampleDao
pageNumber
- the page number in the data to retrievepageSize
- the size of the page to retrieve.search
- the search object which provides the search parameters and pagination specification.
PaginationResult
instance.SampleDao.search(int, int, fr.ifremer.allegro.Search)
public java.util.Set search(int transform, Search search)
SampleDao
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.
search
in interface SampleDao
transform
- the transformation flag.search
- the search object which provides the search parameters and pagination specification.
SampleDao.search(int, fr.ifremer.allegro.Search)
public java.util.Set search(Search search)
SampleDao
search
object.
search
in interface SampleDao
search
- the search object which provides the search parameters and pagination specification.
SampleDao.search(fr.ifremer.allegro.Search)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |