|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.orm.hibernate3.support.HibernateDaoSupport
fr.ifremer.allegro.referential.pmfm.MatrixDaoBase
public abstract class MatrixDaoBase
Base Spring DAO Class: is able to create, update, remove, load, and find
objects of type fr.ifremer.allegro.referential.pmfm.Matrix
.
Matrix
Field Summary |
---|
Fields inherited from interface fr.ifremer.allegro.referential.pmfm.MatrixDao |
---|
TRANSFORM_CLUSTERMATRIX, TRANSFORM_NONE, TRANSFORM_REMOTEMATRIXFULLVO, TRANSFORM_REMOTEMATRIXNATURALID |
Constructor Summary | |
---|---|
MatrixDaoBase()
|
Method Summary | |
---|---|
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 MatrixDao.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 MatrixDao.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 MatrixDao.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 MatrixDao.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 MatrixDao.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 MatrixDao.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 MatrixDao.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 MatrixDao.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 MatrixDao.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 MatrixDao.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 MatrixDao.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 MatrixDao.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 MatrixDao.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 MatrixDao.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 MatrixDao.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 MatrixDao.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 MatrixDao.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 MatrixDao.getAllMatrix() with an
additional flag called transform . |
java.util.Collection |
getAllMatrix(int pageNumber,
int pageSize)
Does the same thing as MatrixDao.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 MatrixDao.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 MatrixDao.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 MatrixDao.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 MatrixDao.getAllMatrix() with an
additional argument called queryString . |
java.util.Collection |
getAllMatrix(java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as MatrixDao.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 MatrixDao.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 MatrixDao.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 MatrixDao.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 MatrixDao.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 MatrixDao.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 MatrixDao.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 MatrixDao.getAllMatrixSinceDateSynchro(java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllMatrixSinceDateSynchro(java.sql.Timestamp updateDate)
|
protected FractionDao |
getFractionDao()
Gets the reference to fractionDao . |
protected java.security.Principal |
getPrincipal()
Gets the current principal if one has been set,
otherwise returns null . |
protected StatusDao |
getStatusDao()
Gets the reference to statusDao . |
protected abstract Matrix |
handleCreateFromClusterMatrix(ClusterMatrix clusterMatrix)
Performs the core logic for createFromClusterMatrix(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterMatrix) |
protected abstract ClusterMatrix[] |
handleGetAllClusterMatrixSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize)
Performs the core logic for getAllClusterMatrixSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer) |
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 MatrixDao.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 MatrixDao.loadAll() with an
additional flag called transform . |
java.util.Collection |
loadAll(int pageNumber,
int pageSize)
Does the same thing as MatrixDao.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 MatrixDao.loadAll(int) with an
additional two arguments called pageNumber and pageSize . |
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. |
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 |
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 MatrixDao.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. |
void |
setFractionDao(FractionDao fractionDao)
Sets the reference to fractionDao . |
void |
setStatusDao(StatusDao statusDao)
Sets the reference to statusDao . |
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. |
protected ClusterMatrix |
toClusterMatrix(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a 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 . |
protected Matrix |
toEntity(java.lang.Object[] row)
|
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. |
protected RemoteMatrixFullVO |
toRemoteMatrixFullVO(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a 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. |
protected RemoteMatrixNaturalId |
toRemoteMatrixNaturalId(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a 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 . |
protected void |
transformEntities(int transform,
java.util.Collection entities)
Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.pmfm.Matrix)
method. |
protected java.lang.Object |
transformEntity(int transform,
Matrix entity)
Allows transformation of entities into value objects (or something else for that matter), when the transform
flag is set to one of the constants defined in fr.ifremer.allegro.referential.pmfm.MatrixDao , please note
that the MatrixDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself
will be returned. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface fr.ifremer.allegro.referential.pmfm.MatrixDao |
---|
clusterMatrixToEntity, remoteMatrixFullVOToEntity, remoteMatrixNaturalIdToEntity |
Constructor Detail |
---|
public MatrixDaoBase()
Method Detail |
---|
public void setStatusDao(StatusDao statusDao)
statusDao
.
protected StatusDao getStatusDao()
statusDao
.
public void setFractionDao(FractionDao fractionDao)
fractionDao
.
protected FractionDao getFractionDao()
fractionDao
.
public java.lang.Object load(int transform, java.lang.Integer id)
MatrixDao
Does the same thing as MatrixDao.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.
load
in interface MatrixDao
id
- identifier of the entity to load
MatrixDao.load(int, java.lang.Integer)
public Matrix load(java.lang.Integer id)
MatrixDao
load
in interface MatrixDao
MatrixDao.load(java.lang.Integer)
public java.util.Collection loadAll()
MatrixDao
Matrix
.
loadAll
in interface MatrixDao
MatrixDao.loadAll()
public java.util.Collection loadAll(int transform)
MatrixDao
Does the same thing as MatrixDao.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.
loadAll
in interface MatrixDao
transform
- the flag indicating what transformation to use.
MatrixDao.loadAll(int)
public java.util.Collection loadAll(int pageNumber, int pageSize)
MatrixDao
Does the same thing as MatrixDao.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.
loadAll
in interface MatrixDao
pageNumber
- the page number to retrieve when paging results.pageSize
- the size of the page to retrieve when paging results.
MatrixDao.loadAll(int, int)
public java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
MatrixDao
Does the same thing as MatrixDao.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.
loadAll
in interface MatrixDao
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.
MatrixDao.loadAll(int, int, int)
public Matrix create(Matrix matrix)
MatrixDao
create
in interface MatrixDao
MatrixDao.create(fr.ifremer.allegro.referential.pmfm.Matrix)
public java.lang.Object create(int transform, Matrix matrix)
MatrixDao
Does the same thing as MatrixDao.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
in interface MatrixDao
MatrixDao.create(int transform, fr.ifremer.allegro.referential.pmfm.Matrix)
public java.util.Collection create(java.util.Collection entities)
MatrixDao
entities
collection
create
in interface MatrixDao
entities
- the collection of fr.ifremer.allegro.referential.pmfm.Matrix
instances to create.
MatrixDao.create(java.util.Collection)
public java.util.Collection create(int transform, java.util.Collection entities)
MatrixDao
Does the same thing as MatrixDao.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
in interface MatrixDao
MatrixDao.create(int, java.util.Collection)
public Matrix create(java.lang.String name, java.lang.String description, java.util.Date creationDate, java.sql.Timestamp updateDate, java.util.Collection fractions, Status status)
MatrixDao
Creates a new fr.ifremer.allegro.referential.pmfm.Matrix
instance from all attributes and
properties and adds it to the persistent store.
create
in interface MatrixDao
MatrixDao.create(java.lang.String,java.lang.String,java.util.Date,java.sql.Timestamp,java.util.Collection,fr.ifremer.allegro.referential.Status)
public 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)
MatrixDao
Does the same thing as MatrixDao.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
in interface MatrixDao
MatrixDao.create(int, java.lang.String,java.lang.String,java.util.Date,java.sql.Timestamp,java.util.Collection,fr.ifremer.allegro.referential.Status)
public Matrix create(java.util.Date creationDate, java.util.Collection fractions, java.lang.String name, Status status)
MatrixDao
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
in interface MatrixDao
MatrixDao.create(java.util.Date,java.util.Collection,java.lang.String,fr.ifremer.allegro.referential.Status)
public java.lang.Object create(int transform, java.util.Date creationDate, java.util.Collection fractions, java.lang.String name, Status status)
MatrixDao
Does the same thing as MatrixDao.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.
create
in interface MatrixDao
MatrixDao.create(int, java.util.Date,java.util.Collection,java.lang.String,fr.ifremer.allegro.referential.Status)
public void update(Matrix matrix)
MatrixDao
matrix
instance in the persistent store.
update
in interface MatrixDao
MatrixDao.update(fr.ifremer.allegro.referential.pmfm.Matrix)
public void update(java.util.Collection entities)
MatrixDao
entities
collection in the persistent store.
update
in interface MatrixDao
MatrixDao.update(java.util.Collection)
public void remove(Matrix matrix)
MatrixDao
remove
in interface MatrixDao
MatrixDao.remove(fr.ifremer.allegro.referential.pmfm.Matrix)
public void remove(java.lang.Integer id)
MatrixDao
identifier
from the persistent store.
remove
in interface MatrixDao
MatrixDao.remove(java.lang.Integer)
public void remove(java.util.Collection entities)
MatrixDao
entities collection.
- Specified by:
remove
in interface MatrixDao
- See Also:
MatrixDao.remove(java.util.Collection)
public java.util.Collection getAllMatrix()
getAllMatrix
in interface MatrixDao
MatrixDao.getAllMatrix()
public java.util.Collection getAllMatrix(int transform)
MatrixDao
Does the same thing as MatrixDao.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
in interface MatrixDao
MatrixDao.getAllMatrix(int)
public java.util.Collection getAllMatrix(java.lang.String queryString)
MatrixDao
Does the same thing as MatrixDao.getAllMatrix()
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in MatrixDao.getAllMatrix()
.
getAllMatrix
in interface MatrixDao
MatrixDao.getAllMatrix(java.lang.String)
public java.util.Collection getAllMatrix(int pageNumber, int pageSize)
MatrixDao
Does the same thing as MatrixDao.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
in interface MatrixDao
MatrixDao.getAllMatrix(int, int)
public java.util.Collection getAllMatrix(java.lang.String queryString, int pageNumber, int pageSize)
MatrixDao
Does the same thing as MatrixDao.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
in interface MatrixDao
MatrixDao.getAllMatrix(String, int, int)
public java.util.Collection getAllMatrix(int transform, java.lang.String queryString)
MatrixDao
Does the same thing as MatrixDao.getAllMatrix(int)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in MatrixDao.getAllMatrix(int)
.
getAllMatrix
in interface MatrixDao
MatrixDao.getAllMatrix(int, String)
public java.util.Collection getAllMatrix(int transform, int pageNumber, int pageSize)
MatrixDao
Does the same thing as MatrixDao.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
in interface MatrixDao
MatrixDao.getAllMatrix(int, int, int)
public java.util.Collection getAllMatrix(int transform, java.lang.String queryString, int pageNumber, int pageSize)
MatrixDao
Does the same thing as MatrixDao.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.
getAllMatrix
in interface MatrixDao
MatrixDao.getAllMatrix(int, java.lang.String, int, int)
public Matrix findMatrixById(java.lang.Integer id)
findMatrixById
in interface MatrixDao
MatrixDao.findMatrixById(java.lang.Integer)
public java.lang.Object findMatrixById(int transform, java.lang.Integer id)
MatrixDao
Does the same thing as MatrixDao.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
in interface MatrixDao
MatrixDao.findMatrixById(int, java.lang.Integer)
public Matrix findMatrixById(java.lang.String queryString, java.lang.Integer id)
MatrixDao
Does the same thing as MatrixDao.findMatrixById(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in MatrixDao.findMatrixById(java.lang.Integer)
.
findMatrixById
in interface MatrixDao
MatrixDao.findMatrixById(java.lang.String, java.lang.Integer)
public java.lang.Object findMatrixById(int transform, java.lang.String queryString, java.lang.Integer id)
MatrixDao
Does the same thing as MatrixDao.findMatrixById(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in MatrixDao.findMatrixById(int, java.lang.Integer id)
.
findMatrixById
in interface MatrixDao
MatrixDao.findMatrixById(int, java.lang.String, java.lang.Integer)
public java.util.Collection findMatrixByStatus(Status status)
findMatrixByStatus
in interface MatrixDao
MatrixDao.findMatrixByStatus(fr.ifremer.allegro.referential.Status)
public java.util.Collection findMatrixByStatus(int transform, Status status)
MatrixDao
Does the same thing as MatrixDao.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
in interface MatrixDao
MatrixDao.findMatrixByStatus(int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findMatrixByStatus(java.lang.String queryString, Status status)
MatrixDao
Does the same thing as MatrixDao.findMatrixByStatus(fr.ifremer.allegro.referential.Status)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in MatrixDao.findMatrixByStatus(fr.ifremer.allegro.referential.Status)
.
findMatrixByStatus
in interface MatrixDao
MatrixDao.findMatrixByStatus(java.lang.String, fr.ifremer.allegro.referential.Status)
public java.util.Collection findMatrixByStatus(int pageNumber, int pageSize, Status status)
MatrixDao
Does the same thing as MatrixDao.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
in interface MatrixDao
MatrixDao.findMatrixByStatus(int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findMatrixByStatus(java.lang.String queryString, int pageNumber, int pageSize, Status status)
MatrixDao
Does the same thing as MatrixDao.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
in interface MatrixDao
MatrixDao.findMatrixByStatus(String, int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findMatrixByStatus(int transform, java.lang.String queryString, Status status)
MatrixDao
Does the same thing as MatrixDao.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 MatrixDao.findMatrixByStatus(int, fr.ifremer.allegro.referential.Status status)
.
findMatrixByStatus
in interface MatrixDao
MatrixDao.findMatrixByStatus(int, String, fr.ifremer.allegro.referential.Status)
public java.util.Collection findMatrixByStatus(int transform, int pageNumber, int pageSize, Status status)
MatrixDao
Does the same thing as MatrixDao.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
in interface MatrixDao
MatrixDao.findMatrixByStatus(int, int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findMatrixByStatus(int transform, java.lang.String queryString, int pageNumber, int pageSize, Status status)
MatrixDao
Does the same thing as MatrixDao.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.
findMatrixByStatus
in interface MatrixDao
MatrixDao.findMatrixByStatus(int, java.lang.String, int, int, fr.ifremer.allegro.referential.Status)
public Matrix findMatrixByNaturalId(java.lang.Integer id)
findMatrixByNaturalId
in interface MatrixDao
MatrixDao.findMatrixByNaturalId(java.lang.Integer)
public java.lang.Object findMatrixByNaturalId(int transform, java.lang.Integer id)
MatrixDao
Does the same thing as MatrixDao.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
in interface MatrixDao
MatrixDao.findMatrixByNaturalId(int, java.lang.Integer)
public Matrix findMatrixByNaturalId(java.lang.String queryString, java.lang.Integer id)
MatrixDao
Does the same thing as MatrixDao.findMatrixByNaturalId(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in MatrixDao.findMatrixByNaturalId(java.lang.Integer)
.
findMatrixByNaturalId
in interface MatrixDao
MatrixDao.findMatrixByNaturalId(java.lang.String, java.lang.Integer)
public java.lang.Object findMatrixByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
MatrixDao
Does the same thing as MatrixDao.findMatrixByNaturalId(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in MatrixDao.findMatrixByNaturalId(int, java.lang.Integer id)
.
findMatrixByNaturalId
in interface MatrixDao
MatrixDao.findMatrixByNaturalId(int, java.lang.String, java.lang.Integer)
public java.util.Collection getAllMatrixSinceDateSynchro(java.sql.Timestamp updateDate)
getAllMatrixSinceDateSynchro
in interface MatrixDao
MatrixDao.getAllMatrixSinceDateSynchro(java.sql.Timestamp)
public java.util.Collection getAllMatrixSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
MatrixDao
Does the same thing as MatrixDao.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
in interface MatrixDao
MatrixDao.getAllMatrixSinceDateSynchro(int, java.sql.Timestamp)
public java.util.Collection getAllMatrixSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
MatrixDao
Does the same thing as MatrixDao.getAllMatrixSinceDateSynchro(java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in MatrixDao.getAllMatrixSinceDateSynchro(java.sql.Timestamp)
.
getAllMatrixSinceDateSynchro
in interface MatrixDao
MatrixDao.getAllMatrixSinceDateSynchro(java.lang.String, java.sql.Timestamp)
public java.util.Collection getAllMatrixSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
MatrixDao
Does the same thing as MatrixDao.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
in interface MatrixDao
MatrixDao.getAllMatrixSinceDateSynchro(int, int, java.sql.Timestamp)
public java.util.Collection getAllMatrixSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
MatrixDao
Does the same thing as MatrixDao.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
in interface MatrixDao
MatrixDao.getAllMatrixSinceDateSynchro(String, int, int, java.sql.Timestamp)
public java.util.Collection getAllMatrixSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
MatrixDao
Does the same thing as MatrixDao.getAllMatrixSinceDateSynchro(int, java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in MatrixDao.getAllMatrixSinceDateSynchro(int, java.sql.Timestamp updateDate)
.
getAllMatrixSinceDateSynchro
in interface MatrixDao
MatrixDao.getAllMatrixSinceDateSynchro(int, String, java.sql.Timestamp)
public java.util.Collection getAllMatrixSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
MatrixDao
Does the same thing as MatrixDao.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
in interface MatrixDao
MatrixDao.getAllMatrixSinceDateSynchro(int, int, int, java.sql.Timestamp)
public java.util.Collection getAllMatrixSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
MatrixDao
Does the same thing as MatrixDao.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.
getAllMatrixSinceDateSynchro
in interface MatrixDao
MatrixDao.getAllMatrixSinceDateSynchro(int, java.lang.String, int, int, java.sql.Timestamp)
public Matrix createFromClusterMatrix(ClusterMatrix clusterMatrix)
createFromClusterMatrix
in interface MatrixDao
MatrixDao.createFromClusterMatrix(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterMatrix)
protected abstract Matrix handleCreateFromClusterMatrix(ClusterMatrix clusterMatrix) throws java.lang.Exception
createFromClusterMatrix(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterMatrix)
java.lang.Exception
public ClusterMatrix[] getAllClusterMatrixSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
getAllClusterMatrixSinceDateSynchro
in interface MatrixDao
MatrixDao.getAllClusterMatrixSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract ClusterMatrix[] handleGetAllClusterMatrixSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize) throws java.lang.Exception
getAllClusterMatrixSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
java.lang.Exception
protected java.lang.Object transformEntity(int transform, Matrix entity)
transform
flag is set to one of the constants defined in fr.ifremer.allegro.referential.pmfm.MatrixDao
, please note
that the MatrixDao.TRANSFORM_NONE
constant denotes no transformation, so the entity itself
will be returned.
This method will return instances of these types:
Matrix
- MatrixDao.TRANSFORM_NONE
RemoteMatrixFullVO
- TRANSFORM_REMOTEMATRIXFULLVO
RemoteMatrixNaturalId
- TRANSFORM_REMOTEMATRIXNATURALID
ClusterMatrix
- TRANSFORM_CLUSTERMATRIX
MatrixDao.TRANSFORM_NONE
is assumed.
transform
- one of the constants declared in MatrixDao
entity
- an entity that was found
transformEntities(int,java.util.Collection)
protected void transformEntities(int transform, java.util.Collection entities)
transformEntity(int,fr.ifremer.allegro.referential.pmfm.Matrix)
method. This method does not instantiate a new collection.
This method is to be used internally only.
transform
- one of the constants declared in fr.ifremer.allegro.referential.pmfm.MatrixDao
entities
- the collection of entities to transformtransformEntity(int,fr.ifremer.allegro.referential.pmfm.Matrix)
protected Matrix toEntity(java.lang.Object[] row)
public final void toRemoteMatrixFullVOCollection(java.util.Collection entities)
MatrixDao
RemoteMatrixFullVO
.
toRemoteMatrixFullVOCollection
in interface MatrixDao
MatrixDao.toRemoteMatrixFullVOCollection(java.util.Collection)
public final RemoteMatrixFullVO[] toRemoteMatrixFullVOArray(java.util.Collection entities)
MatrixDao
RemoteMatrixFullVO
.
toRemoteMatrixFullVOArray
in interface MatrixDao
MatrixDao.toRemoteMatrixFullVOArray(java.util.Collection)
protected RemoteMatrixFullVO toRemoteMatrixFullVO(java.lang.Object[] row)
MatrixDaoImpl
class if you intend to use reporting queries.
MatrixDao.toRemoteMatrixFullVO(fr.ifremer.allegro.referential.pmfm.Matrix)
public final void remoteMatrixFullVOToEntityCollection(java.util.Collection instances)
MatrixDao
RemoteMatrixFullVO
to this
DAO's entity.
remoteMatrixFullVOToEntityCollection
in interface MatrixDao
MatrixDao.remoteMatrixFullVOToEntityCollection(java.util.Collection)
public void toRemoteMatrixFullVO(Matrix source, RemoteMatrixFullVO target)
MatrixDao
toRemoteMatrixFullVO
in interface MatrixDao
MatrixDao.toRemoteMatrixFullVO(fr.ifremer.allegro.referential.pmfm.Matrix, fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteMatrixFullVO)
public RemoteMatrixFullVO toRemoteMatrixFullVO(Matrix entity)
MatrixDao
RemoteMatrixFullVO
.
toRemoteMatrixFullVO
in interface MatrixDao
MatrixDao.toRemoteMatrixFullVO(fr.ifremer.allegro.referential.pmfm.Matrix)
public void remoteMatrixFullVOToEntity(RemoteMatrixFullVO source, Matrix target, boolean copyIfNull)
MatrixDao
RemoteMatrixFullVO
to the specified entity.
remoteMatrixFullVOToEntity
in interface MatrixDao
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.fr.ifremer.allegro.referential.pmfm.MatrixDao#remoteMatrixFullVOToEntity(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteMatrixFullVO, fr.ifremer.allegro.referential.pmfm.Matrix)
public final void toRemoteMatrixNaturalIdCollection(java.util.Collection entities)
MatrixDao
RemoteMatrixNaturalId
.
toRemoteMatrixNaturalIdCollection
in interface MatrixDao
MatrixDao.toRemoteMatrixNaturalIdCollection(java.util.Collection)
public final RemoteMatrixNaturalId[] toRemoteMatrixNaturalIdArray(java.util.Collection entities)
MatrixDao
RemoteMatrixNaturalId
.
toRemoteMatrixNaturalIdArray
in interface MatrixDao
MatrixDao.toRemoteMatrixNaturalIdArray(java.util.Collection)
protected RemoteMatrixNaturalId toRemoteMatrixNaturalId(java.lang.Object[] row)
MatrixDaoImpl
class if you intend to use reporting queries.
MatrixDao.toRemoteMatrixNaturalId(fr.ifremer.allegro.referential.pmfm.Matrix)
public final void remoteMatrixNaturalIdToEntityCollection(java.util.Collection instances)
MatrixDao
RemoteMatrixNaturalId
to this
DAO's entity.
remoteMatrixNaturalIdToEntityCollection
in interface MatrixDao
MatrixDao.remoteMatrixNaturalIdToEntityCollection(java.util.Collection)
public void toRemoteMatrixNaturalId(Matrix source, RemoteMatrixNaturalId target)
MatrixDao
toRemoteMatrixNaturalId
in interface MatrixDao
MatrixDao.toRemoteMatrixNaturalId(fr.ifremer.allegro.referential.pmfm.Matrix, fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteMatrixNaturalId)
public RemoteMatrixNaturalId toRemoteMatrixNaturalId(Matrix entity)
MatrixDao
RemoteMatrixNaturalId
.
toRemoteMatrixNaturalId
in interface MatrixDao
MatrixDao.toRemoteMatrixNaturalId(fr.ifremer.allegro.referential.pmfm.Matrix)
public void remoteMatrixNaturalIdToEntity(RemoteMatrixNaturalId source, Matrix target, boolean copyIfNull)
MatrixDao
RemoteMatrixNaturalId
to the specified entity.
remoteMatrixNaturalIdToEntity
in interface MatrixDao
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.fr.ifremer.allegro.referential.pmfm.MatrixDao#remoteMatrixNaturalIdToEntity(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteMatrixNaturalId, fr.ifremer.allegro.referential.pmfm.Matrix)
public final void toClusterMatrixCollection(java.util.Collection entities)
MatrixDao
ClusterMatrix
.
toClusterMatrixCollection
in interface MatrixDao
MatrixDao.toClusterMatrixCollection(java.util.Collection)
public final ClusterMatrix[] toClusterMatrixArray(java.util.Collection entities)
MatrixDao
ClusterMatrix
.
toClusterMatrixArray
in interface MatrixDao
MatrixDao.toClusterMatrixArray(java.util.Collection)
protected ClusterMatrix toClusterMatrix(java.lang.Object[] row)
MatrixDaoImpl
class if you intend to use reporting queries.
MatrixDao.toClusterMatrix(fr.ifremer.allegro.referential.pmfm.Matrix)
public final void clusterMatrixToEntityCollection(java.util.Collection instances)
MatrixDao
ClusterMatrix
to this
DAO's entity.
clusterMatrixToEntityCollection
in interface MatrixDao
MatrixDao.clusterMatrixToEntityCollection(java.util.Collection)
public void toClusterMatrix(Matrix source, ClusterMatrix target)
MatrixDao
toClusterMatrix
in interface MatrixDao
MatrixDao.toClusterMatrix(fr.ifremer.allegro.referential.pmfm.Matrix, fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterMatrix)
public ClusterMatrix toClusterMatrix(Matrix entity)
MatrixDao
ClusterMatrix
.
toClusterMatrix
in interface MatrixDao
MatrixDao.toClusterMatrix(fr.ifremer.allegro.referential.pmfm.Matrix)
public void clusterMatrixToEntity(ClusterMatrix source, Matrix target, boolean copyIfNull)
MatrixDao
ClusterMatrix
to the specified entity.
clusterMatrixToEntity
in interface MatrixDao
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.fr.ifremer.allegro.referential.pmfm.MatrixDao#clusterMatrixToEntity(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterMatrix, fr.ifremer.allegro.referential.pmfm.Matrix)
protected java.security.Principal getPrincipal()
principal
if one has been set,
otherwise returns null
.
public PaginationResult search(int transform, int pageNumber, int pageSize, Search search)
MatrixDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface MatrixDao
transform
- the transformation flag.pageNumber
- the page number in the data to retrievepageSize
- the size of the page to retrieve.search
- the search object which provides the search parameters and pagination specification.
PaginationResult
instance.MatrixDao.search(int, int, int, fr.ifremer.allegro.Search)
public PaginationResult search(int pageNumber, int pageSize, Search search)
MatrixDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface MatrixDao
pageNumber
- the page number in the data to retrievepageSize
- the size of the page to retrieve.search
- the search object which provides the search parameters and pagination specification.
PaginationResult
instance.MatrixDao.search(int, int, fr.ifremer.allegro.Search)
public java.util.Set search(int transform, Search search)
MatrixDao
MatrixDao.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.
search
in interface MatrixDao
transform
- the transformation flag.search
- the search object which provides the search parameters and pagination specification.
MatrixDao.search(int, fr.ifremer.allegro.Search)
public java.util.Set search(Search search)
MatrixDao
search
object.
search
in interface MatrixDao
search
- the search object which provides the search parameters and pagination specification.
MatrixDao.search(fr.ifremer.allegro.Search)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |