|
||||||||||
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.technical.synchronization.DataSynchronizationDaoBase
public abstract class DataSynchronizationDaoBase
Base Spring DAO Class: is able to create, update, remove, load, and find
objects of type fr.ifremer.allegro.technical.synchronization.DataSynchronization
.
DataSynchronization
Field Summary |
---|
Fields inherited from interface fr.ifremer.allegro.technical.synchronization.DataSynchronizationDao |
---|
TRANSFORM_CLUSTERDATASYNCHRONIZATION, TRANSFORM_NONE, TRANSFORM_REMOTEDATASYNCHRONIZATIONFULLVO, TRANSFORM_REMOTEDATASYNCHRONIZATIONNATURALID |
Constructor Summary | |
---|---|
DataSynchronizationDaoBase()
|
Method Summary | |
---|---|
void |
clusterDataSynchronizationToEntity(ClusterDataSynchronization source,
DataSynchronization target,
boolean copyIfNull)
Copies the fields of ClusterDataSynchronization to the specified entity. |
void |
clusterDataSynchronizationToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type ClusterDataSynchronization to this
DAO's entity. |
java.util.Collection |
create(java.util.Collection entities)
Creates a new instance of fr.ifremer.allegro.technical.synchronization.DataSynchronization and adds from the passed in entities collection |
DataSynchronization |
create(DataSynchronization dataSynchronization)
Creates an instance of fr.ifremer.allegro.technical.synchronization.DataSynchronization and adds it to the persistent store. |
java.util.Collection |
create(int transform,
java.util.Collection entities)
Does the same thing as DataSynchronizationDao.create(fr.ifremer.allegro.technical.synchronization.DataSynchronization) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
DataSynchronization dataSynchronization)
Does the same thing as DataSynchronizationDao.create(fr.ifremer.allegro.technical.synchronization.DataSynchronization) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
java.lang.String tableName,
java.sql.Timestamp updateDate)
Does the same thing as DataSynchronizationDao.create(java.lang.String,java.sql.Timestamp) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
java.lang.String tableName,
java.sql.Timestamp updateDate,
java.lang.String vesselCode)
Does the same thing as DataSynchronizationDao.create(java.lang.String,java.sql.Timestamp,java.lang.String) with an
additional flag called transform . |
DataSynchronization |
create(java.lang.String tableName,
java.sql.Timestamp updateDate)
Creates a new fr.ifremer.allegro.technical.synchronization.DataSynchronization
instance from only required properties (attributes
and association ends) and adds it to the persistent store. |
DataSynchronization |
create(java.lang.String tableName,
java.sql.Timestamp updateDate,
java.lang.String vesselCode)
Creates a new fr.ifremer.allegro.technical.synchronization.DataSynchronization
instance from all attributes and
properties and adds it to the persistent store. |
DataSynchronization |
createFromClusterDataSynchronization(ClusterDataSynchronization clusterDataSynchronization)
|
DataSynchronization |
findDataSynchronizationById(java.lang.Integer id)
|
java.lang.Object |
findDataSynchronizationById(int transform,
java.lang.Integer id)
Does the same thing as DataSynchronizationDao.findDataSynchronizationById(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findDataSynchronizationById(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as DataSynchronizationDao.findDataSynchronizationById(int, java.lang.Integer) with an
additional argument called queryString . |
DataSynchronization |
findDataSynchronizationById(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as DataSynchronizationDao.findDataSynchronizationById(java.lang.Integer) with an
additional argument called queryString . |
DataSynchronization |
findDataSynchronizationByNaturalId(java.lang.Integer id)
|
java.lang.Object |
findDataSynchronizationByNaturalId(int transform,
java.lang.Integer id)
Does the same thing as DataSynchronizationDao.findDataSynchronizationByNaturalId(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findDataSynchronizationByNaturalId(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as DataSynchronizationDao.findDataSynchronizationByNaturalId(int, java.lang.Integer) with an
additional argument called queryString . |
DataSynchronization |
findDataSynchronizationByNaturalId(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as DataSynchronizationDao.findDataSynchronizationByNaturalId(java.lang.Integer) with an
additional argument called queryString . |
ClusterDataSynchronization[] |
getAllClusterDataSynchronizationSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize)
|
java.util.Collection |
getAllDataSynchronization()
|
java.util.Collection |
getAllDataSynchronization(int transform)
Does the same thing as DataSynchronizationDao.getAllDataSynchronization() with an
additional flag called transform . |
java.util.Collection |
getAllDataSynchronization(int pageNumber,
int pageSize)
Does the same thing as DataSynchronizationDao.getAllDataSynchronization() with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllDataSynchronization(int transform,
int pageNumber,
int pageSize)
Does the same thing as DataSynchronizationDao.getAllDataSynchronization(int) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllDataSynchronization(int transform,
java.lang.String queryString)
Does the same thing as DataSynchronizationDao.getAllDataSynchronization(int) with an
additional argument called queryString . |
java.util.Collection |
getAllDataSynchronization(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as DataSynchronizationDao.getAllDataSynchronization(int, String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllDataSynchronization(java.lang.String queryString)
Does the same thing as DataSynchronizationDao.getAllDataSynchronization() with an
additional argument called queryString . |
java.util.Collection |
getAllDataSynchronization(java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as DataSynchronizationDao.getAllDataSynchronization(String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllDataSynchronizationSinceDateSynchro(int transform,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as DataSynchronizationDao.getAllDataSynchronizationSinceDateSynchro(int, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllDataSynchronizationSinceDateSynchro(int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as DataSynchronizationDao.getAllDataSynchronizationSinceDateSynchro(java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllDataSynchronizationSinceDateSynchro(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as DataSynchronizationDao.getAllDataSynchronizationSinceDateSynchro(int, String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllDataSynchronizationSinceDateSynchro(int transform,
java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as DataSynchronizationDao.getAllDataSynchronizationSinceDateSynchro(int, java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllDataSynchronizationSinceDateSynchro(int transform,
java.sql.Timestamp updateDate)
Does the same thing as DataSynchronizationDao.getAllDataSynchronizationSinceDateSynchro(java.sql.Timestamp) with an
additional flag called transform . |
java.util.Collection |
getAllDataSynchronizationSinceDateSynchro(java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as DataSynchronizationDao.getAllDataSynchronizationSinceDateSynchro(String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllDataSynchronizationSinceDateSynchro(java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as DataSynchronizationDao.getAllDataSynchronizationSinceDateSynchro(java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllDataSynchronizationSinceDateSynchro(java.sql.Timestamp updateDate)
|
protected java.security.Principal |
getPrincipal()
Gets the current principal if one has been set,
otherwise returns null . |
java.sql.Timestamp |
getSysdate()
|
protected abstract DataSynchronization |
handleCreateFromClusterDataSynchronization(ClusterDataSynchronization clusterDataSynchronization)
Performs the core logic for createFromClusterDataSynchronization(fr.ifremer.allegro.technical.synchronization.generic.cluster.ClusterDataSynchronization) |
protected abstract ClusterDataSynchronization[] |
handleGetAllClusterDataSynchronizationSinceDateSynchro(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 getAllClusterDataSynchronizationSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer) |
protected abstract java.sql.Timestamp |
handleGetSysdate()
Performs the core logic for getSysdate() |
DataSynchronization |
load(java.lang.Integer id)
Loads an instance of fr.ifremer.allegro.technical.synchronization.DataSynchronization from the persistent store. |
java.lang.Object |
load(int transform,
java.lang.Integer id)
Does the same thing as DataSynchronizationDao.load(java.lang.Integer) with an
additional flag called transform . |
java.util.Collection |
loadAll()
Loads all entities of type DataSynchronization . |
java.util.Collection |
loadAll(int transform)
Does the same thing as DataSynchronizationDao.loadAll() with an
additional flag called transform . |
java.util.Collection |
loadAll(int pageNumber,
int pageSize)
Does the same thing as DataSynchronizationDao.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 DataSynchronizationDao.loadAll(int) with an
additional two arguments called pageNumber and pageSize . |
void |
remoteDataSynchronizationFullVOToEntity(RemoteDataSynchronizationFullVO source,
DataSynchronization target,
boolean copyIfNull)
Copies the fields of RemoteDataSynchronizationFullVO to the specified entity. |
void |
remoteDataSynchronizationFullVOToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteDataSynchronizationFullVO to this
DAO's entity. |
void |
remoteDataSynchronizationNaturalIdToEntity(RemoteDataSynchronizationNaturalId source,
DataSynchronization target,
boolean copyIfNull)
Copies the fields of RemoteDataSynchronizationNaturalId to the specified entity. |
void |
remoteDataSynchronizationNaturalIdToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteDataSynchronizationNaturalId to this
DAO's entity. |
void |
remove(java.util.Collection entities)
Removes all entities in the given entities |
void |
remove(DataSynchronization dataSynchronization)
Removes the instance of fr.ifremer.allegro.technical.synchronization.DataSynchronization from the persistent store. |
void |
remove(java.lang.Integer id)
Removes the instance of fr.ifremer.allegro.technical.synchronization.DataSynchronization 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 DataSynchronizationDao.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. |
ClusterDataSynchronization |
toClusterDataSynchronization(DataSynchronization entity)
Converts this DAO's entity to an object of type ClusterDataSynchronization . |
void |
toClusterDataSynchronization(DataSynchronization source,
ClusterDataSynchronization target)
Copies the fields of the specified entity to the target value object. |
protected ClusterDataSynchronization |
toClusterDataSynchronization(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
ClusterDataSynchronization[] |
toClusterDataSynchronizationArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type ClusterDataSynchronization . |
void |
toClusterDataSynchronizationCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type ClusterDataSynchronization . |
protected DataSynchronization |
toEntity(java.lang.Object[] row)
|
RemoteDataSynchronizationFullVO |
toRemoteDataSynchronizationFullVO(DataSynchronization entity)
Converts this DAO's entity to an object of type RemoteDataSynchronizationFullVO . |
void |
toRemoteDataSynchronizationFullVO(DataSynchronization source,
RemoteDataSynchronizationFullVO target)
Copies the fields of the specified entity to the target value object. |
protected RemoteDataSynchronizationFullVO |
toRemoteDataSynchronizationFullVO(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteDataSynchronizationFullVO[] |
toRemoteDataSynchronizationFullVOArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteDataSynchronizationFullVO . |
void |
toRemoteDataSynchronizationFullVOCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteDataSynchronizationFullVO . |
RemoteDataSynchronizationNaturalId |
toRemoteDataSynchronizationNaturalId(DataSynchronization entity)
Converts this DAO's entity to an object of type RemoteDataSynchronizationNaturalId . |
void |
toRemoteDataSynchronizationNaturalId(DataSynchronization source,
RemoteDataSynchronizationNaturalId target)
Copies the fields of the specified entity to the target value object. |
protected RemoteDataSynchronizationNaturalId |
toRemoteDataSynchronizationNaturalId(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteDataSynchronizationNaturalId[] |
toRemoteDataSynchronizationNaturalIdArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteDataSynchronizationNaturalId . |
void |
toRemoteDataSynchronizationNaturalIdCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteDataSynchronizationNaturalId . |
protected void |
transformEntities(int transform,
java.util.Collection entities)
Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.technical.synchronization.DataSynchronization)
method. |
protected java.lang.Object |
transformEntity(int transform,
DataSynchronization 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.technical.synchronization.DataSynchronizationDao , please note
that the DataSynchronizationDao.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(DataSynchronization dataSynchronization)
Updates the dataSynchronization 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.technical.synchronization.DataSynchronizationDao |
---|
clusterDataSynchronizationToEntity, remoteDataSynchronizationFullVOToEntity, remoteDataSynchronizationNaturalIdToEntity |
Constructor Detail |
---|
public DataSynchronizationDaoBase()
Method Detail |
---|
public java.lang.Object load(int transform, java.lang.Integer id)
DataSynchronizationDao
Does the same thing as DataSynchronizationDao.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 DataSynchronizationDao
id
- identifier of the entity to load
DataSynchronizationDao.load(int, java.lang.Integer)
public DataSynchronization load(java.lang.Integer id)
DataSynchronizationDao
load
in interface DataSynchronizationDao
DataSynchronizationDao.load(java.lang.Integer)
public java.util.Collection loadAll()
DataSynchronizationDao
DataSynchronization
.
loadAll
in interface DataSynchronizationDao
DataSynchronizationDao.loadAll()
public java.util.Collection loadAll(int transform)
DataSynchronizationDao
Does the same thing as DataSynchronizationDao.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 DataSynchronizationDao
transform
- the flag indicating what transformation to use.
DataSynchronizationDao.loadAll(int)
public java.util.Collection loadAll(int pageNumber, int pageSize)
DataSynchronizationDao
Does the same thing as DataSynchronizationDao.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 DataSynchronizationDao
pageNumber
- the page number to retrieve when paging results.pageSize
- the size of the page to retrieve when paging results.
DataSynchronizationDao.loadAll(int, int)
public java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
DataSynchronizationDao
Does the same thing as DataSynchronizationDao.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 DataSynchronizationDao
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.
DataSynchronizationDao.loadAll(int, int, int)
public DataSynchronization create(DataSynchronization dataSynchronization)
DataSynchronizationDao
create
in interface DataSynchronizationDao
DataSynchronizationDao.create(fr.ifremer.allegro.technical.synchronization.DataSynchronization)
public java.lang.Object create(int transform, DataSynchronization dataSynchronization)
DataSynchronizationDao
Does the same thing as DataSynchronizationDao.create(fr.ifremer.allegro.technical.synchronization.DataSynchronization)
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 DataSynchronizationDao
DataSynchronizationDao.create(int transform, fr.ifremer.allegro.technical.synchronization.DataSynchronization)
public java.util.Collection create(java.util.Collection entities)
DataSynchronizationDao
entities
collection
create
in interface DataSynchronizationDao
entities
- the collection of fr.ifremer.allegro.technical.synchronization.DataSynchronization
instances to create.
DataSynchronizationDao.create(java.util.Collection)
public java.util.Collection create(int transform, java.util.Collection entities)
DataSynchronizationDao
Does the same thing as DataSynchronizationDao.create(fr.ifremer.allegro.technical.synchronization.DataSynchronization)
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 DataSynchronizationDao
DataSynchronizationDao.create(int, java.util.Collection)
public DataSynchronization create(java.lang.String tableName, java.sql.Timestamp updateDate, java.lang.String vesselCode)
DataSynchronizationDao
Creates a new fr.ifremer.allegro.technical.synchronization.DataSynchronization
instance from all attributes and
properties and adds it to the persistent store.
create
in interface DataSynchronizationDao
DataSynchronizationDao.create(java.lang.String,java.sql.Timestamp,java.lang.String)
public java.lang.Object create(int transform, java.lang.String tableName, java.sql.Timestamp updateDate, java.lang.String vesselCode)
DataSynchronizationDao
Does the same thing as DataSynchronizationDao.create(java.lang.String,java.sql.Timestamp,java.lang.String)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined 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 DataSynchronizationDao
DataSynchronizationDao.create(int, java.lang.String,java.sql.Timestamp,java.lang.String)
public DataSynchronization create(java.lang.String tableName, java.sql.Timestamp updateDate)
DataSynchronizationDao
Creates a new fr.ifremer.allegro.technical.synchronization.DataSynchronization
instance from only required properties (attributes
and association ends) and adds it to the persistent store.
create
in interface DataSynchronizationDao
DataSynchronizationDao.create(java.lang.String,java.sql.Timestamp)
public java.lang.Object create(int transform, java.lang.String tableName, java.sql.Timestamp updateDate)
DataSynchronizationDao
Does the same thing as DataSynchronizationDao.create(java.lang.String,java.sql.Timestamp)
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 DataSynchronizationDao
DataSynchronizationDao.create(int, java.lang.String,java.sql.Timestamp)
public void update(DataSynchronization dataSynchronization)
DataSynchronizationDao
dataSynchronization
instance in the persistent store.
update
in interface DataSynchronizationDao
DataSynchronizationDao.update(fr.ifremer.allegro.technical.synchronization.DataSynchronization)
public void update(java.util.Collection entities)
DataSynchronizationDao
entities
collection in the persistent store.
update
in interface DataSynchronizationDao
DataSynchronizationDao.update(java.util.Collection)
public void remove(DataSynchronization dataSynchronization)
DataSynchronizationDao
remove
in interface DataSynchronizationDao
DataSynchronizationDao.remove(fr.ifremer.allegro.technical.synchronization.DataSynchronization)
public void remove(java.lang.Integer id)
DataSynchronizationDao
identifier
from the persistent store.
remove
in interface DataSynchronizationDao
DataSynchronizationDao.remove(java.lang.Integer)
public void remove(java.util.Collection entities)
DataSynchronizationDao
entities collection.
- Specified by:
remove
in interface DataSynchronizationDao
- See Also:
DataSynchronizationDao.remove(java.util.Collection)
public java.util.Collection getAllDataSynchronization()
getAllDataSynchronization
in interface DataSynchronizationDao
DataSynchronizationDao.getAllDataSynchronization()
public java.util.Collection getAllDataSynchronization(int transform)
DataSynchronizationDao
Does the same thing as DataSynchronizationDao.getAllDataSynchronization()
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.
getAllDataSynchronization
in interface DataSynchronizationDao
DataSynchronizationDao.getAllDataSynchronization(int)
public java.util.Collection getAllDataSynchronization(java.lang.String queryString)
DataSynchronizationDao
Does the same thing as DataSynchronizationDao.getAllDataSynchronization()
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in DataSynchronizationDao.getAllDataSynchronization()
.
getAllDataSynchronization
in interface DataSynchronizationDao
DataSynchronizationDao.getAllDataSynchronization(java.lang.String)
public java.util.Collection getAllDataSynchronization(int pageNumber, int pageSize)
DataSynchronizationDao
Does the same thing as DataSynchronizationDao.getAllDataSynchronization()
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.
getAllDataSynchronization
in interface DataSynchronizationDao
DataSynchronizationDao.getAllDataSynchronization(int, int)
public java.util.Collection getAllDataSynchronization(java.lang.String queryString, int pageNumber, int pageSize)
DataSynchronizationDao
Does the same thing as DataSynchronizationDao.getAllDataSynchronization(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.
getAllDataSynchronization
in interface DataSynchronizationDao
DataSynchronizationDao.getAllDataSynchronization(String, int, int)
public java.util.Collection getAllDataSynchronization(int transform, java.lang.String queryString)
DataSynchronizationDao
Does the same thing as DataSynchronizationDao.getAllDataSynchronization(int)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in DataSynchronizationDao.getAllDataSynchronization(int)
.
getAllDataSynchronization
in interface DataSynchronizationDao
DataSynchronizationDao.getAllDataSynchronization(int, String)
public java.util.Collection getAllDataSynchronization(int transform, int pageNumber, int pageSize)
DataSynchronizationDao
Does the same thing as DataSynchronizationDao.getAllDataSynchronization(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.
getAllDataSynchronization
in interface DataSynchronizationDao
DataSynchronizationDao.getAllDataSynchronization(int, int, int)
public java.util.Collection getAllDataSynchronization(int transform, java.lang.String queryString, int pageNumber, int pageSize)
DataSynchronizationDao
Does the same thing as DataSynchronizationDao.getAllDataSynchronization(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.
getAllDataSynchronization
in interface DataSynchronizationDao
DataSynchronizationDao.getAllDataSynchronization(int, java.lang.String, int, int)
public DataSynchronization findDataSynchronizationById(java.lang.Integer id)
findDataSynchronizationById
in interface DataSynchronizationDao
DataSynchronizationDao.findDataSynchronizationById(java.lang.Integer)
public java.lang.Object findDataSynchronizationById(int transform, java.lang.Integer id)
DataSynchronizationDao
Does the same thing as DataSynchronizationDao.findDataSynchronizationById(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.
findDataSynchronizationById
in interface DataSynchronizationDao
DataSynchronizationDao.findDataSynchronizationById(int, java.lang.Integer)
public DataSynchronization findDataSynchronizationById(java.lang.String queryString, java.lang.Integer id)
DataSynchronizationDao
Does the same thing as DataSynchronizationDao.findDataSynchronizationById(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in DataSynchronizationDao.findDataSynchronizationById(java.lang.Integer)
.
findDataSynchronizationById
in interface DataSynchronizationDao
DataSynchronizationDao.findDataSynchronizationById(java.lang.String, java.lang.Integer)
public java.lang.Object findDataSynchronizationById(int transform, java.lang.String queryString, java.lang.Integer id)
DataSynchronizationDao
Does the same thing as DataSynchronizationDao.findDataSynchronizationById(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in DataSynchronizationDao.findDataSynchronizationById(int, java.lang.Integer id)
.
findDataSynchronizationById
in interface DataSynchronizationDao
DataSynchronizationDao.findDataSynchronizationById(int, java.lang.String, java.lang.Integer)
public DataSynchronization findDataSynchronizationByNaturalId(java.lang.Integer id)
findDataSynchronizationByNaturalId
in interface DataSynchronizationDao
DataSynchronizationDao.findDataSynchronizationByNaturalId(java.lang.Integer)
public java.lang.Object findDataSynchronizationByNaturalId(int transform, java.lang.Integer id)
DataSynchronizationDao
Does the same thing as DataSynchronizationDao.findDataSynchronizationByNaturalId(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.
findDataSynchronizationByNaturalId
in interface DataSynchronizationDao
DataSynchronizationDao.findDataSynchronizationByNaturalId(int, java.lang.Integer)
public DataSynchronization findDataSynchronizationByNaturalId(java.lang.String queryString, java.lang.Integer id)
DataSynchronizationDao
Does the same thing as DataSynchronizationDao.findDataSynchronizationByNaturalId(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in DataSynchronizationDao.findDataSynchronizationByNaturalId(java.lang.Integer)
.
findDataSynchronizationByNaturalId
in interface DataSynchronizationDao
DataSynchronizationDao.findDataSynchronizationByNaturalId(java.lang.String, java.lang.Integer)
public java.lang.Object findDataSynchronizationByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
DataSynchronizationDao
Does the same thing as DataSynchronizationDao.findDataSynchronizationByNaturalId(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in DataSynchronizationDao.findDataSynchronizationByNaturalId(int, java.lang.Integer id)
.
findDataSynchronizationByNaturalId
in interface DataSynchronizationDao
DataSynchronizationDao.findDataSynchronizationByNaturalId(int, java.lang.String, java.lang.Integer)
public java.util.Collection getAllDataSynchronizationSinceDateSynchro(java.sql.Timestamp updateDate)
getAllDataSynchronizationSinceDateSynchro
in interface DataSynchronizationDao
DataSynchronizationDao.getAllDataSynchronizationSinceDateSynchro(java.sql.Timestamp)
public java.util.Collection getAllDataSynchronizationSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
DataSynchronizationDao
Does the same thing as DataSynchronizationDao.getAllDataSynchronizationSinceDateSynchro(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.
getAllDataSynchronizationSinceDateSynchro
in interface DataSynchronizationDao
DataSynchronizationDao.getAllDataSynchronizationSinceDateSynchro(int, java.sql.Timestamp)
public java.util.Collection getAllDataSynchronizationSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
DataSynchronizationDao
Does the same thing as DataSynchronizationDao.getAllDataSynchronizationSinceDateSynchro(java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in DataSynchronizationDao.getAllDataSynchronizationSinceDateSynchro(java.sql.Timestamp)
.
getAllDataSynchronizationSinceDateSynchro
in interface DataSynchronizationDao
DataSynchronizationDao.getAllDataSynchronizationSinceDateSynchro(java.lang.String, java.sql.Timestamp)
public java.util.Collection getAllDataSynchronizationSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
DataSynchronizationDao
Does the same thing as DataSynchronizationDao.getAllDataSynchronizationSinceDateSynchro(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.
getAllDataSynchronizationSinceDateSynchro
in interface DataSynchronizationDao
DataSynchronizationDao.getAllDataSynchronizationSinceDateSynchro(int, int, java.sql.Timestamp)
public java.util.Collection getAllDataSynchronizationSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
DataSynchronizationDao
Does the same thing as DataSynchronizationDao.getAllDataSynchronizationSinceDateSynchro(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.
getAllDataSynchronizationSinceDateSynchro
in interface DataSynchronizationDao
DataSynchronizationDao.getAllDataSynchronizationSinceDateSynchro(String, int, int, java.sql.Timestamp)
public java.util.Collection getAllDataSynchronizationSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
DataSynchronizationDao
Does the same thing as DataSynchronizationDao.getAllDataSynchronizationSinceDateSynchro(int, java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in DataSynchronizationDao.getAllDataSynchronizationSinceDateSynchro(int, java.sql.Timestamp updateDate)
.
getAllDataSynchronizationSinceDateSynchro
in interface DataSynchronizationDao
DataSynchronizationDao.getAllDataSynchronizationSinceDateSynchro(int, String, java.sql.Timestamp)
public java.util.Collection getAllDataSynchronizationSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
DataSynchronizationDao
Does the same thing as DataSynchronizationDao.getAllDataSynchronizationSinceDateSynchro(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.
getAllDataSynchronizationSinceDateSynchro
in interface DataSynchronizationDao
DataSynchronizationDao.getAllDataSynchronizationSinceDateSynchro(int, int, int, java.sql.Timestamp)
public java.util.Collection getAllDataSynchronizationSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
DataSynchronizationDao
Does the same thing as DataSynchronizationDao.getAllDataSynchronizationSinceDateSynchro(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.
getAllDataSynchronizationSinceDateSynchro
in interface DataSynchronizationDao
DataSynchronizationDao.getAllDataSynchronizationSinceDateSynchro(int, java.lang.String, int, int, java.sql.Timestamp)
public java.sql.Timestamp getSysdate()
getSysdate
in interface DataSynchronizationDao
DataSynchronizationDao.getSysdate()
protected abstract java.sql.Timestamp handleGetSysdate() throws java.lang.Exception
getSysdate()
java.lang.Exception
public DataSynchronization createFromClusterDataSynchronization(ClusterDataSynchronization clusterDataSynchronization)
createFromClusterDataSynchronization
in interface DataSynchronizationDao
DataSynchronizationDao.createFromClusterDataSynchronization(fr.ifremer.allegro.technical.synchronization.generic.cluster.ClusterDataSynchronization)
protected abstract DataSynchronization handleCreateFromClusterDataSynchronization(ClusterDataSynchronization clusterDataSynchronization) throws java.lang.Exception
createFromClusterDataSynchronization(fr.ifremer.allegro.technical.synchronization.generic.cluster.ClusterDataSynchronization)
java.lang.Exception
public ClusterDataSynchronization[] getAllClusterDataSynchronizationSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
getAllClusterDataSynchronizationSinceDateSynchro
in interface DataSynchronizationDao
DataSynchronizationDao.getAllClusterDataSynchronizationSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract ClusterDataSynchronization[] handleGetAllClusterDataSynchronizationSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize) throws java.lang.Exception
getAllClusterDataSynchronizationSinceDateSynchro(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, DataSynchronization entity)
transform
flag is set to one of the constants defined in fr.ifremer.allegro.technical.synchronization.DataSynchronizationDao
, please note
that the DataSynchronizationDao.TRANSFORM_NONE
constant denotes no transformation, so the entity itself
will be returned.
This method will return instances of these types:
DataSynchronization
- DataSynchronizationDao.TRANSFORM_NONE
RemoteDataSynchronizationFullVO
- TRANSFORM_REMOTEDATASYNCHRONIZATIONFULLVO
RemoteDataSynchronizationNaturalId
- TRANSFORM_REMOTEDATASYNCHRONIZATIONNATURALID
ClusterDataSynchronization
- TRANSFORM_CLUSTERDATASYNCHRONIZATION
DataSynchronizationDao.TRANSFORM_NONE
is assumed.
transform
- one of the constants declared in DataSynchronizationDao
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.technical.synchronization.DataSynchronization)
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.technical.synchronization.DataSynchronizationDao
entities
- the collection of entities to transformtransformEntity(int,fr.ifremer.allegro.technical.synchronization.DataSynchronization)
protected DataSynchronization toEntity(java.lang.Object[] row)
public final void toRemoteDataSynchronizationFullVOCollection(java.util.Collection entities)
DataSynchronizationDao
RemoteDataSynchronizationFullVO
.
toRemoteDataSynchronizationFullVOCollection
in interface DataSynchronizationDao
DataSynchronizationDao.toRemoteDataSynchronizationFullVOCollection(java.util.Collection)
public final RemoteDataSynchronizationFullVO[] toRemoteDataSynchronizationFullVOArray(java.util.Collection entities)
DataSynchronizationDao
RemoteDataSynchronizationFullVO
.
toRemoteDataSynchronizationFullVOArray
in interface DataSynchronizationDao
DataSynchronizationDao.toRemoteDataSynchronizationFullVOArray(java.util.Collection)
protected RemoteDataSynchronizationFullVO toRemoteDataSynchronizationFullVO(java.lang.Object[] row)
DataSynchronizationDaoImpl
class if you intend to use reporting queries.
DataSynchronizationDao.toRemoteDataSynchronizationFullVO(fr.ifremer.allegro.technical.synchronization.DataSynchronization)
public final void remoteDataSynchronizationFullVOToEntityCollection(java.util.Collection instances)
DataSynchronizationDao
RemoteDataSynchronizationFullVO
to this
DAO's entity.
remoteDataSynchronizationFullVOToEntityCollection
in interface DataSynchronizationDao
DataSynchronizationDao.remoteDataSynchronizationFullVOToEntityCollection(java.util.Collection)
public void toRemoteDataSynchronizationFullVO(DataSynchronization source, RemoteDataSynchronizationFullVO target)
DataSynchronizationDao
toRemoteDataSynchronizationFullVO
in interface DataSynchronizationDao
DataSynchronizationDao.toRemoteDataSynchronizationFullVO(fr.ifremer.allegro.technical.synchronization.DataSynchronization, fr.ifremer.allegro.technical.synchronization.generic.vo.RemoteDataSynchronizationFullVO)
public RemoteDataSynchronizationFullVO toRemoteDataSynchronizationFullVO(DataSynchronization entity)
DataSynchronizationDao
RemoteDataSynchronizationFullVO
.
toRemoteDataSynchronizationFullVO
in interface DataSynchronizationDao
DataSynchronizationDao.toRemoteDataSynchronizationFullVO(fr.ifremer.allegro.technical.synchronization.DataSynchronization)
public void remoteDataSynchronizationFullVOToEntity(RemoteDataSynchronizationFullVO source, DataSynchronization target, boolean copyIfNull)
DataSynchronizationDao
RemoteDataSynchronizationFullVO
to the specified entity.
remoteDataSynchronizationFullVOToEntity
in interface DataSynchronizationDao
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.technical.synchronization.DataSynchronizationDao#remoteDataSynchronizationFullVOToEntity(fr.ifremer.allegro.technical.synchronization.generic.vo.RemoteDataSynchronizationFullVO, fr.ifremer.allegro.technical.synchronization.DataSynchronization)
public final void toRemoteDataSynchronizationNaturalIdCollection(java.util.Collection entities)
DataSynchronizationDao
RemoteDataSynchronizationNaturalId
.
toRemoteDataSynchronizationNaturalIdCollection
in interface DataSynchronizationDao
DataSynchronizationDao.toRemoteDataSynchronizationNaturalIdCollection(java.util.Collection)
public final RemoteDataSynchronizationNaturalId[] toRemoteDataSynchronizationNaturalIdArray(java.util.Collection entities)
DataSynchronizationDao
RemoteDataSynchronizationNaturalId
.
toRemoteDataSynchronizationNaturalIdArray
in interface DataSynchronizationDao
DataSynchronizationDao.toRemoteDataSynchronizationNaturalIdArray(java.util.Collection)
protected RemoteDataSynchronizationNaturalId toRemoteDataSynchronizationNaturalId(java.lang.Object[] row)
DataSynchronizationDaoImpl
class if you intend to use reporting queries.
DataSynchronizationDao.toRemoteDataSynchronizationNaturalId(fr.ifremer.allegro.technical.synchronization.DataSynchronization)
public final void remoteDataSynchronizationNaturalIdToEntityCollection(java.util.Collection instances)
DataSynchronizationDao
RemoteDataSynchronizationNaturalId
to this
DAO's entity.
remoteDataSynchronizationNaturalIdToEntityCollection
in interface DataSynchronizationDao
DataSynchronizationDao.remoteDataSynchronizationNaturalIdToEntityCollection(java.util.Collection)
public void toRemoteDataSynchronizationNaturalId(DataSynchronization source, RemoteDataSynchronizationNaturalId target)
DataSynchronizationDao
toRemoteDataSynchronizationNaturalId
in interface DataSynchronizationDao
DataSynchronizationDao.toRemoteDataSynchronizationNaturalId(fr.ifremer.allegro.technical.synchronization.DataSynchronization, fr.ifremer.allegro.technical.synchronization.generic.vo.RemoteDataSynchronizationNaturalId)
public RemoteDataSynchronizationNaturalId toRemoteDataSynchronizationNaturalId(DataSynchronization entity)
DataSynchronizationDao
RemoteDataSynchronizationNaturalId
.
toRemoteDataSynchronizationNaturalId
in interface DataSynchronizationDao
DataSynchronizationDao.toRemoteDataSynchronizationNaturalId(fr.ifremer.allegro.technical.synchronization.DataSynchronization)
public void remoteDataSynchronizationNaturalIdToEntity(RemoteDataSynchronizationNaturalId source, DataSynchronization target, boolean copyIfNull)
DataSynchronizationDao
RemoteDataSynchronizationNaturalId
to the specified entity.
remoteDataSynchronizationNaturalIdToEntity
in interface DataSynchronizationDao
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.technical.synchronization.DataSynchronizationDao#remoteDataSynchronizationNaturalIdToEntity(fr.ifremer.allegro.technical.synchronization.generic.vo.RemoteDataSynchronizationNaturalId, fr.ifremer.allegro.technical.synchronization.DataSynchronization)
public final void toClusterDataSynchronizationCollection(java.util.Collection entities)
DataSynchronizationDao
ClusterDataSynchronization
.
toClusterDataSynchronizationCollection
in interface DataSynchronizationDao
DataSynchronizationDao.toClusterDataSynchronizationCollection(java.util.Collection)
public final ClusterDataSynchronization[] toClusterDataSynchronizationArray(java.util.Collection entities)
DataSynchronizationDao
ClusterDataSynchronization
.
toClusterDataSynchronizationArray
in interface DataSynchronizationDao
DataSynchronizationDao.toClusterDataSynchronizationArray(java.util.Collection)
protected ClusterDataSynchronization toClusterDataSynchronization(java.lang.Object[] row)
DataSynchronizationDaoImpl
class if you intend to use reporting queries.
DataSynchronizationDao.toClusterDataSynchronization(fr.ifremer.allegro.technical.synchronization.DataSynchronization)
public final void clusterDataSynchronizationToEntityCollection(java.util.Collection instances)
DataSynchronizationDao
ClusterDataSynchronization
to this
DAO's entity.
clusterDataSynchronizationToEntityCollection
in interface DataSynchronizationDao
DataSynchronizationDao.clusterDataSynchronizationToEntityCollection(java.util.Collection)
public void toClusterDataSynchronization(DataSynchronization source, ClusterDataSynchronization target)
DataSynchronizationDao
toClusterDataSynchronization
in interface DataSynchronizationDao
DataSynchronizationDao.toClusterDataSynchronization(fr.ifremer.allegro.technical.synchronization.DataSynchronization, fr.ifremer.allegro.technical.synchronization.generic.cluster.ClusterDataSynchronization)
public ClusterDataSynchronization toClusterDataSynchronization(DataSynchronization entity)
DataSynchronizationDao
ClusterDataSynchronization
.
toClusterDataSynchronization
in interface DataSynchronizationDao
DataSynchronizationDao.toClusterDataSynchronization(fr.ifremer.allegro.technical.synchronization.DataSynchronization)
public void clusterDataSynchronizationToEntity(ClusterDataSynchronization source, DataSynchronization target, boolean copyIfNull)
DataSynchronizationDao
ClusterDataSynchronization
to the specified entity.
clusterDataSynchronizationToEntity
in interface DataSynchronizationDao
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.technical.synchronization.DataSynchronizationDao#clusterDataSynchronizationToEntity(fr.ifremer.allegro.technical.synchronization.generic.cluster.ClusterDataSynchronization, fr.ifremer.allegro.technical.synchronization.DataSynchronization)
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)
DataSynchronizationDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface DataSynchronizationDao
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.DataSynchronizationDao.search(int, int, int, fr.ifremer.allegro.Search)
public PaginationResult search(int pageNumber, int pageSize, Search search)
DataSynchronizationDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface DataSynchronizationDao
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.DataSynchronizationDao.search(int, int, fr.ifremer.allegro.Search)
public java.util.Set search(int transform, Search search)
DataSynchronizationDao
DataSynchronizationDao.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 DataSynchronizationDao
transform
- the transformation flag.search
- the search object which provides the search parameters and pagination specification.
DataSynchronizationDao.search(int, fr.ifremer.allegro.Search)
public java.util.Set search(Search search)
DataSynchronizationDao
search
object.
search
in interface DataSynchronizationDao
search
- the search object which provides the search parameters and pagination specification.
DataSynchronizationDao.search(fr.ifremer.allegro.Search)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |