fr.ifremer.allegro.referential.pmfm
Interface MatrixDao

All Known Implementing Classes:
MatrixDaoBase, MatrixDaoImpl

public interface MatrixDao

See Also:
Matrix

Field Summary
static int TRANSFORM_CLUSTERMATRIX
          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_REMOTEMATRIXFULLVO
          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_REMOTEMATRIXNATURALID
          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
 Matrix clusterMatrixToEntity(ClusterMatrix clusterMatrix)
          Converts an instance of type ClusterMatrix to this DAO's entity.
 void clusterMatrixToEntity(ClusterMatrix source, Matrix target, boolean copyIfNull)
          Copies the fields of ClusterMatrix to the specified entity.
 void clusterMatrixToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterMatrix to this DAO's entity.
 java.util.Collection create(java.util.Collection entities)
          Creates a new instance of fr.ifremer.allegro.referential.pmfm.Matrix and adds from the passed in entities collection
 Matrix create(java.util.Date creationDate, java.util.Collection fractions, java.lang.String name, Status status)
           Creates a new fr.ifremer.allegro.referential.pmfm.Matrix instance from only required properties (attributes and association ends) and adds it to the persistent store.
 java.util.Collection create(int transform, java.util.Collection entities)
           Does the same thing as create(fr.ifremer.allegro.referential.pmfm.Matrix) with an additional flag called transform.
 java.lang.Object create(int transform, java.util.Date creationDate, java.util.Collection fractions, java.lang.String name, Status status)
           Does the same thing as create(java.util.Date,java.util.Collection,java.lang.String,fr.ifremer.allegro.referential.Status) with an additional flag called transform.
 java.lang.Object create(int transform, Matrix matrix)
           Does the same thing as create(fr.ifremer.allegro.referential.pmfm.Matrix) with an additional flag called transform.
 java.lang.Object create(int transform, java.lang.String name, java.lang.String description, java.util.Date creationDate, java.sql.Timestamp updateDate, java.util.Collection fractions, Status status)
           Does the same thing as create(java.lang.String,java.lang.String,java.util.Date,java.sql.Timestamp,java.util.Collection,fr.ifremer.allegro.referential.Status) with an additional flag called transform.
 Matrix create(Matrix matrix)
          Creates an instance of fr.ifremer.allegro.referential.pmfm.Matrix and adds it to the persistent store.
 Matrix create(java.lang.String name, java.lang.String description, java.util.Date creationDate, java.sql.Timestamp updateDate, java.util.Collection fractions, Status status)
           Creates a new fr.ifremer.allegro.referential.pmfm.Matrix instance from all attributes and properties and adds it to the persistent store.
 Matrix createFromClusterMatrix(ClusterMatrix clusterMatrix)
           
 Matrix findMatrixById(java.lang.Integer id)
           
 java.lang.Object findMatrixById(int transform, java.lang.Integer id)
           Does the same thing as findMatrixById(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findMatrixById(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as findMatrixById(int, java.lang.Integer) with an additional argument called queryString.
 Matrix findMatrixById(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as findMatrixById(java.lang.Integer) with an additional argument called queryString.
 Matrix findMatrixByNaturalId(java.lang.Integer id)
           
 java.lang.Object findMatrixByNaturalId(int transform, java.lang.Integer id)
           Does the same thing as findMatrixByNaturalId(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findMatrixByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as findMatrixByNaturalId(int, java.lang.Integer) with an additional argument called queryString.
 Matrix findMatrixByNaturalId(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as findMatrixByNaturalId(java.lang.Integer) with an additional argument called queryString.
 java.util.Collection findMatrixByStatus(int transform, int pageNumber, int pageSize, Status status)
           Does the same thing as findMatrixByStatus(int, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findMatrixByStatus(int pageNumber, int pageSize, Status status)
           Does the same thing as findMatrixByStatus(fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findMatrixByStatus(int transform, Status status)
           Does the same thing as findMatrixByStatus(fr.ifremer.allegro.referential.Status) with an additional flag called transform.
 java.util.Collection findMatrixByStatus(int transform, java.lang.String queryString, int pageNumber, int pageSize, Status status)
           Does the same thing as findMatrixByStatus(int, String, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findMatrixByStatus(int transform, java.lang.String queryString, Status status)
           Does the same thing as findMatrixByStatus(int, fr.ifremer.allegro.referential.Status) with an additional argument called queryString.
 java.util.Collection findMatrixByStatus(Status status)
           
 java.util.Collection findMatrixByStatus(java.lang.String queryString, int pageNumber, int pageSize, Status status)
           Does the same thing as findMatrixByStatus(String, fr.ifremer.allegro.referential.Status) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findMatrixByStatus(java.lang.String queryString, Status status)
           Does the same thing as findMatrixByStatus(fr.ifremer.allegro.referential.Status) with an additional argument called queryString.
 ClusterMatrix[] getAllClusterMatrixSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
 java.util.Collection getAllMatrix()
           
 java.util.Collection getAllMatrix(int transform)
           Does the same thing as getAllMatrix() with an additional flag called transform.
 java.util.Collection getAllMatrix(int pageNumber, int pageSize)
           Does the same thing as getAllMatrix() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllMatrix(int transform, int pageNumber, int pageSize)
           Does the same thing as getAllMatrix(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllMatrix(int transform, java.lang.String queryString)
           Does the same thing as getAllMatrix(int) with an additional argument called queryString.
 java.util.Collection getAllMatrix(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as getAllMatrix(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllMatrix(java.lang.String queryString)
           Does the same thing as getAllMatrix() with an additional argument called queryString.
 java.util.Collection getAllMatrix(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as getAllMatrix(String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllMatrixSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as getAllMatrixSinceDateSynchro(int, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllMatrixSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as getAllMatrixSinceDateSynchro(java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllMatrixSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as getAllMatrixSinceDateSynchro(int, String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllMatrixSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as getAllMatrixSinceDateSynchro(int, java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllMatrixSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
           Does the same thing as getAllMatrixSinceDateSynchro(java.sql.Timestamp) with an additional flag called transform.
 java.util.Collection getAllMatrixSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as getAllMatrixSinceDateSynchro(String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllMatrixSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as getAllMatrixSinceDateSynchro(java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllMatrixSinceDateSynchro(java.sql.Timestamp updateDate)
           
 Matrix load(java.lang.Integer id)
          Loads an instance of fr.ifremer.allegro.referential.pmfm.Matrix 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 Matrix.
 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.
 Matrix remoteMatrixFullVOToEntity(RemoteMatrixFullVO remoteMatrixFullVO)
          Converts an instance of type RemoteMatrixFullVO to this DAO's entity.
 void remoteMatrixFullVOToEntity(RemoteMatrixFullVO source, Matrix target, boolean copyIfNull)
          Copies the fields of RemoteMatrixFullVO to the specified entity.
 void remoteMatrixFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteMatrixFullVO to this DAO's entity.
 Matrix remoteMatrixNaturalIdToEntity(RemoteMatrixNaturalId remoteMatrixNaturalId)
          Converts an instance of type RemoteMatrixNaturalId to this DAO's entity.
 void remoteMatrixNaturalIdToEntity(RemoteMatrixNaturalId source, Matrix target, boolean copyIfNull)
          Copies the fields of RemoteMatrixNaturalId to the specified entity.
 void remoteMatrixNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteMatrixNaturalId 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.Matrix having the given identifier from the persistent store.
 void remove(Matrix matrix)
          Removes the instance of fr.ifremer.allegro.referential.pmfm.Matrix 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.
 ClusterMatrix toClusterMatrix(Matrix entity)
          Converts this DAO's entity to an object of type ClusterMatrix.
 void toClusterMatrix(Matrix source, ClusterMatrix target)
          Copies the fields of the specified entity to the target value object.
 ClusterMatrix[] toClusterMatrixArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterMatrix.
 void toClusterMatrixCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterMatrix.
 RemoteMatrixFullVO toRemoteMatrixFullVO(Matrix entity)
          Converts this DAO's entity to an object of type RemoteMatrixFullVO.
 void toRemoteMatrixFullVO(Matrix source, RemoteMatrixFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteMatrixFullVO[] toRemoteMatrixFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteMatrixFullVO.
 void toRemoteMatrixFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteMatrixFullVO.
 RemoteMatrixNaturalId toRemoteMatrixNaturalId(Matrix entity)
          Converts this DAO's entity to an object of type RemoteMatrixNaturalId.
 void toRemoteMatrixNaturalId(Matrix source, RemoteMatrixNaturalId target)
          Copies the fields of the specified entity to the target value object.
 RemoteMatrixNaturalId[] toRemoteMatrixNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteMatrixNaturalId.
 void toRemoteMatrixNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteMatrixNaturalId.
 void update(java.util.Collection entities)
          Updates all instances in the entities collection in the persistent store.
 void update(Matrix matrix)
          Updates the matrix 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_REMOTEMATRIXFULLVO

static final int TRANSFORM_REMOTEMATRIXFULLVO
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 RemoteMatrixFullVO.

See Also:
Constant Field Values

TRANSFORM_REMOTEMATRIXNATURALID

static final int TRANSFORM_REMOTEMATRIXNATURALID
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 RemoteMatrixNaturalId.

See Also:
Constant Field Values

TRANSFORM_CLUSTERMATRIX

static final int TRANSFORM_CLUSTERMATRIX
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 ClusterMatrix.

See Also:
Constant Field Values
Method Detail

toRemoteMatrixFullVO

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


toRemoteMatrixFullVO

RemoteMatrixFullVO toRemoteMatrixFullVO(Matrix entity)
Converts this DAO's entity to an object of type RemoteMatrixFullVO.


toRemoteMatrixFullVOCollection

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


toRemoteMatrixFullVOArray

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


remoteMatrixFullVOToEntity

void remoteMatrixFullVOToEntity(RemoteMatrixFullVO source,
                                Matrix target,
                                boolean copyIfNull)
Copies the fields of RemoteMatrixFullVO 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.

remoteMatrixFullVOToEntity

Matrix remoteMatrixFullVOToEntity(RemoteMatrixFullVO remoteMatrixFullVO)
Converts an instance of type RemoteMatrixFullVO to this DAO's entity.


remoteMatrixFullVOToEntityCollection

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


toRemoteMatrixNaturalId

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


toRemoteMatrixNaturalId

RemoteMatrixNaturalId toRemoteMatrixNaturalId(Matrix entity)
Converts this DAO's entity to an object of type RemoteMatrixNaturalId.


toRemoteMatrixNaturalIdCollection

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


toRemoteMatrixNaturalIdArray

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


remoteMatrixNaturalIdToEntity

void remoteMatrixNaturalIdToEntity(RemoteMatrixNaturalId source,
                                   Matrix target,
                                   boolean copyIfNull)
Copies the fields of RemoteMatrixNaturalId 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.

remoteMatrixNaturalIdToEntity

Matrix remoteMatrixNaturalIdToEntity(RemoteMatrixNaturalId remoteMatrixNaturalId)
Converts an instance of type RemoteMatrixNaturalId to this DAO's entity.


remoteMatrixNaturalIdToEntityCollection

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


toClusterMatrix

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


toClusterMatrix

ClusterMatrix toClusterMatrix(Matrix entity)
Converts this DAO's entity to an object of type ClusterMatrix.


toClusterMatrixCollection

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


toClusterMatrixArray

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


clusterMatrixToEntity

void clusterMatrixToEntity(ClusterMatrix source,
                           Matrix target,
                           boolean copyIfNull)
Copies the fields of ClusterMatrix 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.

clusterMatrixToEntity

Matrix clusterMatrixToEntity(ClusterMatrix clusterMatrix)
Converts an instance of type ClusterMatrix to this DAO's entity.


clusterMatrixToEntityCollection

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


load

Matrix load(java.lang.Integer id)
Loads an instance of fr.ifremer.allegro.referential.pmfm.Matrix 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 Matrix.

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

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


create

java.lang.Object create(int transform,
                        Matrix matrix)

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

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

Matrix create(java.lang.String name,
              java.lang.String description,
              java.util.Date creationDate,
              java.sql.Timestamp updateDate,
              java.util.Collection fractions,
              Status status)

Creates a new fr.ifremer.allegro.referential.pmfm.Matrix 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,
                        java.util.Date creationDate,
                        java.sql.Timestamp updateDate,
                        java.util.Collection fractions,
                        Status status)

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

Matrix create(java.util.Date creationDate,
              java.util.Collection fractions,
              java.lang.String name,
              Status status)

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


create

java.lang.Object create(int transform,
                        java.util.Date creationDate,
                        java.util.Collection fractions,
                        java.lang.String name,
                        Status status)

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


remove

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


remove

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


getAllMatrix

java.util.Collection getAllMatrix()

getAllMatrix

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

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


getAllMatrix

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

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


getAllMatrix

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

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


getAllMatrix

java.util.Collection getAllMatrix(int transform)

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


getAllMatrix

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

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


getAllMatrix

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

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


getAllMatrix

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

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


findMatrixById

Matrix findMatrixById(java.lang.Integer id)

findMatrixById

Matrix findMatrixById(java.lang.String queryString,
                      java.lang.Integer id)

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


findMatrixById

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

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


findMatrixById

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

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


findMatrixByStatus

java.util.Collection findMatrixByStatus(Status status)

findMatrixByStatus

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

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


findMatrixByStatus

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

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


findMatrixByStatus

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

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


findMatrixByStatus

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

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


findMatrixByStatus

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

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


findMatrixByStatus

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

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


findMatrixByStatus

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

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


findMatrixByNaturalId

Matrix findMatrixByNaturalId(java.lang.Integer id)

findMatrixByNaturalId

Matrix findMatrixByNaturalId(java.lang.String queryString,
                             java.lang.Integer id)

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


findMatrixByNaturalId

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

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


findMatrixByNaturalId

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

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


getAllMatrixSinceDateSynchro

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

getAllMatrixSinceDateSynchro

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

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


getAllMatrixSinceDateSynchro

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

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


getAllMatrixSinceDateSynchro

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

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


getAllMatrixSinceDateSynchro

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

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


getAllMatrixSinceDateSynchro

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

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


getAllMatrixSinceDateSynchro

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

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


getAllMatrixSinceDateSynchro

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

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


createFromClusterMatrix

Matrix createFromClusterMatrix(ClusterMatrix clusterMatrix)

getAllClusterMatrixSinceDateSynchro

ClusterMatrix[] getAllClusterMatrixSinceDateSynchro(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.