fr.ifremer.allegro.referential.pmfm
Interface ParameterDao

All Known Implementing Classes:
ParameterDaoBase, ParameterDaoImpl

public interface ParameterDao

See Also:
Parameter

Field Summary
static int TRANSFORM_CLUSTERPARAMETER
          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_REMOTEPARAMETERFULLVO
          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_REMOTEPARAMETERNATURALID
          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
 Parameter clusterParameterToEntity(ClusterParameter clusterParameter)
          Converts an instance of type ClusterParameter to this DAO's entity.
 void clusterParameterToEntity(ClusterParameter source, Parameter target, boolean copyIfNull)
          Copies the fields of ClusterParameter to the specified entity.
 void clusterParameterToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterParameter to this DAO's entity.
 java.util.Collection create(java.util.Collection entities)
          Creates a new instance of fr.ifremer.allegro.referential.pmfm.Parameter and adds from the passed in entities collection
 java.util.Collection create(int transform, java.util.Collection entities)
           Does the same thing as create(fr.ifremer.allegro.referential.pmfm.Parameter) with an additional flag called transform.
 java.lang.Object create(int transform, Parameter parameter)
           Does the same thing as create(fr.ifremer.allegro.referential.pmfm.Parameter) with an additional flag called transform.
 java.lang.Object create(int transform, java.lang.String code, java.util.Date creationDate, java.lang.Boolean isCalculated, java.lang.Boolean isQualitative, java.lang.Boolean isTaxinomic, java.lang.String name, ParameterGroup parameterGroup, Status status)
           Does the same thing as create(java.lang.String,java.util.Date,java.lang.Boolean,java.lang.Boolean,java.lang.Boolean,java.lang.String,fr.ifremer.allegro.referential.pmfm.ParameterGroup,fr.ifremer.allegro.referential.Status) with an additional flag called transform.
 java.lang.Object create(int transform, java.lang.String code, java.lang.String name, java.lang.String description, java.lang.Boolean isQualitative, java.lang.Boolean isTaxinomic, java.lang.Boolean isCalculated, java.util.Date creationDate, java.sql.Timestamp updateDate, java.util.Collection qualitativeValues, ParameterGroup parameterGroup, Status status)
           Does the same thing as create(java.lang.String,java.lang.String,java.lang.String,java.lang.Boolean,java.lang.Boolean,java.lang.Boolean,java.util.Date,java.sql.Timestamp,java.util.Collection,fr.ifremer.allegro.referential.pmfm.ParameterGroup,fr.ifremer.allegro.referential.Status) with an additional flag called transform.
 Parameter create(Parameter parameter)
          Creates an instance of fr.ifremer.allegro.referential.pmfm.Parameter and adds it to the persistent store.
 Parameter create(java.lang.String code, java.util.Date creationDate, java.lang.Boolean isCalculated, java.lang.Boolean isQualitative, java.lang.Boolean isTaxinomic, java.lang.String name, ParameterGroup parameterGroup, Status status)
           Creates a new fr.ifremer.allegro.referential.pmfm.Parameter instance from only required properties (attributes and association ends) and adds it to the persistent store.
 Parameter create(java.lang.String code, java.lang.String name, java.lang.String description, java.lang.Boolean isQualitative, java.lang.Boolean isTaxinomic, java.lang.Boolean isCalculated, java.util.Date creationDate, java.sql.Timestamp updateDate, java.util.Collection qualitativeValues, ParameterGroup parameterGroup, Status status)
           Creates a new fr.ifremer.allegro.referential.pmfm.Parameter instance from all attributes and properties and adds it to the persistent store.
 Parameter createFromClusterParameter(ClusterParameter clusterParameter)
           
 java.lang.Object findParameterByCode(int transform, java.lang.String code)
           Does the same thing as findParameterByCode(java.lang.String) with an additional flag called transform.
 java.lang.Object findParameterByCode(int transform, java.lang.String queryString, java.lang.String code)
           Does the same thing as findParameterByCode(int, java.lang.String) with an additional argument called queryString.
 Parameter findParameterByCode(java.lang.String code)
           
 Parameter findParameterByCode(java.lang.String queryString, java.lang.String code)
           Does the same thing as findParameterByCode(java.lang.String) with an additional argument called queryString.
 java.lang.Object findParameterByNaturalId(int transform, java.lang.String code)
           Does the same thing as findParameterByNaturalId(java.lang.String) with an additional flag called transform.
 java.lang.Object findParameterByNaturalId(int transform, java.lang.String queryString, java.lang.String code)
           Does the same thing as findParameterByNaturalId(int, java.lang.String) with an additional argument called queryString.
 Parameter findParameterByNaturalId(java.lang.String code)
           
 Parameter findParameterByNaturalId(java.lang.String queryString, java.lang.String code)
           Does the same thing as findParameterByNaturalId(java.lang.String) with an additional argument called queryString.
 java.util.Collection findParameterByParameterGroup(int transform, int pageNumber, int pageSize, ParameterGroup parameterGroup)
           Does the same thing as findParameterByParameterGroup(int, fr.ifremer.allegro.referential.pmfm.ParameterGroup) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findParameterByParameterGroup(int pageNumber, int pageSize, ParameterGroup parameterGroup)
           Does the same thing as findParameterByParameterGroup(fr.ifremer.allegro.referential.pmfm.ParameterGroup) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findParameterByParameterGroup(int transform, ParameterGroup parameterGroup)
           Does the same thing as findParameterByParameterGroup(fr.ifremer.allegro.referential.pmfm.ParameterGroup) with an additional flag called transform.
 java.util.Collection findParameterByParameterGroup(int transform, java.lang.String queryString, int pageNumber, int pageSize, ParameterGroup parameterGroup)
           Does the same thing as findParameterByParameterGroup(int, String, fr.ifremer.allegro.referential.pmfm.ParameterGroup) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findParameterByParameterGroup(int transform, java.lang.String queryString, ParameterGroup parameterGroup)
           Does the same thing as findParameterByParameterGroup(int, fr.ifremer.allegro.referential.pmfm.ParameterGroup) with an additional argument called queryString.
 java.util.Collection findParameterByParameterGroup(ParameterGroup parameterGroup)
           
 java.util.Collection findParameterByParameterGroup(java.lang.String queryString, int pageNumber, int pageSize, ParameterGroup parameterGroup)
           Does the same thing as findParameterByParameterGroup(String, fr.ifremer.allegro.referential.pmfm.ParameterGroup) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findParameterByParameterGroup(java.lang.String queryString, ParameterGroup parameterGroup)
           Does the same thing as findParameterByParameterGroup(fr.ifremer.allegro.referential.pmfm.ParameterGroup) with an additional argument called queryString.
 java.util.Collection findParameterByStatus(int transform, int pageNumber, int pageSize, Status status)
           Does the same thing as findParameterByStatus(int, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findParameterByStatus(int pageNumber, int pageSize, Status status)
           Does the same thing as findParameterByStatus(fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findParameterByStatus(int transform, Status status)
           Does the same thing as findParameterByStatus(fr.ifremer.allegro.referential.Status) with an additional flag called transform.
 java.util.Collection findParameterByStatus(int transform, java.lang.String queryString, int pageNumber, int pageSize, Status status)
           Does the same thing as findParameterByStatus(int, String, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findParameterByStatus(int transform, java.lang.String queryString, Status status)
           Does the same thing as findParameterByStatus(int, fr.ifremer.allegro.referential.Status) with an additional argument called queryString.
 java.util.Collection findParameterByStatus(Status status)
           
 java.util.Collection findParameterByStatus(java.lang.String queryString, int pageNumber, int pageSize, Status status)
           Does the same thing as findParameterByStatus(String, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findParameterByStatus(java.lang.String queryString, Status status)
           Does the same thing as findParameterByStatus(fr.ifremer.allegro.referential.Status) with an additional argument called queryString.
 ClusterParameter[] getAllClusterParameterSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
 java.util.Collection getAllParameter()
           
 java.util.Collection getAllParameter(int transform)
           Does the same thing as getAllParameter() with an additional flag called transform.
 java.util.Collection getAllParameter(int pageNumber, int pageSize)
           Does the same thing as getAllParameter() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllParameter(int transform, int pageNumber, int pageSize)
           Does the same thing as getAllParameter(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllParameter(int transform, java.lang.String queryString)
           Does the same thing as getAllParameter(int) with an additional argument called queryString.
 java.util.Collection getAllParameter(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as getAllParameter(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllParameter(java.lang.String queryString)
           Does the same thing as getAllParameter() with an additional argument called queryString.
 java.util.Collection getAllParameter(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as getAllParameter(String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllParameterSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as getAllParameterSinceDateSynchro(int, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllParameterSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as getAllParameterSinceDateSynchro(java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllParameterSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as getAllParameterSinceDateSynchro(int, String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllParameterSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as getAllParameterSinceDateSynchro(int, java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllParameterSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
           Does the same thing as getAllParameterSinceDateSynchro(java.sql.Timestamp) with an additional flag called transform.
 java.util.Collection getAllParameterSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as getAllParameterSinceDateSynchro(String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllParameterSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as getAllParameterSinceDateSynchro(java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllParameterSinceDateSynchro(java.sql.Timestamp updateDate)
           
 java.lang.Object load(int transform, java.lang.String code)
           Does the same thing as load(java.lang.String) with an additional flag called transform.
 Parameter load(java.lang.String code)
          Loads an instance of fr.ifremer.allegro.referential.pmfm.Parameter from the persistent store.
 java.util.Collection loadAll()
          Loads all entities of type Parameter.
 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.
 Parameter remoteParameterFullVOToEntity(RemoteParameterFullVO remoteParameterFullVO)
          Converts an instance of type RemoteParameterFullVO to this DAO's entity.
 void remoteParameterFullVOToEntity(RemoteParameterFullVO source, Parameter target, boolean copyIfNull)
          Copies the fields of RemoteParameterFullVO to the specified entity.
 void remoteParameterFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteParameterFullVO to this DAO's entity.
 Parameter remoteParameterNaturalIdToEntity(RemoteParameterNaturalId remoteParameterNaturalId)
          Converts an instance of type RemoteParameterNaturalId to this DAO's entity.
 void remoteParameterNaturalIdToEntity(RemoteParameterNaturalId source, Parameter target, boolean copyIfNull)
          Copies the fields of RemoteParameterNaturalId to the specified entity.
 void remoteParameterNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteParameterNaturalId to this DAO's entity.
 void remove(java.util.Collection entities)
          Removes all entities in the given entities collection.
 void remove(Parameter parameter)
          Removes the instance of fr.ifremer.allegro.referential.pmfm.Parameter from the persistent store.
 void remove(java.lang.String code)
          Removes the instance of fr.ifremer.allegro.referential.pmfm.Parameter 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.
 ClusterParameter toClusterParameter(Parameter entity)
          Converts this DAO's entity to an object of type ClusterParameter.
 void toClusterParameter(Parameter source, ClusterParameter target)
          Copies the fields of the specified entity to the target value object.
 ClusterParameter[] toClusterParameterArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterParameter.
 void toClusterParameterCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterParameter.
 RemoteParameterFullVO toRemoteParameterFullVO(Parameter entity)
          Converts this DAO's entity to an object of type RemoteParameterFullVO.
 void toRemoteParameterFullVO(Parameter source, RemoteParameterFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteParameterFullVO[] toRemoteParameterFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteParameterFullVO.
 void toRemoteParameterFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteParameterFullVO.
 RemoteParameterNaturalId toRemoteParameterNaturalId(Parameter entity)
          Converts this DAO's entity to an object of type RemoteParameterNaturalId.
 void toRemoteParameterNaturalId(Parameter source, RemoteParameterNaturalId target)
          Copies the fields of the specified entity to the target value object.
 RemoteParameterNaturalId[] toRemoteParameterNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteParameterNaturalId.
 void toRemoteParameterNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteParameterNaturalId.
 void update(java.util.Collection entities)
          Updates all instances in the entities collection in the persistent store.
 void update(Parameter parameter)
          Updates the parameter instance in the persistent store.
 

Field Detail

TRANSFORM_NONE

static final int TRANSFORM_NONE
This constant is used as a transformation flag; entities can be converted automatically into value objects or other types, different methods in a class implementing this interface support this feature: look for an int parameter called transform.

This specific flag denotes no transformation will occur.

See Also:
Constant Field Values

TRANSFORM_REMOTEPARAMETERFULLVO

static final int TRANSFORM_REMOTEPARAMETERFULLVO
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 RemoteParameterFullVO.

See Also:
Constant Field Values

TRANSFORM_REMOTEPARAMETERNATURALID

static final int TRANSFORM_REMOTEPARAMETERNATURALID
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 RemoteParameterNaturalId.

See Also:
Constant Field Values

TRANSFORM_CLUSTERPARAMETER

static final int TRANSFORM_CLUSTERPARAMETER
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 ClusterParameter.

See Also:
Constant Field Values
Method Detail

toRemoteParameterFullVO

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


toRemoteParameterFullVO

RemoteParameterFullVO toRemoteParameterFullVO(Parameter entity)
Converts this DAO's entity to an object of type RemoteParameterFullVO.


toRemoteParameterFullVOCollection

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


toRemoteParameterFullVOArray

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


remoteParameterFullVOToEntity

void remoteParameterFullVOToEntity(RemoteParameterFullVO source,
                                   Parameter target,
                                   boolean copyIfNull)
Copies the fields of RemoteParameterFullVO 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.

remoteParameterFullVOToEntity

Parameter remoteParameterFullVOToEntity(RemoteParameterFullVO remoteParameterFullVO)
Converts an instance of type RemoteParameterFullVO to this DAO's entity.


remoteParameterFullVOToEntityCollection

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


toRemoteParameterNaturalId

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


toRemoteParameterNaturalId

RemoteParameterNaturalId toRemoteParameterNaturalId(Parameter entity)
Converts this DAO's entity to an object of type RemoteParameterNaturalId.


toRemoteParameterNaturalIdCollection

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


toRemoteParameterNaturalIdArray

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


remoteParameterNaturalIdToEntity

void remoteParameterNaturalIdToEntity(RemoteParameterNaturalId source,
                                      Parameter target,
                                      boolean copyIfNull)
Copies the fields of RemoteParameterNaturalId 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.

remoteParameterNaturalIdToEntity

Parameter remoteParameterNaturalIdToEntity(RemoteParameterNaturalId remoteParameterNaturalId)
Converts an instance of type RemoteParameterNaturalId to this DAO's entity.


remoteParameterNaturalIdToEntityCollection

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


toClusterParameter

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


toClusterParameter

ClusterParameter toClusterParameter(Parameter entity)
Converts this DAO's entity to an object of type ClusterParameter.


toClusterParameterCollection

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


toClusterParameterArray

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


clusterParameterToEntity

void clusterParameterToEntity(ClusterParameter source,
                              Parameter target,
                              boolean copyIfNull)
Copies the fields of ClusterParameter 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.

clusterParameterToEntity

Parameter clusterParameterToEntity(ClusterParameter clusterParameter)
Converts an instance of type ClusterParameter to this DAO's entity.


clusterParameterToEntityCollection

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


load

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


load

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

Does the same thing as load(java.lang.String) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then the returned entity will NOT be transformed. If this flag is any of the other constants defined in this class then the result WILL BE passed through an operation which can optionally transform the entity (into a value object for example). By default, transformation does not occur.

Parameters:
code - identifier of the entity to load
Returns:
either the entity or the object transformed from the entity.

loadAll

java.util.Collection loadAll()
Loads all entities of type Parameter.

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

Parameter create(Parameter parameter)
Creates an instance of fr.ifremer.allegro.referential.pmfm.Parameter and adds it to the persistent store.


create

java.lang.Object create(int transform,
                        Parameter parameter)

Does the same thing as create(fr.ifremer.allegro.referential.pmfm.Parameter) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then the returned entity will NOT be transformed. If this flag is any of the other constants defined here then the result WILL BE passed through an operation which can optionally transform the entity (into a value object for example). By default, transformation does not occur.


create

java.util.Collection create(java.util.Collection entities)
Creates a new instance of fr.ifremer.allegro.referential.pmfm.Parameter and adds from the passed in entities collection

Parameters:
entities - the collection of fr.ifremer.allegro.referential.pmfm.Parameter instances to create.
Returns:
the created instances.

create

java.util.Collection create(int transform,
                            java.util.Collection entities)

Does the same thing as create(fr.ifremer.allegro.referential.pmfm.Parameter) 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

Parameter create(java.lang.String code,
                 java.lang.String name,
                 java.lang.String description,
                 java.lang.Boolean isQualitative,
                 java.lang.Boolean isTaxinomic,
                 java.lang.Boolean isCalculated,
                 java.util.Date creationDate,
                 java.sql.Timestamp updateDate,
                 java.util.Collection qualitativeValues,
                 ParameterGroup parameterGroup,
                 Status status)

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


create

java.lang.Object create(int transform,
                        java.lang.String code,
                        java.lang.String name,
                        java.lang.String description,
                        java.lang.Boolean isQualitative,
                        java.lang.Boolean isTaxinomic,
                        java.lang.Boolean isCalculated,
                        java.util.Date creationDate,
                        java.sql.Timestamp updateDate,
                        java.util.Collection qualitativeValues,
                        ParameterGroup parameterGroup,
                        Status status)

Does the same thing as create(java.lang.String,java.lang.String,java.lang.String,java.lang.Boolean,java.lang.Boolean,java.lang.Boolean,java.util.Date,java.sql.Timestamp,java.util.Collection,fr.ifremer.allegro.referential.pmfm.ParameterGroup,fr.ifremer.allegro.referential.Status) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then the returned entity will NOT be transformed. If this flag is any of the other constants defined here then the result WILL BE passed through an operation which can optionally transform the entity (into a value object for example). By default, transformation does not occur.


create

Parameter create(java.lang.String code,
                 java.util.Date creationDate,
                 java.lang.Boolean isCalculated,
                 java.lang.Boolean isQualitative,
                 java.lang.Boolean isTaxinomic,
                 java.lang.String name,
                 ParameterGroup parameterGroup,
                 Status status)

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


create

java.lang.Object create(int transform,
                        java.lang.String code,
                        java.util.Date creationDate,
                        java.lang.Boolean isCalculated,
                        java.lang.Boolean isQualitative,
                        java.lang.Boolean isTaxinomic,
                        java.lang.String name,
                        ParameterGroup parameterGroup,
                        Status status)

Does the same thing as create(java.lang.String,java.util.Date,java.lang.Boolean,java.lang.Boolean,java.lang.Boolean,java.lang.String,fr.ifremer.allegro.referential.pmfm.ParameterGroup,fr.ifremer.allegro.referential.Status) 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(Parameter parameter)
Updates the parameter 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(Parameter parameter)
Removes the instance of fr.ifremer.allegro.referential.pmfm.Parameter from the persistent store.


remove

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


remove

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


getAllParameter

java.util.Collection getAllParameter()

getAllParameter

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

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


getAllParameter

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

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


getAllParameter

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

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


getAllParameter

java.util.Collection getAllParameter(int transform)

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


getAllParameter

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

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


getAllParameter

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

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


getAllParameter

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

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


findParameterByCode

Parameter findParameterByCode(java.lang.String code)

findParameterByCode

Parameter findParameterByCode(java.lang.String queryString,
                              java.lang.String code)

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


findParameterByCode

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

Does the same thing as findParameterByCode(java.lang.String) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then finder results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.


findParameterByCode

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

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


findParameterByStatus

java.util.Collection findParameterByStatus(Status status)

findParameterByStatus

java.util.Collection findParameterByStatus(java.lang.String queryString,
                                           Status status)

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


findParameterByStatus

java.util.Collection findParameterByStatus(int pageNumber,
                                           int pageSize,
                                           Status status)

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


findParameterByStatus

java.util.Collection findParameterByStatus(java.lang.String queryString,
                                           int pageNumber,
                                           int pageSize,
                                           Status status)

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


findParameterByStatus

java.util.Collection findParameterByStatus(int transform,
                                           Status status)

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


findParameterByStatus

java.util.Collection findParameterByStatus(int transform,
                                           int pageNumber,
                                           int pageSize,
                                           Status status)

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


findParameterByStatus

java.util.Collection findParameterByStatus(int transform,
                                           java.lang.String queryString,
                                           Status status)

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


findParameterByStatus

java.util.Collection findParameterByStatus(int transform,
                                           java.lang.String queryString,
                                           int pageNumber,
                                           int pageSize,
                                           Status status)

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


findParameterByParameterGroup

java.util.Collection findParameterByParameterGroup(ParameterGroup parameterGroup)

findParameterByParameterGroup

java.util.Collection findParameterByParameterGroup(java.lang.String queryString,
                                                   ParameterGroup parameterGroup)

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


findParameterByParameterGroup

java.util.Collection findParameterByParameterGroup(int pageNumber,
                                                   int pageSize,
                                                   ParameterGroup parameterGroup)

Does the same thing as findParameterByParameterGroup(fr.ifremer.allegro.referential.pmfm.ParameterGroup) 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.


findParameterByParameterGroup

java.util.Collection findParameterByParameterGroup(java.lang.String queryString,
                                                   int pageNumber,
                                                   int pageSize,
                                                   ParameterGroup parameterGroup)

Does the same thing as findParameterByParameterGroup(String, fr.ifremer.allegro.referential.pmfm.ParameterGroup) 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.


findParameterByParameterGroup

java.util.Collection findParameterByParameterGroup(int transform,
                                                   ParameterGroup parameterGroup)

Does the same thing as findParameterByParameterGroup(fr.ifremer.allegro.referential.pmfm.ParameterGroup) 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.


findParameterByParameterGroup

java.util.Collection findParameterByParameterGroup(int transform,
                                                   int pageNumber,
                                                   int pageSize,
                                                   ParameterGroup parameterGroup)

Does the same thing as findParameterByParameterGroup(int, fr.ifremer.allegro.referential.pmfm.ParameterGroup) 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.


findParameterByParameterGroup

java.util.Collection findParameterByParameterGroup(int transform,
                                                   java.lang.String queryString,
                                                   ParameterGroup parameterGroup)

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


findParameterByParameterGroup

java.util.Collection findParameterByParameterGroup(int transform,
                                                   java.lang.String queryString,
                                                   int pageNumber,
                                                   int pageSize,
                                                   ParameterGroup parameterGroup)

Does the same thing as findParameterByParameterGroup(int, String, fr.ifremer.allegro.referential.pmfm.ParameterGroup) 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.


findParameterByNaturalId

Parameter findParameterByNaturalId(java.lang.String code)

findParameterByNaturalId

Parameter findParameterByNaturalId(java.lang.String queryString,
                                   java.lang.String code)

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


findParameterByNaturalId

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

Does the same thing as findParameterByNaturalId(java.lang.String) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then finder results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.


findParameterByNaturalId

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

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


getAllParameterSinceDateSynchro

java.util.Collection getAllParameterSinceDateSynchro(java.sql.Timestamp updateDate)

getAllParameterSinceDateSynchro

java.util.Collection getAllParameterSinceDateSynchro(java.lang.String queryString,
                                                     java.sql.Timestamp updateDate)

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


getAllParameterSinceDateSynchro

java.util.Collection getAllParameterSinceDateSynchro(int pageNumber,
                                                     int pageSize,
                                                     java.sql.Timestamp updateDate)

Does the same thing as getAllParameterSinceDateSynchro(java.sql.Timestamp) 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.


getAllParameterSinceDateSynchro

java.util.Collection getAllParameterSinceDateSynchro(java.lang.String queryString,
                                                     int pageNumber,
                                                     int pageSize,
                                                     java.sql.Timestamp updateDate)

Does the same thing as getAllParameterSinceDateSynchro(String, java.sql.Timestamp) 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.


getAllParameterSinceDateSynchro

java.util.Collection getAllParameterSinceDateSynchro(int transform,
                                                     java.sql.Timestamp updateDate)

Does the same thing as getAllParameterSinceDateSynchro(java.sql.Timestamp) 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.


getAllParameterSinceDateSynchro

java.util.Collection getAllParameterSinceDateSynchro(int transform,
                                                     int pageNumber,
                                                     int pageSize,
                                                     java.sql.Timestamp updateDate)

Does the same thing as getAllParameterSinceDateSynchro(int, java.sql.Timestamp) 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.


getAllParameterSinceDateSynchro

java.util.Collection getAllParameterSinceDateSynchro(int transform,
                                                     java.lang.String queryString,
                                                     java.sql.Timestamp updateDate)

Does the same thing as getAllParameterSinceDateSynchro(int, java.sql.Timestamp) with an additional argument called queryString. This queryString argument allows you to override the query string defined in getAllParameterSinceDateSynchro(int, java.sql.Timestamp updateDate).


getAllParameterSinceDateSynchro

java.util.Collection getAllParameterSinceDateSynchro(int transform,
                                                     java.lang.String queryString,
                                                     int pageNumber,
                                                     int pageSize,
                                                     java.sql.Timestamp updateDate)

Does the same thing as getAllParameterSinceDateSynchro(int, String, java.sql.Timestamp) 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.


createFromClusterParameter

Parameter createFromClusterParameter(ClusterParameter clusterParameter)

getAllClusterParameterSinceDateSynchro

ClusterParameter[] getAllClusterParameterSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                          java.lang.Integer userId,
                                                          java.lang.Integer[] registrationLocationIds,
                                                          java.lang.Integer pageNumber,
                                                          java.lang.Integer pageSize)

search

PaginationResult search(int transform,
                        int pageNumber,
                        int pageSize,
                        Search search)
Does the same thing as {@link #search(int, fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize. These flags allow you to limit your data to a specified page number and size.

Parameters:
transform - the transformation flag.
pageNumber - the page number in the data to retrieve
pageSize - the size of the page to retrieve.
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search wrapped in a PaginationResult instance.

search

PaginationResult search(int pageNumber,
                        int pageSize,
                        Search search)
Does the same thing as {@link #search(fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize. These flags allow you to limit your data to a specified page number and size.

Parameters:
pageNumber - the page number in the data to retrieve
pageSize - the size of the page to retrieve.
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search wrapped in a PaginationResult instance.

search

java.util.Set search(int transform,
                     Search search)
Does the same thing as search(fr.ifremer.allegro.Search) but with an additional flag called transform. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

Parameters:
transform - the transformation flag.
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search.

search

java.util.Set search(Search search)
Performs a search using the parameters specified in the given search object.

Parameters:
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search.


Copyright © 2008-2010 IFREMER. All Rights Reserved.