|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SortingBatchDao
SortingBatch
Field Summary | |
---|---|
static int |
TRANSFORM_CLUSTERSORTINGBATCH
This constant is used as a transformation flag; entities can be converted automatically into value objects or other types, different methods in a class implementing this interface support this feature: look for an int parameter called transform . |
static int |
TRANSFORM_REMOTESORTINGBATCHFULLVO
This constant is used as a transformation flag; entities can be converted automatically into value objects or other types, different methods in a class implementing this interface support this feature: look for an int parameter called transform . |
static int |
TRANSFORM_REMOTESORTINGBATCHNATURALID
This constant is used as a transformation flag; entities can be converted automatically into value objects or other types, different methods in a class implementing this interface support this feature: look for an int parameter called transform . |
Fields inherited from interface fr.ifremer.allegro.data.batch.BatchDao |
---|
TRANSFORM_CLUSTERBATCH, TRANSFORM_NONE, TRANSFORM_REMOTEBATCHFULLVO, TRANSFORM_REMOTEBATCHNATURALID |
Method Summary | |
---|---|
SortingBatch |
clusterSortingBatchToEntity(ClusterSortingBatch clusterSortingBatch)
Converts an instance of type ClusterSortingBatch to this DAO's entity. |
void |
clusterSortingBatchToEntity(ClusterSortingBatch source,
SortingBatch target,
boolean copyIfNull)
Copies the fields of ClusterSortingBatch to the specified entity. |
void |
clusterSortingBatchToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type ClusterSortingBatch to this
DAO's entity. |
Batch |
create(java.lang.Boolean childBatchsReplication,
java.lang.Boolean exhaustiveInventory,
java.lang.Short rankOrder)
Creates a new fr.ifremer.allegro.data.batch.SortingBatch
instance from only required properties (attributes
and association ends) and adds it to the persistent store. |
java.util.Collection |
create(java.util.Collection entities)
Creates a new instance of fr.ifremer.allegro.data.batch.SortingBatch and adds from the passed in entities collection |
java.lang.Object |
create(int transform,
java.lang.Boolean childBatchsReplication,
java.lang.Boolean exhaustiveInventory,
java.lang.Short rankOrder)
Does the same thing as create(java.lang.Boolean,java.lang.Boolean,java.lang.Short) with an
additional flag called transform . |
java.util.Collection |
create(int transform,
java.util.Collection entities)
Does the same thing as create(fr.ifremer.allegro.data.batch.SortingBatch) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
java.lang.Short rankOrder,
java.lang.Float subgroupCount,
java.lang.Short individualCount,
java.lang.Boolean childBatchsReplication,
java.lang.Boolean exhaustiveInventory,
java.lang.String comments,
java.util.Collection childBatchs,
Batch parentBatch,
java.util.Collection quantificationMeasurements,
java.util.Collection produces,
java.lang.Float samplingRatio,
java.lang.String samplingRatioText,
TaxonGroup taxonGroup,
ReferenceTaxon referenceTaxon,
java.util.Collection sortingMeasurements)
Does the same thing as create(java.lang.Short,java.lang.Float,java.lang.Short,java.lang.Boolean,java.lang.Boolean,java.lang.String,java.util.Collection,fr.ifremer.allegro.data.batch.Batch,java.util.Collection,java.util.Collection,java.lang.Float,java.lang.String,fr.ifremer.allegro.referential.taxon.TaxonGroup,fr.ifremer.allegro.referential.taxon.ReferenceTaxon,java.util.Collection) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
SortingBatch sortingBatch)
Does the same thing as create(fr.ifremer.allegro.data.batch.SortingBatch) with an
additional flag called transform . |
Batch |
create(java.lang.Short rankOrder,
java.lang.Float subgroupCount,
java.lang.Short individualCount,
java.lang.Boolean childBatchsReplication,
java.lang.Boolean exhaustiveInventory,
java.lang.String comments,
java.util.Collection childBatchs,
Batch parentBatch,
java.util.Collection quantificationMeasurements,
java.util.Collection produces,
java.lang.Float samplingRatio,
java.lang.String samplingRatioText,
TaxonGroup taxonGroup,
ReferenceTaxon referenceTaxon,
java.util.Collection sortingMeasurements)
Creates a new fr.ifremer.allegro.data.batch.SortingBatch
instance from all attributes and
properties and adds it to the persistent store. |
Batch |
create(SortingBatch sortingBatch)
Creates an instance of fr.ifremer.allegro.data.batch.SortingBatch and adds it to the persistent store. |
SortingBatch |
createFromClusterSortingBatch(ClusterSortingBatch clusterSortingBatch)
|
SortingBatch |
findSortingBatchById(java.lang.Integer id)
|
java.lang.Object |
findSortingBatchById(int transform,
java.lang.Integer id)
Does the same thing as findSortingBatchById(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findSortingBatchById(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as findSortingBatchById(int, java.lang.Integer) with an
additional argument called queryString . |
SortingBatch |
findSortingBatchById(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as findSortingBatchById(java.lang.Integer) with an
additional argument called queryString . |
SortingBatch |
findSortingBatchByNaturalId(java.lang.Integer id)
|
java.lang.Object |
findSortingBatchByNaturalId(int transform,
java.lang.Integer id)
Does the same thing as findSortingBatchByNaturalId(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findSortingBatchByNaturalId(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as findSortingBatchByNaturalId(int, java.lang.Integer) with an
additional argument called queryString . |
SortingBatch |
findSortingBatchByNaturalId(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as findSortingBatchByNaturalId(java.lang.Integer) with an
additional argument called queryString . |
java.util.Collection |
findSortingBatchByParentBatch(Batch parentBatch)
|
java.util.Collection |
findSortingBatchByParentBatch(int transform,
Batch parentBatch)
Does the same thing as findSortingBatchByParentBatch(fr.ifremer.allegro.data.batch.Batch) with an
additional flag called transform . |
java.util.Collection |
findSortingBatchByParentBatch(int pageNumber,
int pageSize,
Batch parentBatch)
Does the same thing as findSortingBatchByParentBatch(fr.ifremer.allegro.data.batch.Batch) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findSortingBatchByParentBatch(int transform,
int pageNumber,
int pageSize,
Batch parentBatch)
Does the same thing as findSortingBatchByParentBatch(int, fr.ifremer.allegro.data.batch.Batch) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findSortingBatchByParentBatch(int transform,
java.lang.String queryString,
Batch parentBatch)
Does the same thing as findSortingBatchByParentBatch(int, fr.ifremer.allegro.data.batch.Batch) with an
additional argument called queryString . |
java.util.Collection |
findSortingBatchByParentBatch(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
Batch parentBatch)
Does the same thing as findSortingBatchByParentBatch(int, String, fr.ifremer.allegro.data.batch.Batch) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findSortingBatchByParentBatch(java.lang.String queryString,
Batch parentBatch)
Does the same thing as findSortingBatchByParentBatch(fr.ifremer.allegro.data.batch.Batch) with an
additional argument called queryString . |
java.util.Collection |
findSortingBatchByParentBatch(java.lang.String queryString,
int pageNumber,
int pageSize,
Batch parentBatch)
Does the same thing as findSortingBatchByParentBatch(String, fr.ifremer.allegro.data.batch.Batch) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findSortingBatchByReferenceTaxon(int transform,
int pageNumber,
int pageSize,
ReferenceTaxon referenceTaxon)
Does the same thing as findSortingBatchByReferenceTaxon(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findSortingBatchByReferenceTaxon(int pageNumber,
int pageSize,
ReferenceTaxon referenceTaxon)
Does the same thing as findSortingBatchByReferenceTaxon(fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findSortingBatchByReferenceTaxon(int transform,
ReferenceTaxon referenceTaxon)
Does the same thing as findSortingBatchByReferenceTaxon(fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an
additional flag called transform . |
java.util.Collection |
findSortingBatchByReferenceTaxon(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
ReferenceTaxon referenceTaxon)
Does the same thing as findSortingBatchByReferenceTaxon(int, String, fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findSortingBatchByReferenceTaxon(int transform,
java.lang.String queryString,
ReferenceTaxon referenceTaxon)
Does the same thing as findSortingBatchByReferenceTaxon(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an
additional argument called queryString . |
java.util.Collection |
findSortingBatchByReferenceTaxon(ReferenceTaxon referenceTaxon)
|
java.util.Collection |
findSortingBatchByReferenceTaxon(java.lang.String queryString,
int pageNumber,
int pageSize,
ReferenceTaxon referenceTaxon)
Does the same thing as findSortingBatchByReferenceTaxon(String, fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findSortingBatchByReferenceTaxon(java.lang.String queryString,
ReferenceTaxon referenceTaxon)
Does the same thing as findSortingBatchByReferenceTaxon(fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an
additional argument called queryString . |
java.util.Collection |
findSortingBatchByTaxonGroup(int transform,
int pageNumber,
int pageSize,
TaxonGroup taxonGroup)
Does the same thing as findSortingBatchByTaxonGroup(int, fr.ifremer.allegro.referential.taxon.TaxonGroup) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findSortingBatchByTaxonGroup(int pageNumber,
int pageSize,
TaxonGroup taxonGroup)
Does the same thing as findSortingBatchByTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findSortingBatchByTaxonGroup(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
TaxonGroup taxonGroup)
Does the same thing as findSortingBatchByTaxonGroup(int, String, fr.ifremer.allegro.referential.taxon.TaxonGroup) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findSortingBatchByTaxonGroup(int transform,
java.lang.String queryString,
TaxonGroup taxonGroup)
Does the same thing as findSortingBatchByTaxonGroup(int, fr.ifremer.allegro.referential.taxon.TaxonGroup) with an
additional argument called queryString . |
java.util.Collection |
findSortingBatchByTaxonGroup(int transform,
TaxonGroup taxonGroup)
Does the same thing as findSortingBatchByTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup) with an
additional flag called transform . |
java.util.Collection |
findSortingBatchByTaxonGroup(java.lang.String queryString,
int pageNumber,
int pageSize,
TaxonGroup taxonGroup)
Does the same thing as findSortingBatchByTaxonGroup(String, fr.ifremer.allegro.referential.taxon.TaxonGroup) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findSortingBatchByTaxonGroup(java.lang.String queryString,
TaxonGroup taxonGroup)
Does the same thing as findSortingBatchByTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup) with an
additional argument called queryString . |
java.util.Collection |
findSortingBatchByTaxonGroup(TaxonGroup taxonGroup)
|
ClusterSortingBatch[] |
getAllClusterSortingBatch(java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize)
|
java.util.Collection |
getAllSortingBatch()
|
java.util.Collection |
getAllSortingBatch(int transform)
Does the same thing as getAllSortingBatch() with an
additional flag called transform . |
java.util.Collection |
getAllSortingBatch(int pageNumber,
int pageSize)
Does the same thing as getAllSortingBatch() with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllSortingBatch(int transform,
int pageNumber,
int pageSize)
Does the same thing as getAllSortingBatch(int) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllSortingBatch(int transform,
java.lang.String queryString)
Does the same thing as getAllSortingBatch(int) with an
additional argument called queryString . |
java.util.Collection |
getAllSortingBatch(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as getAllSortingBatch(int, String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllSortingBatch(java.lang.String queryString)
Does the same thing as getAllSortingBatch() with an
additional argument called queryString . |
java.util.Collection |
getAllSortingBatch(java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as getAllSortingBatch(String) with an
additional two arguments called pageNumber and pageSize . |
Batch |
load(java.lang.Integer id)
Loads an instance of fr.ifremer.allegro.data.batch.SortingBatch from the persistent store. |
java.lang.Object |
load(int transform,
java.lang.Integer id)
Does the same thing as load(java.lang.Integer) with an
additional flag called transform . |
java.util.Collection |
loadAll()
Loads all entities of type SortingBatch . |
java.util.Collection |
loadAll(int transform)
Does the same thing as loadAll() with an
additional flag called transform . |
java.util.Collection |
loadAll(int pageNumber,
int pageSize)
Does the same thing as 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 loadAll(int) with an
additional two arguments called pageNumber and pageSize . |
SortingBatch |
remoteSortingBatchFullVOToEntity(RemoteSortingBatchFullVO remoteSortingBatchFullVO)
Converts an instance of type RemoteSortingBatchFullVO to this DAO's entity. |
void |
remoteSortingBatchFullVOToEntity(RemoteSortingBatchFullVO source,
SortingBatch target,
boolean copyIfNull)
Copies the fields of RemoteSortingBatchFullVO to the specified entity. |
void |
remoteSortingBatchFullVOToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteSortingBatchFullVO to this
DAO's entity. |
SortingBatch |
remoteSortingBatchNaturalIdToEntity(RemoteSortingBatchNaturalId remoteSortingBatchNaturalId)
Converts an instance of type RemoteSortingBatchNaturalId to this DAO's entity. |
void |
remoteSortingBatchNaturalIdToEntity(RemoteSortingBatchNaturalId source,
SortingBatch target,
boolean copyIfNull)
Copies the fields of RemoteSortingBatchNaturalId to the specified entity. |
void |
remoteSortingBatchNaturalIdToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteSortingBatchNaturalId 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.batch.SortingBatch having the given identifier from the persistent store. |
void |
remove(SortingBatch sortingBatch)
Removes the instance of fr.ifremer.allegro.data.batch.SortingBatch 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 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. |
ClusterSortingBatch |
toClusterSortingBatch(SortingBatch entity)
Converts this DAO's entity to an object of type ClusterSortingBatch . |
void |
toClusterSortingBatch(SortingBatch source,
ClusterSortingBatch target)
Copies the fields of the specified entity to the target value object. |
ClusterSortingBatch[] |
toClusterSortingBatchArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type ClusterSortingBatch . |
void |
toClusterSortingBatchCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type ClusterSortingBatch . |
RemoteSortingBatchFullVO |
toRemoteSortingBatchFullVO(SortingBatch entity)
Converts this DAO's entity to an object of type RemoteSortingBatchFullVO . |
void |
toRemoteSortingBatchFullVO(SortingBatch source,
RemoteSortingBatchFullVO target)
Copies the fields of the specified entity to the target value object. |
RemoteSortingBatchFullVO[] |
toRemoteSortingBatchFullVOArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteSortingBatchFullVO . |
void |
toRemoteSortingBatchFullVOCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteSortingBatchFullVO . |
RemoteSortingBatchNaturalId |
toRemoteSortingBatchNaturalId(SortingBatch entity)
Converts this DAO's entity to an object of type RemoteSortingBatchNaturalId . |
void |
toRemoteSortingBatchNaturalId(SortingBatch source,
RemoteSortingBatchNaturalId target)
Copies the fields of the specified entity to the target value object. |
RemoteSortingBatchNaturalId[] |
toRemoteSortingBatchNaturalIdArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteSortingBatchNaturalId . |
void |
toRemoteSortingBatchNaturalIdCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteSortingBatchNaturalId . |
void |
update(java.util.Collection entities)
Updates all instances in the entities collection in the persistent store. |
void |
update(SortingBatch sortingBatch)
Updates the sortingBatch instance in the persistent store. |
Field Detail |
---|
static final int TRANSFORM_REMOTESORTINGBATCHFULLVO
int
parameter called transform
.
This specific flag denotes entities must be transformed into objects of type
RemoteSortingBatchFullVO
.
static final int TRANSFORM_REMOTESORTINGBATCHNATURALID
int
parameter called transform
.
This specific flag denotes entities must be transformed into objects of type
RemoteSortingBatchNaturalId
.
static final int TRANSFORM_CLUSTERSORTINGBATCH
int
parameter called transform
.
This specific flag denotes entities must be transformed into objects of type
ClusterSortingBatch
.
Method Detail |
---|
void toRemoteSortingBatchFullVO(SortingBatch source, RemoteSortingBatchFullVO target)
RemoteSortingBatchFullVO toRemoteSortingBatchFullVO(SortingBatch entity)
RemoteSortingBatchFullVO
.
void toRemoteSortingBatchFullVOCollection(java.util.Collection entities)
RemoteSortingBatchFullVO
.
RemoteSortingBatchFullVO[] toRemoteSortingBatchFullVOArray(java.util.Collection entities)
RemoteSortingBatchFullVO
.
void remoteSortingBatchFullVOToEntity(RemoteSortingBatchFullVO source, SortingBatch target, boolean copyIfNull)
RemoteSortingBatchFullVO
to the specified entity.
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.SortingBatch remoteSortingBatchFullVOToEntity(RemoteSortingBatchFullVO remoteSortingBatchFullVO)
RemoteSortingBatchFullVO
to this DAO's entity.
void remoteSortingBatchFullVOToEntityCollection(java.util.Collection instances)
RemoteSortingBatchFullVO
to this
DAO's entity.
void toRemoteSortingBatchNaturalId(SortingBatch source, RemoteSortingBatchNaturalId target)
RemoteSortingBatchNaturalId toRemoteSortingBatchNaturalId(SortingBatch entity)
RemoteSortingBatchNaturalId
.
void toRemoteSortingBatchNaturalIdCollection(java.util.Collection entities)
RemoteSortingBatchNaturalId
.
RemoteSortingBatchNaturalId[] toRemoteSortingBatchNaturalIdArray(java.util.Collection entities)
RemoteSortingBatchNaturalId
.
void remoteSortingBatchNaturalIdToEntity(RemoteSortingBatchNaturalId source, SortingBatch target, boolean copyIfNull)
RemoteSortingBatchNaturalId
to the specified entity.
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.SortingBatch remoteSortingBatchNaturalIdToEntity(RemoteSortingBatchNaturalId remoteSortingBatchNaturalId)
RemoteSortingBatchNaturalId
to this DAO's entity.
void remoteSortingBatchNaturalIdToEntityCollection(java.util.Collection instances)
RemoteSortingBatchNaturalId
to this
DAO's entity.
void toClusterSortingBatch(SortingBatch source, ClusterSortingBatch target)
ClusterSortingBatch toClusterSortingBatch(SortingBatch entity)
ClusterSortingBatch
.
void toClusterSortingBatchCollection(java.util.Collection entities)
ClusterSortingBatch
.
ClusterSortingBatch[] toClusterSortingBatchArray(java.util.Collection entities)
ClusterSortingBatch
.
void clusterSortingBatchToEntity(ClusterSortingBatch source, SortingBatch target, boolean copyIfNull)
ClusterSortingBatch
to the specified entity.
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.SortingBatch clusterSortingBatchToEntity(ClusterSortingBatch clusterSortingBatch)
ClusterSortingBatch
to this DAO's entity.
void clusterSortingBatchToEntityCollection(java.util.Collection instances)
ClusterSortingBatch
to this
DAO's entity.
Batch load(java.lang.Integer id)
load
in interface BatchDao
java.lang.Object load(int transform, java.lang.Integer id)
Does the same thing as 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 BatchDao
id
- identifier of the entity to load
java.util.Collection loadAll()
SortingBatch
.
loadAll
in interface BatchDao
java.util.Collection loadAll(int transform)
Does the same thing as 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 BatchDao
transform
- the flag indicating what transformation to use.
java.util.Collection loadAll(int pageNumber, int pageSize)
Does the same thing as 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 BatchDao
pageNumber
- the page number to retrieve when paging results.pageSize
- the size of the page to retrieve when paging results.
java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
Does the same thing as 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 BatchDao
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.
Batch create(SortingBatch sortingBatch)
java.lang.Object create(int transform, SortingBatch sortingBatch)
Does the same thing as create(fr.ifremer.allegro.data.batch.SortingBatch)
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.
java.util.Collection create(java.util.Collection entities)
entities
collection
entities
- the collection of fr.ifremer.allegro.data.batch.SortingBatch
instances to create.
java.util.Collection create(int transform, java.util.Collection entities)
Does the same thing as create(fr.ifremer.allegro.data.batch.SortingBatch)
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.
Batch create(java.lang.Short rankOrder, java.lang.Float subgroupCount, java.lang.Short individualCount, java.lang.Boolean childBatchsReplication, java.lang.Boolean exhaustiveInventory, java.lang.String comments, java.util.Collection childBatchs, Batch parentBatch, java.util.Collection quantificationMeasurements, java.util.Collection produces, java.lang.Float samplingRatio, java.lang.String samplingRatioText, TaxonGroup taxonGroup, ReferenceTaxon referenceTaxon, java.util.Collection sortingMeasurements)
Creates a new fr.ifremer.allegro.data.batch.SortingBatch
instance from all attributes and
properties and adds it to the persistent store.
java.lang.Object create(int transform, java.lang.Short rankOrder, java.lang.Float subgroupCount, java.lang.Short individualCount, java.lang.Boolean childBatchsReplication, java.lang.Boolean exhaustiveInventory, java.lang.String comments, java.util.Collection childBatchs, Batch parentBatch, java.util.Collection quantificationMeasurements, java.util.Collection produces, java.lang.Float samplingRatio, java.lang.String samplingRatioText, TaxonGroup taxonGroup, ReferenceTaxon referenceTaxon, java.util.Collection sortingMeasurements)
Does the same thing as create(java.lang.Short,java.lang.Float,java.lang.Short,java.lang.Boolean,java.lang.Boolean,java.lang.String,java.util.Collection,fr.ifremer.allegro.data.batch.Batch,java.util.Collection,java.util.Collection,java.lang.Float,java.lang.String,fr.ifremer.allegro.referential.taxon.TaxonGroup,fr.ifremer.allegro.referential.taxon.ReferenceTaxon,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.
Batch create(java.lang.Boolean childBatchsReplication, java.lang.Boolean exhaustiveInventory, java.lang.Short rankOrder)
Creates a new fr.ifremer.allegro.data.batch.SortingBatch
instance from only required properties (attributes
and association ends) and adds it to the persistent store.
java.lang.Object create(int transform, java.lang.Boolean childBatchsReplication, java.lang.Boolean exhaustiveInventory, java.lang.Short rankOrder)
Does the same thing as create(java.lang.Boolean,java.lang.Boolean,java.lang.Short)
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.
void update(SortingBatch sortingBatch)
sortingBatch
instance in the persistent store.
void update(java.util.Collection entities)
entities
collection in the persistent store.
update
in interface BatchDao
void remove(SortingBatch sortingBatch)
void remove(java.lang.Integer id)
identifier
from the persistent store.
remove
in interface BatchDao
void remove(java.util.Collection entities)
entities collection.
- Specified by:
remove
in interface BatchDao
java.util.Collection getAllSortingBatch()
java.util.Collection getAllSortingBatch(java.lang.String queryString)
Does the same thing as getAllSortingBatch()
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in getAllSortingBatch()
.
java.util.Collection getAllSortingBatch(int pageNumber, int pageSize)
Does the same thing as getAllSortingBatch()
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.
java.util.Collection getAllSortingBatch(java.lang.String queryString, int pageNumber, int pageSize)
Does the same thing as getAllSortingBatch(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.
java.util.Collection getAllSortingBatch(int transform)
Does the same thing as getAllSortingBatch()
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.
java.util.Collection getAllSortingBatch(int transform, int pageNumber, int pageSize)
Does the same thing as getAllSortingBatch(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.
java.util.Collection getAllSortingBatch(int transform, java.lang.String queryString)
Does the same thing as getAllSortingBatch(int)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in getAllSortingBatch(int)
.
java.util.Collection getAllSortingBatch(int transform, java.lang.String queryString, int pageNumber, int pageSize)
Does the same thing as getAllSortingBatch(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.
SortingBatch findSortingBatchById(java.lang.Integer id)
SortingBatch findSortingBatchById(java.lang.String queryString, java.lang.Integer id)
Does the same thing as findSortingBatchById(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findSortingBatchById(java.lang.Integer)
.
java.lang.Object findSortingBatchById(int transform, java.lang.Integer id)
Does the same thing as findSortingBatchById(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.
java.lang.Object findSortingBatchById(int transform, java.lang.String queryString, java.lang.Integer id)
Does the same thing as findSortingBatchById(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findSortingBatchById(int, java.lang.Integer id)
.
java.util.Collection findSortingBatchByTaxonGroup(TaxonGroup taxonGroup)
java.util.Collection findSortingBatchByTaxonGroup(java.lang.String queryString, TaxonGroup taxonGroup)
Does the same thing as findSortingBatchByTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findSortingBatchByTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup)
.
java.util.Collection findSortingBatchByTaxonGroup(int pageNumber, int pageSize, TaxonGroup taxonGroup)
Does the same thing as findSortingBatchByTaxonGroup(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.
java.util.Collection findSortingBatchByTaxonGroup(java.lang.String queryString, int pageNumber, int pageSize, TaxonGroup taxonGroup)
Does the same thing as findSortingBatchByTaxonGroup(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.
java.util.Collection findSortingBatchByTaxonGroup(int transform, TaxonGroup taxonGroup)
Does the same thing as findSortingBatchByTaxonGroup(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.
java.util.Collection findSortingBatchByTaxonGroup(int transform, int pageNumber, int pageSize, TaxonGroup taxonGroup)
Does the same thing as findSortingBatchByTaxonGroup(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.
java.util.Collection findSortingBatchByTaxonGroup(int transform, java.lang.String queryString, TaxonGroup taxonGroup)
Does the same thing as findSortingBatchByTaxonGroup(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 findSortingBatchByTaxonGroup(int, fr.ifremer.allegro.referential.taxon.TaxonGroup taxonGroup)
.
java.util.Collection findSortingBatchByTaxonGroup(int transform, java.lang.String queryString, int pageNumber, int pageSize, TaxonGroup taxonGroup)
Does the same thing as findSortingBatchByTaxonGroup(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.
java.util.Collection findSortingBatchByReferenceTaxon(ReferenceTaxon referenceTaxon)
java.util.Collection findSortingBatchByReferenceTaxon(java.lang.String queryString, ReferenceTaxon referenceTaxon)
Does the same thing as findSortingBatchByReferenceTaxon(fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findSortingBatchByReferenceTaxon(fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
.
java.util.Collection findSortingBatchByReferenceTaxon(int pageNumber, int pageSize, ReferenceTaxon referenceTaxon)
Does the same thing as findSortingBatchByReferenceTaxon(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.
java.util.Collection findSortingBatchByReferenceTaxon(java.lang.String queryString, int pageNumber, int pageSize, ReferenceTaxon referenceTaxon)
Does the same thing as findSortingBatchByReferenceTaxon(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.
java.util.Collection findSortingBatchByReferenceTaxon(int transform, ReferenceTaxon referenceTaxon)
Does the same thing as findSortingBatchByReferenceTaxon(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.
java.util.Collection findSortingBatchByReferenceTaxon(int transform, int pageNumber, int pageSize, ReferenceTaxon referenceTaxon)
Does the same thing as findSortingBatchByReferenceTaxon(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.
java.util.Collection findSortingBatchByReferenceTaxon(int transform, java.lang.String queryString, ReferenceTaxon referenceTaxon)
Does the same thing as findSortingBatchByReferenceTaxon(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 findSortingBatchByReferenceTaxon(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon referenceTaxon)
.
java.util.Collection findSortingBatchByReferenceTaxon(int transform, java.lang.String queryString, int pageNumber, int pageSize, ReferenceTaxon referenceTaxon)
Does the same thing as findSortingBatchByReferenceTaxon(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.
java.util.Collection findSortingBatchByParentBatch(Batch parentBatch)
java.util.Collection findSortingBatchByParentBatch(java.lang.String queryString, Batch parentBatch)
Does the same thing as findSortingBatchByParentBatch(fr.ifremer.allegro.data.batch.Batch)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findSortingBatchByParentBatch(fr.ifremer.allegro.data.batch.Batch)
.
java.util.Collection findSortingBatchByParentBatch(int pageNumber, int pageSize, Batch parentBatch)
Does the same thing as findSortingBatchByParentBatch(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.
java.util.Collection findSortingBatchByParentBatch(java.lang.String queryString, int pageNumber, int pageSize, Batch parentBatch)
Does the same thing as findSortingBatchByParentBatch(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.
java.util.Collection findSortingBatchByParentBatch(int transform, Batch parentBatch)
Does the same thing as findSortingBatchByParentBatch(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.
java.util.Collection findSortingBatchByParentBatch(int transform, int pageNumber, int pageSize, Batch parentBatch)
Does the same thing as findSortingBatchByParentBatch(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.
java.util.Collection findSortingBatchByParentBatch(int transform, java.lang.String queryString, Batch parentBatch)
Does the same thing as findSortingBatchByParentBatch(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 findSortingBatchByParentBatch(int, fr.ifremer.allegro.data.batch.Batch parentBatch)
.
java.util.Collection findSortingBatchByParentBatch(int transform, java.lang.String queryString, int pageNumber, int pageSize, Batch parentBatch)
Does the same thing as findSortingBatchByParentBatch(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.
SortingBatch findSortingBatchByNaturalId(java.lang.Integer id)
SortingBatch findSortingBatchByNaturalId(java.lang.String queryString, java.lang.Integer id)
Does the same thing as findSortingBatchByNaturalId(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findSortingBatchByNaturalId(java.lang.Integer)
.
java.lang.Object findSortingBatchByNaturalId(int transform, java.lang.Integer id)
Does the same thing as findSortingBatchByNaturalId(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.
java.lang.Object findSortingBatchByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
Does the same thing as findSortingBatchByNaturalId(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findSortingBatchByNaturalId(int, java.lang.Integer id)
.
SortingBatch createFromClusterSortingBatch(ClusterSortingBatch clusterSortingBatch)
ClusterSortingBatch[] getAllClusterSortingBatch(java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
PaginationResult search(int transform, int pageNumber, int pageSize, Search search)
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface BatchDao
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.PaginationResult search(int pageNumber, int pageSize, Search search)
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface BatchDao
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.java.util.Set search(int transform, Search search)
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 BatchDao
transform
- the transformation flag.search
- the search object which provides the search parameters and pagination specification.
java.util.Set search(Search search)
search
object.
search
in interface BatchDao
search
- the search object which provides the search parameters and pagination specification.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |