fr.ifremer.allegro.administration.programStrategy
Interface AppliedStrategyDao

All Known Implementing Classes:
AppliedStrategyDaoBase, AppliedStrategyDaoImpl

public interface AppliedStrategyDao

See Also:
AppliedStrategy

Field Summary
static int TRANSFORM_CLUSTERAPPLIEDSTRATEGY
          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_REMOTEAPPLIEDSTRATEGYFULLVO
          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_REMOTEAPPLIEDSTRATEGYNATURALID
          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
 AppliedStrategy clusterAppliedStrategyToEntity(ClusterAppliedStrategy clusterAppliedStrategy)
          Converts an instance of type ClusterAppliedStrategy to this DAO's entity.
 void clusterAppliedStrategyToEntity(ClusterAppliedStrategy source, AppliedStrategy target, boolean copyIfNull)
          Copies the fields of ClusterAppliedStrategy to the specified entity.
 void clusterAppliedStrategyToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterAppliedStrategy to this DAO's entity.
 AppliedStrategy create(AppliedStrategy appliedStrategy)
          Creates an instance of fr.ifremer.allegro.administration.programStrategy.AppliedStrategy and adds it to the persistent store.
 java.util.Collection create(java.util.Collection entities)
          Creates a new instance of fr.ifremer.allegro.administration.programStrategy.AppliedStrategy and adds from the passed in entities collection
 AppliedStrategy create(java.util.Collection appliedPeriods, java.util.Collection pmfmAppliedStrategies, Strategy strategy, Location location, java.util.Collection batchModelAppliedStrategies)
           Creates a new fr.ifremer.allegro.administration.programStrategy.AppliedStrategy instance from all attributes and properties and adds it to the persistent store.
 AppliedStrategy create(java.util.Collection appliedPeriods, Location location, Strategy strategy)
           Creates a new fr.ifremer.allegro.administration.programStrategy.AppliedStrategy instance from only required properties (attributes and association ends) and adds it to the persistent store.
 java.lang.Object create(int transform, AppliedStrategy appliedStrategy)
           Does the same thing as create(fr.ifremer.allegro.administration.programStrategy.AppliedStrategy) 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.administration.programStrategy.AppliedStrategy) with an additional flag called transform.
 java.lang.Object create(int transform, java.util.Collection appliedPeriods, java.util.Collection pmfmAppliedStrategies, Strategy strategy, Location location, java.util.Collection batchModelAppliedStrategies)
           Does the same thing as create(java.util.Collection,java.util.Collection,fr.ifremer.allegro.administration.programStrategy.Strategy,fr.ifremer.allegro.referential.location.Location,java.util.Collection) with an additional flag called transform.
 java.lang.Object create(int transform, java.util.Collection appliedPeriods, Location location, Strategy strategy)
           Does the same thing as create(java.util.Collection,fr.ifremer.allegro.referential.location.Location,fr.ifremer.allegro.administration.programStrategy.Strategy) with an additional flag called transform.
 AppliedStrategy createFromClusterAppliedStrategy(ClusterAppliedStrategy clusterAppliedStrategy)
           
 AppliedStrategy findAppliedStrategyById(java.lang.Integer id)
           
 java.lang.Object findAppliedStrategyById(int transform, java.lang.Integer id)
           Does the same thing as findAppliedStrategyById(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findAppliedStrategyById(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as findAppliedStrategyById(int, java.lang.Integer) with an additional argument called queryString.
 AppliedStrategy findAppliedStrategyById(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as findAppliedStrategyById(java.lang.Integer) with an additional argument called queryString.
 java.util.Collection findAppliedStrategyByLocation(int transform, int pageNumber, int pageSize, Location location)
           Does the same thing as findAppliedStrategyByLocation(int, fr.ifremer.allegro.referential.location.Location) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findAppliedStrategyByLocation(int pageNumber, int pageSize, Location location)
           Does the same thing as findAppliedStrategyByLocation(fr.ifremer.allegro.referential.location.Location) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findAppliedStrategyByLocation(int transform, Location location)
           Does the same thing as findAppliedStrategyByLocation(fr.ifremer.allegro.referential.location.Location) with an additional flag called transform.
 java.util.Collection findAppliedStrategyByLocation(int transform, java.lang.String queryString, int pageNumber, int pageSize, Location location)
           Does the same thing as findAppliedStrategyByLocation(int, String, fr.ifremer.allegro.referential.location.Location) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findAppliedStrategyByLocation(int transform, java.lang.String queryString, Location location)
           Does the same thing as findAppliedStrategyByLocation(int, fr.ifremer.allegro.referential.location.Location) with an additional argument called queryString.
 java.util.Collection findAppliedStrategyByLocation(Location location)
           
 java.util.Collection findAppliedStrategyByLocation(java.lang.String queryString, int pageNumber, int pageSize, Location location)
           Does the same thing as findAppliedStrategyByLocation(String, fr.ifremer.allegro.referential.location.Location) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findAppliedStrategyByLocation(java.lang.String queryString, Location location)
           Does the same thing as findAppliedStrategyByLocation(fr.ifremer.allegro.referential.location.Location) with an additional argument called queryString.
 AppliedStrategy findAppliedStrategyByNaturalId(java.lang.Integer id)
           
 java.lang.Object findAppliedStrategyByNaturalId(int transform, java.lang.Integer id)
           Does the same thing as findAppliedStrategyByNaturalId(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findAppliedStrategyByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as findAppliedStrategyByNaturalId(int, java.lang.Integer) with an additional argument called queryString.
 AppliedStrategy findAppliedStrategyByNaturalId(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as findAppliedStrategyByNaturalId(java.lang.Integer) with an additional argument called queryString.
 java.util.Collection findAppliedStrategyByStrategy(int transform, int pageNumber, int pageSize, Strategy strategy)
           Does the same thing as findAppliedStrategyByStrategy(int, fr.ifremer.allegro.administration.programStrategy.Strategy) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findAppliedStrategyByStrategy(int pageNumber, int pageSize, Strategy strategy)
           Does the same thing as findAppliedStrategyByStrategy(fr.ifremer.allegro.administration.programStrategy.Strategy) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findAppliedStrategyByStrategy(int transform, Strategy strategy)
           Does the same thing as findAppliedStrategyByStrategy(fr.ifremer.allegro.administration.programStrategy.Strategy) with an additional flag called transform.
 java.util.Collection findAppliedStrategyByStrategy(int transform, java.lang.String queryString, int pageNumber, int pageSize, Strategy strategy)
           Does the same thing as findAppliedStrategyByStrategy(int, String, fr.ifremer.allegro.administration.programStrategy.Strategy) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findAppliedStrategyByStrategy(int transform, java.lang.String queryString, Strategy strategy)
           Does the same thing as findAppliedStrategyByStrategy(int, fr.ifremer.allegro.administration.programStrategy.Strategy) with an additional argument called queryString.
 java.util.Collection findAppliedStrategyByStrategy(Strategy strategy)
           
 java.util.Collection findAppliedStrategyByStrategy(java.lang.String queryString, int pageNumber, int pageSize, Strategy strategy)
           Does the same thing as findAppliedStrategyByStrategy(String, fr.ifremer.allegro.administration.programStrategy.Strategy) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findAppliedStrategyByStrategy(java.lang.String queryString, Strategy strategy)
           Does the same thing as findAppliedStrategyByStrategy(fr.ifremer.allegro.administration.programStrategy.Strategy) with an additional argument called queryString.
 java.util.Collection getAllAppliedStrategy()
           
 java.util.Collection getAllAppliedStrategy(int transform)
           Does the same thing as getAllAppliedStrategy() with an additional flag called transform.
 java.util.Collection getAllAppliedStrategy(int pageNumber, int pageSize)
           Does the same thing as getAllAppliedStrategy() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllAppliedStrategy(int transform, int pageNumber, int pageSize)
           Does the same thing as getAllAppliedStrategy(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllAppliedStrategy(int transform, java.lang.String queryString)
           Does the same thing as getAllAppliedStrategy(int) with an additional argument called queryString.
 java.util.Collection getAllAppliedStrategy(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as getAllAppliedStrategy(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllAppliedStrategy(java.lang.String queryString)
           Does the same thing as getAllAppliedStrategy() with an additional argument called queryString.
 java.util.Collection getAllAppliedStrategy(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as getAllAppliedStrategy(String) with an additional two arguments called pageNumber and pageSize.
 AppliedStrategy load(java.lang.Integer id)
          Loads an instance of fr.ifremer.allegro.administration.programStrategy.AppliedStrategy 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 AppliedStrategy.
 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.
 AppliedStrategy remoteAppliedStrategyFullVOToEntity(RemoteAppliedStrategyFullVO remoteAppliedStrategyFullVO)
          Converts an instance of type RemoteAppliedStrategyFullVO to this DAO's entity.
 void remoteAppliedStrategyFullVOToEntity(RemoteAppliedStrategyFullVO source, AppliedStrategy target, boolean copyIfNull)
          Copies the fields of RemoteAppliedStrategyFullVO to the specified entity.
 void remoteAppliedStrategyFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteAppliedStrategyFullVO to this DAO's entity.
 AppliedStrategy remoteAppliedStrategyNaturalIdToEntity(RemoteAppliedStrategyNaturalId remoteAppliedStrategyNaturalId)
          Converts an instance of type RemoteAppliedStrategyNaturalId to this DAO's entity.
 void remoteAppliedStrategyNaturalIdToEntity(RemoteAppliedStrategyNaturalId source, AppliedStrategy target, boolean copyIfNull)
          Copies the fields of RemoteAppliedStrategyNaturalId to the specified entity.
 void remoteAppliedStrategyNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteAppliedStrategyNaturalId to this DAO's entity.
 void remove(AppliedStrategy appliedStrategy)
          Removes the instance of fr.ifremer.allegro.administration.programStrategy.AppliedStrategy 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.administration.programStrategy.AppliedStrategy 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.
 ClusterAppliedStrategy toClusterAppliedStrategy(AppliedStrategy entity)
          Converts this DAO's entity to an object of type ClusterAppliedStrategy.
 void toClusterAppliedStrategy(AppliedStrategy source, ClusterAppliedStrategy target)
          Copies the fields of the specified entity to the target value object.
 ClusterAppliedStrategy[] toClusterAppliedStrategyArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterAppliedStrategy.
 void toClusterAppliedStrategyCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterAppliedStrategy.
 RemoteAppliedStrategyFullVO toRemoteAppliedStrategyFullVO(AppliedStrategy entity)
          Converts this DAO's entity to an object of type RemoteAppliedStrategyFullVO.
 void toRemoteAppliedStrategyFullVO(AppliedStrategy source, RemoteAppliedStrategyFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteAppliedStrategyFullVO[] toRemoteAppliedStrategyFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteAppliedStrategyFullVO.
 void toRemoteAppliedStrategyFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteAppliedStrategyFullVO.
 RemoteAppliedStrategyNaturalId toRemoteAppliedStrategyNaturalId(AppliedStrategy entity)
          Converts this DAO's entity to an object of type RemoteAppliedStrategyNaturalId.
 void toRemoteAppliedStrategyNaturalId(AppliedStrategy source, RemoteAppliedStrategyNaturalId target)
          Copies the fields of the specified entity to the target value object.
 RemoteAppliedStrategyNaturalId[] toRemoteAppliedStrategyNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteAppliedStrategyNaturalId.
 void toRemoteAppliedStrategyNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteAppliedStrategyNaturalId.
 void update(AppliedStrategy appliedStrategy)
          Updates the appliedStrategy 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_REMOTEAPPLIEDSTRATEGYFULLVO

static final int TRANSFORM_REMOTEAPPLIEDSTRATEGYFULLVO
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 RemoteAppliedStrategyFullVO.

See Also:
Constant Field Values

TRANSFORM_REMOTEAPPLIEDSTRATEGYNATURALID

static final int TRANSFORM_REMOTEAPPLIEDSTRATEGYNATURALID
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 RemoteAppliedStrategyNaturalId.

See Also:
Constant Field Values

TRANSFORM_CLUSTERAPPLIEDSTRATEGY

static final int TRANSFORM_CLUSTERAPPLIEDSTRATEGY
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 ClusterAppliedStrategy.

See Also:
Constant Field Values
Method Detail

toRemoteAppliedStrategyFullVO

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


toRemoteAppliedStrategyFullVO

RemoteAppliedStrategyFullVO toRemoteAppliedStrategyFullVO(AppliedStrategy entity)
Converts this DAO's entity to an object of type RemoteAppliedStrategyFullVO.


toRemoteAppliedStrategyFullVOCollection

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


toRemoteAppliedStrategyFullVOArray

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


remoteAppliedStrategyFullVOToEntity

void remoteAppliedStrategyFullVOToEntity(RemoteAppliedStrategyFullVO source,
                                         AppliedStrategy target,
                                         boolean copyIfNull)
Copies the fields of RemoteAppliedStrategyFullVO 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.

remoteAppliedStrategyFullVOToEntity

AppliedStrategy remoteAppliedStrategyFullVOToEntity(RemoteAppliedStrategyFullVO remoteAppliedStrategyFullVO)
Converts an instance of type RemoteAppliedStrategyFullVO to this DAO's entity.


remoteAppliedStrategyFullVOToEntityCollection

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


toRemoteAppliedStrategyNaturalId

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


toRemoteAppliedStrategyNaturalId

RemoteAppliedStrategyNaturalId toRemoteAppliedStrategyNaturalId(AppliedStrategy entity)
Converts this DAO's entity to an object of type RemoteAppliedStrategyNaturalId.


toRemoteAppliedStrategyNaturalIdCollection

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


toRemoteAppliedStrategyNaturalIdArray

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


remoteAppliedStrategyNaturalIdToEntity

void remoteAppliedStrategyNaturalIdToEntity(RemoteAppliedStrategyNaturalId source,
                                            AppliedStrategy target,
                                            boolean copyIfNull)
Copies the fields of RemoteAppliedStrategyNaturalId 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.

remoteAppliedStrategyNaturalIdToEntity

AppliedStrategy remoteAppliedStrategyNaturalIdToEntity(RemoteAppliedStrategyNaturalId remoteAppliedStrategyNaturalId)
Converts an instance of type RemoteAppliedStrategyNaturalId to this DAO's entity.


remoteAppliedStrategyNaturalIdToEntityCollection

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


toClusterAppliedStrategy

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


toClusterAppliedStrategy

ClusterAppliedStrategy toClusterAppliedStrategy(AppliedStrategy entity)
Converts this DAO's entity to an object of type ClusterAppliedStrategy.


toClusterAppliedStrategyCollection

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


toClusterAppliedStrategyArray

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


clusterAppliedStrategyToEntity

void clusterAppliedStrategyToEntity(ClusterAppliedStrategy source,
                                    AppliedStrategy target,
                                    boolean copyIfNull)
Copies the fields of ClusterAppliedStrategy 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.

clusterAppliedStrategyToEntity

AppliedStrategy clusterAppliedStrategyToEntity(ClusterAppliedStrategy clusterAppliedStrategy)
Converts an instance of type ClusterAppliedStrategy to this DAO's entity.


clusterAppliedStrategyToEntityCollection

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


load

AppliedStrategy load(java.lang.Integer id)
Loads an instance of fr.ifremer.allegro.administration.programStrategy.AppliedStrategy 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 AppliedStrategy.

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

AppliedStrategy create(AppliedStrategy appliedStrategy)
Creates an instance of fr.ifremer.allegro.administration.programStrategy.AppliedStrategy and adds it to the persistent store.


create

java.lang.Object create(int transform,
                        AppliedStrategy appliedStrategy)

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

Parameters:
entities - the collection of fr.ifremer.allegro.administration.programStrategy.AppliedStrategy 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.administration.programStrategy.AppliedStrategy) 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

AppliedStrategy create(java.util.Collection appliedPeriods,
                       java.util.Collection pmfmAppliedStrategies,
                       Strategy strategy,
                       Location location,
                       java.util.Collection batchModelAppliedStrategies)

Creates a new fr.ifremer.allegro.administration.programStrategy.AppliedStrategy instance from all attributes and properties and adds it to the persistent store.


create

java.lang.Object create(int transform,
                        java.util.Collection appliedPeriods,
                        java.util.Collection pmfmAppliedStrategies,
                        Strategy strategy,
                        Location location,
                        java.util.Collection batchModelAppliedStrategies)

Does the same thing as create(java.util.Collection,java.util.Collection,fr.ifremer.allegro.administration.programStrategy.Strategy,fr.ifremer.allegro.referential.location.Location,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

AppliedStrategy create(java.util.Collection appliedPeriods,
                       Location location,
                       Strategy strategy)

Creates a new fr.ifremer.allegro.administration.programStrategy.AppliedStrategy instance from only required properties (attributes and association ends) and adds it to the persistent store.


create

java.lang.Object create(int transform,
                        java.util.Collection appliedPeriods,
                        Location location,
                        Strategy strategy)

Does the same thing as create(java.util.Collection,fr.ifremer.allegro.referential.location.Location,fr.ifremer.allegro.administration.programStrategy.Strategy) 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(AppliedStrategy appliedStrategy)
Updates the appliedStrategy 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(AppliedStrategy appliedStrategy)
Removes the instance of fr.ifremer.allegro.administration.programStrategy.AppliedStrategy from the persistent store.


remove

void remove(java.lang.Integer id)
Removes the instance of fr.ifremer.allegro.administration.programStrategy.AppliedStrategy having the given identifier from the persistent store.


remove

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


getAllAppliedStrategy

java.util.Collection getAllAppliedStrategy()

getAllAppliedStrategy

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

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


getAllAppliedStrategy

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

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


getAllAppliedStrategy

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

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


getAllAppliedStrategy

java.util.Collection getAllAppliedStrategy(int transform)

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


getAllAppliedStrategy

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

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


getAllAppliedStrategy

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

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


getAllAppliedStrategy

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

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


findAppliedStrategyById

AppliedStrategy findAppliedStrategyById(java.lang.Integer id)

findAppliedStrategyById

AppliedStrategy findAppliedStrategyById(java.lang.String queryString,
                                        java.lang.Integer id)

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


findAppliedStrategyById

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

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


findAppliedStrategyById

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

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


findAppliedStrategyByLocation

java.util.Collection findAppliedStrategyByLocation(Location location)

findAppliedStrategyByLocation

java.util.Collection findAppliedStrategyByLocation(java.lang.String queryString,
                                                   Location location)

Does the same thing as findAppliedStrategyByLocation(fr.ifremer.allegro.referential.location.Location) with an additional argument called queryString. This queryString argument allows you to override the query string defined in findAppliedStrategyByLocation(fr.ifremer.allegro.referential.location.Location).


findAppliedStrategyByLocation

java.util.Collection findAppliedStrategyByLocation(int pageNumber,
                                                   int pageSize,
                                                   Location location)

Does the same thing as findAppliedStrategyByLocation(fr.ifremer.allegro.referential.location.Location) 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.


findAppliedStrategyByLocation

java.util.Collection findAppliedStrategyByLocation(java.lang.String queryString,
                                                   int pageNumber,
                                                   int pageSize,
                                                   Location location)

Does the same thing as findAppliedStrategyByLocation(String, fr.ifremer.allegro.referential.location.Location) 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.


findAppliedStrategyByLocation

java.util.Collection findAppliedStrategyByLocation(int transform,
                                                   Location location)

Does the same thing as findAppliedStrategyByLocation(fr.ifremer.allegro.referential.location.Location) 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.


findAppliedStrategyByLocation

java.util.Collection findAppliedStrategyByLocation(int transform,
                                                   int pageNumber,
                                                   int pageSize,
                                                   Location location)

Does the same thing as findAppliedStrategyByLocation(int, fr.ifremer.allegro.referential.location.Location) 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.


findAppliedStrategyByLocation

java.util.Collection findAppliedStrategyByLocation(int transform,
                                                   java.lang.String queryString,
                                                   Location location)

Does the same thing as findAppliedStrategyByLocation(int, fr.ifremer.allegro.referential.location.Location) with an additional argument called queryString. This queryString argument allows you to override the query string defined in findAppliedStrategyByLocation(int, fr.ifremer.allegro.referential.location.Location location).


findAppliedStrategyByLocation

java.util.Collection findAppliedStrategyByLocation(int transform,
                                                   java.lang.String queryString,
                                                   int pageNumber,
                                                   int pageSize,
                                                   Location location)

Does the same thing as findAppliedStrategyByLocation(int, String, fr.ifremer.allegro.referential.location.Location) 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.


findAppliedStrategyByStrategy

java.util.Collection findAppliedStrategyByStrategy(Strategy strategy)

findAppliedStrategyByStrategy

java.util.Collection findAppliedStrategyByStrategy(java.lang.String queryString,
                                                   Strategy strategy)

Does the same thing as findAppliedStrategyByStrategy(fr.ifremer.allegro.administration.programStrategy.Strategy) with an additional argument called queryString. This queryString argument allows you to override the query string defined in findAppliedStrategyByStrategy(fr.ifremer.allegro.administration.programStrategy.Strategy).


findAppliedStrategyByStrategy

java.util.Collection findAppliedStrategyByStrategy(int pageNumber,
                                                   int pageSize,
                                                   Strategy strategy)

Does the same thing as findAppliedStrategyByStrategy(fr.ifremer.allegro.administration.programStrategy.Strategy) 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.


findAppliedStrategyByStrategy

java.util.Collection findAppliedStrategyByStrategy(java.lang.String queryString,
                                                   int pageNumber,
                                                   int pageSize,
                                                   Strategy strategy)

Does the same thing as findAppliedStrategyByStrategy(String, fr.ifremer.allegro.administration.programStrategy.Strategy) 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.


findAppliedStrategyByStrategy

java.util.Collection findAppliedStrategyByStrategy(int transform,
                                                   Strategy strategy)

Does the same thing as findAppliedStrategyByStrategy(fr.ifremer.allegro.administration.programStrategy.Strategy) 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.


findAppliedStrategyByStrategy

java.util.Collection findAppliedStrategyByStrategy(int transform,
                                                   int pageNumber,
                                                   int pageSize,
                                                   Strategy strategy)

Does the same thing as findAppliedStrategyByStrategy(int, fr.ifremer.allegro.administration.programStrategy.Strategy) 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.


findAppliedStrategyByStrategy

java.util.Collection findAppliedStrategyByStrategy(int transform,
                                                   java.lang.String queryString,
                                                   Strategy strategy)

Does the same thing as findAppliedStrategyByStrategy(int, fr.ifremer.allegro.administration.programStrategy.Strategy) with an additional argument called queryString. This queryString argument allows you to override the query string defined in findAppliedStrategyByStrategy(int, fr.ifremer.allegro.administration.programStrategy.Strategy strategy).


findAppliedStrategyByStrategy

java.util.Collection findAppliedStrategyByStrategy(int transform,
                                                   java.lang.String queryString,
                                                   int pageNumber,
                                                   int pageSize,
                                                   Strategy strategy)

Does the same thing as findAppliedStrategyByStrategy(int, String, fr.ifremer.allegro.administration.programStrategy.Strategy) 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.


findAppliedStrategyByNaturalId

AppliedStrategy findAppliedStrategyByNaturalId(java.lang.Integer id)

findAppliedStrategyByNaturalId

AppliedStrategy findAppliedStrategyByNaturalId(java.lang.String queryString,
                                               java.lang.Integer id)

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


findAppliedStrategyByNaturalId

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

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


findAppliedStrategyByNaturalId

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

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


createFromClusterAppliedStrategy

AppliedStrategy createFromClusterAppliedStrategy(ClusterAppliedStrategy clusterAppliedStrategy)

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.