|
||||||||||
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.QualitativeValueDaoBase
public abstract class QualitativeValueDaoBase
Base Spring DAO Class: is able to create, update, remove, load, and find
objects of type fr.ifremer.allegro.referential.pmfm.QualitativeValue
.
QualitativeValue
Field Summary |
---|
Fields inherited from interface fr.ifremer.allegro.referential.pmfm.QualitativeValueDao |
---|
TRANSFORM_CLUSTERQUALITATIVEVALUE, TRANSFORM_NONE, TRANSFORM_REMOTEQUALITATIVEVALUEFULLVO, TRANSFORM_REMOTEQUALITATIVEVALUENATURALID |
Constructor Summary | |
---|---|
QualitativeValueDaoBase()
|
Method Summary | |
---|---|
void |
clusterQualitativeValueToEntity(ClusterQualitativeValue source,
QualitativeValue target,
boolean copyIfNull)
Copies the fields of ClusterQualitativeValue to the specified entity. |
void |
clusterQualitativeValueToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type ClusterQualitativeValue to this
DAO's entity. |
java.util.Collection |
create(java.util.Collection entities)
Creates a new instance of fr.ifremer.allegro.referential.pmfm.QualitativeValue and adds from the passed in entities collection |
java.util.Collection |
create(int transform,
java.util.Collection entities)
Does the same thing as QualitativeValueDao.create(fr.ifremer.allegro.referential.pmfm.QualitativeValue) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
QualitativeValue qualitativeValue)
Does the same thing as QualitativeValueDao.create(fr.ifremer.allegro.referential.pmfm.QualitativeValue) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
java.lang.String name,
Parameter parameter,
Status status)
Does the same thing as QualitativeValueDao.create(java.lang.String,fr.ifremer.allegro.referential.pmfm.Parameter,fr.ifremer.allegro.referential.Status) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
java.lang.String name,
java.lang.String description,
Parameter parameter,
Status status)
Does the same thing as QualitativeValueDao.create(java.lang.String,java.lang.String,fr.ifremer.allegro.referential.pmfm.Parameter,fr.ifremer.allegro.referential.Status) with an
additional flag called transform . |
QualitativeValue |
create(QualitativeValue qualitativeValue)
Creates an instance of fr.ifremer.allegro.referential.pmfm.QualitativeValue and adds it to the persistent store. |
QualitativeValue |
create(java.lang.String name,
Parameter parameter,
Status status)
Creates a new fr.ifremer.allegro.referential.pmfm.QualitativeValue
instance from only required properties (attributes
and association ends) and adds it to the persistent store. |
QualitativeValue |
create(java.lang.String name,
java.lang.String description,
Parameter parameter,
Status status)
Creates a new fr.ifremer.allegro.referential.pmfm.QualitativeValue
instance from all attributes and
properties and adds it to the persistent store. |
QualitativeValue |
createFromClusterQualitativeValue(ClusterQualitativeValue clusterQualitativeValue)
|
QualitativeValue |
findQualitativeValueById(java.lang.Integer id)
|
java.lang.Object |
findQualitativeValueById(int transform,
java.lang.Integer id)
Does the same thing as QualitativeValueDao.findQualitativeValueById(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findQualitativeValueById(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as QualitativeValueDao.findQualitativeValueById(int, java.lang.Integer) with an
additional argument called queryString . |
QualitativeValue |
findQualitativeValueById(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as QualitativeValueDao.findQualitativeValueById(java.lang.Integer) with an
additional argument called queryString . |
QualitativeValue |
findQualitativeValueByNaturalId(java.lang.Integer id)
|
java.lang.Object |
findQualitativeValueByNaturalId(int transform,
java.lang.Integer id)
Does the same thing as QualitativeValueDao.findQualitativeValueByNaturalId(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findQualitativeValueByNaturalId(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as QualitativeValueDao.findQualitativeValueByNaturalId(int, java.lang.Integer) with an
additional argument called queryString . |
QualitativeValue |
findQualitativeValueByNaturalId(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as QualitativeValueDao.findQualitativeValueByNaturalId(java.lang.Integer) with an
additional argument called queryString . |
java.util.Collection |
findQualitativeValueByParameter(int transform,
int pageNumber,
int pageSize,
Parameter parameter)
Does the same thing as QualitativeValueDao.findQualitativeValueByParameter(int, fr.ifremer.allegro.referential.pmfm.Parameter) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findQualitativeValueByParameter(int pageNumber,
int pageSize,
Parameter parameter)
Does the same thing as QualitativeValueDao.findQualitativeValueByParameter(fr.ifremer.allegro.referential.pmfm.Parameter) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findQualitativeValueByParameter(int transform,
Parameter parameter)
Does the same thing as QualitativeValueDao.findQualitativeValueByParameter(fr.ifremer.allegro.referential.pmfm.Parameter) with an
additional flag called transform . |
java.util.Collection |
findQualitativeValueByParameter(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
Parameter parameter)
Does the same thing as QualitativeValueDao.findQualitativeValueByParameter(int, String, fr.ifremer.allegro.referential.pmfm.Parameter) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findQualitativeValueByParameter(int transform,
java.lang.String queryString,
Parameter parameter)
Does the same thing as QualitativeValueDao.findQualitativeValueByParameter(int, fr.ifremer.allegro.referential.pmfm.Parameter) with an
additional argument called queryString . |
java.util.Collection |
findQualitativeValueByParameter(Parameter parameter)
|
java.util.Collection |
findQualitativeValueByParameter(java.lang.String queryString,
int pageNumber,
int pageSize,
Parameter parameter)
Does the same thing as QualitativeValueDao.findQualitativeValueByParameter(String, fr.ifremer.allegro.referential.pmfm.Parameter) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findQualitativeValueByParameter(java.lang.String queryString,
Parameter parameter)
Does the same thing as QualitativeValueDao.findQualitativeValueByParameter(fr.ifremer.allegro.referential.pmfm.Parameter) with an
additional argument called queryString . |
java.util.Collection |
findQualitativeValueByStatus(int transform,
int pageNumber,
int pageSize,
Status status)
Does the same thing as QualitativeValueDao.findQualitativeValueByStatus(int, fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findQualitativeValueByStatus(int pageNumber,
int pageSize,
Status status)
Does the same thing as QualitativeValueDao.findQualitativeValueByStatus(fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findQualitativeValueByStatus(int transform,
Status status)
Does the same thing as QualitativeValueDao.findQualitativeValueByStatus(fr.ifremer.allegro.referential.Status) with an
additional flag called transform . |
java.util.Collection |
findQualitativeValueByStatus(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
Status status)
Does the same thing as QualitativeValueDao.findQualitativeValueByStatus(int, String, fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findQualitativeValueByStatus(int transform,
java.lang.String queryString,
Status status)
Does the same thing as QualitativeValueDao.findQualitativeValueByStatus(int, fr.ifremer.allegro.referential.Status) with an
additional argument called queryString . |
java.util.Collection |
findQualitativeValueByStatus(Status status)
|
java.util.Collection |
findQualitativeValueByStatus(java.lang.String queryString,
int pageNumber,
int pageSize,
Status status)
Does the same thing as QualitativeValueDao.findQualitativeValueByStatus(String, fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findQualitativeValueByStatus(java.lang.String queryString,
Status status)
Does the same thing as QualitativeValueDao.findQualitativeValueByStatus(fr.ifremer.allegro.referential.Status) with an
additional argument called queryString . |
java.util.Collection |
getAllQualitativeValue()
|
java.util.Collection |
getAllQualitativeValue(int transform)
Does the same thing as QualitativeValueDao.getAllQualitativeValue() with an
additional flag called transform . |
java.util.Collection |
getAllQualitativeValue(int pageNumber,
int pageSize)
Does the same thing as QualitativeValueDao.getAllQualitativeValue() with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllQualitativeValue(int transform,
int pageNumber,
int pageSize)
Does the same thing as QualitativeValueDao.getAllQualitativeValue(int) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllQualitativeValue(int transform,
java.lang.String queryString)
Does the same thing as QualitativeValueDao.getAllQualitativeValue(int) with an
additional argument called queryString . |
java.util.Collection |
getAllQualitativeValue(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as QualitativeValueDao.getAllQualitativeValue(int, String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllQualitativeValue(java.lang.String queryString)
Does the same thing as QualitativeValueDao.getAllQualitativeValue() with an
additional argument called queryString . |
java.util.Collection |
getAllQualitativeValue(java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as QualitativeValueDao.getAllQualitativeValue(String) with an
additional two arguments called pageNumber and pageSize . |
protected ParameterDao |
getParameterDao()
Gets the reference to parameterDao . |
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 QualitativeValue |
handleCreateFromClusterQualitativeValue(ClusterQualitativeValue clusterQualitativeValue)
Performs the core logic for createFromClusterQualitativeValue(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterQualitativeValue) |
QualitativeValue |
load(java.lang.Integer id)
Loads an instance of fr.ifremer.allegro.referential.pmfm.QualitativeValue from the persistent store. |
java.lang.Object |
load(int transform,
java.lang.Integer id)
Does the same thing as QualitativeValueDao.load(java.lang.Integer) with an
additional flag called transform . |
java.util.Collection |
loadAll()
Loads all entities of type QualitativeValue . |
java.util.Collection |
loadAll(int transform)
Does the same thing as QualitativeValueDao.loadAll() with an
additional flag called transform . |
java.util.Collection |
loadAll(int pageNumber,
int pageSize)
Does the same thing as QualitativeValueDao.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 QualitativeValueDao.loadAll(int) with an
additional two arguments called pageNumber and pageSize . |
void |
remoteQualitativeValueFullVOToEntity(RemoteQualitativeValueFullVO source,
QualitativeValue target,
boolean copyIfNull)
Copies the fields of RemoteQualitativeValueFullVO to the specified entity. |
void |
remoteQualitativeValueFullVOToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteQualitativeValueFullVO to this
DAO's entity. |
void |
remoteQualitativeValueNaturalIdToEntity(RemoteQualitativeValueNaturalId source,
QualitativeValue target,
boolean copyIfNull)
Copies the fields of RemoteQualitativeValueNaturalId to the specified entity. |
void |
remoteQualitativeValueNaturalIdToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteQualitativeValueNaturalId to this
DAO's entity. |
void |
remove(java.util.Collection entities)
Removes all entities in the given entities |
void |
remove(java.lang.Integer id)
Removes the instance of fr.ifremer.allegro.referential.pmfm.QualitativeValue having the given identifier from the persistent store. |
void |
remove(QualitativeValue qualitativeValue)
Removes the instance of fr.ifremer.allegro.referential.pmfm.QualitativeValue from the persistent store. |
PaginationResult |
search(int transform,
int pageNumber,
int pageSize,
Search search)
Does the same thing as {@link #search(int, fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize . |
PaginationResult |
search(int pageNumber,
int pageSize,
Search search)
Does the same thing as {@link #search(fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize . |
java.util.Set |
search(int transform,
Search search)
Does the same thing as QualitativeValueDao.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 |
setParameterDao(ParameterDao parameterDao)
Sets the reference to parameterDao . |
void |
setStatusDao(StatusDao statusDao)
Sets the reference to statusDao . |
protected ClusterQualitativeValue |
toClusterQualitativeValue(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
ClusterQualitativeValue |
toClusterQualitativeValue(QualitativeValue entity)
Converts this DAO's entity to an object of type ClusterQualitativeValue . |
void |
toClusterQualitativeValue(QualitativeValue source,
ClusterQualitativeValue target)
Copies the fields of the specified entity to the target value object. |
ClusterQualitativeValue[] |
toClusterQualitativeValueArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type ClusterQualitativeValue . |
void |
toClusterQualitativeValueCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type ClusterQualitativeValue . |
protected QualitativeValue |
toEntity(java.lang.Object[] row)
|
protected RemoteQualitativeValueFullVO |
toRemoteQualitativeValueFullVO(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteQualitativeValueFullVO |
toRemoteQualitativeValueFullVO(QualitativeValue entity)
Converts this DAO's entity to an object of type RemoteQualitativeValueFullVO . |
void |
toRemoteQualitativeValueFullVO(QualitativeValue source,
RemoteQualitativeValueFullVO target)
Copies the fields of the specified entity to the target value object. |
RemoteQualitativeValueFullVO[] |
toRemoteQualitativeValueFullVOArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteQualitativeValueFullVO . |
void |
toRemoteQualitativeValueFullVOCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteQualitativeValueFullVO . |
protected RemoteQualitativeValueNaturalId |
toRemoteQualitativeValueNaturalId(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteQualitativeValueNaturalId |
toRemoteQualitativeValueNaturalId(QualitativeValue entity)
Converts this DAO's entity to an object of type RemoteQualitativeValueNaturalId . |
void |
toRemoteQualitativeValueNaturalId(QualitativeValue source,
RemoteQualitativeValueNaturalId target)
Copies the fields of the specified entity to the target value object. |
RemoteQualitativeValueNaturalId[] |
toRemoteQualitativeValueNaturalIdArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteQualitativeValueNaturalId . |
void |
toRemoteQualitativeValueNaturalIdCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteQualitativeValueNaturalId . |
protected void |
transformEntities(int transform,
java.util.Collection entities)
Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.pmfm.QualitativeValue)
method. |
protected java.lang.Object |
transformEntity(int transform,
QualitativeValue 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.QualitativeValueDao , please note
that the QualitativeValueDao.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(QualitativeValue qualitativeValue)
Updates the qualitativeValue 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.QualitativeValueDao |
---|
clusterQualitativeValueToEntity, remoteQualitativeValueFullVOToEntity, remoteQualitativeValueNaturalIdToEntity |
Constructor Detail |
---|
public QualitativeValueDaoBase()
Method Detail |
---|
public void setParameterDao(ParameterDao parameterDao)
parameterDao
.
protected ParameterDao getParameterDao()
parameterDao
.
public void setStatusDao(StatusDao statusDao)
statusDao
.
protected StatusDao getStatusDao()
statusDao
.
public java.lang.Object load(int transform, java.lang.Integer id)
QualitativeValueDao
Does the same thing as QualitativeValueDao.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 QualitativeValueDao
id
- identifier of the entity to load
QualitativeValueDao.load(int, java.lang.Integer)
public QualitativeValue load(java.lang.Integer id)
QualitativeValueDao
load
in interface QualitativeValueDao
QualitativeValueDao.load(java.lang.Integer)
public java.util.Collection loadAll()
QualitativeValueDao
QualitativeValue
.
loadAll
in interface QualitativeValueDao
QualitativeValueDao.loadAll()
public java.util.Collection loadAll(int transform)
QualitativeValueDao
Does the same thing as QualitativeValueDao.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 QualitativeValueDao
transform
- the flag indicating what transformation to use.
QualitativeValueDao.loadAll(int)
public java.util.Collection loadAll(int pageNumber, int pageSize)
QualitativeValueDao
Does the same thing as QualitativeValueDao.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 QualitativeValueDao
pageNumber
- the page number to retrieve when paging results.pageSize
- the size of the page to retrieve when paging results.
QualitativeValueDao.loadAll(int, int)
public java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
QualitativeValueDao
Does the same thing as QualitativeValueDao.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 QualitativeValueDao
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.
QualitativeValueDao.loadAll(int, int, int)
public QualitativeValue create(QualitativeValue qualitativeValue)
QualitativeValueDao
create
in interface QualitativeValueDao
QualitativeValueDao.create(fr.ifremer.allegro.referential.pmfm.QualitativeValue)
public java.lang.Object create(int transform, QualitativeValue qualitativeValue)
QualitativeValueDao
Does the same thing as QualitativeValueDao.create(fr.ifremer.allegro.referential.pmfm.QualitativeValue)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined here then the result WILL BE passed through an operation which can optionally
transform the entity (into a value object for example). By default, transformation does
not occur.
create
in interface QualitativeValueDao
QualitativeValueDao.create(int transform, fr.ifremer.allegro.referential.pmfm.QualitativeValue)
public java.util.Collection create(java.util.Collection entities)
QualitativeValueDao
entities
collection
create
in interface QualitativeValueDao
entities
- the collection of fr.ifremer.allegro.referential.pmfm.QualitativeValue
instances to create.
QualitativeValueDao.create(java.util.Collection)
public java.util.Collection create(int transform, java.util.Collection entities)
QualitativeValueDao
Does the same thing as QualitativeValueDao.create(fr.ifremer.allegro.referential.pmfm.QualitativeValue)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined here then the result WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
create
in interface QualitativeValueDao
QualitativeValueDao.create(int, java.util.Collection)
public QualitativeValue create(java.lang.String name, java.lang.String description, Parameter parameter, Status status)
QualitativeValueDao
Creates a new fr.ifremer.allegro.referential.pmfm.QualitativeValue
instance from all attributes and
properties and adds it to the persistent store.
create
in interface QualitativeValueDao
QualitativeValueDao.create(java.lang.String,java.lang.String,fr.ifremer.allegro.referential.pmfm.Parameter,fr.ifremer.allegro.referential.Status)
public java.lang.Object create(int transform, java.lang.String name, java.lang.String description, Parameter parameter, Status status)
QualitativeValueDao
Does the same thing as QualitativeValueDao.create(java.lang.String,java.lang.String,fr.ifremer.allegro.referential.pmfm.Parameter,fr.ifremer.allegro.referential.Status)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined here then the result WILL BE passed through an operation which can optionally
transform the entity (into a value object for example). By default, transformation does
not occur.
create
in interface QualitativeValueDao
QualitativeValueDao.create(int, java.lang.String,java.lang.String,fr.ifremer.allegro.referential.pmfm.Parameter,fr.ifremer.allegro.referential.Status)
public QualitativeValue create(java.lang.String name, Parameter parameter, Status status)
QualitativeValueDao
Creates a new fr.ifremer.allegro.referential.pmfm.QualitativeValue
instance from only required properties (attributes
and association ends) and adds it to the persistent store.
create
in interface QualitativeValueDao
QualitativeValueDao.create(java.lang.String,fr.ifremer.allegro.referential.pmfm.Parameter,fr.ifremer.allegro.referential.Status)
public java.lang.Object create(int transform, java.lang.String name, Parameter parameter, Status status)
QualitativeValueDao
Does the same thing as QualitativeValueDao.create(java.lang.String,fr.ifremer.allegro.referential.pmfm.Parameter,fr.ifremer.allegro.referential.Status)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOTWILL BE passed through an operation which can optionally
transform the entity (into a value object for example). By default, transformation does
not occur.
create
in interface QualitativeValueDao
QualitativeValueDao.create(int, java.lang.String,fr.ifremer.allegro.referential.pmfm.Parameter,fr.ifremer.allegro.referential.Status)
public void update(QualitativeValue qualitativeValue)
QualitativeValueDao
qualitativeValue
instance in the persistent store.
update
in interface QualitativeValueDao
QualitativeValueDao.update(fr.ifremer.allegro.referential.pmfm.QualitativeValue)
public void update(java.util.Collection entities)
QualitativeValueDao
entities
collection in the persistent store.
update
in interface QualitativeValueDao
QualitativeValueDao.update(java.util.Collection)
public void remove(QualitativeValue qualitativeValue)
QualitativeValueDao
remove
in interface QualitativeValueDao
QualitativeValueDao.remove(fr.ifremer.allegro.referential.pmfm.QualitativeValue)
public void remove(java.lang.Integer id)
QualitativeValueDao
identifier
from the persistent store.
remove
in interface QualitativeValueDao
QualitativeValueDao.remove(java.lang.Integer)
public void remove(java.util.Collection entities)
QualitativeValueDao
entities collection.
- Specified by:
remove
in interface QualitativeValueDao
- See Also:
QualitativeValueDao.remove(java.util.Collection)
public java.util.Collection getAllQualitativeValue()
getAllQualitativeValue
in interface QualitativeValueDao
QualitativeValueDao.getAllQualitativeValue()
public java.util.Collection getAllQualitativeValue(int transform)
QualitativeValueDao
Does the same thing as QualitativeValueDao.getAllQualitativeValue()
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
getAllQualitativeValue
in interface QualitativeValueDao
QualitativeValueDao.getAllQualitativeValue(int)
public java.util.Collection getAllQualitativeValue(java.lang.String queryString)
QualitativeValueDao
Does the same thing as QualitativeValueDao.getAllQualitativeValue()
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in QualitativeValueDao.getAllQualitativeValue()
.
getAllQualitativeValue
in interface QualitativeValueDao
QualitativeValueDao.getAllQualitativeValue(java.lang.String)
public java.util.Collection getAllQualitativeValue(int pageNumber, int pageSize)
QualitativeValueDao
Does the same thing as QualitativeValueDao.getAllQualitativeValue()
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllQualitativeValue
in interface QualitativeValueDao
QualitativeValueDao.getAllQualitativeValue(int, int)
public java.util.Collection getAllQualitativeValue(java.lang.String queryString, int pageNumber, int pageSize)
QualitativeValueDao
Does the same thing as QualitativeValueDao.getAllQualitativeValue(String)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllQualitativeValue
in interface QualitativeValueDao
QualitativeValueDao.getAllQualitativeValue(String, int, int)
public java.util.Collection getAllQualitativeValue(int transform, java.lang.String queryString)
QualitativeValueDao
Does the same thing as QualitativeValueDao.getAllQualitativeValue(int)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in QualitativeValueDao.getAllQualitativeValue(int)
.
getAllQualitativeValue
in interface QualitativeValueDao
QualitativeValueDao.getAllQualitativeValue(int, String)
public java.util.Collection getAllQualitativeValue(int transform, int pageNumber, int pageSize)
QualitativeValueDao
Does the same thing as QualitativeValueDao.getAllQualitativeValue(int)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllQualitativeValue
in interface QualitativeValueDao
QualitativeValueDao.getAllQualitativeValue(int, int, int)
public java.util.Collection getAllQualitativeValue(int transform, java.lang.String queryString, int pageNumber, int pageSize)
QualitativeValueDao
Does the same thing as QualitativeValueDao.getAllQualitativeValue(int, String)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllQualitativeValue
in interface QualitativeValueDao
QualitativeValueDao.getAllQualitativeValue(int, java.lang.String, int, int)
public QualitativeValue findQualitativeValueById(java.lang.Integer id)
findQualitativeValueById
in interface QualitativeValueDao
QualitativeValueDao.findQualitativeValueById(java.lang.Integer)
public java.lang.Object findQualitativeValueById(int transform, java.lang.Integer id)
QualitativeValueDao
Does the same thing as QualitativeValueDao.findQualitativeValueById(java.lang.Integer)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
findQualitativeValueById
in interface QualitativeValueDao
QualitativeValueDao.findQualitativeValueById(int, java.lang.Integer)
public QualitativeValue findQualitativeValueById(java.lang.String queryString, java.lang.Integer id)
QualitativeValueDao
Does the same thing as QualitativeValueDao.findQualitativeValueById(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in QualitativeValueDao.findQualitativeValueById(java.lang.Integer)
.
findQualitativeValueById
in interface QualitativeValueDao
QualitativeValueDao.findQualitativeValueById(java.lang.String, java.lang.Integer)
public java.lang.Object findQualitativeValueById(int transform, java.lang.String queryString, java.lang.Integer id)
QualitativeValueDao
Does the same thing as QualitativeValueDao.findQualitativeValueById(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in QualitativeValueDao.findQualitativeValueById(int, java.lang.Integer id)
.
findQualitativeValueById
in interface QualitativeValueDao
QualitativeValueDao.findQualitativeValueById(int, java.lang.String, java.lang.Integer)
public java.util.Collection findQualitativeValueByParameter(Parameter parameter)
findQualitativeValueByParameter
in interface QualitativeValueDao
QualitativeValueDao.findQualitativeValueByParameter(fr.ifremer.allegro.referential.pmfm.Parameter)
public java.util.Collection findQualitativeValueByParameter(int transform, Parameter parameter)
QualitativeValueDao
Does the same thing as QualitativeValueDao.findQualitativeValueByParameter(fr.ifremer.allegro.referential.pmfm.Parameter)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
findQualitativeValueByParameter
in interface QualitativeValueDao
QualitativeValueDao.findQualitativeValueByParameter(int, fr.ifremer.allegro.referential.pmfm.Parameter)
public java.util.Collection findQualitativeValueByParameter(java.lang.String queryString, Parameter parameter)
QualitativeValueDao
Does the same thing as QualitativeValueDao.findQualitativeValueByParameter(fr.ifremer.allegro.referential.pmfm.Parameter)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in QualitativeValueDao.findQualitativeValueByParameter(fr.ifremer.allegro.referential.pmfm.Parameter)
.
findQualitativeValueByParameter
in interface QualitativeValueDao
QualitativeValueDao.findQualitativeValueByParameter(java.lang.String, fr.ifremer.allegro.referential.pmfm.Parameter)
public java.util.Collection findQualitativeValueByParameter(int pageNumber, int pageSize, Parameter parameter)
QualitativeValueDao
Does the same thing as QualitativeValueDao.findQualitativeValueByParameter(fr.ifremer.allegro.referential.pmfm.Parameter)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findQualitativeValueByParameter
in interface QualitativeValueDao
QualitativeValueDao.findQualitativeValueByParameter(int, int, fr.ifremer.allegro.referential.pmfm.Parameter)
public java.util.Collection findQualitativeValueByParameter(java.lang.String queryString, int pageNumber, int pageSize, Parameter parameter)
QualitativeValueDao
Does the same thing as QualitativeValueDao.findQualitativeValueByParameter(String, fr.ifremer.allegro.referential.pmfm.Parameter)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findQualitativeValueByParameter
in interface QualitativeValueDao
QualitativeValueDao.findQualitativeValueByParameter(String, int, int, fr.ifremer.allegro.referential.pmfm.Parameter)
public java.util.Collection findQualitativeValueByParameter(int transform, java.lang.String queryString, Parameter parameter)
QualitativeValueDao
Does the same thing as QualitativeValueDao.findQualitativeValueByParameter(int, fr.ifremer.allegro.referential.pmfm.Parameter)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in QualitativeValueDao.findQualitativeValueByParameter(int, fr.ifremer.allegro.referential.pmfm.Parameter parameter)
.
findQualitativeValueByParameter
in interface QualitativeValueDao
QualitativeValueDao.findQualitativeValueByParameter(int, String, fr.ifremer.allegro.referential.pmfm.Parameter)
public java.util.Collection findQualitativeValueByParameter(int transform, int pageNumber, int pageSize, Parameter parameter)
QualitativeValueDao
Does the same thing as QualitativeValueDao.findQualitativeValueByParameter(int, fr.ifremer.allegro.referential.pmfm.Parameter)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findQualitativeValueByParameter
in interface QualitativeValueDao
QualitativeValueDao.findQualitativeValueByParameter(int, int, int, fr.ifremer.allegro.referential.pmfm.Parameter)
public java.util.Collection findQualitativeValueByParameter(int transform, java.lang.String queryString, int pageNumber, int pageSize, Parameter parameter)
QualitativeValueDao
Does the same thing as QualitativeValueDao.findQualitativeValueByParameter(int, String, fr.ifremer.allegro.referential.pmfm.Parameter)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findQualitativeValueByParameter
in interface QualitativeValueDao
QualitativeValueDao.findQualitativeValueByParameter(int, java.lang.String, int, int, fr.ifremer.allegro.referential.pmfm.Parameter)
public java.util.Collection findQualitativeValueByStatus(Status status)
findQualitativeValueByStatus
in interface QualitativeValueDao
QualitativeValueDao.findQualitativeValueByStatus(fr.ifremer.allegro.referential.Status)
public java.util.Collection findQualitativeValueByStatus(int transform, Status status)
QualitativeValueDao
Does the same thing as QualitativeValueDao.findQualitativeValueByStatus(fr.ifremer.allegro.referential.Status)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
findQualitativeValueByStatus
in interface QualitativeValueDao
QualitativeValueDao.findQualitativeValueByStatus(int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findQualitativeValueByStatus(java.lang.String queryString, Status status)
QualitativeValueDao
Does the same thing as QualitativeValueDao.findQualitativeValueByStatus(fr.ifremer.allegro.referential.Status)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in QualitativeValueDao.findQualitativeValueByStatus(fr.ifremer.allegro.referential.Status)
.
findQualitativeValueByStatus
in interface QualitativeValueDao
QualitativeValueDao.findQualitativeValueByStatus(java.lang.String, fr.ifremer.allegro.referential.Status)
public java.util.Collection findQualitativeValueByStatus(int pageNumber, int pageSize, Status status)
QualitativeValueDao
Does the same thing as QualitativeValueDao.findQualitativeValueByStatus(fr.ifremer.allegro.referential.Status)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findQualitativeValueByStatus
in interface QualitativeValueDao
QualitativeValueDao.findQualitativeValueByStatus(int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findQualitativeValueByStatus(java.lang.String queryString, int pageNumber, int pageSize, Status status)
QualitativeValueDao
Does the same thing as QualitativeValueDao.findQualitativeValueByStatus(String, fr.ifremer.allegro.referential.Status)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findQualitativeValueByStatus
in interface QualitativeValueDao
QualitativeValueDao.findQualitativeValueByStatus(String, int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findQualitativeValueByStatus(int transform, java.lang.String queryString, Status status)
QualitativeValueDao
Does the same thing as QualitativeValueDao.findQualitativeValueByStatus(int, fr.ifremer.allegro.referential.Status)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in QualitativeValueDao.findQualitativeValueByStatus(int, fr.ifremer.allegro.referential.Status status)
.
findQualitativeValueByStatus
in interface QualitativeValueDao
QualitativeValueDao.findQualitativeValueByStatus(int, String, fr.ifremer.allegro.referential.Status)
public java.util.Collection findQualitativeValueByStatus(int transform, int pageNumber, int pageSize, Status status)
QualitativeValueDao
Does the same thing as QualitativeValueDao.findQualitativeValueByStatus(int, fr.ifremer.allegro.referential.Status)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findQualitativeValueByStatus
in interface QualitativeValueDao
QualitativeValueDao.findQualitativeValueByStatus(int, int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findQualitativeValueByStatus(int transform, java.lang.String queryString, int pageNumber, int pageSize, Status status)
QualitativeValueDao
Does the same thing as QualitativeValueDao.findQualitativeValueByStatus(int, String, fr.ifremer.allegro.referential.Status)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findQualitativeValueByStatus
in interface QualitativeValueDao
QualitativeValueDao.findQualitativeValueByStatus(int, java.lang.String, int, int, fr.ifremer.allegro.referential.Status)
public QualitativeValue findQualitativeValueByNaturalId(java.lang.Integer id)
findQualitativeValueByNaturalId
in interface QualitativeValueDao
QualitativeValueDao.findQualitativeValueByNaturalId(java.lang.Integer)
public java.lang.Object findQualitativeValueByNaturalId(int transform, java.lang.Integer id)
QualitativeValueDao
Does the same thing as QualitativeValueDao.findQualitativeValueByNaturalId(java.lang.Integer)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
findQualitativeValueByNaturalId
in interface QualitativeValueDao
QualitativeValueDao.findQualitativeValueByNaturalId(int, java.lang.Integer)
public QualitativeValue findQualitativeValueByNaturalId(java.lang.String queryString, java.lang.Integer id)
QualitativeValueDao
Does the same thing as QualitativeValueDao.findQualitativeValueByNaturalId(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in QualitativeValueDao.findQualitativeValueByNaturalId(java.lang.Integer)
.
findQualitativeValueByNaturalId
in interface QualitativeValueDao
QualitativeValueDao.findQualitativeValueByNaturalId(java.lang.String, java.lang.Integer)
public java.lang.Object findQualitativeValueByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
QualitativeValueDao
Does the same thing as QualitativeValueDao.findQualitativeValueByNaturalId(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in QualitativeValueDao.findQualitativeValueByNaturalId(int, java.lang.Integer id)
.
findQualitativeValueByNaturalId
in interface QualitativeValueDao
QualitativeValueDao.findQualitativeValueByNaturalId(int, java.lang.String, java.lang.Integer)
public QualitativeValue createFromClusterQualitativeValue(ClusterQualitativeValue clusterQualitativeValue)
createFromClusterQualitativeValue
in interface QualitativeValueDao
QualitativeValueDao.createFromClusterQualitativeValue(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterQualitativeValue)
protected abstract QualitativeValue handleCreateFromClusterQualitativeValue(ClusterQualitativeValue clusterQualitativeValue) throws java.lang.Exception
createFromClusterQualitativeValue(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterQualitativeValue)
java.lang.Exception
protected java.lang.Object transformEntity(int transform, QualitativeValue entity)
transform
flag is set to one of the constants defined in fr.ifremer.allegro.referential.pmfm.QualitativeValueDao
, please note
that the QualitativeValueDao.TRANSFORM_NONE
constant denotes no transformation, so the entity itself
will be returned.
This method will return instances of these types:
QualitativeValue
- QualitativeValueDao.TRANSFORM_NONE
RemoteQualitativeValueFullVO
- TRANSFORM_REMOTEQUALITATIVEVALUEFULLVO
RemoteQualitativeValueNaturalId
- TRANSFORM_REMOTEQUALITATIVEVALUENATURALID
ClusterQualitativeValue
- TRANSFORM_CLUSTERQUALITATIVEVALUE
QualitativeValueDao.TRANSFORM_NONE
is assumed.
transform
- one of the constants declared in QualitativeValueDao
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.QualitativeValue)
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.QualitativeValueDao
entities
- the collection of entities to transformtransformEntity(int,fr.ifremer.allegro.referential.pmfm.QualitativeValue)
protected QualitativeValue toEntity(java.lang.Object[] row)
public final void toRemoteQualitativeValueFullVOCollection(java.util.Collection entities)
QualitativeValueDao
RemoteQualitativeValueFullVO
.
toRemoteQualitativeValueFullVOCollection
in interface QualitativeValueDao
QualitativeValueDao.toRemoteQualitativeValueFullVOCollection(java.util.Collection)
public final RemoteQualitativeValueFullVO[] toRemoteQualitativeValueFullVOArray(java.util.Collection entities)
QualitativeValueDao
RemoteQualitativeValueFullVO
.
toRemoteQualitativeValueFullVOArray
in interface QualitativeValueDao
QualitativeValueDao.toRemoteQualitativeValueFullVOArray(java.util.Collection)
protected RemoteQualitativeValueFullVO toRemoteQualitativeValueFullVO(java.lang.Object[] row)
QualitativeValueDaoImpl
class if you intend to use reporting queries.
QualitativeValueDao.toRemoteQualitativeValueFullVO(fr.ifremer.allegro.referential.pmfm.QualitativeValue)
public final void remoteQualitativeValueFullVOToEntityCollection(java.util.Collection instances)
QualitativeValueDao
RemoteQualitativeValueFullVO
to this
DAO's entity.
remoteQualitativeValueFullVOToEntityCollection
in interface QualitativeValueDao
QualitativeValueDao.remoteQualitativeValueFullVOToEntityCollection(java.util.Collection)
public void toRemoteQualitativeValueFullVO(QualitativeValue source, RemoteQualitativeValueFullVO target)
QualitativeValueDao
toRemoteQualitativeValueFullVO
in interface QualitativeValueDao
QualitativeValueDao.toRemoteQualitativeValueFullVO(fr.ifremer.allegro.referential.pmfm.QualitativeValue, fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteQualitativeValueFullVO)
public RemoteQualitativeValueFullVO toRemoteQualitativeValueFullVO(QualitativeValue entity)
QualitativeValueDao
RemoteQualitativeValueFullVO
.
toRemoteQualitativeValueFullVO
in interface QualitativeValueDao
QualitativeValueDao.toRemoteQualitativeValueFullVO(fr.ifremer.allegro.referential.pmfm.QualitativeValue)
public void remoteQualitativeValueFullVOToEntity(RemoteQualitativeValueFullVO source, QualitativeValue target, boolean copyIfNull)
QualitativeValueDao
RemoteQualitativeValueFullVO
to the specified entity.
remoteQualitativeValueFullVOToEntity
in interface QualitativeValueDao
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.QualitativeValueDao#remoteQualitativeValueFullVOToEntity(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteQualitativeValueFullVO, fr.ifremer.allegro.referential.pmfm.QualitativeValue)
public final void toRemoteQualitativeValueNaturalIdCollection(java.util.Collection entities)
QualitativeValueDao
RemoteQualitativeValueNaturalId
.
toRemoteQualitativeValueNaturalIdCollection
in interface QualitativeValueDao
QualitativeValueDao.toRemoteQualitativeValueNaturalIdCollection(java.util.Collection)
public final RemoteQualitativeValueNaturalId[] toRemoteQualitativeValueNaturalIdArray(java.util.Collection entities)
QualitativeValueDao
RemoteQualitativeValueNaturalId
.
toRemoteQualitativeValueNaturalIdArray
in interface QualitativeValueDao
QualitativeValueDao.toRemoteQualitativeValueNaturalIdArray(java.util.Collection)
protected RemoteQualitativeValueNaturalId toRemoteQualitativeValueNaturalId(java.lang.Object[] row)
QualitativeValueDaoImpl
class if you intend to use reporting queries.
QualitativeValueDao.toRemoteQualitativeValueNaturalId(fr.ifremer.allegro.referential.pmfm.QualitativeValue)
public final void remoteQualitativeValueNaturalIdToEntityCollection(java.util.Collection instances)
QualitativeValueDao
RemoteQualitativeValueNaturalId
to this
DAO's entity.
remoteQualitativeValueNaturalIdToEntityCollection
in interface QualitativeValueDao
QualitativeValueDao.remoteQualitativeValueNaturalIdToEntityCollection(java.util.Collection)
public void toRemoteQualitativeValueNaturalId(QualitativeValue source, RemoteQualitativeValueNaturalId target)
QualitativeValueDao
toRemoteQualitativeValueNaturalId
in interface QualitativeValueDao
QualitativeValueDao.toRemoteQualitativeValueNaturalId(fr.ifremer.allegro.referential.pmfm.QualitativeValue, fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteQualitativeValueNaturalId)
public RemoteQualitativeValueNaturalId toRemoteQualitativeValueNaturalId(QualitativeValue entity)
QualitativeValueDao
RemoteQualitativeValueNaturalId
.
toRemoteQualitativeValueNaturalId
in interface QualitativeValueDao
QualitativeValueDao.toRemoteQualitativeValueNaturalId(fr.ifremer.allegro.referential.pmfm.QualitativeValue)
public void remoteQualitativeValueNaturalIdToEntity(RemoteQualitativeValueNaturalId source, QualitativeValue target, boolean copyIfNull)
QualitativeValueDao
RemoteQualitativeValueNaturalId
to the specified entity.
remoteQualitativeValueNaturalIdToEntity
in interface QualitativeValueDao
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.QualitativeValueDao#remoteQualitativeValueNaturalIdToEntity(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteQualitativeValueNaturalId, fr.ifremer.allegro.referential.pmfm.QualitativeValue)
public final void toClusterQualitativeValueCollection(java.util.Collection entities)
QualitativeValueDao
ClusterQualitativeValue
.
toClusterQualitativeValueCollection
in interface QualitativeValueDao
QualitativeValueDao.toClusterQualitativeValueCollection(java.util.Collection)
public final ClusterQualitativeValue[] toClusterQualitativeValueArray(java.util.Collection entities)
QualitativeValueDao
ClusterQualitativeValue
.
toClusterQualitativeValueArray
in interface QualitativeValueDao
QualitativeValueDao.toClusterQualitativeValueArray(java.util.Collection)
protected ClusterQualitativeValue toClusterQualitativeValue(java.lang.Object[] row)
QualitativeValueDaoImpl
class if you intend to use reporting queries.
QualitativeValueDao.toClusterQualitativeValue(fr.ifremer.allegro.referential.pmfm.QualitativeValue)
public final void clusterQualitativeValueToEntityCollection(java.util.Collection instances)
QualitativeValueDao
ClusterQualitativeValue
to this
DAO's entity.
clusterQualitativeValueToEntityCollection
in interface QualitativeValueDao
QualitativeValueDao.clusterQualitativeValueToEntityCollection(java.util.Collection)
public void toClusterQualitativeValue(QualitativeValue source, ClusterQualitativeValue target)
QualitativeValueDao
toClusterQualitativeValue
in interface QualitativeValueDao
QualitativeValueDao.toClusterQualitativeValue(fr.ifremer.allegro.referential.pmfm.QualitativeValue, fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterQualitativeValue)
public ClusterQualitativeValue toClusterQualitativeValue(QualitativeValue entity)
QualitativeValueDao
ClusterQualitativeValue
.
toClusterQualitativeValue
in interface QualitativeValueDao
QualitativeValueDao.toClusterQualitativeValue(fr.ifremer.allegro.referential.pmfm.QualitativeValue)
public void clusterQualitativeValueToEntity(ClusterQualitativeValue source, QualitativeValue target, boolean copyIfNull)
QualitativeValueDao
ClusterQualitativeValue
to the specified entity.
clusterQualitativeValueToEntity
in interface QualitativeValueDao
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.QualitativeValueDao#clusterQualitativeValueToEntity(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterQualitativeValue, fr.ifremer.allegro.referential.pmfm.QualitativeValue)
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)
QualitativeValueDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface QualitativeValueDao
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.QualitativeValueDao.search(int, int, int, fr.ifremer.allegro.Search)
public PaginationResult search(int pageNumber, int pageSize, Search search)
QualitativeValueDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface QualitativeValueDao
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.QualitativeValueDao.search(int, int, fr.ifremer.allegro.Search)
public java.util.Set search(int transform, Search search)
QualitativeValueDao
QualitativeValueDao.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 QualitativeValueDao
transform
- the transformation flag.search
- the search object which provides the search parameters and pagination specification.
QualitativeValueDao.search(int, fr.ifremer.allegro.Search)
public java.util.Set search(Search search)
QualitativeValueDao
search
object.
search
in interface QualitativeValueDao
search
- the search object which provides the search parameters and pagination specification.
QualitativeValueDao.search(fr.ifremer.allegro.Search)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |