fr.ifremer.allegro.administration.programStrategy
Interface AppliedPeriodDao

All Known Implementing Classes:
AppliedPeriodDaoBase, AppliedPeriodDaoImpl

public interface AppliedPeriodDao

See Also:
AppliedPeriod

Field Summary
static int TRANSFORM_CLUSTERAPPLIEDPERIOD
          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_REMOTEAPPLIEDPERIODFULLVO
          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_REMOTEAPPLIEDPERIODNATURALID
          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
 AppliedPeriod clusterAppliedPeriodToEntity(ClusterAppliedPeriod clusterAppliedPeriod)
          Converts an instance of type ClusterAppliedPeriod to this DAO's entity.
 void clusterAppliedPeriodToEntity(ClusterAppliedPeriod source, AppliedPeriod target, boolean copyIfNull)
          Copies the fields of ClusterAppliedPeriod to the specified entity.
 void clusterAppliedPeriodToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterAppliedPeriod to this DAO's entity.
 AppliedPeriod create(AppliedPeriod appliedPeriod)
          Creates an instance of fr.ifremer.allegro.administration.programStrategy.AppliedPeriod 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.AppliedPeriod and adds from the passed in entities collection
 AppliedPeriod create(java.util.Date startDate, java.util.Date endDate, AppliedStrategy appliedStrategy)
           Creates a new fr.ifremer.allegro.administration.programStrategy.AppliedPeriod instance from all attributes and properties and adds it to the persistent store.
 java.lang.Object create(int transform, AppliedPeriod appliedPeriod)
           Does the same thing as create(fr.ifremer.allegro.administration.programStrategy.AppliedPeriod) 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.AppliedPeriod) with an additional flag called transform.
 java.lang.Object create(int transform, java.util.Date startDate, java.util.Date endDate, AppliedStrategy appliedStrategy)
           Does the same thing as create(java.util.Date,java.util.Date,fr.ifremer.allegro.administration.programStrategy.AppliedStrategy) with an additional flag called transform.
 AppliedPeriod createFromClusterAppliedPeriod(ClusterAppliedPeriod clusterAppliedPeriod)
           
 java.util.Collection findAppliedPeriodByAppliedStrategy(AppliedStrategy appliedStrategy)
           
 java.util.Collection findAppliedPeriodByAppliedStrategy(int transform, AppliedStrategy appliedStrategy)
           Does the same thing as findAppliedPeriodByAppliedStrategy(fr.ifremer.allegro.administration.programStrategy.AppliedStrategy) with an additional flag called transform.
 java.util.Collection findAppliedPeriodByAppliedStrategy(int pageNumber, int pageSize, AppliedStrategy appliedStrategy)
           Does the same thing as findAppliedPeriodByAppliedStrategy(fr.ifremer.allegro.administration.programStrategy.AppliedStrategy) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findAppliedPeriodByAppliedStrategy(int transform, int pageNumber, int pageSize, AppliedStrategy appliedStrategy)
           Does the same thing as findAppliedPeriodByAppliedStrategy(int, fr.ifremer.allegro.administration.programStrategy.AppliedStrategy) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findAppliedPeriodByAppliedStrategy(int transform, java.lang.String queryString, AppliedStrategy appliedStrategy)
           Does the same thing as findAppliedPeriodByAppliedStrategy(int, fr.ifremer.allegro.administration.programStrategy.AppliedStrategy) with an additional argument called queryString.
 java.util.Collection findAppliedPeriodByAppliedStrategy(int transform, java.lang.String queryString, int pageNumber, int pageSize, AppliedStrategy appliedStrategy)
           Does the same thing as findAppliedPeriodByAppliedStrategy(int, String, fr.ifremer.allegro.administration.programStrategy.AppliedStrategy) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findAppliedPeriodByAppliedStrategy(java.lang.String queryString, AppliedStrategy appliedStrategy)
           Does the same thing as findAppliedPeriodByAppliedStrategy(fr.ifremer.allegro.administration.programStrategy.AppliedStrategy) with an additional argument called queryString.
 java.util.Collection findAppliedPeriodByAppliedStrategy(java.lang.String queryString, int pageNumber, int pageSize, AppliedStrategy appliedStrategy)
           Does the same thing as findAppliedPeriodByAppliedStrategy(String, fr.ifremer.allegro.administration.programStrategy.AppliedStrategy) with an additional two arguments called pageNumber and pageSize.
 AppliedPeriod findAppliedPeriodByIdentifiers(java.util.Date startDate, AppliedStrategy appliedStrategy)
           
 java.lang.Object findAppliedPeriodByIdentifiers(int transform, java.util.Date startDate, AppliedStrategy appliedStrategy)
           Does the same thing as findAppliedPeriodByIdentifiers(java.util.Date, fr.ifremer.allegro.administration.programStrategy.AppliedStrategy) with an additional flag called transform.
 java.lang.Object findAppliedPeriodByIdentifiers(int transform, java.lang.String queryString, java.util.Date startDate, AppliedStrategy appliedStrategy)
           Does the same thing as findAppliedPeriodByIdentifiers(int, java.util.Date, fr.ifremer.allegro.administration.programStrategy.AppliedStrategy) with an additional argument called queryString.
 AppliedPeriod findAppliedPeriodByIdentifiers(java.lang.String queryString, java.util.Date startDate, AppliedStrategy appliedStrategy)
           Does the same thing as findAppliedPeriodByIdentifiers(java.util.Date, fr.ifremer.allegro.administration.programStrategy.AppliedStrategy) with an additional argument called queryString.
 AppliedPeriod findAppliedPeriodByNaturalId(java.util.Date startDate, AppliedStrategy appliedStrategy)
           
 java.lang.Object findAppliedPeriodByNaturalId(int transform, java.util.Date startDate, AppliedStrategy appliedStrategy)
           Does the same thing as findAppliedPeriodByNaturalId(java.util.Date, fr.ifremer.allegro.administration.programStrategy.AppliedStrategy) with an additional flag called transform.
 java.lang.Object findAppliedPeriodByNaturalId(int transform, java.lang.String queryString, java.util.Date startDate, AppliedStrategy appliedStrategy)
           Does the same thing as findAppliedPeriodByNaturalId(int, java.util.Date, fr.ifremer.allegro.administration.programStrategy.AppliedStrategy) with an additional argument called queryString.
 AppliedPeriod findAppliedPeriodByNaturalId(java.lang.String queryString, java.util.Date startDate, AppliedStrategy appliedStrategy)
           Does the same thing as findAppliedPeriodByNaturalId(java.util.Date, fr.ifremer.allegro.administration.programStrategy.AppliedStrategy) with an additional argument called queryString.
 java.util.Collection findAppliedPeriodByStartDate(java.util.Date startDate)
           
 java.util.Collection findAppliedPeriodByStartDate(int transform, java.util.Date startDate)
           Does the same thing as findAppliedPeriodByStartDate(java.util.Date) with an additional flag called transform.
 java.util.Collection findAppliedPeriodByStartDate(int pageNumber, int pageSize, java.util.Date startDate)
           Does the same thing as findAppliedPeriodByStartDate(java.util.Date) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findAppliedPeriodByStartDate(int transform, int pageNumber, int pageSize, java.util.Date startDate)
           Does the same thing as findAppliedPeriodByStartDate(int, java.util.Date) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findAppliedPeriodByStartDate(int transform, java.lang.String queryString, java.util.Date startDate)
           Does the same thing as findAppliedPeriodByStartDate(int, java.util.Date) with an additional argument called queryString.
 java.util.Collection findAppliedPeriodByStartDate(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.util.Date startDate)
           Does the same thing as findAppliedPeriodByStartDate(int, String, java.util.Date) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findAppliedPeriodByStartDate(java.lang.String queryString, java.util.Date startDate)
           Does the same thing as findAppliedPeriodByStartDate(java.util.Date) with an additional argument called queryString.
 java.util.Collection findAppliedPeriodByStartDate(java.lang.String queryString, int pageNumber, int pageSize, java.util.Date startDate)
           Does the same thing as findAppliedPeriodByStartDate(String, java.util.Date) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllAppliedPeriod()
           
 java.util.Collection getAllAppliedPeriod(int transform)
           Does the same thing as getAllAppliedPeriod() with an additional flag called transform.
 java.util.Collection getAllAppliedPeriod(int pageNumber, int pageSize)
           Does the same thing as getAllAppliedPeriod() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllAppliedPeriod(int transform, int pageNumber, int pageSize)
           Does the same thing as getAllAppliedPeriod(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllAppliedPeriod(int transform, java.lang.String queryString)
           Does the same thing as getAllAppliedPeriod(int) with an additional argument called queryString.
 java.util.Collection getAllAppliedPeriod(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as getAllAppliedPeriod(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllAppliedPeriod(java.lang.String queryString)
           Does the same thing as getAllAppliedPeriod() with an additional argument called queryString.
 java.util.Collection getAllAppliedPeriod(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as getAllAppliedPeriod(String) with an additional two arguments called pageNumber and pageSize.
 AppliedPeriod load(java.util.Date startDate, AppliedStrategy appliedStrategy)
          Loads an instance of fr.ifremer.allegro.administration.programStrategy.AppliedPeriod from the persistent store.
 java.lang.Object load(int transform, java.util.Date startDate, AppliedStrategy appliedStrategy)
           Does the same thing as load(java.util.Date,fr.ifremer.allegro.administration.programStrategy.AppliedStrategy) with an additional flag called transform.
 java.util.Collection loadAll()
          Loads all entities of type AppliedPeriod.
 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.
 AppliedPeriod remoteAppliedPeriodFullVOToEntity(RemoteAppliedPeriodFullVO remoteAppliedPeriodFullVO)
          Converts an instance of type RemoteAppliedPeriodFullVO to this DAO's entity.
 void remoteAppliedPeriodFullVOToEntity(RemoteAppliedPeriodFullVO source, AppliedPeriod target, boolean copyIfNull)
          Copies the fields of RemoteAppliedPeriodFullVO to the specified entity.
 void remoteAppliedPeriodFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteAppliedPeriodFullVO to this DAO's entity.
 AppliedPeriod remoteAppliedPeriodNaturalIdToEntity(RemoteAppliedPeriodNaturalId remoteAppliedPeriodNaturalId)
          Converts an instance of type RemoteAppliedPeriodNaturalId to this DAO's entity.
 void remoteAppliedPeriodNaturalIdToEntity(RemoteAppliedPeriodNaturalId source, AppliedPeriod target, boolean copyIfNull)
          Copies the fields of RemoteAppliedPeriodNaturalId to the specified entity.
 void remoteAppliedPeriodNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteAppliedPeriodNaturalId to this DAO's entity.
 void remove(AppliedPeriod appliedPeriod)
          Removes the instance of fr.ifremer.allegro.administration.programStrategy.AppliedPeriod from the persistent store.
 void remove(java.util.Collection entities)
          Removes all entities in the given entities collection.
 void remove(java.util.Date startDate, AppliedStrategy appliedStrategy)
          Removes the instance of fr.ifremer.allegro.administration.programStrategy.AppliedPeriod having the given identifiers 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.
 ClusterAppliedPeriod toClusterAppliedPeriod(AppliedPeriod entity)
          Converts this DAO's entity to an object of type ClusterAppliedPeriod.
 void toClusterAppliedPeriod(AppliedPeriod source, ClusterAppliedPeriod target)
          Copies the fields of the specified entity to the target value object.
 ClusterAppliedPeriod[] toClusterAppliedPeriodArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterAppliedPeriod.
 void toClusterAppliedPeriodCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterAppliedPeriod.
 RemoteAppliedPeriodFullVO toRemoteAppliedPeriodFullVO(AppliedPeriod entity)
          Converts this DAO's entity to an object of type RemoteAppliedPeriodFullVO.
 void toRemoteAppliedPeriodFullVO(AppliedPeriod source, RemoteAppliedPeriodFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteAppliedPeriodFullVO[] toRemoteAppliedPeriodFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteAppliedPeriodFullVO.
 void toRemoteAppliedPeriodFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteAppliedPeriodFullVO.
 RemoteAppliedPeriodNaturalId toRemoteAppliedPeriodNaturalId(AppliedPeriod entity)
          Converts this DAO's entity to an object of type RemoteAppliedPeriodNaturalId.
 void toRemoteAppliedPeriodNaturalId(AppliedPeriod source, RemoteAppliedPeriodNaturalId target)
          Copies the fields of the specified entity to the target value object.
 RemoteAppliedPeriodNaturalId[] toRemoteAppliedPeriodNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteAppliedPeriodNaturalId.
 void toRemoteAppliedPeriodNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteAppliedPeriodNaturalId.
 void update(AppliedPeriod appliedPeriod)
          Updates the appliedPeriod 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_REMOTEAPPLIEDPERIODFULLVO

static final int TRANSFORM_REMOTEAPPLIEDPERIODFULLVO
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 RemoteAppliedPeriodFullVO.

See Also:
Constant Field Values

TRANSFORM_REMOTEAPPLIEDPERIODNATURALID

static final int TRANSFORM_REMOTEAPPLIEDPERIODNATURALID
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 RemoteAppliedPeriodNaturalId.

See Also:
Constant Field Values

TRANSFORM_CLUSTERAPPLIEDPERIOD

static final int TRANSFORM_CLUSTERAPPLIEDPERIOD
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 ClusterAppliedPeriod.

See Also:
Constant Field Values
Method Detail

toRemoteAppliedPeriodFullVO

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


toRemoteAppliedPeriodFullVO

RemoteAppliedPeriodFullVO toRemoteAppliedPeriodFullVO(AppliedPeriod entity)
Converts this DAO's entity to an object of type RemoteAppliedPeriodFullVO.


toRemoteAppliedPeriodFullVOCollection

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


toRemoteAppliedPeriodFullVOArray

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


remoteAppliedPeriodFullVOToEntity

void remoteAppliedPeriodFullVOToEntity(RemoteAppliedPeriodFullVO source,
                                       AppliedPeriod target,
                                       boolean copyIfNull)
Copies the fields of RemoteAppliedPeriodFullVO 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.

remoteAppliedPeriodFullVOToEntity

AppliedPeriod remoteAppliedPeriodFullVOToEntity(RemoteAppliedPeriodFullVO remoteAppliedPeriodFullVO)
Converts an instance of type RemoteAppliedPeriodFullVO to this DAO's entity.


remoteAppliedPeriodFullVOToEntityCollection

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


toRemoteAppliedPeriodNaturalId

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


toRemoteAppliedPeriodNaturalId

RemoteAppliedPeriodNaturalId toRemoteAppliedPeriodNaturalId(AppliedPeriod entity)
Converts this DAO's entity to an object of type RemoteAppliedPeriodNaturalId.


toRemoteAppliedPeriodNaturalIdCollection

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


toRemoteAppliedPeriodNaturalIdArray

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


remoteAppliedPeriodNaturalIdToEntity

void remoteAppliedPeriodNaturalIdToEntity(RemoteAppliedPeriodNaturalId source,
                                          AppliedPeriod target,
                                          boolean copyIfNull)
Copies the fields of RemoteAppliedPeriodNaturalId 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.

remoteAppliedPeriodNaturalIdToEntity

AppliedPeriod remoteAppliedPeriodNaturalIdToEntity(RemoteAppliedPeriodNaturalId remoteAppliedPeriodNaturalId)
Converts an instance of type RemoteAppliedPeriodNaturalId to this DAO's entity.


remoteAppliedPeriodNaturalIdToEntityCollection

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


toClusterAppliedPeriod

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


toClusterAppliedPeriod

ClusterAppliedPeriod toClusterAppliedPeriod(AppliedPeriod entity)
Converts this DAO's entity to an object of type ClusterAppliedPeriod.


toClusterAppliedPeriodCollection

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


toClusterAppliedPeriodArray

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


clusterAppliedPeriodToEntity

void clusterAppliedPeriodToEntity(ClusterAppliedPeriod source,
                                  AppliedPeriod target,
                                  boolean copyIfNull)
Copies the fields of ClusterAppliedPeriod 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.

clusterAppliedPeriodToEntity

AppliedPeriod clusterAppliedPeriodToEntity(ClusterAppliedPeriod clusterAppliedPeriod)
Converts an instance of type ClusterAppliedPeriod to this DAO's entity.


clusterAppliedPeriodToEntityCollection

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


load

AppliedPeriod load(java.util.Date startDate,
                   AppliedStrategy appliedStrategy)
Loads an instance of fr.ifremer.allegro.administration.programStrategy.AppliedPeriod from the persistent store.


load

java.lang.Object load(int transform,
                      java.util.Date startDate,
                      AppliedStrategy appliedStrategy)

Does the same thing as load(java.util.Date,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 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:
startDate - identifier of the entity to load
appliedStrategy - 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 AppliedPeriod.

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

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


create

java.lang.Object create(int transform,
                        AppliedPeriod appliedPeriod)

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

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

AppliedPeriod create(java.util.Date startDate,
                     java.util.Date endDate,
                     AppliedStrategy appliedStrategy)

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


create

java.lang.Object create(int transform,
                        java.util.Date startDate,
                        java.util.Date endDate,
                        AppliedStrategy appliedStrategy)

Does the same thing as create(java.util.Date,java.util.Date,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.


update

void update(AppliedPeriod appliedPeriod)
Updates the appliedPeriod 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(AppliedPeriod appliedPeriod)
Removes the instance of fr.ifremer.allegro.administration.programStrategy.AppliedPeriod from the persistent store.


remove

void remove(java.util.Date startDate,
            AppliedStrategy appliedStrategy)
Removes the instance of fr.ifremer.allegro.administration.programStrategy.AppliedPeriod having the given identifiers from the persistent store.


remove

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


getAllAppliedPeriod

java.util.Collection getAllAppliedPeriod()

getAllAppliedPeriod

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

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


getAllAppliedPeriod

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

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


getAllAppliedPeriod

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

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


getAllAppliedPeriod

java.util.Collection getAllAppliedPeriod(int transform)

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


getAllAppliedPeriod

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

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


getAllAppliedPeriod

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

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


getAllAppliedPeriod

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

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


findAppliedPeriodByStartDate

java.util.Collection findAppliedPeriodByStartDate(java.util.Date startDate)

findAppliedPeriodByStartDate

java.util.Collection findAppliedPeriodByStartDate(java.lang.String queryString,
                                                  java.util.Date startDate)

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


findAppliedPeriodByStartDate

java.util.Collection findAppliedPeriodByStartDate(int pageNumber,
                                                  int pageSize,
                                                  java.util.Date startDate)

Does the same thing as findAppliedPeriodByStartDate(java.util.Date) 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.


findAppliedPeriodByStartDate

java.util.Collection findAppliedPeriodByStartDate(java.lang.String queryString,
                                                  int pageNumber,
                                                  int pageSize,
                                                  java.util.Date startDate)

Does the same thing as findAppliedPeriodByStartDate(String, java.util.Date) 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.


findAppliedPeriodByStartDate

java.util.Collection findAppliedPeriodByStartDate(int transform,
                                                  java.util.Date startDate)

Does the same thing as findAppliedPeriodByStartDate(java.util.Date) 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.


findAppliedPeriodByStartDate

java.util.Collection findAppliedPeriodByStartDate(int transform,
                                                  int pageNumber,
                                                  int pageSize,
                                                  java.util.Date startDate)

Does the same thing as findAppliedPeriodByStartDate(int, java.util.Date) 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.


findAppliedPeriodByStartDate

java.util.Collection findAppliedPeriodByStartDate(int transform,
                                                  java.lang.String queryString,
                                                  java.util.Date startDate)

Does the same thing as findAppliedPeriodByStartDate(int, java.util.Date) with an additional argument called queryString. This queryString argument allows you to override the query string defined in findAppliedPeriodByStartDate(int, java.util.Date startDate).


findAppliedPeriodByStartDate

java.util.Collection findAppliedPeriodByStartDate(int transform,
                                                  java.lang.String queryString,
                                                  int pageNumber,
                                                  int pageSize,
                                                  java.util.Date startDate)

Does the same thing as findAppliedPeriodByStartDate(int, String, java.util.Date) 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.


findAppliedPeriodByAppliedStrategy

java.util.Collection findAppliedPeriodByAppliedStrategy(AppliedStrategy appliedStrategy)

findAppliedPeriodByAppliedStrategy

java.util.Collection findAppliedPeriodByAppliedStrategy(java.lang.String queryString,
                                                        AppliedStrategy appliedStrategy)

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


findAppliedPeriodByAppliedStrategy

java.util.Collection findAppliedPeriodByAppliedStrategy(int pageNumber,
                                                        int pageSize,
                                                        AppliedStrategy appliedStrategy)

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


findAppliedPeriodByAppliedStrategy

java.util.Collection findAppliedPeriodByAppliedStrategy(java.lang.String queryString,
                                                        int pageNumber,
                                                        int pageSize,
                                                        AppliedStrategy appliedStrategy)

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


findAppliedPeriodByAppliedStrategy

java.util.Collection findAppliedPeriodByAppliedStrategy(int transform,
                                                        AppliedStrategy appliedStrategy)

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


findAppliedPeriodByAppliedStrategy

java.util.Collection findAppliedPeriodByAppliedStrategy(int transform,
                                                        int pageNumber,
                                                        int pageSize,
                                                        AppliedStrategy appliedStrategy)

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


findAppliedPeriodByAppliedStrategy

java.util.Collection findAppliedPeriodByAppliedStrategy(int transform,
                                                        java.lang.String queryString,
                                                        AppliedStrategy appliedStrategy)

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


findAppliedPeriodByAppliedStrategy

java.util.Collection findAppliedPeriodByAppliedStrategy(int transform,
                                                        java.lang.String queryString,
                                                        int pageNumber,
                                                        int pageSize,
                                                        AppliedStrategy appliedStrategy)

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


findAppliedPeriodByIdentifiers

AppliedPeriod findAppliedPeriodByIdentifiers(java.util.Date startDate,
                                             AppliedStrategy appliedStrategy)

findAppliedPeriodByIdentifiers

AppliedPeriod findAppliedPeriodByIdentifiers(java.lang.String queryString,
                                             java.util.Date startDate,
                                             AppliedStrategy appliedStrategy)

Does the same thing as findAppliedPeriodByIdentifiers(java.util.Date, fr.ifremer.allegro.administration.programStrategy.AppliedStrategy) with an additional argument called queryString. This queryString argument allows you to override the query string defined in findAppliedPeriodByIdentifiers(java.util.Date, fr.ifremer.allegro.administration.programStrategy.AppliedStrategy).


findAppliedPeriodByIdentifiers

java.lang.Object findAppliedPeriodByIdentifiers(int transform,
                                                java.util.Date startDate,
                                                AppliedStrategy appliedStrategy)

Does the same thing as findAppliedPeriodByIdentifiers(java.util.Date, fr.ifremer.allegro.administration.programStrategy.AppliedStrategy) 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.


findAppliedPeriodByIdentifiers

java.lang.Object findAppliedPeriodByIdentifiers(int transform,
                                                java.lang.String queryString,
                                                java.util.Date startDate,
                                                AppliedStrategy appliedStrategy)

Does the same thing as findAppliedPeriodByIdentifiers(int, java.util.Date, fr.ifremer.allegro.administration.programStrategy.AppliedStrategy) with an additional argument called queryString. This queryString argument allows you to override the query string defined in findAppliedPeriodByIdentifiers(int, java.util.Date startDate, fr.ifremer.allegro.administration.programStrategy.AppliedStrategy appliedStrategy).


findAppliedPeriodByNaturalId

AppliedPeriod findAppliedPeriodByNaturalId(java.util.Date startDate,
                                           AppliedStrategy appliedStrategy)

findAppliedPeriodByNaturalId

AppliedPeriod findAppliedPeriodByNaturalId(java.lang.String queryString,
                                           java.util.Date startDate,
                                           AppliedStrategy appliedStrategy)

Does the same thing as findAppliedPeriodByNaturalId(java.util.Date, fr.ifremer.allegro.administration.programStrategy.AppliedStrategy) with an additional argument called queryString. This queryString argument allows you to override the query string defined in findAppliedPeriodByNaturalId(java.util.Date, fr.ifremer.allegro.administration.programStrategy.AppliedStrategy).


findAppliedPeriodByNaturalId

java.lang.Object findAppliedPeriodByNaturalId(int transform,
                                              java.util.Date startDate,
                                              AppliedStrategy appliedStrategy)

Does the same thing as findAppliedPeriodByNaturalId(java.util.Date, fr.ifremer.allegro.administration.programStrategy.AppliedStrategy) 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.


findAppliedPeriodByNaturalId

java.lang.Object findAppliedPeriodByNaturalId(int transform,
                                              java.lang.String queryString,
                                              java.util.Date startDate,
                                              AppliedStrategy appliedStrategy)

Does the same thing as findAppliedPeriodByNaturalId(int, java.util.Date, fr.ifremer.allegro.administration.programStrategy.AppliedStrategy) with an additional argument called queryString. This queryString argument allows you to override the query string defined in findAppliedPeriodByNaturalId(int, java.util.Date startDate, fr.ifremer.allegro.administration.programStrategy.AppliedStrategy appliedStrategy).


createFromClusterAppliedPeriod

AppliedPeriod createFromClusterAppliedPeriod(ClusterAppliedPeriod clusterAppliedPeriod)

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.