|
||||||||||
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.ParameterGroupDaoBase
public abstract class ParameterGroupDaoBase
Base Spring DAO Class: is able to create, update, remove, load, and find
objects of type fr.ifremer.allegro.referential.pmfm.ParameterGroup
.
ParameterGroup
Field Summary |
---|
Fields inherited from interface fr.ifremer.allegro.referential.pmfm.ParameterGroupDao |
---|
TRANSFORM_CLUSTERPARAMETERGROUP, TRANSFORM_NONE, TRANSFORM_REMOTEPARAMETERGROUPFULLVO, TRANSFORM_REMOTEPARAMETERGROUPNATURALID |
Constructor Summary | |
---|---|
ParameterGroupDaoBase()
|
Method Summary | |
---|---|
void |
clusterParameterGroupToEntity(ClusterParameterGroup source,
ParameterGroup target,
boolean copyIfNull)
Copies the fields of ClusterParameterGroup to the specified entity. |
void |
clusterParameterGroupToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type ClusterParameterGroup to this
DAO's entity. |
java.util.Collection |
create(java.util.Collection entities)
Creates a new instance of fr.ifremer.allegro.referential.pmfm.ParameterGroup and adds from the passed in entities collection |
java.util.Collection |
create(int transform,
java.util.Collection entities)
Does the same thing as ParameterGroupDao.create(fr.ifremer.allegro.referential.pmfm.ParameterGroup) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
ParameterGroup parameterGroup)
Does the same thing as ParameterGroupDao.create(fr.ifremer.allegro.referential.pmfm.ParameterGroup) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
java.lang.String name,
Status status)
Does the same thing as ParameterGroupDao.create(java.lang.String,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,
java.sql.Timestamp updateDate,
java.util.Collection childParameterGroups,
ParameterGroup parentParameterGroup,
Status status)
Does the same thing as ParameterGroupDao.create(java.lang.String,java.lang.String,java.sql.Timestamp,java.util.Collection,fr.ifremer.allegro.referential.pmfm.ParameterGroup,fr.ifremer.allegro.referential.Status) with an
additional flag called transform . |
ParameterGroup |
create(ParameterGroup parameterGroup)
Creates an instance of fr.ifremer.allegro.referential.pmfm.ParameterGroup and adds it to the persistent store. |
ParameterGroup |
create(java.lang.String name,
Status status)
Creates a new fr.ifremer.allegro.referential.pmfm.ParameterGroup
instance from only required properties (attributes
and association ends) and adds it to the persistent store. |
ParameterGroup |
create(java.lang.String name,
java.lang.String description,
java.sql.Timestamp updateDate,
java.util.Collection childParameterGroups,
ParameterGroup parentParameterGroup,
Status status)
Creates a new fr.ifremer.allegro.referential.pmfm.ParameterGroup
instance from all attributes and
properties and adds it to the persistent store. |
ParameterGroup |
createFromClusterParameterGroup(ClusterParameterGroup clusterParameterGroup)
|
ParameterGroup |
findParameterGroupById(java.lang.Integer id)
|
java.lang.Object |
findParameterGroupById(int transform,
java.lang.Integer id)
Does the same thing as ParameterGroupDao.findParameterGroupById(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findParameterGroupById(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as ParameterGroupDao.findParameterGroupById(int, java.lang.Integer) with an
additional argument called queryString . |
ParameterGroup |
findParameterGroupById(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as ParameterGroupDao.findParameterGroupById(java.lang.Integer) with an
additional argument called queryString . |
ParameterGroup |
findParameterGroupByNaturalId(java.lang.Integer id)
|
java.lang.Object |
findParameterGroupByNaturalId(int transform,
java.lang.Integer id)
Does the same thing as ParameterGroupDao.findParameterGroupByNaturalId(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findParameterGroupByNaturalId(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as ParameterGroupDao.findParameterGroupByNaturalId(int, java.lang.Integer) with an
additional argument called queryString . |
ParameterGroup |
findParameterGroupByNaturalId(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as ParameterGroupDao.findParameterGroupByNaturalId(java.lang.Integer) with an
additional argument called queryString . |
java.util.Collection |
findParameterGroupByParentParameterGroup(int transform,
int pageNumber,
int pageSize,
ParameterGroup parentParameterGroup)
Does the same thing as ParameterGroupDao.findParameterGroupByParentParameterGroup(int, fr.ifremer.allegro.referential.pmfm.ParameterGroup) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findParameterGroupByParentParameterGroup(int pageNumber,
int pageSize,
ParameterGroup parentParameterGroup)
Does the same thing as ParameterGroupDao.findParameterGroupByParentParameterGroup(fr.ifremer.allegro.referential.pmfm.ParameterGroup) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findParameterGroupByParentParameterGroup(int transform,
ParameterGroup parentParameterGroup)
Does the same thing as ParameterGroupDao.findParameterGroupByParentParameterGroup(fr.ifremer.allegro.referential.pmfm.ParameterGroup) with an
additional flag called transform . |
java.util.Collection |
findParameterGroupByParentParameterGroup(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
ParameterGroup parentParameterGroup)
Does the same thing as ParameterGroupDao.findParameterGroupByParentParameterGroup(int, String, fr.ifremer.allegro.referential.pmfm.ParameterGroup) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findParameterGroupByParentParameterGroup(int transform,
java.lang.String queryString,
ParameterGroup parentParameterGroup)
Does the same thing as ParameterGroupDao.findParameterGroupByParentParameterGroup(int, fr.ifremer.allegro.referential.pmfm.ParameterGroup) with an
additional argument called queryString . |
java.util.Collection |
findParameterGroupByParentParameterGroup(ParameterGroup parentParameterGroup)
|
java.util.Collection |
findParameterGroupByParentParameterGroup(java.lang.String queryString,
int pageNumber,
int pageSize,
ParameterGroup parentParameterGroup)
Does the same thing as ParameterGroupDao.findParameterGroupByParentParameterGroup(String, fr.ifremer.allegro.referential.pmfm.ParameterGroup) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findParameterGroupByParentParameterGroup(java.lang.String queryString,
ParameterGroup parentParameterGroup)
Does the same thing as ParameterGroupDao.findParameterGroupByParentParameterGroup(fr.ifremer.allegro.referential.pmfm.ParameterGroup) with an
additional argument called queryString . |
java.util.Collection |
findParameterGroupByStatus(int transform,
int pageNumber,
int pageSize,
Status status)
Does the same thing as ParameterGroupDao.findParameterGroupByStatus(int, fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findParameterGroupByStatus(int pageNumber,
int pageSize,
Status status)
Does the same thing as ParameterGroupDao.findParameterGroupByStatus(fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findParameterGroupByStatus(int transform,
Status status)
Does the same thing as ParameterGroupDao.findParameterGroupByStatus(fr.ifremer.allegro.referential.Status) with an
additional flag called transform . |
java.util.Collection |
findParameterGroupByStatus(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
Status status)
Does the same thing as ParameterGroupDao.findParameterGroupByStatus(int, String, fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findParameterGroupByStatus(int transform,
java.lang.String queryString,
Status status)
Does the same thing as ParameterGroupDao.findParameterGroupByStatus(int, fr.ifremer.allegro.referential.Status) with an
additional argument called queryString . |
java.util.Collection |
findParameterGroupByStatus(Status status)
|
java.util.Collection |
findParameterGroupByStatus(java.lang.String queryString,
int pageNumber,
int pageSize,
Status status)
Does the same thing as ParameterGroupDao.findParameterGroupByStatus(String, fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findParameterGroupByStatus(java.lang.String queryString,
Status status)
Does the same thing as ParameterGroupDao.findParameterGroupByStatus(fr.ifremer.allegro.referential.Status) with an
additional argument called queryString . |
ClusterParameterGroup[] |
getAllClusterParameterGroupSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize)
|
java.util.Collection |
getAllParameterGroup()
|
java.util.Collection |
getAllParameterGroup(int transform)
Does the same thing as ParameterGroupDao.getAllParameterGroup() with an
additional flag called transform . |
java.util.Collection |
getAllParameterGroup(int pageNumber,
int pageSize)
Does the same thing as ParameterGroupDao.getAllParameterGroup() with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllParameterGroup(int transform,
int pageNumber,
int pageSize)
Does the same thing as ParameterGroupDao.getAllParameterGroup(int) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllParameterGroup(int transform,
java.lang.String queryString)
Does the same thing as ParameterGroupDao.getAllParameterGroup(int) with an
additional argument called queryString . |
java.util.Collection |
getAllParameterGroup(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as ParameterGroupDao.getAllParameterGroup(int, String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllParameterGroup(java.lang.String queryString)
Does the same thing as ParameterGroupDao.getAllParameterGroup() with an
additional argument called queryString . |
java.util.Collection |
getAllParameterGroup(java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as ParameterGroupDao.getAllParameterGroup(String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllParameterGroupSinceDateSynchro(int transform,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as ParameterGroupDao.getAllParameterGroupSinceDateSynchro(int, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllParameterGroupSinceDateSynchro(int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as ParameterGroupDao.getAllParameterGroupSinceDateSynchro(java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllParameterGroupSinceDateSynchro(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as ParameterGroupDao.getAllParameterGroupSinceDateSynchro(int, String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllParameterGroupSinceDateSynchro(int transform,
java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as ParameterGroupDao.getAllParameterGroupSinceDateSynchro(int, java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllParameterGroupSinceDateSynchro(int transform,
java.sql.Timestamp updateDate)
Does the same thing as ParameterGroupDao.getAllParameterGroupSinceDateSynchro(java.sql.Timestamp) with an
additional flag called transform . |
java.util.Collection |
getAllParameterGroupSinceDateSynchro(java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as ParameterGroupDao.getAllParameterGroupSinceDateSynchro(String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllParameterGroupSinceDateSynchro(java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as ParameterGroupDao.getAllParameterGroupSinceDateSynchro(java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllParameterGroupSinceDateSynchro(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 StatusDao |
getStatusDao()
Gets the reference to statusDao . |
protected abstract ParameterGroup |
handleCreateFromClusterParameterGroup(ClusterParameterGroup clusterParameterGroup)
Performs the core logic for createFromClusterParameterGroup(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterParameterGroup) |
protected abstract ClusterParameterGroup[] |
handleGetAllClusterParameterGroupSinceDateSynchro(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 getAllClusterParameterGroupSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer) |
ParameterGroup |
load(java.lang.Integer id)
Loads an instance of fr.ifremer.allegro.referential.pmfm.ParameterGroup from the persistent store. |
java.lang.Object |
load(int transform,
java.lang.Integer id)
Does the same thing as ParameterGroupDao.load(java.lang.Integer) with an
additional flag called transform . |
java.util.Collection |
loadAll()
Loads all entities of type ParameterGroup . |
java.util.Collection |
loadAll(int transform)
Does the same thing as ParameterGroupDao.loadAll() with an
additional flag called transform . |
java.util.Collection |
loadAll(int pageNumber,
int pageSize)
Does the same thing as ParameterGroupDao.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 ParameterGroupDao.loadAll(int) with an
additional two arguments called pageNumber and pageSize . |
void |
remoteParameterGroupFullVOToEntity(RemoteParameterGroupFullVO source,
ParameterGroup target,
boolean copyIfNull)
Copies the fields of RemoteParameterGroupFullVO to the specified entity. |
void |
remoteParameterGroupFullVOToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteParameterGroupFullVO to this
DAO's entity. |
void |
remoteParameterGroupNaturalIdToEntity(RemoteParameterGroupNaturalId source,
ParameterGroup target,
boolean copyIfNull)
Copies the fields of RemoteParameterGroupNaturalId to the specified entity. |
void |
remoteParameterGroupNaturalIdToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteParameterGroupNaturalId 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.ParameterGroup having the given identifier from the persistent store. |
void |
remove(ParameterGroup parameterGroup)
Removes the instance of fr.ifremer.allegro.referential.pmfm.ParameterGroup 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 ParameterGroupDao.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 |
setStatusDao(StatusDao statusDao)
Sets the reference to statusDao . |
protected ClusterParameterGroup |
toClusterParameterGroup(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
ClusterParameterGroup |
toClusterParameterGroup(ParameterGroup entity)
Converts this DAO's entity to an object of type ClusterParameterGroup . |
void |
toClusterParameterGroup(ParameterGroup source,
ClusterParameterGroup target)
Copies the fields of the specified entity to the target value object. |
ClusterParameterGroup[] |
toClusterParameterGroupArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type ClusterParameterGroup . |
void |
toClusterParameterGroupCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type ClusterParameterGroup . |
protected ParameterGroup |
toEntity(java.lang.Object[] row)
|
protected RemoteParameterGroupFullVO |
toRemoteParameterGroupFullVO(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteParameterGroupFullVO |
toRemoteParameterGroupFullVO(ParameterGroup entity)
Converts this DAO's entity to an object of type RemoteParameterGroupFullVO . |
void |
toRemoteParameterGroupFullVO(ParameterGroup source,
RemoteParameterGroupFullVO target)
Copies the fields of the specified entity to the target value object. |
RemoteParameterGroupFullVO[] |
toRemoteParameterGroupFullVOArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteParameterGroupFullVO . |
void |
toRemoteParameterGroupFullVOCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteParameterGroupFullVO . |
protected RemoteParameterGroupNaturalId |
toRemoteParameterGroupNaturalId(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteParameterGroupNaturalId |
toRemoteParameterGroupNaturalId(ParameterGroup entity)
Converts this DAO's entity to an object of type RemoteParameterGroupNaturalId . |
void |
toRemoteParameterGroupNaturalId(ParameterGroup source,
RemoteParameterGroupNaturalId target)
Copies the fields of the specified entity to the target value object. |
RemoteParameterGroupNaturalId[] |
toRemoteParameterGroupNaturalIdArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteParameterGroupNaturalId . |
void |
toRemoteParameterGroupNaturalIdCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteParameterGroupNaturalId . |
protected void |
transformEntities(int transform,
java.util.Collection entities)
Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.pmfm.ParameterGroup)
method. |
protected java.lang.Object |
transformEntity(int transform,
ParameterGroup 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.ParameterGroupDao , please note
that the ParameterGroupDao.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(ParameterGroup parameterGroup)
Updates the parameterGroup 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.ParameterGroupDao |
---|
clusterParameterGroupToEntity, remoteParameterGroupFullVOToEntity, remoteParameterGroupNaturalIdToEntity |
Constructor Detail |
---|
public ParameterGroupDaoBase()
Method Detail |
---|
public void setParameterGroupDao(ParameterGroupDao parameterGroupDao)
parameterGroupDao
.
protected ParameterGroupDao getParameterGroupDao()
parameterGroupDao
.
public void setStatusDao(StatusDao statusDao)
statusDao
.
protected StatusDao getStatusDao()
statusDao
.
public java.lang.Object load(int transform, java.lang.Integer id)
ParameterGroupDao
Does the same thing as ParameterGroupDao.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 ParameterGroupDao
id
- identifier of the entity to load
ParameterGroupDao.load(int, java.lang.Integer)
public ParameterGroup load(java.lang.Integer id)
ParameterGroupDao
load
in interface ParameterGroupDao
ParameterGroupDao.load(java.lang.Integer)
public java.util.Collection loadAll()
ParameterGroupDao
ParameterGroup
.
loadAll
in interface ParameterGroupDao
ParameterGroupDao.loadAll()
public java.util.Collection loadAll(int transform)
ParameterGroupDao
Does the same thing as ParameterGroupDao.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 ParameterGroupDao
transform
- the flag indicating what transformation to use.
ParameterGroupDao.loadAll(int)
public java.util.Collection loadAll(int pageNumber, int pageSize)
ParameterGroupDao
Does the same thing as ParameterGroupDao.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 ParameterGroupDao
pageNumber
- the page number to retrieve when paging results.pageSize
- the size of the page to retrieve when paging results.
ParameterGroupDao.loadAll(int, int)
public java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
ParameterGroupDao
Does the same thing as ParameterGroupDao.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 ParameterGroupDao
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.
ParameterGroupDao.loadAll(int, int, int)
public ParameterGroup create(ParameterGroup parameterGroup)
ParameterGroupDao
create
in interface ParameterGroupDao
ParameterGroupDao.create(fr.ifremer.allegro.referential.pmfm.ParameterGroup)
public java.lang.Object create(int transform, ParameterGroup parameterGroup)
ParameterGroupDao
Does the same thing as ParameterGroupDao.create(fr.ifremer.allegro.referential.pmfm.ParameterGroup)
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 ParameterGroupDao
ParameterGroupDao.create(int transform, fr.ifremer.allegro.referential.pmfm.ParameterGroup)
public java.util.Collection create(java.util.Collection entities)
ParameterGroupDao
entities
collection
create
in interface ParameterGroupDao
entities
- the collection of fr.ifremer.allegro.referential.pmfm.ParameterGroup
instances to create.
ParameterGroupDao.create(java.util.Collection)
public java.util.Collection create(int transform, java.util.Collection entities)
ParameterGroupDao
Does the same thing as ParameterGroupDao.create(fr.ifremer.allegro.referential.pmfm.ParameterGroup)
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 ParameterGroupDao
ParameterGroupDao.create(int, java.util.Collection)
public ParameterGroup create(java.lang.String name, java.lang.String description, java.sql.Timestamp updateDate, java.util.Collection childParameterGroups, ParameterGroup parentParameterGroup, Status status)
ParameterGroupDao
Creates a new fr.ifremer.allegro.referential.pmfm.ParameterGroup
instance from all attributes and
properties and adds it to the persistent store.
create
in interface ParameterGroupDao
ParameterGroupDao.create(java.lang.String,java.lang.String,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 name, java.lang.String description, java.sql.Timestamp updateDate, java.util.Collection childParameterGroups, ParameterGroup parentParameterGroup, Status status)
ParameterGroupDao
Does the same thing as ParameterGroupDao.create(java.lang.String,java.lang.String,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 ParameterGroupDao
ParameterGroupDao.create(int, java.lang.String,java.lang.String,java.sql.Timestamp,java.util.Collection,fr.ifremer.allegro.referential.pmfm.ParameterGroup,fr.ifremer.allegro.referential.Status)
public ParameterGroup create(java.lang.String name, Status status)
ParameterGroupDao
Creates a new fr.ifremer.allegro.referential.pmfm.ParameterGroup
instance from only required properties (attributes
and association ends) and adds it to the persistent store.
create
in interface ParameterGroupDao
ParameterGroupDao.create(java.lang.String,fr.ifremer.allegro.referential.Status)
public java.lang.Object create(int transform, java.lang.String name, Status status)
ParameterGroupDao
Does the same thing as ParameterGroupDao.create(java.lang.String,fr.ifremer.allegro.referential.Status)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOTWILL BE passed through an operation which can optionally
transform the entity (into a value object for example). By default, transformation does
not occur.
create
in interface ParameterGroupDao
ParameterGroupDao.create(int, java.lang.String,fr.ifremer.allegro.referential.Status)
public void update(ParameterGroup parameterGroup)
ParameterGroupDao
parameterGroup
instance in the persistent store.
update
in interface ParameterGroupDao
ParameterGroupDao.update(fr.ifremer.allegro.referential.pmfm.ParameterGroup)
public void update(java.util.Collection entities)
ParameterGroupDao
entities
collection in the persistent store.
update
in interface ParameterGroupDao
ParameterGroupDao.update(java.util.Collection)
public void remove(ParameterGroup parameterGroup)
ParameterGroupDao
remove
in interface ParameterGroupDao
ParameterGroupDao.remove(fr.ifremer.allegro.referential.pmfm.ParameterGroup)
public void remove(java.lang.Integer id)
ParameterGroupDao
identifier
from the persistent store.
remove
in interface ParameterGroupDao
ParameterGroupDao.remove(java.lang.Integer)
public void remove(java.util.Collection entities)
ParameterGroupDao
entities collection.
- Specified by:
remove
in interface ParameterGroupDao
- See Also:
ParameterGroupDao.remove(java.util.Collection)
public java.util.Collection getAllParameterGroup()
getAllParameterGroup
in interface ParameterGroupDao
ParameterGroupDao.getAllParameterGroup()
public java.util.Collection getAllParameterGroup(int transform)
ParameterGroupDao
Does the same thing as ParameterGroupDao.getAllParameterGroup()
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.
getAllParameterGroup
in interface ParameterGroupDao
ParameterGroupDao.getAllParameterGroup(int)
public java.util.Collection getAllParameterGroup(java.lang.String queryString)
ParameterGroupDao
Does the same thing as ParameterGroupDao.getAllParameterGroup()
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ParameterGroupDao.getAllParameterGroup()
.
getAllParameterGroup
in interface ParameterGroupDao
ParameterGroupDao.getAllParameterGroup(java.lang.String)
public java.util.Collection getAllParameterGroup(int pageNumber, int pageSize)
ParameterGroupDao
Does the same thing as ParameterGroupDao.getAllParameterGroup()
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.
getAllParameterGroup
in interface ParameterGroupDao
ParameterGroupDao.getAllParameterGroup(int, int)
public java.util.Collection getAllParameterGroup(java.lang.String queryString, int pageNumber, int pageSize)
ParameterGroupDao
Does the same thing as ParameterGroupDao.getAllParameterGroup(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.
getAllParameterGroup
in interface ParameterGroupDao
ParameterGroupDao.getAllParameterGroup(String, int, int)
public java.util.Collection getAllParameterGroup(int transform, java.lang.String queryString)
ParameterGroupDao
Does the same thing as ParameterGroupDao.getAllParameterGroup(int)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ParameterGroupDao.getAllParameterGroup(int)
.
getAllParameterGroup
in interface ParameterGroupDao
ParameterGroupDao.getAllParameterGroup(int, String)
public java.util.Collection getAllParameterGroup(int transform, int pageNumber, int pageSize)
ParameterGroupDao
Does the same thing as ParameterGroupDao.getAllParameterGroup(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.
getAllParameterGroup
in interface ParameterGroupDao
ParameterGroupDao.getAllParameterGroup(int, int, int)
public java.util.Collection getAllParameterGroup(int transform, java.lang.String queryString, int pageNumber, int pageSize)
ParameterGroupDao
Does the same thing as ParameterGroupDao.getAllParameterGroup(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.
getAllParameterGroup
in interface ParameterGroupDao
ParameterGroupDao.getAllParameterGroup(int, java.lang.String, int, int)
public ParameterGroup findParameterGroupById(java.lang.Integer id)
findParameterGroupById
in interface ParameterGroupDao
ParameterGroupDao.findParameterGroupById(java.lang.Integer)
public java.lang.Object findParameterGroupById(int transform, java.lang.Integer id)
ParameterGroupDao
Does the same thing as ParameterGroupDao.findParameterGroupById(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.
findParameterGroupById
in interface ParameterGroupDao
ParameterGroupDao.findParameterGroupById(int, java.lang.Integer)
public ParameterGroup findParameterGroupById(java.lang.String queryString, java.lang.Integer id)
ParameterGroupDao
Does the same thing as ParameterGroupDao.findParameterGroupById(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ParameterGroupDao.findParameterGroupById(java.lang.Integer)
.
findParameterGroupById
in interface ParameterGroupDao
ParameterGroupDao.findParameterGroupById(java.lang.String, java.lang.Integer)
public java.lang.Object findParameterGroupById(int transform, java.lang.String queryString, java.lang.Integer id)
ParameterGroupDao
Does the same thing as ParameterGroupDao.findParameterGroupById(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ParameterGroupDao.findParameterGroupById(int, java.lang.Integer id)
.
findParameterGroupById
in interface ParameterGroupDao
ParameterGroupDao.findParameterGroupById(int, java.lang.String, java.lang.Integer)
public java.util.Collection findParameterGroupByParentParameterGroup(ParameterGroup parentParameterGroup)
findParameterGroupByParentParameterGroup
in interface ParameterGroupDao
ParameterGroupDao.findParameterGroupByParentParameterGroup(fr.ifremer.allegro.referential.pmfm.ParameterGroup)
public java.util.Collection findParameterGroupByParentParameterGroup(int transform, ParameterGroup parentParameterGroup)
ParameterGroupDao
Does the same thing as ParameterGroupDao.findParameterGroupByParentParameterGroup(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.
findParameterGroupByParentParameterGroup
in interface ParameterGroupDao
ParameterGroupDao.findParameterGroupByParentParameterGroup(int, fr.ifremer.allegro.referential.pmfm.ParameterGroup)
public java.util.Collection findParameterGroupByParentParameterGroup(java.lang.String queryString, ParameterGroup parentParameterGroup)
ParameterGroupDao
Does the same thing as ParameterGroupDao.findParameterGroupByParentParameterGroup(fr.ifremer.allegro.referential.pmfm.ParameterGroup)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ParameterGroupDao.findParameterGroupByParentParameterGroup(fr.ifremer.allegro.referential.pmfm.ParameterGroup)
.
findParameterGroupByParentParameterGroup
in interface ParameterGroupDao
ParameterGroupDao.findParameterGroupByParentParameterGroup(java.lang.String, fr.ifremer.allegro.referential.pmfm.ParameterGroup)
public java.util.Collection findParameterGroupByParentParameterGroup(int pageNumber, int pageSize, ParameterGroup parentParameterGroup)
ParameterGroupDao
Does the same thing as ParameterGroupDao.findParameterGroupByParentParameterGroup(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.
findParameterGroupByParentParameterGroup
in interface ParameterGroupDao
ParameterGroupDao.findParameterGroupByParentParameterGroup(int, int, fr.ifremer.allegro.referential.pmfm.ParameterGroup)
public java.util.Collection findParameterGroupByParentParameterGroup(java.lang.String queryString, int pageNumber, int pageSize, ParameterGroup parentParameterGroup)
ParameterGroupDao
Does the same thing as ParameterGroupDao.findParameterGroupByParentParameterGroup(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.
findParameterGroupByParentParameterGroup
in interface ParameterGroupDao
ParameterGroupDao.findParameterGroupByParentParameterGroup(String, int, int, fr.ifremer.allegro.referential.pmfm.ParameterGroup)
public java.util.Collection findParameterGroupByParentParameterGroup(int transform, java.lang.String queryString, ParameterGroup parentParameterGroup)
ParameterGroupDao
Does the same thing as ParameterGroupDao.findParameterGroupByParentParameterGroup(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 ParameterGroupDao.findParameterGroupByParentParameterGroup(int, fr.ifremer.allegro.referential.pmfm.ParameterGroup parentParameterGroup)
.
findParameterGroupByParentParameterGroup
in interface ParameterGroupDao
ParameterGroupDao.findParameterGroupByParentParameterGroup(int, String, fr.ifremer.allegro.referential.pmfm.ParameterGroup)
public java.util.Collection findParameterGroupByParentParameterGroup(int transform, int pageNumber, int pageSize, ParameterGroup parentParameterGroup)
ParameterGroupDao
Does the same thing as ParameterGroupDao.findParameterGroupByParentParameterGroup(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.
findParameterGroupByParentParameterGroup
in interface ParameterGroupDao
ParameterGroupDao.findParameterGroupByParentParameterGroup(int, int, int, fr.ifremer.allegro.referential.pmfm.ParameterGroup)
public java.util.Collection findParameterGroupByParentParameterGroup(int transform, java.lang.String queryString, int pageNumber, int pageSize, ParameterGroup parentParameterGroup)
ParameterGroupDao
Does the same thing as ParameterGroupDao.findParameterGroupByParentParameterGroup(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.
findParameterGroupByParentParameterGroup
in interface ParameterGroupDao
ParameterGroupDao.findParameterGroupByParentParameterGroup(int, java.lang.String, int, int, fr.ifremer.allegro.referential.pmfm.ParameterGroup)
public java.util.Collection findParameterGroupByStatus(Status status)
findParameterGroupByStatus
in interface ParameterGroupDao
ParameterGroupDao.findParameterGroupByStatus(fr.ifremer.allegro.referential.Status)
public java.util.Collection findParameterGroupByStatus(int transform, Status status)
ParameterGroupDao
Does the same thing as ParameterGroupDao.findParameterGroupByStatus(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.
findParameterGroupByStatus
in interface ParameterGroupDao
ParameterGroupDao.findParameterGroupByStatus(int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findParameterGroupByStatus(java.lang.String queryString, Status status)
ParameterGroupDao
Does the same thing as ParameterGroupDao.findParameterGroupByStatus(fr.ifremer.allegro.referential.Status)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ParameterGroupDao.findParameterGroupByStatus(fr.ifremer.allegro.referential.Status)
.
findParameterGroupByStatus
in interface ParameterGroupDao
ParameterGroupDao.findParameterGroupByStatus(java.lang.String, fr.ifremer.allegro.referential.Status)
public java.util.Collection findParameterGroupByStatus(int pageNumber, int pageSize, Status status)
ParameterGroupDao
Does the same thing as ParameterGroupDao.findParameterGroupByStatus(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.
findParameterGroupByStatus
in interface ParameterGroupDao
ParameterGroupDao.findParameterGroupByStatus(int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findParameterGroupByStatus(java.lang.String queryString, int pageNumber, int pageSize, Status status)
ParameterGroupDao
Does the same thing as ParameterGroupDao.findParameterGroupByStatus(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.
findParameterGroupByStatus
in interface ParameterGroupDao
ParameterGroupDao.findParameterGroupByStatus(String, int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findParameterGroupByStatus(int transform, java.lang.String queryString, Status status)
ParameterGroupDao
Does the same thing as ParameterGroupDao.findParameterGroupByStatus(int, fr.ifremer.allegro.referential.Status)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ParameterGroupDao.findParameterGroupByStatus(int, fr.ifremer.allegro.referential.Status status)
.
findParameterGroupByStatus
in interface ParameterGroupDao
ParameterGroupDao.findParameterGroupByStatus(int, String, fr.ifremer.allegro.referential.Status)
public java.util.Collection findParameterGroupByStatus(int transform, int pageNumber, int pageSize, Status status)
ParameterGroupDao
Does the same thing as ParameterGroupDao.findParameterGroupByStatus(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.
findParameterGroupByStatus
in interface ParameterGroupDao
ParameterGroupDao.findParameterGroupByStatus(int, int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findParameterGroupByStatus(int transform, java.lang.String queryString, int pageNumber, int pageSize, Status status)
ParameterGroupDao
Does the same thing as ParameterGroupDao.findParameterGroupByStatus(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.
findParameterGroupByStatus
in interface ParameterGroupDao
ParameterGroupDao.findParameterGroupByStatus(int, java.lang.String, int, int, fr.ifremer.allegro.referential.Status)
public ParameterGroup findParameterGroupByNaturalId(java.lang.Integer id)
findParameterGroupByNaturalId
in interface ParameterGroupDao
ParameterGroupDao.findParameterGroupByNaturalId(java.lang.Integer)
public java.lang.Object findParameterGroupByNaturalId(int transform, java.lang.Integer id)
ParameterGroupDao
Does the same thing as ParameterGroupDao.findParameterGroupByNaturalId(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.
findParameterGroupByNaturalId
in interface ParameterGroupDao
ParameterGroupDao.findParameterGroupByNaturalId(int, java.lang.Integer)
public ParameterGroup findParameterGroupByNaturalId(java.lang.String queryString, java.lang.Integer id)
ParameterGroupDao
Does the same thing as ParameterGroupDao.findParameterGroupByNaturalId(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ParameterGroupDao.findParameterGroupByNaturalId(java.lang.Integer)
.
findParameterGroupByNaturalId
in interface ParameterGroupDao
ParameterGroupDao.findParameterGroupByNaturalId(java.lang.String, java.lang.Integer)
public java.lang.Object findParameterGroupByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
ParameterGroupDao
Does the same thing as ParameterGroupDao.findParameterGroupByNaturalId(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ParameterGroupDao.findParameterGroupByNaturalId(int, java.lang.Integer id)
.
findParameterGroupByNaturalId
in interface ParameterGroupDao
ParameterGroupDao.findParameterGroupByNaturalId(int, java.lang.String, java.lang.Integer)
public java.util.Collection getAllParameterGroupSinceDateSynchro(java.sql.Timestamp updateDate)
getAllParameterGroupSinceDateSynchro
in interface ParameterGroupDao
ParameterGroupDao.getAllParameterGroupSinceDateSynchro(java.sql.Timestamp)
public java.util.Collection getAllParameterGroupSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
ParameterGroupDao
Does the same thing as ParameterGroupDao.getAllParameterGroupSinceDateSynchro(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.
getAllParameterGroupSinceDateSynchro
in interface ParameterGroupDao
ParameterGroupDao.getAllParameterGroupSinceDateSynchro(int, java.sql.Timestamp)
public java.util.Collection getAllParameterGroupSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
ParameterGroupDao
Does the same thing as ParameterGroupDao.getAllParameterGroupSinceDateSynchro(java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ParameterGroupDao.getAllParameterGroupSinceDateSynchro(java.sql.Timestamp)
.
getAllParameterGroupSinceDateSynchro
in interface ParameterGroupDao
ParameterGroupDao.getAllParameterGroupSinceDateSynchro(java.lang.String, java.sql.Timestamp)
public java.util.Collection getAllParameterGroupSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
ParameterGroupDao
Does the same thing as ParameterGroupDao.getAllParameterGroupSinceDateSynchro(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.
getAllParameterGroupSinceDateSynchro
in interface ParameterGroupDao
ParameterGroupDao.getAllParameterGroupSinceDateSynchro(int, int, java.sql.Timestamp)
public java.util.Collection getAllParameterGroupSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
ParameterGroupDao
Does the same thing as ParameterGroupDao.getAllParameterGroupSinceDateSynchro(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.
getAllParameterGroupSinceDateSynchro
in interface ParameterGroupDao
ParameterGroupDao.getAllParameterGroupSinceDateSynchro(String, int, int, java.sql.Timestamp)
public java.util.Collection getAllParameterGroupSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
ParameterGroupDao
Does the same thing as ParameterGroupDao.getAllParameterGroupSinceDateSynchro(int, java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ParameterGroupDao.getAllParameterGroupSinceDateSynchro(int, java.sql.Timestamp updateDate)
.
getAllParameterGroupSinceDateSynchro
in interface ParameterGroupDao
ParameterGroupDao.getAllParameterGroupSinceDateSynchro(int, String, java.sql.Timestamp)
public java.util.Collection getAllParameterGroupSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
ParameterGroupDao
Does the same thing as ParameterGroupDao.getAllParameterGroupSinceDateSynchro(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.
getAllParameterGroupSinceDateSynchro
in interface ParameterGroupDao
ParameterGroupDao.getAllParameterGroupSinceDateSynchro(int, int, int, java.sql.Timestamp)
public java.util.Collection getAllParameterGroupSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
ParameterGroupDao
Does the same thing as ParameterGroupDao.getAllParameterGroupSinceDateSynchro(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.
getAllParameterGroupSinceDateSynchro
in interface ParameterGroupDao
ParameterGroupDao.getAllParameterGroupSinceDateSynchro(int, java.lang.String, int, int, java.sql.Timestamp)
public ParameterGroup createFromClusterParameterGroup(ClusterParameterGroup clusterParameterGroup)
createFromClusterParameterGroup
in interface ParameterGroupDao
ParameterGroupDao.createFromClusterParameterGroup(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterParameterGroup)
protected abstract ParameterGroup handleCreateFromClusterParameterGroup(ClusterParameterGroup clusterParameterGroup) throws java.lang.Exception
createFromClusterParameterGroup(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterParameterGroup)
java.lang.Exception
public ClusterParameterGroup[] getAllClusterParameterGroupSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
getAllClusterParameterGroupSinceDateSynchro
in interface ParameterGroupDao
ParameterGroupDao.getAllClusterParameterGroupSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract ClusterParameterGroup[] handleGetAllClusterParameterGroupSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize) throws java.lang.Exception
getAllClusterParameterGroupSinceDateSynchro(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, ParameterGroup entity)
transform
flag is set to one of the constants defined in fr.ifremer.allegro.referential.pmfm.ParameterGroupDao
, please note
that the ParameterGroupDao.TRANSFORM_NONE
constant denotes no transformation, so the entity itself
will be returned.
This method will return instances of these types:
ParameterGroup
- ParameterGroupDao.TRANSFORM_NONE
RemoteParameterGroupFullVO
- TRANSFORM_REMOTEPARAMETERGROUPFULLVO
RemoteParameterGroupNaturalId
- TRANSFORM_REMOTEPARAMETERGROUPNATURALID
ClusterParameterGroup
- TRANSFORM_CLUSTERPARAMETERGROUP
ParameterGroupDao.TRANSFORM_NONE
is assumed.
transform
- one of the constants declared in ParameterGroupDao
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.ParameterGroup)
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.ParameterGroupDao
entities
- the collection of entities to transformtransformEntity(int,fr.ifremer.allegro.referential.pmfm.ParameterGroup)
protected ParameterGroup toEntity(java.lang.Object[] row)
public final void toRemoteParameterGroupFullVOCollection(java.util.Collection entities)
ParameterGroupDao
RemoteParameterGroupFullVO
.
toRemoteParameterGroupFullVOCollection
in interface ParameterGroupDao
ParameterGroupDao.toRemoteParameterGroupFullVOCollection(java.util.Collection)
public final RemoteParameterGroupFullVO[] toRemoteParameterGroupFullVOArray(java.util.Collection entities)
ParameterGroupDao
RemoteParameterGroupFullVO
.
toRemoteParameterGroupFullVOArray
in interface ParameterGroupDao
ParameterGroupDao.toRemoteParameterGroupFullVOArray(java.util.Collection)
protected RemoteParameterGroupFullVO toRemoteParameterGroupFullVO(java.lang.Object[] row)
ParameterGroupDaoImpl
class if you intend to use reporting queries.
ParameterGroupDao.toRemoteParameterGroupFullVO(fr.ifremer.allegro.referential.pmfm.ParameterGroup)
public final void remoteParameterGroupFullVOToEntityCollection(java.util.Collection instances)
ParameterGroupDao
RemoteParameterGroupFullVO
to this
DAO's entity.
remoteParameterGroupFullVOToEntityCollection
in interface ParameterGroupDao
ParameterGroupDao.remoteParameterGroupFullVOToEntityCollection(java.util.Collection)
public void toRemoteParameterGroupFullVO(ParameterGroup source, RemoteParameterGroupFullVO target)
ParameterGroupDao
toRemoteParameterGroupFullVO
in interface ParameterGroupDao
ParameterGroupDao.toRemoteParameterGroupFullVO(fr.ifremer.allegro.referential.pmfm.ParameterGroup, fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteParameterGroupFullVO)
public RemoteParameterGroupFullVO toRemoteParameterGroupFullVO(ParameterGroup entity)
ParameterGroupDao
RemoteParameterGroupFullVO
.
toRemoteParameterGroupFullVO
in interface ParameterGroupDao
ParameterGroupDao.toRemoteParameterGroupFullVO(fr.ifremer.allegro.referential.pmfm.ParameterGroup)
public void remoteParameterGroupFullVOToEntity(RemoteParameterGroupFullVO source, ParameterGroup target, boolean copyIfNull)
ParameterGroupDao
RemoteParameterGroupFullVO
to the specified entity.
remoteParameterGroupFullVOToEntity
in interface ParameterGroupDao
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.ParameterGroupDao#remoteParameterGroupFullVOToEntity(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteParameterGroupFullVO, fr.ifremer.allegro.referential.pmfm.ParameterGroup)
public final void toRemoteParameterGroupNaturalIdCollection(java.util.Collection entities)
ParameterGroupDao
RemoteParameterGroupNaturalId
.
toRemoteParameterGroupNaturalIdCollection
in interface ParameterGroupDao
ParameterGroupDao.toRemoteParameterGroupNaturalIdCollection(java.util.Collection)
public final RemoteParameterGroupNaturalId[] toRemoteParameterGroupNaturalIdArray(java.util.Collection entities)
ParameterGroupDao
RemoteParameterGroupNaturalId
.
toRemoteParameterGroupNaturalIdArray
in interface ParameterGroupDao
ParameterGroupDao.toRemoteParameterGroupNaturalIdArray(java.util.Collection)
protected RemoteParameterGroupNaturalId toRemoteParameterGroupNaturalId(java.lang.Object[] row)
ParameterGroupDaoImpl
class if you intend to use reporting queries.
ParameterGroupDao.toRemoteParameterGroupNaturalId(fr.ifremer.allegro.referential.pmfm.ParameterGroup)
public final void remoteParameterGroupNaturalIdToEntityCollection(java.util.Collection instances)
ParameterGroupDao
RemoteParameterGroupNaturalId
to this
DAO's entity.
remoteParameterGroupNaturalIdToEntityCollection
in interface ParameterGroupDao
ParameterGroupDao.remoteParameterGroupNaturalIdToEntityCollection(java.util.Collection)
public void toRemoteParameterGroupNaturalId(ParameterGroup source, RemoteParameterGroupNaturalId target)
ParameterGroupDao
toRemoteParameterGroupNaturalId
in interface ParameterGroupDao
ParameterGroupDao.toRemoteParameterGroupNaturalId(fr.ifremer.allegro.referential.pmfm.ParameterGroup, fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteParameterGroupNaturalId)
public RemoteParameterGroupNaturalId toRemoteParameterGroupNaturalId(ParameterGroup entity)
ParameterGroupDao
RemoteParameterGroupNaturalId
.
toRemoteParameterGroupNaturalId
in interface ParameterGroupDao
ParameterGroupDao.toRemoteParameterGroupNaturalId(fr.ifremer.allegro.referential.pmfm.ParameterGroup)
public void remoteParameterGroupNaturalIdToEntity(RemoteParameterGroupNaturalId source, ParameterGroup target, boolean copyIfNull)
ParameterGroupDao
RemoteParameterGroupNaturalId
to the specified entity.
remoteParameterGroupNaturalIdToEntity
in interface ParameterGroupDao
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.ParameterGroupDao#remoteParameterGroupNaturalIdToEntity(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteParameterGroupNaturalId, fr.ifremer.allegro.referential.pmfm.ParameterGroup)
public final void toClusterParameterGroupCollection(java.util.Collection entities)
ParameterGroupDao
ClusterParameterGroup
.
toClusterParameterGroupCollection
in interface ParameterGroupDao
ParameterGroupDao.toClusterParameterGroupCollection(java.util.Collection)
public final ClusterParameterGroup[] toClusterParameterGroupArray(java.util.Collection entities)
ParameterGroupDao
ClusterParameterGroup
.
toClusterParameterGroupArray
in interface ParameterGroupDao
ParameterGroupDao.toClusterParameterGroupArray(java.util.Collection)
protected ClusterParameterGroup toClusterParameterGroup(java.lang.Object[] row)
ParameterGroupDaoImpl
class if you intend to use reporting queries.
ParameterGroupDao.toClusterParameterGroup(fr.ifremer.allegro.referential.pmfm.ParameterGroup)
public final void clusterParameterGroupToEntityCollection(java.util.Collection instances)
ParameterGroupDao
ClusterParameterGroup
to this
DAO's entity.
clusterParameterGroupToEntityCollection
in interface ParameterGroupDao
ParameterGroupDao.clusterParameterGroupToEntityCollection(java.util.Collection)
public void toClusterParameterGroup(ParameterGroup source, ClusterParameterGroup target)
ParameterGroupDao
toClusterParameterGroup
in interface ParameterGroupDao
ParameterGroupDao.toClusterParameterGroup(fr.ifremer.allegro.referential.pmfm.ParameterGroup, fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterParameterGroup)
public ClusterParameterGroup toClusterParameterGroup(ParameterGroup entity)
ParameterGroupDao
ClusterParameterGroup
.
toClusterParameterGroup
in interface ParameterGroupDao
ParameterGroupDao.toClusterParameterGroup(fr.ifremer.allegro.referential.pmfm.ParameterGroup)
public void clusterParameterGroupToEntity(ClusterParameterGroup source, ParameterGroup target, boolean copyIfNull)
ParameterGroupDao
ClusterParameterGroup
to the specified entity.
clusterParameterGroupToEntity
in interface ParameterGroupDao
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.ParameterGroupDao#clusterParameterGroupToEntity(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterParameterGroup, fr.ifremer.allegro.referential.pmfm.ParameterGroup)
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)
ParameterGroupDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface ParameterGroupDao
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.ParameterGroupDao.search(int, int, int, fr.ifremer.allegro.Search)
public PaginationResult search(int pageNumber, int pageSize, Search search)
ParameterGroupDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface ParameterGroupDao
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.ParameterGroupDao.search(int, int, fr.ifremer.allegro.Search)
public java.util.Set search(int transform, Search search)
ParameterGroupDao
ParameterGroupDao.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 ParameterGroupDao
transform
- the transformation flag.search
- the search object which provides the search parameters and pagination specification.
ParameterGroupDao.search(int, fr.ifremer.allegro.Search)
public java.util.Set search(Search search)
ParameterGroupDao
search
object.
search
in interface ParameterGroupDao
search
- the search object which provides the search parameters and pagination specification.
ParameterGroupDao.search(fr.ifremer.allegro.Search)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |