fr.ifremer.allegro.referential.pmfm
Interface QualitativeValueDao

All Known Implementing Classes:
QualitativeValueDaoBase, QualitativeValueDaoImpl

public interface QualitativeValueDao

See Also:
QualitativeValue

Field Summary
static int TRANSFORM_CLUSTERQUALITATIVEVALUE
          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_REMOTEQUALITATIVEVALUEFULLVO
          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_REMOTEQUALITATIVEVALUENATURALID
          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
 QualitativeValue clusterQualitativeValueToEntity(ClusterQualitativeValue clusterQualitativeValue)
          Converts an instance of type ClusterQualitativeValue to this DAO's entity.
 void clusterQualitativeValueToEntity(ClusterQualitativeValue source, QualitativeValue target, boolean copyIfNull)
          Copies the fields of ClusterQualitativeValue to the specified entity.
 void clusterQualitativeValueToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterQualitativeValue to this DAO's entity.
 java.util.Collection create(java.util.Collection entities)
          Creates a new instance of fr.ifremer.allegro.referential.pmfm.QualitativeValue 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.QualitativeValue) with an additional flag called transform.
 java.lang.Object create(int transform, QualitativeValue qualitativeValue)
           Does the same thing as create(fr.ifremer.allegro.referential.pmfm.QualitativeValue) with an additional flag called transform.
 java.lang.Object create(int transform, java.lang.String name, Parameter parameter, Status status)
           Does the same thing as create(java.lang.String,fr.ifremer.allegro.referential.pmfm.Parameter,fr.ifremer.allegro.referential.Status) with an additional flag called transform.
 java.lang.Object create(int transform, java.lang.String name, java.lang.String description, Parameter parameter, Status status)
           Does the same thing as create(java.lang.String,java.lang.String,fr.ifremer.allegro.referential.pmfm.Parameter,fr.ifremer.allegro.referential.Status) with an additional flag called transform.
 QualitativeValue create(QualitativeValue qualitativeValue)
          Creates an instance of fr.ifremer.allegro.referential.pmfm.QualitativeValue and adds it to the persistent store.
 QualitativeValue create(java.lang.String name, Parameter parameter, Status status)
           Creates a new fr.ifremer.allegro.referential.pmfm.QualitativeValue instance from only required properties (attributes and association ends) and adds it to the persistent store.
 QualitativeValue create(java.lang.String name, java.lang.String description, Parameter parameter, Status status)
           Creates a new fr.ifremer.allegro.referential.pmfm.QualitativeValue instance from all attributes and properties and adds it to the persistent store.
 QualitativeValue createFromClusterQualitativeValue(ClusterQualitativeValue clusterQualitativeValue)
           
 QualitativeValue findQualitativeValueById(java.lang.Integer id)
           
 java.lang.Object findQualitativeValueById(int transform, java.lang.Integer id)
           Does the same thing as findQualitativeValueById(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findQualitativeValueById(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as findQualitativeValueById(int, java.lang.Integer) with an additional argument called queryString.
 QualitativeValue findQualitativeValueById(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as findQualitativeValueById(java.lang.Integer) with an additional argument called queryString.
 QualitativeValue findQualitativeValueByNaturalId(java.lang.Integer id)
           
 java.lang.Object findQualitativeValueByNaturalId(int transform, java.lang.Integer id)
           Does the same thing as findQualitativeValueByNaturalId(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findQualitativeValueByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as findQualitativeValueByNaturalId(int, java.lang.Integer) with an additional argument called queryString.
 QualitativeValue findQualitativeValueByNaturalId(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as findQualitativeValueByNaturalId(java.lang.Integer) with an additional argument called queryString.
 java.util.Collection findQualitativeValueByParameter(int transform, int pageNumber, int pageSize, Parameter parameter)
           Does the same thing as findQualitativeValueByParameter(int, fr.ifremer.allegro.referential.pmfm.Parameter) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findQualitativeValueByParameter(int pageNumber, int pageSize, Parameter parameter)
           Does the same thing as findQualitativeValueByParameter(fr.ifremer.allegro.referential.pmfm.Parameter) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findQualitativeValueByParameter(int transform, Parameter parameter)
           Does the same thing as findQualitativeValueByParameter(fr.ifremer.allegro.referential.pmfm.Parameter) with an additional flag called transform.
 java.util.Collection findQualitativeValueByParameter(int transform, java.lang.String queryString, int pageNumber, int pageSize, Parameter parameter)
           Does the same thing as findQualitativeValueByParameter(int, String, fr.ifremer.allegro.referential.pmfm.Parameter) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findQualitativeValueByParameter(int transform, java.lang.String queryString, Parameter parameter)
           Does the same thing as findQualitativeValueByParameter(int, fr.ifremer.allegro.referential.pmfm.Parameter) with an additional argument called queryString.
 java.util.Collection findQualitativeValueByParameter(Parameter parameter)
           
 java.util.Collection findQualitativeValueByParameter(java.lang.String queryString, int pageNumber, int pageSize, Parameter parameter)
           Does the same thing as findQualitativeValueByParameter(String, fr.ifremer.allegro.referential.pmfm.Parameter) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findQualitativeValueByParameter(java.lang.String queryString, Parameter parameter)
           Does the same thing as findQualitativeValueByParameter(fr.ifremer.allegro.referential.pmfm.Parameter) with an additional argument called queryString.
 java.util.Collection findQualitativeValueByStatus(int transform, int pageNumber, int pageSize, Status status)
           Does the same thing as findQualitativeValueByStatus(int, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findQualitativeValueByStatus(int pageNumber, int pageSize, Status status)
           Does the same thing as findQualitativeValueByStatus(fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findQualitativeValueByStatus(int transform, Status status)
           Does the same thing as findQualitativeValueByStatus(fr.ifremer.allegro.referential.Status) with an additional flag called transform.
 java.util.Collection findQualitativeValueByStatus(int transform, java.lang.String queryString, int pageNumber, int pageSize, Status status)
           Does the same thing as findQualitativeValueByStatus(int, String, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findQualitativeValueByStatus(int transform, java.lang.String queryString, Status status)
           Does the same thing as findQualitativeValueByStatus(int, fr.ifremer.allegro.referential.Status) with an additional argument called queryString.
 java.util.Collection findQualitativeValueByStatus(Status status)
           
 java.util.Collection findQualitativeValueByStatus(java.lang.String queryString, int pageNumber, int pageSize, Status status)
           Does the same thing as findQualitativeValueByStatus(String, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findQualitativeValueByStatus(java.lang.String queryString, Status status)
           Does the same thing as findQualitativeValueByStatus(fr.ifremer.allegro.referential.Status) with an additional argument called queryString.
 java.util.Collection getAllQualitativeValue()
           
 java.util.Collection getAllQualitativeValue(int transform)
           Does the same thing as getAllQualitativeValue() with an additional flag called transform.
 java.util.Collection getAllQualitativeValue(int pageNumber, int pageSize)
           Does the same thing as getAllQualitativeValue() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllQualitativeValue(int transform, int pageNumber, int pageSize)
           Does the same thing as getAllQualitativeValue(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllQualitativeValue(int transform, java.lang.String queryString)
           Does the same thing as getAllQualitativeValue(int) with an additional argument called queryString.
 java.util.Collection getAllQualitativeValue(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as getAllQualitativeValue(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllQualitativeValue(java.lang.String queryString)
           Does the same thing as getAllQualitativeValue() with an additional argument called queryString.
 java.util.Collection getAllQualitativeValue(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as getAllQualitativeValue(String) with an additional two arguments called pageNumber and pageSize.
 QualitativeValue load(java.lang.Integer id)
          Loads an instance of fr.ifremer.allegro.referential.pmfm.QualitativeValue from the persistent store.
 java.lang.Object load(int transform, java.lang.Integer id)
           Does the same thing as load(java.lang.Integer) with an additional flag called transform.
 java.util.Collection loadAll()
          Loads all entities of type QualitativeValue.
 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.
 QualitativeValue remoteQualitativeValueFullVOToEntity(RemoteQualitativeValueFullVO remoteQualitativeValueFullVO)
          Converts an instance of type RemoteQualitativeValueFullVO to this DAO's entity.
 void remoteQualitativeValueFullVOToEntity(RemoteQualitativeValueFullVO source, QualitativeValue target, boolean copyIfNull)
          Copies the fields of RemoteQualitativeValueFullVO to the specified entity.
 void remoteQualitativeValueFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteQualitativeValueFullVO to this DAO's entity.
 QualitativeValue remoteQualitativeValueNaturalIdToEntity(RemoteQualitativeValueNaturalId remoteQualitativeValueNaturalId)
          Converts an instance of type RemoteQualitativeValueNaturalId to this DAO's entity.
 void remoteQualitativeValueNaturalIdToEntity(RemoteQualitativeValueNaturalId source, QualitativeValue target, boolean copyIfNull)
          Copies the fields of RemoteQualitativeValueNaturalId to the specified entity.
 void remoteQualitativeValueNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteQualitativeValueNaturalId to this DAO's entity.
 void remove(java.util.Collection entities)
          Removes all entities in the given entities collection.
 void remove(java.lang.Integer id)
          Removes the instance of fr.ifremer.allegro.referential.pmfm.QualitativeValue having the given identifier from the persistent store.
 void remove(QualitativeValue qualitativeValue)
          Removes the instance of fr.ifremer.allegro.referential.pmfm.QualitativeValue 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.
 ClusterQualitativeValue toClusterQualitativeValue(QualitativeValue entity)
          Converts this DAO's entity to an object of type ClusterQualitativeValue.
 void toClusterQualitativeValue(QualitativeValue source, ClusterQualitativeValue target)
          Copies the fields of the specified entity to the target value object.
 ClusterQualitativeValue[] toClusterQualitativeValueArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterQualitativeValue.
 void toClusterQualitativeValueCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterQualitativeValue.
 RemoteQualitativeValueFullVO toRemoteQualitativeValueFullVO(QualitativeValue entity)
          Converts this DAO's entity to an object of type RemoteQualitativeValueFullVO.
 void toRemoteQualitativeValueFullVO(QualitativeValue source, RemoteQualitativeValueFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteQualitativeValueFullVO[] toRemoteQualitativeValueFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteQualitativeValueFullVO.
 void toRemoteQualitativeValueFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteQualitativeValueFullVO.
 RemoteQualitativeValueNaturalId toRemoteQualitativeValueNaturalId(QualitativeValue entity)
          Converts this DAO's entity to an object of type RemoteQualitativeValueNaturalId.
 void toRemoteQualitativeValueNaturalId(QualitativeValue source, RemoteQualitativeValueNaturalId target)
          Copies the fields of the specified entity to the target value object.
 RemoteQualitativeValueNaturalId[] toRemoteQualitativeValueNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteQualitativeValueNaturalId.
 void toRemoteQualitativeValueNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteQualitativeValueNaturalId.
 void update(java.util.Collection entities)
          Updates all instances in the entities collection in the persistent store.
 void update(QualitativeValue qualitativeValue)
          Updates the qualitativeValue 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_REMOTEQUALITATIVEVALUEFULLVO

static final int TRANSFORM_REMOTEQUALITATIVEVALUEFULLVO
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 RemoteQualitativeValueFullVO.

See Also:
Constant Field Values

TRANSFORM_REMOTEQUALITATIVEVALUENATURALID

static final int TRANSFORM_REMOTEQUALITATIVEVALUENATURALID
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 RemoteQualitativeValueNaturalId.

See Also:
Constant Field Values

TRANSFORM_CLUSTERQUALITATIVEVALUE

static final int TRANSFORM_CLUSTERQUALITATIVEVALUE
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 ClusterQualitativeValue.

See Also:
Constant Field Values
Method Detail

toRemoteQualitativeValueFullVO

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


toRemoteQualitativeValueFullVO

RemoteQualitativeValueFullVO toRemoteQualitativeValueFullVO(QualitativeValue entity)
Converts this DAO's entity to an object of type RemoteQualitativeValueFullVO.


toRemoteQualitativeValueFullVOCollection

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


toRemoteQualitativeValueFullVOArray

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


remoteQualitativeValueFullVOToEntity

void remoteQualitativeValueFullVOToEntity(RemoteQualitativeValueFullVO source,
                                          QualitativeValue target,
                                          boolean copyIfNull)
Copies the fields of RemoteQualitativeValueFullVO 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.

remoteQualitativeValueFullVOToEntity

QualitativeValue remoteQualitativeValueFullVOToEntity(RemoteQualitativeValueFullVO remoteQualitativeValueFullVO)
Converts an instance of type RemoteQualitativeValueFullVO to this DAO's entity.


remoteQualitativeValueFullVOToEntityCollection

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


toRemoteQualitativeValueNaturalId

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


toRemoteQualitativeValueNaturalId

RemoteQualitativeValueNaturalId toRemoteQualitativeValueNaturalId(QualitativeValue entity)
Converts this DAO's entity to an object of type RemoteQualitativeValueNaturalId.


toRemoteQualitativeValueNaturalIdCollection

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


toRemoteQualitativeValueNaturalIdArray

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


remoteQualitativeValueNaturalIdToEntity

void remoteQualitativeValueNaturalIdToEntity(RemoteQualitativeValueNaturalId source,
                                             QualitativeValue target,
                                             boolean copyIfNull)
Copies the fields of RemoteQualitativeValueNaturalId 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.

remoteQualitativeValueNaturalIdToEntity

QualitativeValue remoteQualitativeValueNaturalIdToEntity(RemoteQualitativeValueNaturalId remoteQualitativeValueNaturalId)
Converts an instance of type RemoteQualitativeValueNaturalId to this DAO's entity.


remoteQualitativeValueNaturalIdToEntityCollection

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


toClusterQualitativeValue

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


toClusterQualitativeValue

ClusterQualitativeValue toClusterQualitativeValue(QualitativeValue entity)
Converts this DAO's entity to an object of type ClusterQualitativeValue.


toClusterQualitativeValueCollection

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


toClusterQualitativeValueArray

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


clusterQualitativeValueToEntity

void clusterQualitativeValueToEntity(ClusterQualitativeValue source,
                                     QualitativeValue target,
                                     boolean copyIfNull)
Copies the fields of ClusterQualitativeValue 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.

clusterQualitativeValueToEntity

QualitativeValue clusterQualitativeValueToEntity(ClusterQualitativeValue clusterQualitativeValue)
Converts an instance of type ClusterQualitativeValue to this DAO's entity.


clusterQualitativeValueToEntityCollection

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


load

QualitativeValue load(java.lang.Integer id)
Loads an instance of fr.ifremer.allegro.referential.pmfm.QualitativeValue from the persistent store.


load

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

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

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

loadAll

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

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

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


create

java.lang.Object create(int transform,
                        QualitativeValue qualitativeValue)

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

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

QualitativeValue create(java.lang.String name,
                        java.lang.String description,
                        Parameter parameter,
                        Status status)

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


create

java.lang.Object create(int transform,
                        java.lang.String name,
                        java.lang.String description,
                        Parameter parameter,
                        Status status)

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

QualitativeValue create(java.lang.String name,
                        Parameter parameter,
                        Status status)

Creates a new fr.ifremer.allegro.referential.pmfm.QualitativeValue 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 name,
                        Parameter parameter,
                        Status status)

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


remove

void remove(java.lang.Integer id)
Removes the instance of fr.ifremer.allegro.referential.pmfm.QualitativeValue having the given identifier from the persistent store.


remove

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


getAllQualitativeValue

java.util.Collection getAllQualitativeValue()

getAllQualitativeValue

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

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


getAllQualitativeValue

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

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


getAllQualitativeValue

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

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


getAllQualitativeValue

java.util.Collection getAllQualitativeValue(int transform)

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


getAllQualitativeValue

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

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


getAllQualitativeValue

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

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


getAllQualitativeValue

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

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


findQualitativeValueById

QualitativeValue findQualitativeValueById(java.lang.Integer id)

findQualitativeValueById

QualitativeValue findQualitativeValueById(java.lang.String queryString,
                                          java.lang.Integer id)

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


findQualitativeValueById

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

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


findQualitativeValueById

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

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


findQualitativeValueByParameter

java.util.Collection findQualitativeValueByParameter(Parameter parameter)

findQualitativeValueByParameter

java.util.Collection findQualitativeValueByParameter(java.lang.String queryString,
                                                     Parameter parameter)

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


findQualitativeValueByParameter

java.util.Collection findQualitativeValueByParameter(int pageNumber,
                                                     int pageSize,
                                                     Parameter parameter)

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


findQualitativeValueByParameter

java.util.Collection findQualitativeValueByParameter(java.lang.String queryString,
                                                     int pageNumber,
                                                     int pageSize,
                                                     Parameter parameter)

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


findQualitativeValueByParameter

java.util.Collection findQualitativeValueByParameter(int transform,
                                                     Parameter parameter)

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


findQualitativeValueByParameter

java.util.Collection findQualitativeValueByParameter(int transform,
                                                     int pageNumber,
                                                     int pageSize,
                                                     Parameter parameter)

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


findQualitativeValueByParameter

java.util.Collection findQualitativeValueByParameter(int transform,
                                                     java.lang.String queryString,
                                                     Parameter parameter)

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


findQualitativeValueByParameter

java.util.Collection findQualitativeValueByParameter(int transform,
                                                     java.lang.String queryString,
                                                     int pageNumber,
                                                     int pageSize,
                                                     Parameter parameter)

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


findQualitativeValueByStatus

java.util.Collection findQualitativeValueByStatus(Status status)

findQualitativeValueByStatus

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

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


findQualitativeValueByStatus

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

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


findQualitativeValueByStatus

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

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


findQualitativeValueByStatus

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

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


findQualitativeValueByStatus

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

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


findQualitativeValueByStatus

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

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


findQualitativeValueByStatus

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

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


findQualitativeValueByNaturalId

QualitativeValue findQualitativeValueByNaturalId(java.lang.Integer id)

findQualitativeValueByNaturalId

QualitativeValue findQualitativeValueByNaturalId(java.lang.String queryString,
                                                 java.lang.Integer id)

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


findQualitativeValueByNaturalId

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

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


findQualitativeValueByNaturalId

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

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


createFromClusterQualitativeValue

QualitativeValue createFromClusterQualitativeValue(ClusterQualitativeValue clusterQualitativeValue)

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.