|
||||||||||
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.ParameterDaoBase
public abstract class ParameterDaoBase
Base Spring DAO Class: is able to create, update, remove, load, and find
objects of type fr.ifremer.allegro.referential.pmfm.Parameter
.
Parameter
Field Summary |
---|
Fields inherited from interface fr.ifremer.allegro.referential.pmfm.ParameterDao |
---|
TRANSFORM_CLUSTERPARAMETER, TRANSFORM_NONE, TRANSFORM_REMOTEPARAMETERFULLVO, TRANSFORM_REMOTEPARAMETERNATURALID |
Constructor Summary | |
---|---|
ParameterDaoBase()
|
Method Summary | |
---|---|
void |
clusterParameterToEntity(ClusterParameter source,
Parameter target,
boolean copyIfNull)
Copies the fields of ClusterParameter to the specified entity. |
void |
clusterParameterToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type ClusterParameter to this
DAO's entity. |
java.util.Collection |
create(java.util.Collection entities)
Creates a new instance of fr.ifremer.allegro.referential.pmfm.Parameter and adds from the passed in entities collection |
java.util.Collection |
create(int transform,
java.util.Collection entities)
Does the same thing as ParameterDao.create(fr.ifremer.allegro.referential.pmfm.Parameter) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
Parameter parameter)
Does the same thing as ParameterDao.create(fr.ifremer.allegro.referential.pmfm.Parameter) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
java.lang.String code,
java.util.Date creationDate,
java.lang.Boolean isCalculated,
java.lang.Boolean isQualitative,
java.lang.Boolean isTaxinomic,
java.lang.String name,
ParameterGroup parameterGroup,
Status status)
Does the same thing as ParameterDao.create(java.lang.String,java.util.Date,java.lang.Boolean,java.lang.Boolean,java.lang.Boolean,java.lang.String,fr.ifremer.allegro.referential.pmfm.ParameterGroup,fr.ifremer.allegro.referential.Status) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
java.lang.String code,
java.lang.String name,
java.lang.String description,
java.lang.Boolean isQualitative,
java.lang.Boolean isTaxinomic,
java.lang.Boolean isCalculated,
java.util.Date creationDate,
java.sql.Timestamp updateDate,
java.util.Collection qualitativeValues,
ParameterGroup parameterGroup,
Status status)
Does the same thing as ParameterDao.create(java.lang.String,java.lang.String,java.lang.String,java.lang.Boolean,java.lang.Boolean,java.lang.Boolean,java.util.Date,java.sql.Timestamp,java.util.Collection,fr.ifremer.allegro.referential.pmfm.ParameterGroup,fr.ifremer.allegro.referential.Status) with an
additional flag called transform . |
Parameter |
create(Parameter parameter)
Creates an instance of fr.ifremer.allegro.referential.pmfm.Parameter and adds it to the persistent store. |
Parameter |
create(java.lang.String code,
java.util.Date creationDate,
java.lang.Boolean isCalculated,
java.lang.Boolean isQualitative,
java.lang.Boolean isTaxinomic,
java.lang.String name,
ParameterGroup parameterGroup,
Status status)
Creates a new fr.ifremer.allegro.referential.pmfm.Parameter
instance from only required properties (attributes
and association ends) and adds it to the persistent store. |
Parameter |
create(java.lang.String code,
java.lang.String name,
java.lang.String description,
java.lang.Boolean isQualitative,
java.lang.Boolean isTaxinomic,
java.lang.Boolean isCalculated,
java.util.Date creationDate,
java.sql.Timestamp updateDate,
java.util.Collection qualitativeValues,
ParameterGroup parameterGroup,
Status status)
Creates a new fr.ifremer.allegro.referential.pmfm.Parameter
instance from all attributes and
properties and adds it to the persistent store. |
Parameter |
createFromClusterParameter(ClusterParameter clusterParameter)
|
java.lang.Object |
findParameterByCode(int transform,
java.lang.String code)
Does the same thing as ParameterDao.findParameterByCode(java.lang.String) with an
additional flag called transform . |
java.lang.Object |
findParameterByCode(int transform,
java.lang.String queryString,
java.lang.String code)
Does the same thing as ParameterDao.findParameterByCode(int, java.lang.String) with an
additional argument called queryString . |
Parameter |
findParameterByCode(java.lang.String code)
|
Parameter |
findParameterByCode(java.lang.String queryString,
java.lang.String code)
Does the same thing as ParameterDao.findParameterByCode(java.lang.String) with an
additional argument called queryString . |
java.lang.Object |
findParameterByNaturalId(int transform,
java.lang.String code)
Does the same thing as ParameterDao.findParameterByNaturalId(java.lang.String) with an
additional flag called transform . |
java.lang.Object |
findParameterByNaturalId(int transform,
java.lang.String queryString,
java.lang.String code)
Does the same thing as ParameterDao.findParameterByNaturalId(int, java.lang.String) with an
additional argument called queryString . |
Parameter |
findParameterByNaturalId(java.lang.String code)
|
Parameter |
findParameterByNaturalId(java.lang.String queryString,
java.lang.String code)
Does the same thing as ParameterDao.findParameterByNaturalId(java.lang.String) with an
additional argument called queryString . |
java.util.Collection |
findParameterByParameterGroup(int transform,
int pageNumber,
int pageSize,
ParameterGroup parameterGroup)
Does the same thing as ParameterDao.findParameterByParameterGroup(int, fr.ifremer.allegro.referential.pmfm.ParameterGroup) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findParameterByParameterGroup(int pageNumber,
int pageSize,
ParameterGroup parameterGroup)
Does the same thing as ParameterDao.findParameterByParameterGroup(fr.ifremer.allegro.referential.pmfm.ParameterGroup) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findParameterByParameterGroup(int transform,
ParameterGroup parameterGroup)
Does the same thing as ParameterDao.findParameterByParameterGroup(fr.ifremer.allegro.referential.pmfm.ParameterGroup) with an
additional flag called transform . |
java.util.Collection |
findParameterByParameterGroup(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
ParameterGroup parameterGroup)
Does the same thing as ParameterDao.findParameterByParameterGroup(int, String, fr.ifremer.allegro.referential.pmfm.ParameterGroup) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findParameterByParameterGroup(int transform,
java.lang.String queryString,
ParameterGroup parameterGroup)
Does the same thing as ParameterDao.findParameterByParameterGroup(int, fr.ifremer.allegro.referential.pmfm.ParameterGroup) with an
additional argument called queryString . |
java.util.Collection |
findParameterByParameterGroup(ParameterGroup parameterGroup)
|
java.util.Collection |
findParameterByParameterGroup(java.lang.String queryString,
int pageNumber,
int pageSize,
ParameterGroup parameterGroup)
Does the same thing as ParameterDao.findParameterByParameterGroup(String, fr.ifremer.allegro.referential.pmfm.ParameterGroup) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findParameterByParameterGroup(java.lang.String queryString,
ParameterGroup parameterGroup)
Does the same thing as ParameterDao.findParameterByParameterGroup(fr.ifremer.allegro.referential.pmfm.ParameterGroup) with an
additional argument called queryString . |
java.util.Collection |
findParameterByStatus(int transform,
int pageNumber,
int pageSize,
Status status)
Does the same thing as ParameterDao.findParameterByStatus(int, fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findParameterByStatus(int pageNumber,
int pageSize,
Status status)
Does the same thing as ParameterDao.findParameterByStatus(fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findParameterByStatus(int transform,
Status status)
Does the same thing as ParameterDao.findParameterByStatus(fr.ifremer.allegro.referential.Status) with an
additional flag called transform . |
java.util.Collection |
findParameterByStatus(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
Status status)
Does the same thing as ParameterDao.findParameterByStatus(int, String, fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findParameterByStatus(int transform,
java.lang.String queryString,
Status status)
Does the same thing as ParameterDao.findParameterByStatus(int, fr.ifremer.allegro.referential.Status) with an
additional argument called queryString . |
java.util.Collection |
findParameterByStatus(Status status)
|
java.util.Collection |
findParameterByStatus(java.lang.String queryString,
int pageNumber,
int pageSize,
Status status)
Does the same thing as ParameterDao.findParameterByStatus(String, fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findParameterByStatus(java.lang.String queryString,
Status status)
Does the same thing as ParameterDao.findParameterByStatus(fr.ifremer.allegro.referential.Status) with an
additional argument called queryString . |
ClusterParameter[] |
getAllClusterParameterSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize)
|
java.util.Collection |
getAllParameter()
|
java.util.Collection |
getAllParameter(int transform)
Does the same thing as ParameterDao.getAllParameter() with an
additional flag called transform . |
java.util.Collection |
getAllParameter(int pageNumber,
int pageSize)
Does the same thing as ParameterDao.getAllParameter() with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllParameter(int transform,
int pageNumber,
int pageSize)
Does the same thing as ParameterDao.getAllParameter(int) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllParameter(int transform,
java.lang.String queryString)
Does the same thing as ParameterDao.getAllParameter(int) with an
additional argument called queryString . |
java.util.Collection |
getAllParameter(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as ParameterDao.getAllParameter(int, String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllParameter(java.lang.String queryString)
Does the same thing as ParameterDao.getAllParameter() with an
additional argument called queryString . |
java.util.Collection |
getAllParameter(java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as ParameterDao.getAllParameter(String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllParameterSinceDateSynchro(int transform,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as ParameterDao.getAllParameterSinceDateSynchro(int, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllParameterSinceDateSynchro(int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as ParameterDao.getAllParameterSinceDateSynchro(java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllParameterSinceDateSynchro(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as ParameterDao.getAllParameterSinceDateSynchro(int, String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllParameterSinceDateSynchro(int transform,
java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as ParameterDao.getAllParameterSinceDateSynchro(int, java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllParameterSinceDateSynchro(int transform,
java.sql.Timestamp updateDate)
Does the same thing as ParameterDao.getAllParameterSinceDateSynchro(java.sql.Timestamp) with an
additional flag called transform . |
java.util.Collection |
getAllParameterSinceDateSynchro(java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as ParameterDao.getAllParameterSinceDateSynchro(String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllParameterSinceDateSynchro(java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as ParameterDao.getAllParameterSinceDateSynchro(java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllParameterSinceDateSynchro(java.sql.Timestamp updateDate)
|
protected ParameterGroupDao |
getParameterGroupDao()
Gets the reference to parameterGroupDao . |
protected java.security.Principal |
getPrincipal()
Gets the current principal if one has been set,
otherwise returns null . |
protected QualitativeValueDao |
getQualitativeValueDao()
Gets the reference to qualitativeValueDao . |
protected StatusDao |
getStatusDao()
Gets the reference to statusDao . |
protected abstract Parameter |
handleCreateFromClusterParameter(ClusterParameter clusterParameter)
Performs the core logic for createFromClusterParameter(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterParameter) |
protected abstract ClusterParameter[] |
handleGetAllClusterParameterSinceDateSynchro(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 getAllClusterParameterSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer) |
java.lang.Object |
load(int transform,
java.lang.String code)
Does the same thing as ParameterDao.load(java.lang.String) with an
additional flag called transform . |
Parameter |
load(java.lang.String code)
Loads an instance of fr.ifremer.allegro.referential.pmfm.Parameter from the persistent store. |
java.util.Collection |
loadAll()
Loads all entities of type Parameter . |
java.util.Collection |
loadAll(int transform)
Does the same thing as ParameterDao.loadAll() with an
additional flag called transform . |
java.util.Collection |
loadAll(int pageNumber,
int pageSize)
Does the same thing as ParameterDao.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 ParameterDao.loadAll(int) with an
additional two arguments called pageNumber and pageSize . |
void |
remoteParameterFullVOToEntity(RemoteParameterFullVO source,
Parameter target,
boolean copyIfNull)
Copies the fields of RemoteParameterFullVO to the specified entity. |
void |
remoteParameterFullVOToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteParameterFullVO to this
DAO's entity. |
void |
remoteParameterNaturalIdToEntity(RemoteParameterNaturalId source,
Parameter target,
boolean copyIfNull)
Copies the fields of RemoteParameterNaturalId to the specified entity. |
void |
remoteParameterNaturalIdToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteParameterNaturalId to this
DAO's entity. |
void |
remove(java.util.Collection entities)
Removes all entities in the given entities |
void |
remove(Parameter parameter)
Removes the instance of fr.ifremer.allegro.referential.pmfm.Parameter from the persistent store. |
void |
remove(java.lang.String code)
Removes the instance of fr.ifremer.allegro.referential.pmfm.Parameter having the given identifier from the persistent store. |
PaginationResult |
search(int transform,
int pageNumber,
int pageSize,
Search search)
Does the same thing as {@link #search(int, fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize . |
PaginationResult |
search(int pageNumber,
int pageSize,
Search search)
Does the same thing as {@link #search(fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize . |
java.util.Set |
search(int transform,
Search search)
Does the same thing as ParameterDao.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 |
setParameterGroupDao(ParameterGroupDao parameterGroupDao)
Sets the reference to parameterGroupDao . |
void |
setQualitativeValueDao(QualitativeValueDao qualitativeValueDao)
Sets the reference to qualitativeValueDao . |
void |
setStatusDao(StatusDao statusDao)
Sets the reference to statusDao . |
protected ClusterParameter |
toClusterParameter(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
ClusterParameter |
toClusterParameter(Parameter entity)
Converts this DAO's entity to an object of type ClusterParameter . |
void |
toClusterParameter(Parameter source,
ClusterParameter target)
Copies the fields of the specified entity to the target value object. |
ClusterParameter[] |
toClusterParameterArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type ClusterParameter . |
void |
toClusterParameterCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type ClusterParameter . |
protected Parameter |
toEntity(java.lang.Object[] row)
|
protected RemoteParameterFullVO |
toRemoteParameterFullVO(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteParameterFullVO |
toRemoteParameterFullVO(Parameter entity)
Converts this DAO's entity to an object of type RemoteParameterFullVO . |
void |
toRemoteParameterFullVO(Parameter source,
RemoteParameterFullVO target)
Copies the fields of the specified entity to the target value object. |
RemoteParameterFullVO[] |
toRemoteParameterFullVOArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteParameterFullVO . |
void |
toRemoteParameterFullVOCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteParameterFullVO . |
protected RemoteParameterNaturalId |
toRemoteParameterNaturalId(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteParameterNaturalId |
toRemoteParameterNaturalId(Parameter entity)
Converts this DAO's entity to an object of type RemoteParameterNaturalId . |
void |
toRemoteParameterNaturalId(Parameter source,
RemoteParameterNaturalId target)
Copies the fields of the specified entity to the target value object. |
RemoteParameterNaturalId[] |
toRemoteParameterNaturalIdArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteParameterNaturalId . |
void |
toRemoteParameterNaturalIdCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteParameterNaturalId . |
protected void |
transformEntities(int transform,
java.util.Collection entities)
Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.pmfm.Parameter)
method. |
protected java.lang.Object |
transformEntity(int transform,
Parameter 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.ParameterDao , please note
that the ParameterDao.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(Parameter parameter)
Updates the parameter 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.ParameterDao |
---|
clusterParameterToEntity, remoteParameterFullVOToEntity, remoteParameterNaturalIdToEntity |
Constructor Detail |
---|
public ParameterDaoBase()
Method Detail |
---|
public void setStatusDao(StatusDao statusDao)
statusDao
.
protected StatusDao getStatusDao()
statusDao
.
public void setParameterGroupDao(ParameterGroupDao parameterGroupDao)
parameterGroupDao
.
protected ParameterGroupDao getParameterGroupDao()
parameterGroupDao
.
public void setQualitativeValueDao(QualitativeValueDao qualitativeValueDao)
qualitativeValueDao
.
protected QualitativeValueDao getQualitativeValueDao()
qualitativeValueDao
.
public java.lang.Object load(int transform, java.lang.String code)
ParameterDao
Does the same thing as ParameterDao.load(java.lang.String)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined in this class then the result WILL BE passed through an operation which can
optionally transform the entity (into a value object for example). By default, transformation does
not occur.
load
in interface ParameterDao
code
- identifier of the entity to load
ParameterDao.load(int, java.lang.String)
public Parameter load(java.lang.String code)
ParameterDao
load
in interface ParameterDao
ParameterDao.load(java.lang.String)
public java.util.Collection loadAll()
ParameterDao
Parameter
.
loadAll
in interface ParameterDao
ParameterDao.loadAll()
public java.util.Collection loadAll(int transform)
ParameterDao
Does the same thing as ParameterDao.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 ParameterDao
transform
- the flag indicating what transformation to use.
ParameterDao.loadAll(int)
public java.util.Collection loadAll(int pageNumber, int pageSize)
ParameterDao
Does the same thing as ParameterDao.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 ParameterDao
pageNumber
- the page number to retrieve when paging results.pageSize
- the size of the page to retrieve when paging results.
ParameterDao.loadAll(int, int)
public java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
ParameterDao
Does the same thing as ParameterDao.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 ParameterDao
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.
ParameterDao.loadAll(int, int, int)
public Parameter create(Parameter parameter)
ParameterDao
create
in interface ParameterDao
ParameterDao.create(fr.ifremer.allegro.referential.pmfm.Parameter)
public java.lang.Object create(int transform, Parameter parameter)
ParameterDao
Does the same thing as ParameterDao.create(fr.ifremer.allegro.referential.pmfm.Parameter)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined here then the result WILL BE passed through an operation which can optionally
transform the entity (into a value object for example). By default, transformation does
not occur.
create
in interface ParameterDao
ParameterDao.create(int transform, fr.ifremer.allegro.referential.pmfm.Parameter)
public java.util.Collection create(java.util.Collection entities)
ParameterDao
entities
collection
create
in interface ParameterDao
entities
- the collection of fr.ifremer.allegro.referential.pmfm.Parameter
instances to create.
ParameterDao.create(java.util.Collection)
public java.util.Collection create(int transform, java.util.Collection entities)
ParameterDao
Does the same thing as ParameterDao.create(fr.ifremer.allegro.referential.pmfm.Parameter)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined here then the result WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
create
in interface ParameterDao
ParameterDao.create(int, java.util.Collection)
public Parameter create(java.lang.String code, java.lang.String name, java.lang.String description, java.lang.Boolean isQualitative, java.lang.Boolean isTaxinomic, java.lang.Boolean isCalculated, java.util.Date creationDate, java.sql.Timestamp updateDate, java.util.Collection qualitativeValues, ParameterGroup parameterGroup, Status status)
ParameterDao
Creates a new fr.ifremer.allegro.referential.pmfm.Parameter
instance from all attributes and
properties and adds it to the persistent store.
create
in interface ParameterDao
ParameterDao.create(java.lang.String,java.lang.String,java.lang.String,java.lang.Boolean,java.lang.Boolean,java.lang.Boolean,java.util.Date,java.sql.Timestamp,java.util.Collection,fr.ifremer.allegro.referential.pmfm.ParameterGroup,fr.ifremer.allegro.referential.Status)
public java.lang.Object create(int transform, java.lang.String code, java.lang.String name, java.lang.String description, java.lang.Boolean isQualitative, java.lang.Boolean isTaxinomic, java.lang.Boolean isCalculated, java.util.Date creationDate, java.sql.Timestamp updateDate, java.util.Collection qualitativeValues, ParameterGroup parameterGroup, Status status)
ParameterDao
Does the same thing as ParameterDao.create(java.lang.String,java.lang.String,java.lang.String,java.lang.Boolean,java.lang.Boolean,java.lang.Boolean,java.util.Date,java.sql.Timestamp,java.util.Collection,fr.ifremer.allegro.referential.pmfm.ParameterGroup,fr.ifremer.allegro.referential.Status)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined here then the result WILL BE passed through an operation which can optionally
transform the entity (into a value object for example). By default, transformation does
not occur.
create
in interface ParameterDao
ParameterDao.create(int, java.lang.String,java.lang.String,java.lang.String,java.lang.Boolean,java.lang.Boolean,java.lang.Boolean,java.util.Date,java.sql.Timestamp,java.util.Collection,fr.ifremer.allegro.referential.pmfm.ParameterGroup,fr.ifremer.allegro.referential.Status)
public Parameter create(java.lang.String code, java.util.Date creationDate, java.lang.Boolean isCalculated, java.lang.Boolean isQualitative, java.lang.Boolean isTaxinomic, java.lang.String name, ParameterGroup parameterGroup, Status status)
ParameterDao
Creates a new fr.ifremer.allegro.referential.pmfm.Parameter
instance from only required properties (attributes
and association ends) and adds it to the persistent store.
create
in interface ParameterDao
ParameterDao.create(java.lang.String,java.util.Date,java.lang.Boolean,java.lang.Boolean,java.lang.Boolean,java.lang.String,fr.ifremer.allegro.referential.pmfm.ParameterGroup,fr.ifremer.allegro.referential.Status)
public java.lang.Object create(int transform, java.lang.String code, java.util.Date creationDate, java.lang.Boolean isCalculated, java.lang.Boolean isQualitative, java.lang.Boolean isTaxinomic, java.lang.String name, ParameterGroup parameterGroup, Status status)
ParameterDao
Does the same thing as ParameterDao.create(java.lang.String,java.util.Date,java.lang.Boolean,java.lang.Boolean,java.lang.Boolean,java.lang.String,fr.ifremer.allegro.referential.pmfm.ParameterGroup,fr.ifremer.allegro.referential.Status)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOTWILL BE passed through an operation which can optionally
transform the entity (into a value object for example). By default, transformation does
not occur.
create
in interface ParameterDao
ParameterDao.create(int, java.lang.String,java.util.Date,java.lang.Boolean,java.lang.Boolean,java.lang.Boolean,java.lang.String,fr.ifremer.allegro.referential.pmfm.ParameterGroup,fr.ifremer.allegro.referential.Status)
public void update(Parameter parameter)
ParameterDao
parameter
instance in the persistent store.
update
in interface ParameterDao
ParameterDao.update(fr.ifremer.allegro.referential.pmfm.Parameter)
public void update(java.util.Collection entities)
ParameterDao
entities
collection in the persistent store.
update
in interface ParameterDao
ParameterDao.update(java.util.Collection)
public void remove(Parameter parameter)
ParameterDao
remove
in interface ParameterDao
ParameterDao.remove(fr.ifremer.allegro.referential.pmfm.Parameter)
public void remove(java.lang.String code)
ParameterDao
identifier
from the persistent store.
remove
in interface ParameterDao
ParameterDao.remove(java.lang.String)
public void remove(java.util.Collection entities)
ParameterDao
entities collection.
- Specified by:
remove
in interface ParameterDao
- See Also:
ParameterDao.remove(java.util.Collection)
public java.util.Collection getAllParameter()
getAllParameter
in interface ParameterDao
ParameterDao.getAllParameter()
public java.util.Collection getAllParameter(int transform)
ParameterDao
Does the same thing as ParameterDao.getAllParameter()
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
getAllParameter
in interface ParameterDao
ParameterDao.getAllParameter(int)
public java.util.Collection getAllParameter(java.lang.String queryString)
ParameterDao
Does the same thing as ParameterDao.getAllParameter()
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ParameterDao.getAllParameter()
.
getAllParameter
in interface ParameterDao
ParameterDao.getAllParameter(java.lang.String)
public java.util.Collection getAllParameter(int pageNumber, int pageSize)
ParameterDao
Does the same thing as ParameterDao.getAllParameter()
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllParameter
in interface ParameterDao
ParameterDao.getAllParameter(int, int)
public java.util.Collection getAllParameter(java.lang.String queryString, int pageNumber, int pageSize)
ParameterDao
Does the same thing as ParameterDao.getAllParameter(String)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllParameter
in interface ParameterDao
ParameterDao.getAllParameter(String, int, int)
public java.util.Collection getAllParameter(int transform, java.lang.String queryString)
ParameterDao
Does the same thing as ParameterDao.getAllParameter(int)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ParameterDao.getAllParameter(int)
.
getAllParameter
in interface ParameterDao
ParameterDao.getAllParameter(int, String)
public java.util.Collection getAllParameter(int transform, int pageNumber, int pageSize)
ParameterDao
Does the same thing as ParameterDao.getAllParameter(int)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllParameter
in interface ParameterDao
ParameterDao.getAllParameter(int, int, int)
public java.util.Collection getAllParameter(int transform, java.lang.String queryString, int pageNumber, int pageSize)
ParameterDao
Does the same thing as ParameterDao.getAllParameter(int, String)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllParameter
in interface ParameterDao
ParameterDao.getAllParameter(int, java.lang.String, int, int)
public Parameter findParameterByCode(java.lang.String code)
findParameterByCode
in interface ParameterDao
ParameterDao.findParameterByCode(java.lang.String)
public java.lang.Object findParameterByCode(int transform, java.lang.String code)
ParameterDao
Does the same thing as ParameterDao.findParameterByCode(java.lang.String)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
findParameterByCode
in interface ParameterDao
ParameterDao.findParameterByCode(int, java.lang.String)
public Parameter findParameterByCode(java.lang.String queryString, java.lang.String code)
ParameterDao
Does the same thing as ParameterDao.findParameterByCode(java.lang.String)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ParameterDao.findParameterByCode(java.lang.String)
.
findParameterByCode
in interface ParameterDao
ParameterDao.findParameterByCode(java.lang.String, java.lang.String)
public java.lang.Object findParameterByCode(int transform, java.lang.String queryString, java.lang.String code)
ParameterDao
Does the same thing as ParameterDao.findParameterByCode(int, java.lang.String)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ParameterDao.findParameterByCode(int, java.lang.String code)
.
findParameterByCode
in interface ParameterDao
ParameterDao.findParameterByCode(int, java.lang.String, java.lang.String)
public java.util.Collection findParameterByStatus(Status status)
findParameterByStatus
in interface ParameterDao
ParameterDao.findParameterByStatus(fr.ifremer.allegro.referential.Status)
public java.util.Collection findParameterByStatus(int transform, Status status)
ParameterDao
Does the same thing as ParameterDao.findParameterByStatus(fr.ifremer.allegro.referential.Status)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
findParameterByStatus
in interface ParameterDao
ParameterDao.findParameterByStatus(int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findParameterByStatus(java.lang.String queryString, Status status)
ParameterDao
Does the same thing as ParameterDao.findParameterByStatus(fr.ifremer.allegro.referential.Status)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ParameterDao.findParameterByStatus(fr.ifremer.allegro.referential.Status)
.
findParameterByStatus
in interface ParameterDao
ParameterDao.findParameterByStatus(java.lang.String, fr.ifremer.allegro.referential.Status)
public java.util.Collection findParameterByStatus(int pageNumber, int pageSize, Status status)
ParameterDao
Does the same thing as ParameterDao.findParameterByStatus(fr.ifremer.allegro.referential.Status)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findParameterByStatus
in interface ParameterDao
ParameterDao.findParameterByStatus(int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findParameterByStatus(java.lang.String queryString, int pageNumber, int pageSize, Status status)
ParameterDao
Does the same thing as ParameterDao.findParameterByStatus(String, fr.ifremer.allegro.referential.Status)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findParameterByStatus
in interface ParameterDao
ParameterDao.findParameterByStatus(String, int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findParameterByStatus(int transform, java.lang.String queryString, Status status)
ParameterDao
Does the same thing as ParameterDao.findParameterByStatus(int, fr.ifremer.allegro.referential.Status)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ParameterDao.findParameterByStatus(int, fr.ifremer.allegro.referential.Status status)
.
findParameterByStatus
in interface ParameterDao
ParameterDao.findParameterByStatus(int, String, fr.ifremer.allegro.referential.Status)
public java.util.Collection findParameterByStatus(int transform, int pageNumber, int pageSize, Status status)
ParameterDao
Does the same thing as ParameterDao.findParameterByStatus(int, fr.ifremer.allegro.referential.Status)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findParameterByStatus
in interface ParameterDao
ParameterDao.findParameterByStatus(int, int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findParameterByStatus(int transform, java.lang.String queryString, int pageNumber, int pageSize, Status status)
ParameterDao
Does the same thing as ParameterDao.findParameterByStatus(int, String, fr.ifremer.allegro.referential.Status)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findParameterByStatus
in interface ParameterDao
ParameterDao.findParameterByStatus(int, java.lang.String, int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findParameterByParameterGroup(ParameterGroup parameterGroup)
findParameterByParameterGroup
in interface ParameterDao
ParameterDao.findParameterByParameterGroup(fr.ifremer.allegro.referential.pmfm.ParameterGroup)
public java.util.Collection findParameterByParameterGroup(int transform, ParameterGroup parameterGroup)
ParameterDao
Does the same thing as ParameterDao.findParameterByParameterGroup(fr.ifremer.allegro.referential.pmfm.ParameterGroup)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
findParameterByParameterGroup
in interface ParameterDao
ParameterDao.findParameterByParameterGroup(int, fr.ifremer.allegro.referential.pmfm.ParameterGroup)
public java.util.Collection findParameterByParameterGroup(java.lang.String queryString, ParameterGroup parameterGroup)
ParameterDao
Does the same thing as ParameterDao.findParameterByParameterGroup(fr.ifremer.allegro.referential.pmfm.ParameterGroup)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ParameterDao.findParameterByParameterGroup(fr.ifremer.allegro.referential.pmfm.ParameterGroup)
.
findParameterByParameterGroup
in interface ParameterDao
ParameterDao.findParameterByParameterGroup(java.lang.String, fr.ifremer.allegro.referential.pmfm.ParameterGroup)
public java.util.Collection findParameterByParameterGroup(int pageNumber, int pageSize, ParameterGroup parameterGroup)
ParameterDao
Does the same thing as ParameterDao.findParameterByParameterGroup(fr.ifremer.allegro.referential.pmfm.ParameterGroup)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findParameterByParameterGroup
in interface ParameterDao
ParameterDao.findParameterByParameterGroup(int, int, fr.ifremer.allegro.referential.pmfm.ParameterGroup)
public java.util.Collection findParameterByParameterGroup(java.lang.String queryString, int pageNumber, int pageSize, ParameterGroup parameterGroup)
ParameterDao
Does the same thing as ParameterDao.findParameterByParameterGroup(String, fr.ifremer.allegro.referential.pmfm.ParameterGroup)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findParameterByParameterGroup
in interface ParameterDao
ParameterDao.findParameterByParameterGroup(String, int, int, fr.ifremer.allegro.referential.pmfm.ParameterGroup)
public java.util.Collection findParameterByParameterGroup(int transform, java.lang.String queryString, ParameterGroup parameterGroup)
ParameterDao
Does the same thing as ParameterDao.findParameterByParameterGroup(int, fr.ifremer.allegro.referential.pmfm.ParameterGroup)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ParameterDao.findParameterByParameterGroup(int, fr.ifremer.allegro.referential.pmfm.ParameterGroup parameterGroup)
.
findParameterByParameterGroup
in interface ParameterDao
ParameterDao.findParameterByParameterGroup(int, String, fr.ifremer.allegro.referential.pmfm.ParameterGroup)
public java.util.Collection findParameterByParameterGroup(int transform, int pageNumber, int pageSize, ParameterGroup parameterGroup)
ParameterDao
Does the same thing as ParameterDao.findParameterByParameterGroup(int, fr.ifremer.allegro.referential.pmfm.ParameterGroup)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findParameterByParameterGroup
in interface ParameterDao
ParameterDao.findParameterByParameterGroup(int, int, int, fr.ifremer.allegro.referential.pmfm.ParameterGroup)
public java.util.Collection findParameterByParameterGroup(int transform, java.lang.String queryString, int pageNumber, int pageSize, ParameterGroup parameterGroup)
ParameterDao
Does the same thing as ParameterDao.findParameterByParameterGroup(int, String, fr.ifremer.allegro.referential.pmfm.ParameterGroup)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findParameterByParameterGroup
in interface ParameterDao
ParameterDao.findParameterByParameterGroup(int, java.lang.String, int, int, fr.ifremer.allegro.referential.pmfm.ParameterGroup)
public Parameter findParameterByNaturalId(java.lang.String code)
findParameterByNaturalId
in interface ParameterDao
ParameterDao.findParameterByNaturalId(java.lang.String)
public java.lang.Object findParameterByNaturalId(int transform, java.lang.String code)
ParameterDao
Does the same thing as ParameterDao.findParameterByNaturalId(java.lang.String)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
findParameterByNaturalId
in interface ParameterDao
ParameterDao.findParameterByNaturalId(int, java.lang.String)
public Parameter findParameterByNaturalId(java.lang.String queryString, java.lang.String code)
ParameterDao
Does the same thing as ParameterDao.findParameterByNaturalId(java.lang.String)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ParameterDao.findParameterByNaturalId(java.lang.String)
.
findParameterByNaturalId
in interface ParameterDao
ParameterDao.findParameterByNaturalId(java.lang.String, java.lang.String)
public java.lang.Object findParameterByNaturalId(int transform, java.lang.String queryString, java.lang.String code)
ParameterDao
Does the same thing as ParameterDao.findParameterByNaturalId(int, java.lang.String)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ParameterDao.findParameterByNaturalId(int, java.lang.String code)
.
findParameterByNaturalId
in interface ParameterDao
ParameterDao.findParameterByNaturalId(int, java.lang.String, java.lang.String)
public java.util.Collection getAllParameterSinceDateSynchro(java.sql.Timestamp updateDate)
getAllParameterSinceDateSynchro
in interface ParameterDao
ParameterDao.getAllParameterSinceDateSynchro(java.sql.Timestamp)
public java.util.Collection getAllParameterSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
ParameterDao
Does the same thing as ParameterDao.getAllParameterSinceDateSynchro(java.sql.Timestamp)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
getAllParameterSinceDateSynchro
in interface ParameterDao
ParameterDao.getAllParameterSinceDateSynchro(int, java.sql.Timestamp)
public java.util.Collection getAllParameterSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
ParameterDao
Does the same thing as ParameterDao.getAllParameterSinceDateSynchro(java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ParameterDao.getAllParameterSinceDateSynchro(java.sql.Timestamp)
.
getAllParameterSinceDateSynchro
in interface ParameterDao
ParameterDao.getAllParameterSinceDateSynchro(java.lang.String, java.sql.Timestamp)
public java.util.Collection getAllParameterSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
ParameterDao
Does the same thing as ParameterDao.getAllParameterSinceDateSynchro(java.sql.Timestamp)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllParameterSinceDateSynchro
in interface ParameterDao
ParameterDao.getAllParameterSinceDateSynchro(int, int, java.sql.Timestamp)
public java.util.Collection getAllParameterSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
ParameterDao
Does the same thing as ParameterDao.getAllParameterSinceDateSynchro(String, java.sql.Timestamp)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllParameterSinceDateSynchro
in interface ParameterDao
ParameterDao.getAllParameterSinceDateSynchro(String, int, int, java.sql.Timestamp)
public java.util.Collection getAllParameterSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
ParameterDao
Does the same thing as ParameterDao.getAllParameterSinceDateSynchro(int, java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ParameterDao.getAllParameterSinceDateSynchro(int, java.sql.Timestamp updateDate)
.
getAllParameterSinceDateSynchro
in interface ParameterDao
ParameterDao.getAllParameterSinceDateSynchro(int, String, java.sql.Timestamp)
public java.util.Collection getAllParameterSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
ParameterDao
Does the same thing as ParameterDao.getAllParameterSinceDateSynchro(int, java.sql.Timestamp)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllParameterSinceDateSynchro
in interface ParameterDao
ParameterDao.getAllParameterSinceDateSynchro(int, int, int, java.sql.Timestamp)
public java.util.Collection getAllParameterSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
ParameterDao
Does the same thing as ParameterDao.getAllParameterSinceDateSynchro(int, String, java.sql.Timestamp)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllParameterSinceDateSynchro
in interface ParameterDao
ParameterDao.getAllParameterSinceDateSynchro(int, java.lang.String, int, int, java.sql.Timestamp)
public Parameter createFromClusterParameter(ClusterParameter clusterParameter)
createFromClusterParameter
in interface ParameterDao
ParameterDao.createFromClusterParameter(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterParameter)
protected abstract Parameter handleCreateFromClusterParameter(ClusterParameter clusterParameter) throws java.lang.Exception
createFromClusterParameter(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterParameter)
java.lang.Exception
public ClusterParameter[] getAllClusterParameterSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
getAllClusterParameterSinceDateSynchro
in interface ParameterDao
ParameterDao.getAllClusterParameterSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract ClusterParameter[] handleGetAllClusterParameterSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize) throws java.lang.Exception
getAllClusterParameterSinceDateSynchro(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, Parameter entity)
transform
flag is set to one of the constants defined in fr.ifremer.allegro.referential.pmfm.ParameterDao
, please note
that the ParameterDao.TRANSFORM_NONE
constant denotes no transformation, so the entity itself
will be returned.
This method will return instances of these types:
Parameter
- ParameterDao.TRANSFORM_NONE
RemoteParameterFullVO
- TRANSFORM_REMOTEPARAMETERFULLVO
RemoteParameterNaturalId
- TRANSFORM_REMOTEPARAMETERNATURALID
ClusterParameter
- TRANSFORM_CLUSTERPARAMETER
ParameterDao.TRANSFORM_NONE
is assumed.
transform
- one of the constants declared in ParameterDao
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.Parameter)
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.ParameterDao
entities
- the collection of entities to transformtransformEntity(int,fr.ifremer.allegro.referential.pmfm.Parameter)
protected Parameter toEntity(java.lang.Object[] row)
public final void toRemoteParameterFullVOCollection(java.util.Collection entities)
ParameterDao
RemoteParameterFullVO
.
toRemoteParameterFullVOCollection
in interface ParameterDao
ParameterDao.toRemoteParameterFullVOCollection(java.util.Collection)
public final RemoteParameterFullVO[] toRemoteParameterFullVOArray(java.util.Collection entities)
ParameterDao
RemoteParameterFullVO
.
toRemoteParameterFullVOArray
in interface ParameterDao
ParameterDao.toRemoteParameterFullVOArray(java.util.Collection)
protected RemoteParameterFullVO toRemoteParameterFullVO(java.lang.Object[] row)
ParameterDaoImpl
class if you intend to use reporting queries.
ParameterDao.toRemoteParameterFullVO(fr.ifremer.allegro.referential.pmfm.Parameter)
public final void remoteParameterFullVOToEntityCollection(java.util.Collection instances)
ParameterDao
RemoteParameterFullVO
to this
DAO's entity.
remoteParameterFullVOToEntityCollection
in interface ParameterDao
ParameterDao.remoteParameterFullVOToEntityCollection(java.util.Collection)
public void toRemoteParameterFullVO(Parameter source, RemoteParameterFullVO target)
ParameterDao
toRemoteParameterFullVO
in interface ParameterDao
ParameterDao.toRemoteParameterFullVO(fr.ifremer.allegro.referential.pmfm.Parameter, fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteParameterFullVO)
public RemoteParameterFullVO toRemoteParameterFullVO(Parameter entity)
ParameterDao
RemoteParameterFullVO
.
toRemoteParameterFullVO
in interface ParameterDao
ParameterDao.toRemoteParameterFullVO(fr.ifremer.allegro.referential.pmfm.Parameter)
public void remoteParameterFullVOToEntity(RemoteParameterFullVO source, Parameter target, boolean copyIfNull)
ParameterDao
RemoteParameterFullVO
to the specified entity.
remoteParameterFullVOToEntity
in interface ParameterDao
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.ParameterDao#remoteParameterFullVOToEntity(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteParameterFullVO, fr.ifremer.allegro.referential.pmfm.Parameter)
public final void toRemoteParameterNaturalIdCollection(java.util.Collection entities)
ParameterDao
RemoteParameterNaturalId
.
toRemoteParameterNaturalIdCollection
in interface ParameterDao
ParameterDao.toRemoteParameterNaturalIdCollection(java.util.Collection)
public final RemoteParameterNaturalId[] toRemoteParameterNaturalIdArray(java.util.Collection entities)
ParameterDao
RemoteParameterNaturalId
.
toRemoteParameterNaturalIdArray
in interface ParameterDao
ParameterDao.toRemoteParameterNaturalIdArray(java.util.Collection)
protected RemoteParameterNaturalId toRemoteParameterNaturalId(java.lang.Object[] row)
ParameterDaoImpl
class if you intend to use reporting queries.
ParameterDao.toRemoteParameterNaturalId(fr.ifremer.allegro.referential.pmfm.Parameter)
public final void remoteParameterNaturalIdToEntityCollection(java.util.Collection instances)
ParameterDao
RemoteParameterNaturalId
to this
DAO's entity.
remoteParameterNaturalIdToEntityCollection
in interface ParameterDao
ParameterDao.remoteParameterNaturalIdToEntityCollection(java.util.Collection)
public void toRemoteParameterNaturalId(Parameter source, RemoteParameterNaturalId target)
ParameterDao
toRemoteParameterNaturalId
in interface ParameterDao
ParameterDao.toRemoteParameterNaturalId(fr.ifremer.allegro.referential.pmfm.Parameter, fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteParameterNaturalId)
public RemoteParameterNaturalId toRemoteParameterNaturalId(Parameter entity)
ParameterDao
RemoteParameterNaturalId
.
toRemoteParameterNaturalId
in interface ParameterDao
ParameterDao.toRemoteParameterNaturalId(fr.ifremer.allegro.referential.pmfm.Parameter)
public void remoteParameterNaturalIdToEntity(RemoteParameterNaturalId source, Parameter target, boolean copyIfNull)
ParameterDao
RemoteParameterNaturalId
to the specified entity.
remoteParameterNaturalIdToEntity
in interface ParameterDao
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.ParameterDao#remoteParameterNaturalIdToEntity(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteParameterNaturalId, fr.ifremer.allegro.referential.pmfm.Parameter)
public final void toClusterParameterCollection(java.util.Collection entities)
ParameterDao
ClusterParameter
.
toClusterParameterCollection
in interface ParameterDao
ParameterDao.toClusterParameterCollection(java.util.Collection)
public final ClusterParameter[] toClusterParameterArray(java.util.Collection entities)
ParameterDao
ClusterParameter
.
toClusterParameterArray
in interface ParameterDao
ParameterDao.toClusterParameterArray(java.util.Collection)
protected ClusterParameter toClusterParameter(java.lang.Object[] row)
ParameterDaoImpl
class if you intend to use reporting queries.
ParameterDao.toClusterParameter(fr.ifremer.allegro.referential.pmfm.Parameter)
public final void clusterParameterToEntityCollection(java.util.Collection instances)
ParameterDao
ClusterParameter
to this
DAO's entity.
clusterParameterToEntityCollection
in interface ParameterDao
ParameterDao.clusterParameterToEntityCollection(java.util.Collection)
public void toClusterParameter(Parameter source, ClusterParameter target)
ParameterDao
toClusterParameter
in interface ParameterDao
ParameterDao.toClusterParameter(fr.ifremer.allegro.referential.pmfm.Parameter, fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterParameter)
public ClusterParameter toClusterParameter(Parameter entity)
ParameterDao
ClusterParameter
.
toClusterParameter
in interface ParameterDao
ParameterDao.toClusterParameter(fr.ifremer.allegro.referential.pmfm.Parameter)
public void clusterParameterToEntity(ClusterParameter source, Parameter target, boolean copyIfNull)
ParameterDao
ClusterParameter
to the specified entity.
clusterParameterToEntity
in interface ParameterDao
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.ParameterDao#clusterParameterToEntity(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterParameter, fr.ifremer.allegro.referential.pmfm.Parameter)
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)
ParameterDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface ParameterDao
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.ParameterDao.search(int, int, int, fr.ifremer.allegro.Search)
public PaginationResult search(int pageNumber, int pageSize, Search search)
ParameterDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface ParameterDao
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.ParameterDao.search(int, int, fr.ifremer.allegro.Search)
public java.util.Set search(int transform, Search search)
ParameterDao
ParameterDao.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 ParameterDao
transform
- the transformation flag.search
- the search object which provides the search parameters and pagination specification.
ParameterDao.search(int, fr.ifremer.allegro.Search)
public java.util.Set search(Search search)
ParameterDao
search
object.
search
in interface ParameterDao
search
- the search object which provides the search parameters and pagination specification.
ParameterDao.search(fr.ifremer.allegro.Search)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |