fr.ifremer.allegro.data.batch
Interface BatchDao

All Known Subinterfaces:
CatchBatchDao, SortingBatchDao
All Known Implementing Classes:
BatchDaoBase, BatchDaoImpl, CatchBatchDaoBase, CatchBatchDaoImpl, SortingBatchDaoBase, SortingBatchDaoImpl

public interface BatchDao

See Also:
Batch

Field Summary
static int TRANSFORM_CLUSTERBATCH
          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_NONE
          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_REMOTEBATCHFULLVO
          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_REMOTEBATCHNATURALID
          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.
 
Method Summary
 Batch clusterBatchToEntity(ClusterBatch clusterBatch)
          Converts an instance of type ClusterBatch to this DAO's entity.
 void clusterBatchToEntity(ClusterBatch source, Batch target, boolean copyIfNull)
          Copies the fields of ClusterBatch to the specified entity.
 void clusterBatchToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterBatch to this DAO's entity.
 Batch findBatchById(java.lang.Integer id)
           
 java.lang.Object findBatchById(int transform, java.lang.Integer id)
           Does the same thing as findBatchById(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findBatchById(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as findBatchById(int, java.lang.Integer) with an additional argument called queryString.
 Batch findBatchById(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as findBatchById(java.lang.Integer) with an additional argument called queryString.
 Batch findBatchByNaturalId(java.lang.Integer id)
           
 java.lang.Object findBatchByNaturalId(int transform, java.lang.Integer id)
           Does the same thing as findBatchByNaturalId(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findBatchByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as findBatchByNaturalId(int, java.lang.Integer) with an additional argument called queryString.
 Batch findBatchByNaturalId(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as findBatchByNaturalId(java.lang.Integer) with an additional argument called queryString.
 java.util.Collection findBatchByParentBatch(Batch parentBatch)
           
 java.util.Collection findBatchByParentBatch(int transform, Batch parentBatch)
           Does the same thing as findBatchByParentBatch(fr.ifremer.allegro.data.batch.Batch) with an additional flag called transform.
 java.util.Collection findBatchByParentBatch(int pageNumber, int pageSize, Batch parentBatch)
           Does the same thing as findBatchByParentBatch(fr.ifremer.allegro.data.batch.Batch) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findBatchByParentBatch(int transform, int pageNumber, int pageSize, Batch parentBatch)
           Does the same thing as findBatchByParentBatch(int, fr.ifremer.allegro.data.batch.Batch) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findBatchByParentBatch(int transform, java.lang.String queryString, Batch parentBatch)
           Does the same thing as findBatchByParentBatch(int, fr.ifremer.allegro.data.batch.Batch) with an additional argument called queryString.
 java.util.Collection findBatchByParentBatch(int transform, java.lang.String queryString, int pageNumber, int pageSize, Batch parentBatch)
           Does the same thing as findBatchByParentBatch(int, String, fr.ifremer.allegro.data.batch.Batch) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findBatchByParentBatch(java.lang.String queryString, Batch parentBatch)
           Does the same thing as findBatchByParentBatch(fr.ifremer.allegro.data.batch.Batch) with an additional argument called queryString.
 java.util.Collection findBatchByParentBatch(java.lang.String queryString, int pageNumber, int pageSize, Batch parentBatch)
           Does the same thing as findBatchByParentBatch(String, fr.ifremer.allegro.data.batch.Batch) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllBatch()
           
 java.util.Collection getAllBatch(int transform)
           Does the same thing as getAllBatch() with an additional flag called transform.
 java.util.Collection getAllBatch(int pageNumber, int pageSize)
           Does the same thing as getAllBatch() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllBatch(int transform, int pageNumber, int pageSize)
           Does the same thing as getAllBatch(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllBatch(int transform, java.lang.String queryString)
           Does the same thing as getAllBatch(int) with an additional argument called queryString.
 java.util.Collection getAllBatch(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as getAllBatch(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllBatch(java.lang.String queryString)
           Does the same thing as getAllBatch() with an additional argument called queryString.
 java.util.Collection getAllBatch(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as getAllBatch(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.Batch 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 Batch.
 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.
 Batch remoteBatchFullVOToEntity(RemoteBatchFullVO remoteBatchFullVO)
          Converts an instance of type RemoteBatchFullVO to this DAO's entity.
 void remoteBatchFullVOToEntity(RemoteBatchFullVO source, Batch target, boolean copyIfNull)
          Copies the fields of RemoteBatchFullVO to the specified entity.
 void remoteBatchFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteBatchFullVO to this DAO's entity.
 Batch remoteBatchNaturalIdToEntity(RemoteBatchNaturalId remoteBatchNaturalId)
          Converts an instance of type RemoteBatchNaturalId to this DAO's entity.
 void remoteBatchNaturalIdToEntity(RemoteBatchNaturalId source, Batch target, boolean copyIfNull)
          Copies the fields of RemoteBatchNaturalId to the specified entity.
 void remoteBatchNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteBatchNaturalId to this DAO's entity.
 void remove(Batch batch)
          Removes the instance of fr.ifremer.allegro.data.batch.Batch from the persistent store.
 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.Batch having the given identifier 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.
 ClusterBatch toClusterBatch(Batch entity)
          Converts this DAO's entity to an object of type ClusterBatch.
 void toClusterBatch(Batch source, ClusterBatch target)
          Copies the fields of the specified entity to the target value object.
 ClusterBatch[] toClusterBatchArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterBatch.
 void toClusterBatchCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterBatch.
 RemoteBatchFullVO toRemoteBatchFullVO(Batch entity)
          Converts this DAO's entity to an object of type RemoteBatchFullVO.
 void toRemoteBatchFullVO(Batch source, RemoteBatchFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteBatchFullVO[] toRemoteBatchFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteBatchFullVO.
 void toRemoteBatchFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteBatchFullVO.
 RemoteBatchNaturalId toRemoteBatchNaturalId(Batch entity)
          Converts this DAO's entity to an object of type RemoteBatchNaturalId.
 void toRemoteBatchNaturalId(Batch source, RemoteBatchNaturalId target)
          Copies the fields of the specified entity to the target value object.
 RemoteBatchNaturalId[] toRemoteBatchNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteBatchNaturalId.
 void toRemoteBatchNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteBatchNaturalId.
 void update(Batch batch)
          Updates the batch instance in the persistent store.
 void update(java.util.Collection entities)
          Updates all instances in the entities collection in the persistent store.
 

Field Detail

TRANSFORM_NONE

static final int TRANSFORM_NONE
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 no transformation will occur.

See Also:
Constant Field Values

TRANSFORM_REMOTEBATCHFULLVO

static final int TRANSFORM_REMOTEBATCHFULLVO
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 RemoteBatchFullVO.

See Also:
Constant Field Values

TRANSFORM_REMOTEBATCHNATURALID

static final int TRANSFORM_REMOTEBATCHNATURALID
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 RemoteBatchNaturalId.

See Also:
Constant Field Values

TRANSFORM_CLUSTERBATCH

static final int TRANSFORM_CLUSTERBATCH
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 ClusterBatch.

See Also:
Constant Field Values
Method Detail

toRemoteBatchFullVO

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


toRemoteBatchFullVO

RemoteBatchFullVO toRemoteBatchFullVO(Batch entity)
Converts this DAO's entity to an object of type RemoteBatchFullVO.


toRemoteBatchFullVOCollection

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


toRemoteBatchFullVOArray

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


remoteBatchFullVOToEntity

void remoteBatchFullVOToEntity(RemoteBatchFullVO source,
                               Batch target,
                               boolean copyIfNull)
Copies the fields of RemoteBatchFullVO 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.

remoteBatchFullVOToEntity

Batch remoteBatchFullVOToEntity(RemoteBatchFullVO remoteBatchFullVO)
Converts an instance of type RemoteBatchFullVO to this DAO's entity.


remoteBatchFullVOToEntityCollection

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


toRemoteBatchNaturalId

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


toRemoteBatchNaturalId

RemoteBatchNaturalId toRemoteBatchNaturalId(Batch entity)
Converts this DAO's entity to an object of type RemoteBatchNaturalId.


toRemoteBatchNaturalIdCollection

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


toRemoteBatchNaturalIdArray

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


remoteBatchNaturalIdToEntity

void remoteBatchNaturalIdToEntity(RemoteBatchNaturalId source,
                                  Batch target,
                                  boolean copyIfNull)
Copies the fields of RemoteBatchNaturalId 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.

remoteBatchNaturalIdToEntity

Batch remoteBatchNaturalIdToEntity(RemoteBatchNaturalId remoteBatchNaturalId)
Converts an instance of type RemoteBatchNaturalId to this DAO's entity.


remoteBatchNaturalIdToEntityCollection

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


toClusterBatch

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


toClusterBatch

ClusterBatch toClusterBatch(Batch entity)
Converts this DAO's entity to an object of type ClusterBatch.


toClusterBatchCollection

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


toClusterBatchArray

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


clusterBatchToEntity

void clusterBatchToEntity(ClusterBatch source,
                          Batch target,
                          boolean copyIfNull)
Copies the fields of ClusterBatch 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.

clusterBatchToEntity

Batch clusterBatchToEntity(ClusterBatch clusterBatch)
Converts an instance of type ClusterBatch to this DAO's entity.


clusterBatchToEntityCollection

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


load

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


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.

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

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.

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.

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.

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.

update

void update(Batch batch)
Updates the batch instance in the persistent store.


update

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


remove

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


remove

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


remove

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


getAllBatch

java.util.Collection getAllBatch()

getAllBatch

java.util.Collection getAllBatch(java.lang.String queryString)

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


getAllBatch

java.util.Collection getAllBatch(int pageNumber,
                                 int pageSize)

Does the same thing as getAllBatch() 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.


getAllBatch

java.util.Collection getAllBatch(java.lang.String queryString,
                                 int pageNumber,
                                 int pageSize)

Does the same thing as getAllBatch(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.


getAllBatch

java.util.Collection getAllBatch(int transform)

Does the same thing as getAllBatch() 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.


getAllBatch

java.util.Collection getAllBatch(int transform,
                                 int pageNumber,
                                 int pageSize)

Does the same thing as getAllBatch(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.


getAllBatch

java.util.Collection getAllBatch(int transform,
                                 java.lang.String queryString)

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


getAllBatch

java.util.Collection getAllBatch(int transform,
                                 java.lang.String queryString,
                                 int pageNumber,
                                 int pageSize)

Does the same thing as getAllBatch(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.


findBatchById

Batch findBatchById(java.lang.Integer id)

findBatchById

Batch findBatchById(java.lang.String queryString,
                    java.lang.Integer id)

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


findBatchById

java.lang.Object findBatchById(int transform,
                               java.lang.Integer id)

Does the same thing as findBatchById(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.


findBatchById

java.lang.Object findBatchById(int transform,
                               java.lang.String queryString,
                               java.lang.Integer id)

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


findBatchByParentBatch

java.util.Collection findBatchByParentBatch(Batch parentBatch)

findBatchByParentBatch

java.util.Collection findBatchByParentBatch(java.lang.String queryString,
                                            Batch parentBatch)

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


findBatchByParentBatch

java.util.Collection findBatchByParentBatch(int pageNumber,
                                            int pageSize,
                                            Batch parentBatch)

Does the same thing as findBatchByParentBatch(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.


findBatchByParentBatch

java.util.Collection findBatchByParentBatch(java.lang.String queryString,
                                            int pageNumber,
                                            int pageSize,
                                            Batch parentBatch)

Does the same thing as findBatchByParentBatch(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.


findBatchByParentBatch

java.util.Collection findBatchByParentBatch(int transform,
                                            Batch parentBatch)

Does the same thing as findBatchByParentBatch(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.


findBatchByParentBatch

java.util.Collection findBatchByParentBatch(int transform,
                                            int pageNumber,
                                            int pageSize,
                                            Batch parentBatch)

Does the same thing as findBatchByParentBatch(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.


findBatchByParentBatch

java.util.Collection findBatchByParentBatch(int transform,
                                            java.lang.String queryString,
                                            Batch parentBatch)

Does the same thing as findBatchByParentBatch(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 findBatchByParentBatch(int, fr.ifremer.allegro.data.batch.Batch parentBatch).


findBatchByParentBatch

java.util.Collection findBatchByParentBatch(int transform,
                                            java.lang.String queryString,
                                            int pageNumber,
                                            int pageSize,
                                            Batch parentBatch)

Does the same thing as findBatchByParentBatch(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.


findBatchByNaturalId

Batch findBatchByNaturalId(java.lang.Integer id)

findBatchByNaturalId

Batch findBatchByNaturalId(java.lang.String queryString,
                           java.lang.Integer id)

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


findBatchByNaturalId

java.lang.Object findBatchByNaturalId(int transform,
                                      java.lang.Integer id)

Does the same thing as findBatchByNaturalId(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.


findBatchByNaturalId

java.lang.Object findBatchByNaturalId(int transform,
                                      java.lang.String queryString,
                                      java.lang.Integer id)

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


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.

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.

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.

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.

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.