fr.ifremer.allegro.data.batch
Interface SortingBatchDao

All Superinterfaces:
BatchDao
All Known Implementing Classes:
SortingBatchDaoBase, SortingBatchDaoImpl

public interface SortingBatchDao
extends BatchDao

See Also:
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 collection.
 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.
 
Methods inherited from interface fr.ifremer.allegro.data.batch.BatchDao
clusterBatchToEntity, clusterBatchToEntity, clusterBatchToEntityCollection, findBatchById, findBatchById, findBatchById, findBatchById, findBatchByNaturalId, findBatchByNaturalId, findBatchByNaturalId, findBatchByNaturalId, findBatchByParentBatch, findBatchByParentBatch, findBatchByParentBatch, findBatchByParentBatch, findBatchByParentBatch, findBatchByParentBatch, findBatchByParentBatch, findBatchByParentBatch, getAllBatch, getAllBatch, getAllBatch, getAllBatch, getAllBatch, getAllBatch, getAllBatch, getAllBatch, remoteBatchFullVOToEntity, remoteBatchFullVOToEntity, remoteBatchFullVOToEntityCollection, remoteBatchNaturalIdToEntity, remoteBatchNaturalIdToEntity, remoteBatchNaturalIdToEntityCollection, remove, toClusterBatch, toClusterBatch, toClusterBatchArray, toClusterBatchCollection, toRemoteBatchFullVO, toRemoteBatchFullVO, toRemoteBatchFullVOArray, toRemoteBatchFullVOCollection, toRemoteBatchNaturalId, toRemoteBatchNaturalId, toRemoteBatchNaturalIdArray, toRemoteBatchNaturalIdCollection, update
 

Field Detail

TRANSFORM_REMOTESORTINGBATCHFULLVO

static final 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.

This specific flag denotes entities must be transformed into objects of type RemoteSortingBatchFullVO.

See Also:
Constant Field Values

TRANSFORM_REMOTESORTINGBATCHNATURALID

static final 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.

This specific flag denotes entities must be transformed into objects of type RemoteSortingBatchNaturalId.

See Also:
Constant Field Values

TRANSFORM_CLUSTERSORTINGBATCH

static final 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.

This specific flag denotes entities must be transformed into objects of type ClusterSortingBatch.

See Also:
Constant Field Values
Method Detail

toRemoteSortingBatchFullVO

void toRemoteSortingBatchFullVO(SortingBatch source,
                                RemoteSortingBatchFullVO target)
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteSortingBatchFullVO(), but it does not handle any attributes in the target value object that are "read-only" (as those do not have setter methods exposed).


toRemoteSortingBatchFullVO

RemoteSortingBatchFullVO toRemoteSortingBatchFullVO(SortingBatch entity)
Converts this DAO's entity to an object of type RemoteSortingBatchFullVO.


toRemoteSortingBatchFullVOCollection

void toRemoteSortingBatchFullVOCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteSortingBatchFullVO.


toRemoteSortingBatchFullVOArray

RemoteSortingBatchFullVO[] toRemoteSortingBatchFullVOArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteSortingBatchFullVO.


remoteSortingBatchFullVOToEntity

void remoteSortingBatchFullVOToEntity(RemoteSortingBatchFullVO source,
                                      SortingBatch target,
                                      boolean copyIfNull)
Copies the fields of RemoteSortingBatchFullVO to the specified entity.

Parameters:
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.

remoteSortingBatchFullVOToEntity

SortingBatch remoteSortingBatchFullVOToEntity(RemoteSortingBatchFullVO remoteSortingBatchFullVO)
Converts an instance of type RemoteSortingBatchFullVO to this DAO's entity.


remoteSortingBatchFullVOToEntityCollection

void remoteSortingBatchFullVOToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteSortingBatchFullVO to this DAO's entity.


toRemoteSortingBatchNaturalId

void toRemoteSortingBatchNaturalId(SortingBatch source,
                                   RemoteSortingBatchNaturalId target)
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteSortingBatchNaturalId(), but it does not handle any attributes in the target value object that are "read-only" (as those do not have setter methods exposed).


toRemoteSortingBatchNaturalId

RemoteSortingBatchNaturalId toRemoteSortingBatchNaturalId(SortingBatch entity)
Converts this DAO's entity to an object of type RemoteSortingBatchNaturalId.


toRemoteSortingBatchNaturalIdCollection

void toRemoteSortingBatchNaturalIdCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteSortingBatchNaturalId.


toRemoteSortingBatchNaturalIdArray

RemoteSortingBatchNaturalId[] toRemoteSortingBatchNaturalIdArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteSortingBatchNaturalId.


remoteSortingBatchNaturalIdToEntity

void remoteSortingBatchNaturalIdToEntity(RemoteSortingBatchNaturalId source,
                                         SortingBatch target,
                                         boolean copyIfNull)
Copies the fields of RemoteSortingBatchNaturalId to the specified entity.

Parameters:
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.

remoteSortingBatchNaturalIdToEntity

SortingBatch remoteSortingBatchNaturalIdToEntity(RemoteSortingBatchNaturalId remoteSortingBatchNaturalId)
Converts an instance of type RemoteSortingBatchNaturalId to this DAO's entity.


remoteSortingBatchNaturalIdToEntityCollection

void remoteSortingBatchNaturalIdToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteSortingBatchNaturalId to this DAO's entity.


toClusterSortingBatch

void toClusterSortingBatch(SortingBatch source,
                           ClusterSortingBatch target)
Copies the fields of the specified entity to the target value object. This method is similar to toClusterSortingBatch(), but it does not handle any attributes in the target value object that are "read-only" (as those do not have setter methods exposed).


toClusterSortingBatch

ClusterSortingBatch toClusterSortingBatch(SortingBatch entity)
Converts this DAO's entity to an object of type ClusterSortingBatch.


toClusterSortingBatchCollection

void toClusterSortingBatchCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type ClusterSortingBatch.


toClusterSortingBatchArray

ClusterSortingBatch[] toClusterSortingBatchArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type ClusterSortingBatch.


clusterSortingBatchToEntity

void clusterSortingBatchToEntity(ClusterSortingBatch source,
                                 SortingBatch target,
                                 boolean copyIfNull)
Copies the fields of ClusterSortingBatch to the specified entity.

Parameters:
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.

clusterSortingBatchToEntity

SortingBatch clusterSortingBatchToEntity(ClusterSortingBatch clusterSortingBatch)
Converts an instance of type ClusterSortingBatch to this DAO's entity.


clusterSortingBatchToEntityCollection

void clusterSortingBatchToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type ClusterSortingBatch to this DAO's entity.


load

Batch load(java.lang.Integer id)
Loads an instance of fr.ifremer.allegro.data.batch.SortingBatch from the persistent store.

Specified by:
load in interface BatchDao

load

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.

Specified by:
load in interface BatchDao
Parameters:
id - identifier of the entity to load
Returns:
either the entity or the object transformed from the entity.

loadAll

java.util.Collection loadAll()
Loads all entities of type SortingBatch.

Specified by:
loadAll in interface BatchDao
Returns:
the loaded entities.

loadAll

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.

Specified by:
loadAll in interface BatchDao
Parameters:
transform - the flag indicating what transformation to use.
Returns:
the loaded entities.

loadAll

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.

Specified by:
loadAll in interface BatchDao
Parameters:
pageNumber - the page number to retrieve when paging results.
pageSize - the size of the page to retrieve when paging results.
Returns:
the loaded entities.

loadAll

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.

Specified by:
loadAll in interface BatchDao
Parameters:
transform - the flag indicating what transformation to use.
pageNumber - the page number to retrieve when paging results.
pageSize - the size of the page to retrieve when paging results.
Returns:
the loaded entities.

create

Batch create(SortingBatch sortingBatch)
Creates an instance of fr.ifremer.allegro.data.batch.SortingBatch and adds it to the persistent store.


create

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.


create

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

Parameters:
entities - the collection of fr.ifremer.allegro.data.batch.SortingBatch instances to create.
Returns:
the created instances.

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.


create

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.


create

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.


create

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.


create

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.


update

void update(SortingBatch sortingBatch)
Updates the sortingBatch instance in the persistent store.


update

void update(java.util.Collection entities)
Updates all instances in the entities collection in the persistent store.

Specified by:
update in interface BatchDao

remove

void remove(SortingBatch sortingBatch)
Removes the instance of fr.ifremer.allegro.data.batch.SortingBatch from the persistent store.


remove

void remove(java.lang.Integer id)
Removes the instance of fr.ifremer.allegro.data.batch.SortingBatch having the given identifier from the persistent store.

Specified by:
remove in interface BatchDao

remove

void remove(java.util.Collection entities)
Removes all entities in the given entities collection.

Specified by:
remove in interface BatchDao

getAllSortingBatch

java.util.Collection getAllSortingBatch()

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().


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.


getAllSortingBatch

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.


getAllSortingBatch

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.


getAllSortingBatch

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.


getAllSortingBatch

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).


getAllSortingBatch

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.


findSortingBatchById

SortingBatch findSortingBatchById(java.lang.Integer id)

findSortingBatchById

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).


findSortingBatchById

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.


findSortingBatchById

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).


findSortingBatchByTaxonGroup

java.util.Collection findSortingBatchByTaxonGroup(TaxonGroup taxonGroup)

findSortingBatchByTaxonGroup

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).


findSortingBatchByTaxonGroup

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.


findSortingBatchByTaxonGroup

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.


findSortingBatchByTaxonGroup

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.


findSortingBatchByTaxonGroup

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.


findSortingBatchByTaxonGroup

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).


findSortingBatchByTaxonGroup

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.


findSortingBatchByReferenceTaxon

java.util.Collection findSortingBatchByReferenceTaxon(ReferenceTaxon referenceTaxon)

findSortingBatchByReferenceTaxon

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).


findSortingBatchByReferenceTaxon

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.


findSortingBatchByReferenceTaxon

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.


findSortingBatchByReferenceTaxon

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.


findSortingBatchByReferenceTaxon

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.


findSortingBatchByReferenceTaxon

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).


findSortingBatchByReferenceTaxon

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.


findSortingBatchByParentBatch

java.util.Collection findSortingBatchByParentBatch(Batch parentBatch)

findSortingBatchByParentBatch

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).


findSortingBatchByParentBatch

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.


findSortingBatchByParentBatch

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.


findSortingBatchByParentBatch

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.


findSortingBatchByParentBatch

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.


findSortingBatchByParentBatch

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).


findSortingBatchByParentBatch

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.


findSortingBatchByNaturalId

SortingBatch findSortingBatchByNaturalId(java.lang.Integer id)

findSortingBatchByNaturalId

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).


findSortingBatchByNaturalId

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.


findSortingBatchByNaturalId

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).


createFromClusterSortingBatch

SortingBatch createFromClusterSortingBatch(ClusterSortingBatch clusterSortingBatch)

getAllClusterSortingBatch

ClusterSortingBatch[] getAllClusterSortingBatch(java.lang.Integer userId,
                                                java.lang.Integer[] registrationLocationIds,
                                                java.lang.Integer pageNumber,
                                                java.lang.Integer pageSize)

search

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. These flags allow you to limit your data to a specified page number and size.

Specified by:
search in interface BatchDao
Parameters:
transform - the transformation flag.
pageNumber - the page number in the data to retrieve
pageSize - the size of the page to retrieve.
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search wrapped in a PaginationResult instance.

search

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. These flags allow you to limit your data to a specified page number and size.

Specified by:
search in interface BatchDao
Parameters:
pageNumber - the page number in the data to retrieve
pageSize - the size of the page to retrieve.
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search wrapped in a PaginationResult instance.

search

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. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

Specified by:
search in interface BatchDao
Parameters:
transform - the transformation flag.
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search.

search

java.util.Set search(Search search)
Performs a search using the parameters specified in the given search object.

Specified by:
search in interface BatchDao
Parameters:
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search.


Copyright © 2008-2010 IFREMER. All Rights Reserved.