|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AppliedStrategyDao
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 |
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 |
---|
static final int TRANSFORM_NONE
int
parameter called transform
.
This specific flag denotes no transformation will occur.
static final int TRANSFORM_REMOTEAPPLIEDSTRATEGYFULLVO
int
parameter called transform
.
This specific flag denotes entities must be transformed into objects of type
RemoteAppliedStrategyFullVO
.
static final int TRANSFORM_REMOTEAPPLIEDSTRATEGYNATURALID
int
parameter called transform
.
This specific flag denotes entities must be transformed into objects of type
RemoteAppliedStrategyNaturalId
.
static final int TRANSFORM_CLUSTERAPPLIEDSTRATEGY
int
parameter called transform
.
This specific flag denotes entities must be transformed into objects of type
ClusterAppliedStrategy
.
Method Detail |
---|
void toRemoteAppliedStrategyFullVO(AppliedStrategy source, RemoteAppliedStrategyFullVO target)
RemoteAppliedStrategyFullVO toRemoteAppliedStrategyFullVO(AppliedStrategy entity)
RemoteAppliedStrategyFullVO
.
void toRemoteAppliedStrategyFullVOCollection(java.util.Collection entities)
RemoteAppliedStrategyFullVO
.
RemoteAppliedStrategyFullVO[] toRemoteAppliedStrategyFullVOArray(java.util.Collection entities)
RemoteAppliedStrategyFullVO
.
void remoteAppliedStrategyFullVOToEntity(RemoteAppliedStrategyFullVO source, AppliedStrategy target, boolean copyIfNull)
RemoteAppliedStrategyFullVO
to the specified entity.
copyIfNull
- If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE,
it will be copied regardless of its value.AppliedStrategy remoteAppliedStrategyFullVOToEntity(RemoteAppliedStrategyFullVO remoteAppliedStrategyFullVO)
RemoteAppliedStrategyFullVO
to this DAO's entity.
void remoteAppliedStrategyFullVOToEntityCollection(java.util.Collection instances)
RemoteAppliedStrategyFullVO
to this
DAO's entity.
void toRemoteAppliedStrategyNaturalId(AppliedStrategy source, RemoteAppliedStrategyNaturalId target)
RemoteAppliedStrategyNaturalId toRemoteAppliedStrategyNaturalId(AppliedStrategy entity)
RemoteAppliedStrategyNaturalId
.
void toRemoteAppliedStrategyNaturalIdCollection(java.util.Collection entities)
RemoteAppliedStrategyNaturalId
.
RemoteAppliedStrategyNaturalId[] toRemoteAppliedStrategyNaturalIdArray(java.util.Collection entities)
RemoteAppliedStrategyNaturalId
.
void remoteAppliedStrategyNaturalIdToEntity(RemoteAppliedStrategyNaturalId source, AppliedStrategy target, boolean copyIfNull)
RemoteAppliedStrategyNaturalId
to the specified entity.
copyIfNull
- If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE,
it will be copied regardless of its value.AppliedStrategy remoteAppliedStrategyNaturalIdToEntity(RemoteAppliedStrategyNaturalId remoteAppliedStrategyNaturalId)
RemoteAppliedStrategyNaturalId
to this DAO's entity.
void remoteAppliedStrategyNaturalIdToEntityCollection(java.util.Collection instances)
RemoteAppliedStrategyNaturalId
to this
DAO's entity.
void toClusterAppliedStrategy(AppliedStrategy source, ClusterAppliedStrategy target)
ClusterAppliedStrategy toClusterAppliedStrategy(AppliedStrategy entity)
ClusterAppliedStrategy
.
void toClusterAppliedStrategyCollection(java.util.Collection entities)
ClusterAppliedStrategy
.
ClusterAppliedStrategy[] toClusterAppliedStrategyArray(java.util.Collection entities)
ClusterAppliedStrategy
.
void clusterAppliedStrategyToEntity(ClusterAppliedStrategy source, AppliedStrategy target, boolean copyIfNull)
ClusterAppliedStrategy
to the specified entity.
copyIfNull
- If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE,
it will be copied regardless of its value.AppliedStrategy clusterAppliedStrategyToEntity(ClusterAppliedStrategy clusterAppliedStrategy)
ClusterAppliedStrategy
to this DAO's entity.
void clusterAppliedStrategyToEntityCollection(java.util.Collection instances)
ClusterAppliedStrategy
to this
DAO's entity.
AppliedStrategy load(java.lang.Integer id)
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.
id
- identifier of the entity to load
java.util.Collection loadAll()
AppliedStrategy
.
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.
transform
- the flag indicating what transformation to use.
java.util.Collection loadAll(int pageNumber, int pageSize)
Does the same thing as loadAll()
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
pageNumber
- the page number to retrieve when paging results.pageSize
- the size of the page to retrieve when paging results.
java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
Does the same thing as loadAll(int)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
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.
AppliedStrategy create(AppliedStrategy appliedStrategy)
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.
java.util.Collection create(java.util.Collection entities)
entities
collection
entities
- the collection of fr.ifremer.allegro.administration.programStrategy.AppliedStrategy
instances to 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.
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.
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.
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, 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.
void update(AppliedStrategy appliedStrategy)
appliedStrategy
instance in the persistent store.
void update(java.util.Collection entities)
entities
collection in the persistent store.
void remove(AppliedStrategy appliedStrategy)
void remove(java.lang.Integer id)
identifier
from the persistent store.
void remove(java.util.Collection entities)
entities collection.
java.util.Collection 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()
.
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.
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.
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.
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.
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)
.
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.
AppliedStrategy findAppliedStrategyById(java.lang.Integer id)
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)
.
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.
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)
.
java.util.Collection findAppliedStrategyByLocation(Location location)
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)
.
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.
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.
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.
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.
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)
.
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.
java.util.Collection findAppliedStrategyByStrategy(Strategy strategy)
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)
.
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.
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.
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.
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.
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)
.
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.
AppliedStrategy findAppliedStrategyByNaturalId(java.lang.Integer id)
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)
.
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.
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)
.
AppliedStrategy createFromClusterAppliedStrategy(ClusterAppliedStrategy clusterAppliedStrategy)
PaginationResult search(int transform, int pageNumber, int pageSize, Search search)
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
transform
- the transformation flag.pageNumber
- the page number in the data to retrievepageSize
- the size of the page to retrieve.search
- the search object which provides the search parameters and pagination specification.
PaginationResult
instance.PaginationResult search(int pageNumber, int pageSize, Search search)
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
pageNumber
- the page number in the data to retrievepageSize
- the size of the page to retrieve.search
- the search object which provides the search parameters and pagination specification.
PaginationResult
instance.java.util.Set search(int transform, Search search)
search(fr.ifremer.allegro.Search)
but with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
transform
- the transformation flag.search
- the search object which provides the search parameters and pagination specification.
java.util.Set search(Search search)
search
object.
search
- the search object which provides the search parameters and pagination specification.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |