fr.ifremer.allegro.referential
Interface StatusDao

All Known Implementing Classes:
StatusDaoBase, StatusDaoImpl

public interface StatusDao

See Also:
Status

Field Summary
static int TRANSFORM_CLUSTERSTATUS
          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_REMOTESTATUSFULLVO
          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_REMOTESTATUSNATURALID
          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
 Status clusterStatusToEntity(ClusterStatus clusterStatus)
          Converts an instance of type ClusterStatus to this DAO's entity.
 void clusterStatusToEntity(ClusterStatus source, Status target, boolean copyIfNull)
          Copies the fields of ClusterStatus to the specified entity.
 void clusterStatusToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterStatus to this DAO's entity.
 java.util.Collection create(java.util.Collection entities)
          Creates a new instance of fr.ifremer.allegro.referential.Status and adds from the passed in entities collection
 java.util.Collection create(int transform, java.util.Collection entities)
           Does the same thing as create(fr.ifremer.allegro.referential.Status) with an additional flag called transform.
 java.lang.Object create(int transform, Status status)
           Does the same thing as create(fr.ifremer.allegro.referential.Status) with an additional flag called transform.
 java.lang.Object create(int transform, java.lang.String code, java.lang.String name)
           Does the same thing as create(java.lang.String,java.lang.String) with an additional flag called transform.
 Status create(Status status)
          Creates an instance of fr.ifremer.allegro.referential.Status and adds it to the persistent store.
 Status create(java.lang.String code, java.lang.String name)
           Creates a new fr.ifremer.allegro.referential.Status instance from all attributes and properties and adds it to the persistent store.
 Status createFromClusterStatus(ClusterStatus clusterStatus)
           
 java.lang.Object findStatusByCode(int transform, java.lang.String code)
           Does the same thing as findStatusByCode(java.lang.String) with an additional flag called transform.
 java.lang.Object findStatusByCode(int transform, java.lang.String queryString, java.lang.String code)
           Does the same thing as findStatusByCode(int, java.lang.String) with an additional argument called queryString.
 Status findStatusByCode(java.lang.String code)
           
 Status findStatusByCode(java.lang.String queryString, java.lang.String code)
           Does the same thing as findStatusByCode(java.lang.String) with an additional argument called queryString.
 java.lang.Object findStatusByNaturalId(int transform, java.lang.String code)
           Does the same thing as findStatusByNaturalId(java.lang.String) with an additional flag called transform.
 java.lang.Object findStatusByNaturalId(int transform, java.lang.String queryString, java.lang.String code)
           Does the same thing as findStatusByNaturalId(int, java.lang.String) with an additional argument called queryString.
 Status findStatusByNaturalId(java.lang.String code)
           
 Status findStatusByNaturalId(java.lang.String queryString, java.lang.String code)
           Does the same thing as findStatusByNaturalId(java.lang.String) with an additional argument called queryString.
 ClusterStatus[] getAllClusterStatus(java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
 java.util.Collection getAllStatus()
           
 java.util.Collection getAllStatus(int transform)
           Does the same thing as getAllStatus() with an additional flag called transform.
 java.util.Collection getAllStatus(int pageNumber, int pageSize)
           Does the same thing as getAllStatus() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllStatus(int transform, int pageNumber, int pageSize)
           Does the same thing as getAllStatus(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllStatus(int transform, java.lang.String queryString)
           Does the same thing as getAllStatus(int) with an additional argument called queryString.
 java.util.Collection getAllStatus(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as getAllStatus(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllStatus(java.lang.String queryString)
           Does the same thing as getAllStatus() with an additional argument called queryString.
 java.util.Collection getAllStatus(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as getAllStatus(String) with an additional two arguments called pageNumber and pageSize.
 java.lang.Object load(int transform, java.lang.String code)
           Does the same thing as load(java.lang.String) with an additional flag called transform.
 Status load(java.lang.String code)
          Loads an instance of fr.ifremer.allegro.referential.Status from the persistent store.
 java.util.Collection loadAll()
          Loads all entities of type Status.
 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.
 Status remoteStatusFullVOToEntity(RemoteStatusFullVO remoteStatusFullVO)
          Converts an instance of type RemoteStatusFullVO to this DAO's entity.
 void remoteStatusFullVOToEntity(RemoteStatusFullVO source, Status target, boolean copyIfNull)
          Copies the fields of RemoteStatusFullVO to the specified entity.
 void remoteStatusFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteStatusFullVO to this DAO's entity.
 Status remoteStatusNaturalIdToEntity(RemoteStatusNaturalId remoteStatusNaturalId)
          Converts an instance of type RemoteStatusNaturalId to this DAO's entity.
 void remoteStatusNaturalIdToEntity(RemoteStatusNaturalId source, Status target, boolean copyIfNull)
          Copies the fields of RemoteStatusNaturalId to the specified entity.
 void remoteStatusNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteStatusNaturalId to this DAO's entity.
 void remove(java.util.Collection entities)
          Removes all entities in the given entities collection.
 void remove(Status status)
          Removes the instance of fr.ifremer.allegro.referential.Status from the persistent store.
 void remove(java.lang.String code)
          Removes the instance of fr.ifremer.allegro.referential.Status 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.
 ClusterStatus toClusterStatus(Status entity)
          Converts this DAO's entity to an object of type ClusterStatus.
 void toClusterStatus(Status source, ClusterStatus target)
          Copies the fields of the specified entity to the target value object.
 ClusterStatus[] toClusterStatusArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterStatus.
 void toClusterStatusCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterStatus.
 RemoteStatusFullVO toRemoteStatusFullVO(Status entity)
          Converts this DAO's entity to an object of type RemoteStatusFullVO.
 void toRemoteStatusFullVO(Status source, RemoteStatusFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteStatusFullVO[] toRemoteStatusFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteStatusFullVO.
 void toRemoteStatusFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteStatusFullVO.
 RemoteStatusNaturalId toRemoteStatusNaturalId(Status entity)
          Converts this DAO's entity to an object of type RemoteStatusNaturalId.
 void toRemoteStatusNaturalId(Status source, RemoteStatusNaturalId target)
          Copies the fields of the specified entity to the target value object.
 RemoteStatusNaturalId[] toRemoteStatusNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteStatusNaturalId.
 void toRemoteStatusNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteStatusNaturalId.
 void update(java.util.Collection entities)
          Updates all instances in the entities collection in the persistent store.
 void update(Status status)
          Updates the status instance 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_REMOTESTATUSFULLVO

static final int TRANSFORM_REMOTESTATUSFULLVO
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 RemoteStatusFullVO.

See Also:
Constant Field Values

TRANSFORM_REMOTESTATUSNATURALID

static final int TRANSFORM_REMOTESTATUSNATURALID
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 RemoteStatusNaturalId.

See Also:
Constant Field Values

TRANSFORM_CLUSTERSTATUS

static final int TRANSFORM_CLUSTERSTATUS
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 ClusterStatus.

See Also:
Constant Field Values
Method Detail

toRemoteStatusFullVO

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


toRemoteStatusFullVO

RemoteStatusFullVO toRemoteStatusFullVO(Status entity)
Converts this DAO's entity to an object of type RemoteStatusFullVO.


toRemoteStatusFullVOCollection

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


toRemoteStatusFullVOArray

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


remoteStatusFullVOToEntity

void remoteStatusFullVOToEntity(RemoteStatusFullVO source,
                                Status target,
                                boolean copyIfNull)
Copies the fields of RemoteStatusFullVO 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.

remoteStatusFullVOToEntity

Status remoteStatusFullVOToEntity(RemoteStatusFullVO remoteStatusFullVO)
Converts an instance of type RemoteStatusFullVO to this DAO's entity.


remoteStatusFullVOToEntityCollection

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


toRemoteStatusNaturalId

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


toRemoteStatusNaturalId

RemoteStatusNaturalId toRemoteStatusNaturalId(Status entity)
Converts this DAO's entity to an object of type RemoteStatusNaturalId.


toRemoteStatusNaturalIdCollection

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


toRemoteStatusNaturalIdArray

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


remoteStatusNaturalIdToEntity

void remoteStatusNaturalIdToEntity(RemoteStatusNaturalId source,
                                   Status target,
                                   boolean copyIfNull)
Copies the fields of RemoteStatusNaturalId 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.

remoteStatusNaturalIdToEntity

Status remoteStatusNaturalIdToEntity(RemoteStatusNaturalId remoteStatusNaturalId)
Converts an instance of type RemoteStatusNaturalId to this DAO's entity.


remoteStatusNaturalIdToEntityCollection

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


toClusterStatus

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


toClusterStatus

ClusterStatus toClusterStatus(Status entity)
Converts this DAO's entity to an object of type ClusterStatus.


toClusterStatusCollection

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


toClusterStatusArray

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


clusterStatusToEntity

void clusterStatusToEntity(ClusterStatus source,
                           Status target,
                           boolean copyIfNull)
Copies the fields of ClusterStatus 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.

clusterStatusToEntity

Status clusterStatusToEntity(ClusterStatus clusterStatus)
Converts an instance of type ClusterStatus to this DAO's entity.


clusterStatusToEntityCollection

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


load

Status load(java.lang.String code)
Loads an instance of fr.ifremer.allegro.referential.Status from the persistent store.


load

java.lang.Object load(int transform,
                      java.lang.String code)

Does the same thing as load(java.lang.String) 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:
code - 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 Status.

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.

create

Status create(Status status)
Creates an instance of fr.ifremer.allegro.referential.Status and adds it to the persistent store.


create

java.lang.Object create(int transform,
                        Status status)

Does the same thing as create(fr.ifremer.allegro.referential.Status) 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.referential.Status and adds from the passed in entities collection

Parameters:
entities - the collection of fr.ifremer.allegro.referential.Status 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.referential.Status) 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

Status create(java.lang.String code,
              java.lang.String name)

Creates a new fr.ifremer.allegro.referential.Status instance from all attributes and properties and adds it to the persistent store.


create

java.lang.Object create(int transform,
                        java.lang.String code,
                        java.lang.String name)

Does the same thing as create(java.lang.String,java.lang.String) 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.


update

void update(Status status)
Updates the status 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(Status status)
Removes the instance of fr.ifremer.allegro.referential.Status from the persistent store.


remove

void remove(java.lang.String code)
Removes the instance of fr.ifremer.allegro.referential.Status having the given identifier from the persistent store.


remove

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


getAllStatus

java.util.Collection getAllStatus()

getAllStatus

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

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


getAllStatus

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

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


getAllStatus

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

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


getAllStatus

java.util.Collection getAllStatus(int transform)

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


getAllStatus

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

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


getAllStatus

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

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


getAllStatus

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

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


findStatusByCode

Status findStatusByCode(java.lang.String code)

findStatusByCode

Status findStatusByCode(java.lang.String queryString,
                        java.lang.String code)

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


findStatusByCode

java.lang.Object findStatusByCode(int transform,
                                  java.lang.String code)

Does the same thing as findStatusByCode(java.lang.String) 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.


findStatusByCode

java.lang.Object findStatusByCode(int transform,
                                  java.lang.String queryString,
                                  java.lang.String code)

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


findStatusByNaturalId

Status findStatusByNaturalId(java.lang.String code)

findStatusByNaturalId

Status findStatusByNaturalId(java.lang.String queryString,
                             java.lang.String code)

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


findStatusByNaturalId

java.lang.Object findStatusByNaturalId(int transform,
                                       java.lang.String code)

Does the same thing as findStatusByNaturalId(java.lang.String) 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.


findStatusByNaturalId

java.lang.Object findStatusByNaturalId(int transform,
                                       java.lang.String queryString,
                                       java.lang.String code)

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


createFromClusterStatus

Status createFromClusterStatus(ClusterStatus clusterStatus)

getAllClusterStatus

ClusterStatus[] getAllClusterStatus(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.

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.