|
||||||||||
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.AnalysisInstrumentDaoBase
public abstract class AnalysisInstrumentDaoBase
Base Spring DAO Class: is able to create, update, remove, load, and find
objects of type fr.ifremer.allegro.referential.AnalysisInstrument
.
AnalysisInstrument
Field Summary |
---|
Fields inherited from interface fr.ifremer.allegro.referential.AnalysisInstrumentDao |
---|
TRANSFORM_CLUSTERANALYSISINSTRUMENT, TRANSFORM_NONE, TRANSFORM_REMOTEANALYSISINSTRUMENTFULLVO, TRANSFORM_REMOTEANALYSISINSTRUMENTNATURALID |
Constructor Summary | |
---|---|
AnalysisInstrumentDaoBase()
|
Method Summary | |
---|---|
void |
clusterAnalysisInstrumentToEntity(ClusterAnalysisInstrument source,
AnalysisInstrument target,
boolean copyIfNull)
Copies the fields of ClusterAnalysisInstrument to the specified entity. |
void |
clusterAnalysisInstrumentToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type ClusterAnalysisInstrument to this
DAO's entity. |
AnalysisInstrument |
create(AnalysisInstrument analysisInstrument)
Creates an instance of fr.ifremer.allegro.referential.AnalysisInstrument and adds it to the persistent store. |
java.util.Collection |
create(java.util.Collection entities)
Creates a new instance of fr.ifremer.allegro.referential.AnalysisInstrument and adds from the passed in entities collection |
java.lang.Object |
create(int transform,
AnalysisInstrument analysisInstrument)
Does the same thing as AnalysisInstrumentDao.create(fr.ifremer.allegro.referential.AnalysisInstrument) with an
additional flag called transform . |
java.util.Collection |
create(int transform,
java.util.Collection entities)
Does the same thing as AnalysisInstrumentDao.create(fr.ifremer.allegro.referential.AnalysisInstrument) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
java.lang.String name,
Status status)
Does the same thing as AnalysisInstrumentDao.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,
Status status)
Does the same thing as AnalysisInstrumentDao.create(java.lang.String,java.lang.String,java.sql.Timestamp,fr.ifremer.allegro.referential.Status) with an
additional flag called transform . |
AnalysisInstrument |
create(java.lang.String name,
Status status)
Creates a new fr.ifremer.allegro.referential.AnalysisInstrument
instance from only required properties (attributes
and association ends) and adds it to the persistent store. |
AnalysisInstrument |
create(java.lang.String name,
java.lang.String description,
java.sql.Timestamp updateDate,
Status status)
Creates a new fr.ifremer.allegro.referential.AnalysisInstrument
instance from all attributes and
properties and adds it to the persistent store. |
AnalysisInstrument |
createFromClusterAnalysisInstrument(ClusterAnalysisInstrument clusterAnalysisInstrument)
|
AnalysisInstrument |
findAnalysisInstrumentById(java.lang.Integer id)
|
java.lang.Object |
findAnalysisInstrumentById(int transform,
java.lang.Integer id)
Does the same thing as AnalysisInstrumentDao.findAnalysisInstrumentById(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findAnalysisInstrumentById(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as AnalysisInstrumentDao.findAnalysisInstrumentById(int, java.lang.Integer) with an
additional argument called queryString . |
AnalysisInstrument |
findAnalysisInstrumentById(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as AnalysisInstrumentDao.findAnalysisInstrumentById(java.lang.Integer) with an
additional argument called queryString . |
AnalysisInstrument |
findAnalysisInstrumentByNaturalId(java.lang.Integer id)
|
java.lang.Object |
findAnalysisInstrumentByNaturalId(int transform,
java.lang.Integer id)
Does the same thing as AnalysisInstrumentDao.findAnalysisInstrumentByNaturalId(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findAnalysisInstrumentByNaturalId(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as AnalysisInstrumentDao.findAnalysisInstrumentByNaturalId(int, java.lang.Integer) with an
additional argument called queryString . |
AnalysisInstrument |
findAnalysisInstrumentByNaturalId(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as AnalysisInstrumentDao.findAnalysisInstrumentByNaturalId(java.lang.Integer) with an
additional argument called queryString . |
java.util.Collection |
findAnalysisInstrumentByStatus(int transform,
int pageNumber,
int pageSize,
Status status)
Does the same thing as AnalysisInstrumentDao.findAnalysisInstrumentByStatus(int, fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findAnalysisInstrumentByStatus(int pageNumber,
int pageSize,
Status status)
Does the same thing as AnalysisInstrumentDao.findAnalysisInstrumentByStatus(fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findAnalysisInstrumentByStatus(int transform,
Status status)
Does the same thing as AnalysisInstrumentDao.findAnalysisInstrumentByStatus(fr.ifremer.allegro.referential.Status) with an
additional flag called transform . |
java.util.Collection |
findAnalysisInstrumentByStatus(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
Status status)
Does the same thing as AnalysisInstrumentDao.findAnalysisInstrumentByStatus(int, String, fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findAnalysisInstrumentByStatus(int transform,
java.lang.String queryString,
Status status)
Does the same thing as AnalysisInstrumentDao.findAnalysisInstrumentByStatus(int, fr.ifremer.allegro.referential.Status) with an
additional argument called queryString . |
java.util.Collection |
findAnalysisInstrumentByStatus(Status status)
|
java.util.Collection |
findAnalysisInstrumentByStatus(java.lang.String queryString,
int pageNumber,
int pageSize,
Status status)
Does the same thing as AnalysisInstrumentDao.findAnalysisInstrumentByStatus(String, fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findAnalysisInstrumentByStatus(java.lang.String queryString,
Status status)
Does the same thing as AnalysisInstrumentDao.findAnalysisInstrumentByStatus(fr.ifremer.allegro.referential.Status) with an
additional argument called queryString . |
java.util.Collection |
getAllAnalysisInstrument()
|
java.util.Collection |
getAllAnalysisInstrument(int transform)
Does the same thing as AnalysisInstrumentDao.getAllAnalysisInstrument() with an
additional flag called transform . |
java.util.Collection |
getAllAnalysisInstrument(int pageNumber,
int pageSize)
Does the same thing as AnalysisInstrumentDao.getAllAnalysisInstrument() with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllAnalysisInstrument(int transform,
int pageNumber,
int pageSize)
Does the same thing as AnalysisInstrumentDao.getAllAnalysisInstrument(int) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllAnalysisInstrument(int transform,
java.lang.String queryString)
Does the same thing as AnalysisInstrumentDao.getAllAnalysisInstrument(int) with an
additional argument called queryString . |
java.util.Collection |
getAllAnalysisInstrument(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as AnalysisInstrumentDao.getAllAnalysisInstrument(int, String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllAnalysisInstrument(java.lang.String queryString)
Does the same thing as AnalysisInstrumentDao.getAllAnalysisInstrument() with an
additional argument called queryString . |
java.util.Collection |
getAllAnalysisInstrument(java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as AnalysisInstrumentDao.getAllAnalysisInstrument(String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllAnalysisInstrumentSinceDateSynchro(int transform,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as AnalysisInstrumentDao.getAllAnalysisInstrumentSinceDateSynchro(int, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllAnalysisInstrumentSinceDateSynchro(int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as AnalysisInstrumentDao.getAllAnalysisInstrumentSinceDateSynchro(java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllAnalysisInstrumentSinceDateSynchro(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as AnalysisInstrumentDao.getAllAnalysisInstrumentSinceDateSynchro(int, String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllAnalysisInstrumentSinceDateSynchro(int transform,
java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as AnalysisInstrumentDao.getAllAnalysisInstrumentSinceDateSynchro(int, java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllAnalysisInstrumentSinceDateSynchro(int transform,
java.sql.Timestamp updateDate)
Does the same thing as AnalysisInstrumentDao.getAllAnalysisInstrumentSinceDateSynchro(java.sql.Timestamp) with an
additional flag called transform . |
java.util.Collection |
getAllAnalysisInstrumentSinceDateSynchro(java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as AnalysisInstrumentDao.getAllAnalysisInstrumentSinceDateSynchro(String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllAnalysisInstrumentSinceDateSynchro(java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as AnalysisInstrumentDao.getAllAnalysisInstrumentSinceDateSynchro(java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllAnalysisInstrumentSinceDateSynchro(java.sql.Timestamp updateDate)
|
ClusterAnalysisInstrument[] |
getAllClusterAnalysisInstrumentSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize)
|
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 AnalysisInstrument |
handleCreateFromClusterAnalysisInstrument(ClusterAnalysisInstrument clusterAnalysisInstrument)
Performs the core logic for createFromClusterAnalysisInstrument(fr.ifremer.allegro.referential.generic.cluster.ClusterAnalysisInstrument) |
protected abstract ClusterAnalysisInstrument[] |
handleGetAllClusterAnalysisInstrumentSinceDateSynchro(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 getAllClusterAnalysisInstrumentSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer) |
AnalysisInstrument |
load(java.lang.Integer id)
Loads an instance of fr.ifremer.allegro.referential.AnalysisInstrument from the persistent store. |
java.lang.Object |
load(int transform,
java.lang.Integer id)
Does the same thing as AnalysisInstrumentDao.load(java.lang.Integer) with an
additional flag called transform . |
java.util.Collection |
loadAll()
Loads all entities of type AnalysisInstrument . |
java.util.Collection |
loadAll(int transform)
Does the same thing as AnalysisInstrumentDao.loadAll() with an
additional flag called transform . |
java.util.Collection |
loadAll(int pageNumber,
int pageSize)
Does the same thing as AnalysisInstrumentDao.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 AnalysisInstrumentDao.loadAll(int) with an
additional two arguments called pageNumber and pageSize . |
void |
remoteAnalysisInstrumentFullVOToEntity(RemoteAnalysisInstrumentFullVO source,
AnalysisInstrument target,
boolean copyIfNull)
Copies the fields of RemoteAnalysisInstrumentFullVO to the specified entity. |
void |
remoteAnalysisInstrumentFullVOToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteAnalysisInstrumentFullVO to this
DAO's entity. |
void |
remoteAnalysisInstrumentNaturalIdToEntity(RemoteAnalysisInstrumentNaturalId source,
AnalysisInstrument target,
boolean copyIfNull)
Copies the fields of RemoteAnalysisInstrumentNaturalId to the specified entity. |
void |
remoteAnalysisInstrumentNaturalIdToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteAnalysisInstrumentNaturalId to this
DAO's entity. |
void |
remove(AnalysisInstrument analysisInstrument)
Removes the instance of fr.ifremer.allegro.referential.AnalysisInstrument from the persistent store. |
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.AnalysisInstrument 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 AnalysisInstrumentDao.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 |
setStatusDao(StatusDao statusDao)
Sets the reference to statusDao . |
ClusterAnalysisInstrument |
toClusterAnalysisInstrument(AnalysisInstrument entity)
Converts this DAO's entity to an object of type ClusterAnalysisInstrument . |
void |
toClusterAnalysisInstrument(AnalysisInstrument source,
ClusterAnalysisInstrument target)
Copies the fields of the specified entity to the target value object. |
protected ClusterAnalysisInstrument |
toClusterAnalysisInstrument(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
ClusterAnalysisInstrument[] |
toClusterAnalysisInstrumentArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type ClusterAnalysisInstrument . |
void |
toClusterAnalysisInstrumentCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type ClusterAnalysisInstrument . |
protected AnalysisInstrument |
toEntity(java.lang.Object[] row)
|
RemoteAnalysisInstrumentFullVO |
toRemoteAnalysisInstrumentFullVO(AnalysisInstrument entity)
Converts this DAO's entity to an object of type RemoteAnalysisInstrumentFullVO . |
void |
toRemoteAnalysisInstrumentFullVO(AnalysisInstrument source,
RemoteAnalysisInstrumentFullVO target)
Copies the fields of the specified entity to the target value object. |
protected RemoteAnalysisInstrumentFullVO |
toRemoteAnalysisInstrumentFullVO(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteAnalysisInstrumentFullVO[] |
toRemoteAnalysisInstrumentFullVOArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteAnalysisInstrumentFullVO . |
void |
toRemoteAnalysisInstrumentFullVOCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteAnalysisInstrumentFullVO . |
RemoteAnalysisInstrumentNaturalId |
toRemoteAnalysisInstrumentNaturalId(AnalysisInstrument entity)
Converts this DAO's entity to an object of type RemoteAnalysisInstrumentNaturalId . |
void |
toRemoteAnalysisInstrumentNaturalId(AnalysisInstrument source,
RemoteAnalysisInstrumentNaturalId target)
Copies the fields of the specified entity to the target value object. |
protected RemoteAnalysisInstrumentNaturalId |
toRemoteAnalysisInstrumentNaturalId(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteAnalysisInstrumentNaturalId[] |
toRemoteAnalysisInstrumentNaturalIdArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteAnalysisInstrumentNaturalId . |
void |
toRemoteAnalysisInstrumentNaturalIdCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteAnalysisInstrumentNaturalId . |
protected void |
transformEntities(int transform,
java.util.Collection entities)
Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.AnalysisInstrument)
method. |
protected java.lang.Object |
transformEntity(int transform,
AnalysisInstrument 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.AnalysisInstrumentDao , please note
that the AnalysisInstrumentDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself
will be returned. |
void |
update(AnalysisInstrument analysisInstrument)
Updates the analysisInstrument instance in the persistent store. |
void |
update(java.util.Collection entities)
Updates all instances in the entities collection 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.AnalysisInstrumentDao |
---|
clusterAnalysisInstrumentToEntity, remoteAnalysisInstrumentFullVOToEntity, remoteAnalysisInstrumentNaturalIdToEntity |
Constructor Detail |
---|
public AnalysisInstrumentDaoBase()
Method Detail |
---|
public void setStatusDao(StatusDao statusDao)
statusDao
.
protected StatusDao getStatusDao()
statusDao
.
public java.lang.Object load(int transform, java.lang.Integer id)
AnalysisInstrumentDao
Does the same thing as AnalysisInstrumentDao.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 AnalysisInstrumentDao
id
- identifier of the entity to load
AnalysisInstrumentDao.load(int, java.lang.Integer)
public AnalysisInstrument load(java.lang.Integer id)
AnalysisInstrumentDao
load
in interface AnalysisInstrumentDao
AnalysisInstrumentDao.load(java.lang.Integer)
public java.util.Collection loadAll()
AnalysisInstrumentDao
AnalysisInstrument
.
loadAll
in interface AnalysisInstrumentDao
AnalysisInstrumentDao.loadAll()
public java.util.Collection loadAll(int transform)
AnalysisInstrumentDao
Does the same thing as AnalysisInstrumentDao.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 AnalysisInstrumentDao
transform
- the flag indicating what transformation to use.
AnalysisInstrumentDao.loadAll(int)
public java.util.Collection loadAll(int pageNumber, int pageSize)
AnalysisInstrumentDao
Does the same thing as AnalysisInstrumentDao.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 AnalysisInstrumentDao
pageNumber
- the page number to retrieve when paging results.pageSize
- the size of the page to retrieve when paging results.
AnalysisInstrumentDao.loadAll(int, int)
public java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
AnalysisInstrumentDao
Does the same thing as AnalysisInstrumentDao.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 AnalysisInstrumentDao
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.
AnalysisInstrumentDao.loadAll(int, int, int)
public AnalysisInstrument create(AnalysisInstrument analysisInstrument)
AnalysisInstrumentDao
create
in interface AnalysisInstrumentDao
AnalysisInstrumentDao.create(fr.ifremer.allegro.referential.AnalysisInstrument)
public java.lang.Object create(int transform, AnalysisInstrument analysisInstrument)
AnalysisInstrumentDao
Does the same thing as AnalysisInstrumentDao.create(fr.ifremer.allegro.referential.AnalysisInstrument)
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 AnalysisInstrumentDao
AnalysisInstrumentDao.create(int transform, fr.ifremer.allegro.referential.AnalysisInstrument)
public java.util.Collection create(java.util.Collection entities)
AnalysisInstrumentDao
entities
collection
create
in interface AnalysisInstrumentDao
entities
- the collection of fr.ifremer.allegro.referential.AnalysisInstrument
instances to create.
AnalysisInstrumentDao.create(java.util.Collection)
public java.util.Collection create(int transform, java.util.Collection entities)
AnalysisInstrumentDao
Does the same thing as AnalysisInstrumentDao.create(fr.ifremer.allegro.referential.AnalysisInstrument)
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 AnalysisInstrumentDao
AnalysisInstrumentDao.create(int, java.util.Collection)
public AnalysisInstrument create(java.lang.String name, java.lang.String description, java.sql.Timestamp updateDate, Status status)
AnalysisInstrumentDao
Creates a new fr.ifremer.allegro.referential.AnalysisInstrument
instance from all attributes and
properties and adds it to the persistent store.
create
in interface AnalysisInstrumentDao
AnalysisInstrumentDao.create(java.lang.String,java.lang.String,java.sql.Timestamp,fr.ifremer.allegro.referential.Status)
public java.lang.Object create(int transform, java.lang.String name, java.lang.String description, java.sql.Timestamp updateDate, Status status)
AnalysisInstrumentDao
Does the same thing as AnalysisInstrumentDao.create(java.lang.String,java.lang.String,java.sql.Timestamp,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 AnalysisInstrumentDao
AnalysisInstrumentDao.create(int, java.lang.String,java.lang.String,java.sql.Timestamp,fr.ifremer.allegro.referential.Status)
public AnalysisInstrument create(java.lang.String name, Status status)
AnalysisInstrumentDao
Creates a new fr.ifremer.allegro.referential.AnalysisInstrument
instance from only required properties (attributes
and association ends) and adds it to the persistent store.
create
in interface AnalysisInstrumentDao
AnalysisInstrumentDao.create(java.lang.String,fr.ifremer.allegro.referential.Status)
public java.lang.Object create(int transform, java.lang.String name, Status status)
AnalysisInstrumentDao
Does the same thing as AnalysisInstrumentDao.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 AnalysisInstrumentDao
AnalysisInstrumentDao.create(int, java.lang.String,fr.ifremer.allegro.referential.Status)
public void update(AnalysisInstrument analysisInstrument)
AnalysisInstrumentDao
analysisInstrument
instance in the persistent store.
update
in interface AnalysisInstrumentDao
AnalysisInstrumentDao.update(fr.ifremer.allegro.referential.AnalysisInstrument)
public void update(java.util.Collection entities)
AnalysisInstrumentDao
entities
collection in the persistent store.
update
in interface AnalysisInstrumentDao
AnalysisInstrumentDao.update(java.util.Collection)
public void remove(AnalysisInstrument analysisInstrument)
AnalysisInstrumentDao
remove
in interface AnalysisInstrumentDao
AnalysisInstrumentDao.remove(fr.ifremer.allegro.referential.AnalysisInstrument)
public void remove(java.lang.Integer id)
AnalysisInstrumentDao
identifier
from the persistent store.
remove
in interface AnalysisInstrumentDao
AnalysisInstrumentDao.remove(java.lang.Integer)
public void remove(java.util.Collection entities)
AnalysisInstrumentDao
entities collection.
- Specified by:
remove
in interface AnalysisInstrumentDao
- See Also:
AnalysisInstrumentDao.remove(java.util.Collection)
public java.util.Collection getAllAnalysisInstrument()
getAllAnalysisInstrument
in interface AnalysisInstrumentDao
AnalysisInstrumentDao.getAllAnalysisInstrument()
public java.util.Collection getAllAnalysisInstrument(int transform)
AnalysisInstrumentDao
Does the same thing as AnalysisInstrumentDao.getAllAnalysisInstrument()
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.
getAllAnalysisInstrument
in interface AnalysisInstrumentDao
AnalysisInstrumentDao.getAllAnalysisInstrument(int)
public java.util.Collection getAllAnalysisInstrument(java.lang.String queryString)
AnalysisInstrumentDao
Does the same thing as AnalysisInstrumentDao.getAllAnalysisInstrument()
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in AnalysisInstrumentDao.getAllAnalysisInstrument()
.
getAllAnalysisInstrument
in interface AnalysisInstrumentDao
AnalysisInstrumentDao.getAllAnalysisInstrument(java.lang.String)
public java.util.Collection getAllAnalysisInstrument(int pageNumber, int pageSize)
AnalysisInstrumentDao
Does the same thing as AnalysisInstrumentDao.getAllAnalysisInstrument()
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.
getAllAnalysisInstrument
in interface AnalysisInstrumentDao
AnalysisInstrumentDao.getAllAnalysisInstrument(int, int)
public java.util.Collection getAllAnalysisInstrument(java.lang.String queryString, int pageNumber, int pageSize)
AnalysisInstrumentDao
Does the same thing as AnalysisInstrumentDao.getAllAnalysisInstrument(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.
getAllAnalysisInstrument
in interface AnalysisInstrumentDao
AnalysisInstrumentDao.getAllAnalysisInstrument(String, int, int)
public java.util.Collection getAllAnalysisInstrument(int transform, java.lang.String queryString)
AnalysisInstrumentDao
Does the same thing as AnalysisInstrumentDao.getAllAnalysisInstrument(int)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in AnalysisInstrumentDao.getAllAnalysisInstrument(int)
.
getAllAnalysisInstrument
in interface AnalysisInstrumentDao
AnalysisInstrumentDao.getAllAnalysisInstrument(int, String)
public java.util.Collection getAllAnalysisInstrument(int transform, int pageNumber, int pageSize)
AnalysisInstrumentDao
Does the same thing as AnalysisInstrumentDao.getAllAnalysisInstrument(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.
getAllAnalysisInstrument
in interface AnalysisInstrumentDao
AnalysisInstrumentDao.getAllAnalysisInstrument(int, int, int)
public java.util.Collection getAllAnalysisInstrument(int transform, java.lang.String queryString, int pageNumber, int pageSize)
AnalysisInstrumentDao
Does the same thing as AnalysisInstrumentDao.getAllAnalysisInstrument(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.
getAllAnalysisInstrument
in interface AnalysisInstrumentDao
AnalysisInstrumentDao.getAllAnalysisInstrument(int, java.lang.String, int, int)
public AnalysisInstrument findAnalysisInstrumentById(java.lang.Integer id)
findAnalysisInstrumentById
in interface AnalysisInstrumentDao
AnalysisInstrumentDao.findAnalysisInstrumentById(java.lang.Integer)
public java.lang.Object findAnalysisInstrumentById(int transform, java.lang.Integer id)
AnalysisInstrumentDao
Does the same thing as AnalysisInstrumentDao.findAnalysisInstrumentById(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.
findAnalysisInstrumentById
in interface AnalysisInstrumentDao
AnalysisInstrumentDao.findAnalysisInstrumentById(int, java.lang.Integer)
public AnalysisInstrument findAnalysisInstrumentById(java.lang.String queryString, java.lang.Integer id)
AnalysisInstrumentDao
Does the same thing as AnalysisInstrumentDao.findAnalysisInstrumentById(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in AnalysisInstrumentDao.findAnalysisInstrumentById(java.lang.Integer)
.
findAnalysisInstrumentById
in interface AnalysisInstrumentDao
AnalysisInstrumentDao.findAnalysisInstrumentById(java.lang.String, java.lang.Integer)
public java.lang.Object findAnalysisInstrumentById(int transform, java.lang.String queryString, java.lang.Integer id)
AnalysisInstrumentDao
Does the same thing as AnalysisInstrumentDao.findAnalysisInstrumentById(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in AnalysisInstrumentDao.findAnalysisInstrumentById(int, java.lang.Integer id)
.
findAnalysisInstrumentById
in interface AnalysisInstrumentDao
AnalysisInstrumentDao.findAnalysisInstrumentById(int, java.lang.String, java.lang.Integer)
public java.util.Collection findAnalysisInstrumentByStatus(Status status)
findAnalysisInstrumentByStatus
in interface AnalysisInstrumentDao
AnalysisInstrumentDao.findAnalysisInstrumentByStatus(fr.ifremer.allegro.referential.Status)
public java.util.Collection findAnalysisInstrumentByStatus(int transform, Status status)
AnalysisInstrumentDao
Does the same thing as AnalysisInstrumentDao.findAnalysisInstrumentByStatus(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.
findAnalysisInstrumentByStatus
in interface AnalysisInstrumentDao
AnalysisInstrumentDao.findAnalysisInstrumentByStatus(int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findAnalysisInstrumentByStatus(java.lang.String queryString, Status status)
AnalysisInstrumentDao
Does the same thing as AnalysisInstrumentDao.findAnalysisInstrumentByStatus(fr.ifremer.allegro.referential.Status)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in AnalysisInstrumentDao.findAnalysisInstrumentByStatus(fr.ifremer.allegro.referential.Status)
.
findAnalysisInstrumentByStatus
in interface AnalysisInstrumentDao
AnalysisInstrumentDao.findAnalysisInstrumentByStatus(java.lang.String, fr.ifremer.allegro.referential.Status)
public java.util.Collection findAnalysisInstrumentByStatus(int pageNumber, int pageSize, Status status)
AnalysisInstrumentDao
Does the same thing as AnalysisInstrumentDao.findAnalysisInstrumentByStatus(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.
findAnalysisInstrumentByStatus
in interface AnalysisInstrumentDao
AnalysisInstrumentDao.findAnalysisInstrumentByStatus(int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findAnalysisInstrumentByStatus(java.lang.String queryString, int pageNumber, int pageSize, Status status)
AnalysisInstrumentDao
Does the same thing as AnalysisInstrumentDao.findAnalysisInstrumentByStatus(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.
findAnalysisInstrumentByStatus
in interface AnalysisInstrumentDao
AnalysisInstrumentDao.findAnalysisInstrumentByStatus(String, int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findAnalysisInstrumentByStatus(int transform, java.lang.String queryString, Status status)
AnalysisInstrumentDao
Does the same thing as AnalysisInstrumentDao.findAnalysisInstrumentByStatus(int, fr.ifremer.allegro.referential.Status)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in AnalysisInstrumentDao.findAnalysisInstrumentByStatus(int, fr.ifremer.allegro.referential.Status status)
.
findAnalysisInstrumentByStatus
in interface AnalysisInstrumentDao
AnalysisInstrumentDao.findAnalysisInstrumentByStatus(int, String, fr.ifremer.allegro.referential.Status)
public java.util.Collection findAnalysisInstrumentByStatus(int transform, int pageNumber, int pageSize, Status status)
AnalysisInstrumentDao
Does the same thing as AnalysisInstrumentDao.findAnalysisInstrumentByStatus(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.
findAnalysisInstrumentByStatus
in interface AnalysisInstrumentDao
AnalysisInstrumentDao.findAnalysisInstrumentByStatus(int, int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findAnalysisInstrumentByStatus(int transform, java.lang.String queryString, int pageNumber, int pageSize, Status status)
AnalysisInstrumentDao
Does the same thing as AnalysisInstrumentDao.findAnalysisInstrumentByStatus(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.
findAnalysisInstrumentByStatus
in interface AnalysisInstrumentDao
AnalysisInstrumentDao.findAnalysisInstrumentByStatus(int, java.lang.String, int, int, fr.ifremer.allegro.referential.Status)
public AnalysisInstrument findAnalysisInstrumentByNaturalId(java.lang.Integer id)
findAnalysisInstrumentByNaturalId
in interface AnalysisInstrumentDao
AnalysisInstrumentDao.findAnalysisInstrumentByNaturalId(java.lang.Integer)
public java.lang.Object findAnalysisInstrumentByNaturalId(int transform, java.lang.Integer id)
AnalysisInstrumentDao
Does the same thing as AnalysisInstrumentDao.findAnalysisInstrumentByNaturalId(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.
findAnalysisInstrumentByNaturalId
in interface AnalysisInstrumentDao
AnalysisInstrumentDao.findAnalysisInstrumentByNaturalId(int, java.lang.Integer)
public AnalysisInstrument findAnalysisInstrumentByNaturalId(java.lang.String queryString, java.lang.Integer id)
AnalysisInstrumentDao
Does the same thing as AnalysisInstrumentDao.findAnalysisInstrumentByNaturalId(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in AnalysisInstrumentDao.findAnalysisInstrumentByNaturalId(java.lang.Integer)
.
findAnalysisInstrumentByNaturalId
in interface AnalysisInstrumentDao
AnalysisInstrumentDao.findAnalysisInstrumentByNaturalId(java.lang.String, java.lang.Integer)
public java.lang.Object findAnalysisInstrumentByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
AnalysisInstrumentDao
Does the same thing as AnalysisInstrumentDao.findAnalysisInstrumentByNaturalId(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in AnalysisInstrumentDao.findAnalysisInstrumentByNaturalId(int, java.lang.Integer id)
.
findAnalysisInstrumentByNaturalId
in interface AnalysisInstrumentDao
AnalysisInstrumentDao.findAnalysisInstrumentByNaturalId(int, java.lang.String, java.lang.Integer)
public java.util.Collection getAllAnalysisInstrumentSinceDateSynchro(java.sql.Timestamp updateDate)
getAllAnalysisInstrumentSinceDateSynchro
in interface AnalysisInstrumentDao
AnalysisInstrumentDao.getAllAnalysisInstrumentSinceDateSynchro(java.sql.Timestamp)
public java.util.Collection getAllAnalysisInstrumentSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
AnalysisInstrumentDao
Does the same thing as AnalysisInstrumentDao.getAllAnalysisInstrumentSinceDateSynchro(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.
getAllAnalysisInstrumentSinceDateSynchro
in interface AnalysisInstrumentDao
AnalysisInstrumentDao.getAllAnalysisInstrumentSinceDateSynchro(int, java.sql.Timestamp)
public java.util.Collection getAllAnalysisInstrumentSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
AnalysisInstrumentDao
Does the same thing as AnalysisInstrumentDao.getAllAnalysisInstrumentSinceDateSynchro(java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in AnalysisInstrumentDao.getAllAnalysisInstrumentSinceDateSynchro(java.sql.Timestamp)
.
getAllAnalysisInstrumentSinceDateSynchro
in interface AnalysisInstrumentDao
AnalysisInstrumentDao.getAllAnalysisInstrumentSinceDateSynchro(java.lang.String, java.sql.Timestamp)
public java.util.Collection getAllAnalysisInstrumentSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
AnalysisInstrumentDao
Does the same thing as AnalysisInstrumentDao.getAllAnalysisInstrumentSinceDateSynchro(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.
getAllAnalysisInstrumentSinceDateSynchro
in interface AnalysisInstrumentDao
AnalysisInstrumentDao.getAllAnalysisInstrumentSinceDateSynchro(int, int, java.sql.Timestamp)
public java.util.Collection getAllAnalysisInstrumentSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
AnalysisInstrumentDao
Does the same thing as AnalysisInstrumentDao.getAllAnalysisInstrumentSinceDateSynchro(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.
getAllAnalysisInstrumentSinceDateSynchro
in interface AnalysisInstrumentDao
AnalysisInstrumentDao.getAllAnalysisInstrumentSinceDateSynchro(String, int, int, java.sql.Timestamp)
public java.util.Collection getAllAnalysisInstrumentSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
AnalysisInstrumentDao
Does the same thing as AnalysisInstrumentDao.getAllAnalysisInstrumentSinceDateSynchro(int, java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in AnalysisInstrumentDao.getAllAnalysisInstrumentSinceDateSynchro(int, java.sql.Timestamp updateDate)
.
getAllAnalysisInstrumentSinceDateSynchro
in interface AnalysisInstrumentDao
AnalysisInstrumentDao.getAllAnalysisInstrumentSinceDateSynchro(int, String, java.sql.Timestamp)
public java.util.Collection getAllAnalysisInstrumentSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
AnalysisInstrumentDao
Does the same thing as AnalysisInstrumentDao.getAllAnalysisInstrumentSinceDateSynchro(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.
getAllAnalysisInstrumentSinceDateSynchro
in interface AnalysisInstrumentDao
AnalysisInstrumentDao.getAllAnalysisInstrumentSinceDateSynchro(int, int, int, java.sql.Timestamp)
public java.util.Collection getAllAnalysisInstrumentSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
AnalysisInstrumentDao
Does the same thing as AnalysisInstrumentDao.getAllAnalysisInstrumentSinceDateSynchro(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.
getAllAnalysisInstrumentSinceDateSynchro
in interface AnalysisInstrumentDao
AnalysisInstrumentDao.getAllAnalysisInstrumentSinceDateSynchro(int, java.lang.String, int, int, java.sql.Timestamp)
public AnalysisInstrument createFromClusterAnalysisInstrument(ClusterAnalysisInstrument clusterAnalysisInstrument)
createFromClusterAnalysisInstrument
in interface AnalysisInstrumentDao
AnalysisInstrumentDao.createFromClusterAnalysisInstrument(fr.ifremer.allegro.referential.generic.cluster.ClusterAnalysisInstrument)
protected abstract AnalysisInstrument handleCreateFromClusterAnalysisInstrument(ClusterAnalysisInstrument clusterAnalysisInstrument) throws java.lang.Exception
createFromClusterAnalysisInstrument(fr.ifremer.allegro.referential.generic.cluster.ClusterAnalysisInstrument)
java.lang.Exception
public ClusterAnalysisInstrument[] getAllClusterAnalysisInstrumentSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
getAllClusterAnalysisInstrumentSinceDateSynchro
in interface AnalysisInstrumentDao
AnalysisInstrumentDao.getAllClusterAnalysisInstrumentSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract ClusterAnalysisInstrument[] handleGetAllClusterAnalysisInstrumentSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize) throws java.lang.Exception
getAllClusterAnalysisInstrumentSinceDateSynchro(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, AnalysisInstrument entity)
transform
flag is set to one of the constants defined in fr.ifremer.allegro.referential.AnalysisInstrumentDao
, please note
that the AnalysisInstrumentDao.TRANSFORM_NONE
constant denotes no transformation, so the entity itself
will be returned.
This method will return instances of these types:
AnalysisInstrument
- AnalysisInstrumentDao.TRANSFORM_NONE
RemoteAnalysisInstrumentFullVO
- TRANSFORM_REMOTEANALYSISINSTRUMENTFULLVO
RemoteAnalysisInstrumentNaturalId
- TRANSFORM_REMOTEANALYSISINSTRUMENTNATURALID
ClusterAnalysisInstrument
- TRANSFORM_CLUSTERANALYSISINSTRUMENT
AnalysisInstrumentDao.TRANSFORM_NONE
is assumed.
transform
- one of the constants declared in AnalysisInstrumentDao
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.AnalysisInstrument)
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.AnalysisInstrumentDao
entities
- the collection of entities to transformtransformEntity(int,fr.ifremer.allegro.referential.AnalysisInstrument)
protected AnalysisInstrument toEntity(java.lang.Object[] row)
public final void toRemoteAnalysisInstrumentFullVOCollection(java.util.Collection entities)
AnalysisInstrumentDao
RemoteAnalysisInstrumentFullVO
.
toRemoteAnalysisInstrumentFullVOCollection
in interface AnalysisInstrumentDao
AnalysisInstrumentDao.toRemoteAnalysisInstrumentFullVOCollection(java.util.Collection)
public final RemoteAnalysisInstrumentFullVO[] toRemoteAnalysisInstrumentFullVOArray(java.util.Collection entities)
AnalysisInstrumentDao
RemoteAnalysisInstrumentFullVO
.
toRemoteAnalysisInstrumentFullVOArray
in interface AnalysisInstrumentDao
AnalysisInstrumentDao.toRemoteAnalysisInstrumentFullVOArray(java.util.Collection)
protected RemoteAnalysisInstrumentFullVO toRemoteAnalysisInstrumentFullVO(java.lang.Object[] row)
AnalysisInstrumentDaoImpl
class if you intend to use reporting queries.
AnalysisInstrumentDao.toRemoteAnalysisInstrumentFullVO(fr.ifremer.allegro.referential.AnalysisInstrument)
public final void remoteAnalysisInstrumentFullVOToEntityCollection(java.util.Collection instances)
AnalysisInstrumentDao
RemoteAnalysisInstrumentFullVO
to this
DAO's entity.
remoteAnalysisInstrumentFullVOToEntityCollection
in interface AnalysisInstrumentDao
AnalysisInstrumentDao.remoteAnalysisInstrumentFullVOToEntityCollection(java.util.Collection)
public void toRemoteAnalysisInstrumentFullVO(AnalysisInstrument source, RemoteAnalysisInstrumentFullVO target)
AnalysisInstrumentDao
toRemoteAnalysisInstrumentFullVO
in interface AnalysisInstrumentDao
AnalysisInstrumentDao.toRemoteAnalysisInstrumentFullVO(fr.ifremer.allegro.referential.AnalysisInstrument, fr.ifremer.allegro.referential.generic.vo.RemoteAnalysisInstrumentFullVO)
public RemoteAnalysisInstrumentFullVO toRemoteAnalysisInstrumentFullVO(AnalysisInstrument entity)
AnalysisInstrumentDao
RemoteAnalysisInstrumentFullVO
.
toRemoteAnalysisInstrumentFullVO
in interface AnalysisInstrumentDao
AnalysisInstrumentDao.toRemoteAnalysisInstrumentFullVO(fr.ifremer.allegro.referential.AnalysisInstrument)
public void remoteAnalysisInstrumentFullVOToEntity(RemoteAnalysisInstrumentFullVO source, AnalysisInstrument target, boolean copyIfNull)
AnalysisInstrumentDao
RemoteAnalysisInstrumentFullVO
to the specified entity.
remoteAnalysisInstrumentFullVOToEntity
in interface AnalysisInstrumentDao
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.AnalysisInstrumentDao#remoteAnalysisInstrumentFullVOToEntity(fr.ifremer.allegro.referential.generic.vo.RemoteAnalysisInstrumentFullVO, fr.ifremer.allegro.referential.AnalysisInstrument)
public final void toRemoteAnalysisInstrumentNaturalIdCollection(java.util.Collection entities)
AnalysisInstrumentDao
RemoteAnalysisInstrumentNaturalId
.
toRemoteAnalysisInstrumentNaturalIdCollection
in interface AnalysisInstrumentDao
AnalysisInstrumentDao.toRemoteAnalysisInstrumentNaturalIdCollection(java.util.Collection)
public final RemoteAnalysisInstrumentNaturalId[] toRemoteAnalysisInstrumentNaturalIdArray(java.util.Collection entities)
AnalysisInstrumentDao
RemoteAnalysisInstrumentNaturalId
.
toRemoteAnalysisInstrumentNaturalIdArray
in interface AnalysisInstrumentDao
AnalysisInstrumentDao.toRemoteAnalysisInstrumentNaturalIdArray(java.util.Collection)
protected RemoteAnalysisInstrumentNaturalId toRemoteAnalysisInstrumentNaturalId(java.lang.Object[] row)
AnalysisInstrumentDaoImpl
class if you intend to use reporting queries.
AnalysisInstrumentDao.toRemoteAnalysisInstrumentNaturalId(fr.ifremer.allegro.referential.AnalysisInstrument)
public final void remoteAnalysisInstrumentNaturalIdToEntityCollection(java.util.Collection instances)
AnalysisInstrumentDao
RemoteAnalysisInstrumentNaturalId
to this
DAO's entity.
remoteAnalysisInstrumentNaturalIdToEntityCollection
in interface AnalysisInstrumentDao
AnalysisInstrumentDao.remoteAnalysisInstrumentNaturalIdToEntityCollection(java.util.Collection)
public void toRemoteAnalysisInstrumentNaturalId(AnalysisInstrument source, RemoteAnalysisInstrumentNaturalId target)
AnalysisInstrumentDao
toRemoteAnalysisInstrumentNaturalId
in interface AnalysisInstrumentDao
AnalysisInstrumentDao.toRemoteAnalysisInstrumentNaturalId(fr.ifremer.allegro.referential.AnalysisInstrument, fr.ifremer.allegro.referential.generic.vo.RemoteAnalysisInstrumentNaturalId)
public RemoteAnalysisInstrumentNaturalId toRemoteAnalysisInstrumentNaturalId(AnalysisInstrument entity)
AnalysisInstrumentDao
RemoteAnalysisInstrumentNaturalId
.
toRemoteAnalysisInstrumentNaturalId
in interface AnalysisInstrumentDao
AnalysisInstrumentDao.toRemoteAnalysisInstrumentNaturalId(fr.ifremer.allegro.referential.AnalysisInstrument)
public void remoteAnalysisInstrumentNaturalIdToEntity(RemoteAnalysisInstrumentNaturalId source, AnalysisInstrument target, boolean copyIfNull)
AnalysisInstrumentDao
RemoteAnalysisInstrumentNaturalId
to the specified entity.
remoteAnalysisInstrumentNaturalIdToEntity
in interface AnalysisInstrumentDao
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.AnalysisInstrumentDao#remoteAnalysisInstrumentNaturalIdToEntity(fr.ifremer.allegro.referential.generic.vo.RemoteAnalysisInstrumentNaturalId, fr.ifremer.allegro.referential.AnalysisInstrument)
public final void toClusterAnalysisInstrumentCollection(java.util.Collection entities)
AnalysisInstrumentDao
ClusterAnalysisInstrument
.
toClusterAnalysisInstrumentCollection
in interface AnalysisInstrumentDao
AnalysisInstrumentDao.toClusterAnalysisInstrumentCollection(java.util.Collection)
public final ClusterAnalysisInstrument[] toClusterAnalysisInstrumentArray(java.util.Collection entities)
AnalysisInstrumentDao
ClusterAnalysisInstrument
.
toClusterAnalysisInstrumentArray
in interface AnalysisInstrumentDao
AnalysisInstrumentDao.toClusterAnalysisInstrumentArray(java.util.Collection)
protected ClusterAnalysisInstrument toClusterAnalysisInstrument(java.lang.Object[] row)
AnalysisInstrumentDaoImpl
class if you intend to use reporting queries.
AnalysisInstrumentDao.toClusterAnalysisInstrument(fr.ifremer.allegro.referential.AnalysisInstrument)
public final void clusterAnalysisInstrumentToEntityCollection(java.util.Collection instances)
AnalysisInstrumentDao
ClusterAnalysisInstrument
to this
DAO's entity.
clusterAnalysisInstrumentToEntityCollection
in interface AnalysisInstrumentDao
AnalysisInstrumentDao.clusterAnalysisInstrumentToEntityCollection(java.util.Collection)
public void toClusterAnalysisInstrument(AnalysisInstrument source, ClusterAnalysisInstrument target)
AnalysisInstrumentDao
toClusterAnalysisInstrument
in interface AnalysisInstrumentDao
AnalysisInstrumentDao.toClusterAnalysisInstrument(fr.ifremer.allegro.referential.AnalysisInstrument, fr.ifremer.allegro.referential.generic.cluster.ClusterAnalysisInstrument)
public ClusterAnalysisInstrument toClusterAnalysisInstrument(AnalysisInstrument entity)
AnalysisInstrumentDao
ClusterAnalysisInstrument
.
toClusterAnalysisInstrument
in interface AnalysisInstrumentDao
AnalysisInstrumentDao.toClusterAnalysisInstrument(fr.ifremer.allegro.referential.AnalysisInstrument)
public void clusterAnalysisInstrumentToEntity(ClusterAnalysisInstrument source, AnalysisInstrument target, boolean copyIfNull)
AnalysisInstrumentDao
ClusterAnalysisInstrument
to the specified entity.
clusterAnalysisInstrumentToEntity
in interface AnalysisInstrumentDao
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.AnalysisInstrumentDao#clusterAnalysisInstrumentToEntity(fr.ifremer.allegro.referential.generic.cluster.ClusterAnalysisInstrument, fr.ifremer.allegro.referential.AnalysisInstrument)
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)
AnalysisInstrumentDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface AnalysisInstrumentDao
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.AnalysisInstrumentDao.search(int, int, int, fr.ifremer.allegro.Search)
public PaginationResult search(int pageNumber, int pageSize, Search search)
AnalysisInstrumentDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface AnalysisInstrumentDao
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.AnalysisInstrumentDao.search(int, int, fr.ifremer.allegro.Search)
public java.util.Set search(int transform, Search search)
AnalysisInstrumentDao
AnalysisInstrumentDao.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 AnalysisInstrumentDao
transform
- the transformation flag.search
- the search object which provides the search parameters and pagination specification.
AnalysisInstrumentDao.search(int, fr.ifremer.allegro.Search)
public java.util.Set search(Search search)
AnalysisInstrumentDao
search
object.
search
in interface AnalysisInstrumentDao
search
- the search object which provides the search parameters and pagination specification.
AnalysisInstrumentDao.search(fr.ifremer.allegro.Search)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |