|
||||||||||
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.taxon.ReferenceTaxonDaoBase
public abstract class ReferenceTaxonDaoBase
Base Spring DAO Class: is able to create, update, remove, load, and find
objects of type fr.ifremer.allegro.referential.taxon.ReferenceTaxon
.
ReferenceTaxon
Field Summary |
---|
Fields inherited from interface fr.ifremer.allegro.referential.taxon.ReferenceTaxonDao |
---|
TRANSFORM_CLUSTERREFERENCETAXON, TRANSFORM_NONE, TRANSFORM_REMOTEREFERENCETAXONFULLVO, TRANSFORM_REMOTEREFERENCETAXONNATURALID |
Constructor Summary | |
---|---|
ReferenceTaxonDaoBase()
|
Method Summary | |
---|---|
void |
clusterReferenceTaxonToEntity(ClusterReferenceTaxon source,
ReferenceTaxon target,
boolean copyIfNull)
Copies the fields of ClusterReferenceTaxon to the specified entity. |
void |
clusterReferenceTaxonToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type ClusterReferenceTaxon to this
DAO's entity. |
java.util.Collection |
create(java.util.Collection entities)
Creates a new instance of fr.ifremer.allegro.referential.taxon.ReferenceTaxon and adds from the passed in entities collection |
java.util.Collection |
create(int transform,
java.util.Collection entities)
Does the same thing as ReferenceTaxonDao.create(fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
ReferenceTaxon referenceTaxon)
Does the same thing as ReferenceTaxonDao.create(fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
java.sql.Timestamp updateDate,
java.util.Collection referenceTaxonStrategies)
Does the same thing as ReferenceTaxonDao.create(java.sql.Timestamp,java.util.Collection) with an
additional flag called transform . |
ReferenceTaxon |
create(ReferenceTaxon referenceTaxon)
Creates an instance of fr.ifremer.allegro.referential.taxon.ReferenceTaxon and adds it to the persistent store. |
ReferenceTaxon |
create(java.sql.Timestamp updateDate,
java.util.Collection referenceTaxonStrategies)
Creates a new fr.ifremer.allegro.referential.taxon.ReferenceTaxon
instance from all attributes and
properties and adds it to the persistent store. |
ReferenceTaxon |
createFromClusterReferenceTaxon(ClusterReferenceTaxon clusterReferenceTaxon)
|
ReferenceTaxon |
findReferenceTaxonById(java.lang.Integer id)
|
java.lang.Object |
findReferenceTaxonById(int transform,
java.lang.Integer id)
Does the same thing as ReferenceTaxonDao.findReferenceTaxonById(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findReferenceTaxonById(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as ReferenceTaxonDao.findReferenceTaxonById(int, java.lang.Integer) with an
additional argument called queryString . |
ReferenceTaxon |
findReferenceTaxonById(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as ReferenceTaxonDao.findReferenceTaxonById(java.lang.Integer) with an
additional argument called queryString . |
ReferenceTaxon |
findReferenceTaxonByNaturalId(java.lang.Integer id)
|
java.lang.Object |
findReferenceTaxonByNaturalId(int transform,
java.lang.Integer id)
Does the same thing as ReferenceTaxonDao.findReferenceTaxonByNaturalId(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findReferenceTaxonByNaturalId(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as ReferenceTaxonDao.findReferenceTaxonByNaturalId(int, java.lang.Integer) with an
additional argument called queryString . |
ReferenceTaxon |
findReferenceTaxonByNaturalId(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as ReferenceTaxonDao.findReferenceTaxonByNaturalId(java.lang.Integer) with an
additional argument called queryString . |
ClusterReferenceTaxon[] |
getAllClusterReferenceTaxonSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize)
|
java.util.Collection |
getAllReferenceTaxon()
|
java.util.Collection |
getAllReferenceTaxon(int transform)
Does the same thing as ReferenceTaxonDao.getAllReferenceTaxon() with an
additional flag called transform . |
java.util.Collection |
getAllReferenceTaxon(int pageNumber,
int pageSize)
Does the same thing as ReferenceTaxonDao.getAllReferenceTaxon() with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllReferenceTaxon(int transform,
int pageNumber,
int pageSize)
Does the same thing as ReferenceTaxonDao.getAllReferenceTaxon(int) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllReferenceTaxon(int transform,
java.lang.String queryString)
Does the same thing as ReferenceTaxonDao.getAllReferenceTaxon(int) with an
additional argument called queryString . |
java.util.Collection |
getAllReferenceTaxon(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as ReferenceTaxonDao.getAllReferenceTaxon(int, String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllReferenceTaxon(java.lang.String queryString)
Does the same thing as ReferenceTaxonDao.getAllReferenceTaxon() with an
additional argument called queryString . |
java.util.Collection |
getAllReferenceTaxon(java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as ReferenceTaxonDao.getAllReferenceTaxon(String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllReferenceTaxonSinceDateSynchro(int transform,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as ReferenceTaxonDao.getAllReferenceTaxonSinceDateSynchro(int, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllReferenceTaxonSinceDateSynchro(int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as ReferenceTaxonDao.getAllReferenceTaxonSinceDateSynchro(java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllReferenceTaxonSinceDateSynchro(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as ReferenceTaxonDao.getAllReferenceTaxonSinceDateSynchro(int, String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllReferenceTaxonSinceDateSynchro(int transform,
java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as ReferenceTaxonDao.getAllReferenceTaxonSinceDateSynchro(int, java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllReferenceTaxonSinceDateSynchro(int transform,
java.sql.Timestamp updateDate)
Does the same thing as ReferenceTaxonDao.getAllReferenceTaxonSinceDateSynchro(java.sql.Timestamp) with an
additional flag called transform . |
java.util.Collection |
getAllReferenceTaxonSinceDateSynchro(java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as ReferenceTaxonDao.getAllReferenceTaxonSinceDateSynchro(String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllReferenceTaxonSinceDateSynchro(java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as ReferenceTaxonDao.getAllReferenceTaxonSinceDateSynchro(java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllReferenceTaxonSinceDateSynchro(java.sql.Timestamp updateDate)
|
protected java.security.Principal |
getPrincipal()
Gets the current principal if one has been set,
otherwise returns null . |
protected ReferenceTaxonStrategyDao |
getReferenceTaxonStrategyDao()
Gets the reference to referenceTaxonStrategyDao . |
protected abstract ReferenceTaxon |
handleCreateFromClusterReferenceTaxon(ClusterReferenceTaxon clusterReferenceTaxon)
Performs the core logic for createFromClusterReferenceTaxon(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterReferenceTaxon) |
protected abstract ClusterReferenceTaxon[] |
handleGetAllClusterReferenceTaxonSinceDateSynchro(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 getAllClusterReferenceTaxonSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer) |
ReferenceTaxon |
load(java.lang.Integer id)
Loads an instance of fr.ifremer.allegro.referential.taxon.ReferenceTaxon from the persistent store. |
java.lang.Object |
load(int transform,
java.lang.Integer id)
Does the same thing as ReferenceTaxonDao.load(java.lang.Integer) with an
additional flag called transform . |
java.util.Collection |
loadAll()
Loads all entities of type ReferenceTaxon . |
java.util.Collection |
loadAll(int transform)
Does the same thing as ReferenceTaxonDao.loadAll() with an
additional flag called transform . |
java.util.Collection |
loadAll(int pageNumber,
int pageSize)
Does the same thing as ReferenceTaxonDao.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 ReferenceTaxonDao.loadAll(int) with an
additional two arguments called pageNumber and pageSize . |
void |
remoteReferenceTaxonFullVOToEntity(RemoteReferenceTaxonFullVO source,
ReferenceTaxon target,
boolean copyIfNull)
Copies the fields of RemoteReferenceTaxonFullVO to the specified entity. |
void |
remoteReferenceTaxonFullVOToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteReferenceTaxonFullVO to this
DAO's entity. |
void |
remoteReferenceTaxonNaturalIdToEntity(RemoteReferenceTaxonNaturalId source,
ReferenceTaxon target,
boolean copyIfNull)
Copies the fields of RemoteReferenceTaxonNaturalId to the specified entity. |
void |
remoteReferenceTaxonNaturalIdToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteReferenceTaxonNaturalId to this
DAO's entity. |
void |
remove(java.util.Collection entities)
Removes all entities in the given entities |
void |
remove(java.lang.Integer id)
Removes the instance of fr.ifremer.allegro.referential.taxon.ReferenceTaxon having the given identifier from the persistent store. |
void |
remove(ReferenceTaxon referenceTaxon)
Removes the instance of fr.ifremer.allegro.referential.taxon.ReferenceTaxon 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 ReferenceTaxonDao.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 |
setReferenceTaxonStrategyDao(ReferenceTaxonStrategyDao referenceTaxonStrategyDao)
Sets the reference to referenceTaxonStrategyDao . |
protected ClusterReferenceTaxon |
toClusterReferenceTaxon(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
ClusterReferenceTaxon |
toClusterReferenceTaxon(ReferenceTaxon entity)
Converts this DAO's entity to an object of type ClusterReferenceTaxon . |
void |
toClusterReferenceTaxon(ReferenceTaxon source,
ClusterReferenceTaxon target)
Copies the fields of the specified entity to the target value object. |
ClusterReferenceTaxon[] |
toClusterReferenceTaxonArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type ClusterReferenceTaxon . |
void |
toClusterReferenceTaxonCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type ClusterReferenceTaxon . |
protected ReferenceTaxon |
toEntity(java.lang.Object[] row)
|
protected RemoteReferenceTaxonFullVO |
toRemoteReferenceTaxonFullVO(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteReferenceTaxonFullVO |
toRemoteReferenceTaxonFullVO(ReferenceTaxon entity)
Converts this DAO's entity to an object of type RemoteReferenceTaxonFullVO . |
void |
toRemoteReferenceTaxonFullVO(ReferenceTaxon source,
RemoteReferenceTaxonFullVO target)
Copies the fields of the specified entity to the target value object. |
RemoteReferenceTaxonFullVO[] |
toRemoteReferenceTaxonFullVOArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteReferenceTaxonFullVO . |
void |
toRemoteReferenceTaxonFullVOCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteReferenceTaxonFullVO . |
protected RemoteReferenceTaxonNaturalId |
toRemoteReferenceTaxonNaturalId(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteReferenceTaxonNaturalId |
toRemoteReferenceTaxonNaturalId(ReferenceTaxon entity)
Converts this DAO's entity to an object of type RemoteReferenceTaxonNaturalId . |
void |
toRemoteReferenceTaxonNaturalId(ReferenceTaxon source,
RemoteReferenceTaxonNaturalId target)
Copies the fields of the specified entity to the target value object. |
RemoteReferenceTaxonNaturalId[] |
toRemoteReferenceTaxonNaturalIdArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteReferenceTaxonNaturalId . |
void |
toRemoteReferenceTaxonNaturalIdCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteReferenceTaxonNaturalId . |
protected void |
transformEntities(int transform,
java.util.Collection entities)
Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
method. |
protected java.lang.Object |
transformEntity(int transform,
ReferenceTaxon 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.taxon.ReferenceTaxonDao , please note
that the ReferenceTaxonDao.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(ReferenceTaxon referenceTaxon)
Updates the referenceTaxon instance in the persistent store. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface fr.ifremer.allegro.referential.taxon.ReferenceTaxonDao |
---|
clusterReferenceTaxonToEntity, remoteReferenceTaxonFullVOToEntity, remoteReferenceTaxonNaturalIdToEntity |
Constructor Detail |
---|
public ReferenceTaxonDaoBase()
Method Detail |
---|
public void setReferenceTaxonStrategyDao(ReferenceTaxonStrategyDao referenceTaxonStrategyDao)
referenceTaxonStrategyDao
.
protected ReferenceTaxonStrategyDao getReferenceTaxonStrategyDao()
referenceTaxonStrategyDao
.
public java.lang.Object load(int transform, java.lang.Integer id)
ReferenceTaxonDao
Does the same thing as ReferenceTaxonDao.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 ReferenceTaxonDao
id
- identifier of the entity to load
ReferenceTaxonDao.load(int, java.lang.Integer)
public ReferenceTaxon load(java.lang.Integer id)
ReferenceTaxonDao
load
in interface ReferenceTaxonDao
ReferenceTaxonDao.load(java.lang.Integer)
public java.util.Collection loadAll()
ReferenceTaxonDao
ReferenceTaxon
.
loadAll
in interface ReferenceTaxonDao
ReferenceTaxonDao.loadAll()
public java.util.Collection loadAll(int transform)
ReferenceTaxonDao
Does the same thing as ReferenceTaxonDao.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 ReferenceTaxonDao
transform
- the flag indicating what transformation to use.
ReferenceTaxonDao.loadAll(int)
public java.util.Collection loadAll(int pageNumber, int pageSize)
ReferenceTaxonDao
Does the same thing as ReferenceTaxonDao.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 ReferenceTaxonDao
pageNumber
- the page number to retrieve when paging results.pageSize
- the size of the page to retrieve when paging results.
ReferenceTaxonDao.loadAll(int, int)
public java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
ReferenceTaxonDao
Does the same thing as ReferenceTaxonDao.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 ReferenceTaxonDao
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.
ReferenceTaxonDao.loadAll(int, int, int)
public ReferenceTaxon create(ReferenceTaxon referenceTaxon)
ReferenceTaxonDao
create
in interface ReferenceTaxonDao
ReferenceTaxonDao.create(fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
public java.lang.Object create(int transform, ReferenceTaxon referenceTaxon)
ReferenceTaxonDao
Does the same thing as ReferenceTaxonDao.create(fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
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 ReferenceTaxonDao
ReferenceTaxonDao.create(int transform, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
public java.util.Collection create(java.util.Collection entities)
ReferenceTaxonDao
entities
collection
create
in interface ReferenceTaxonDao
entities
- the collection of fr.ifremer.allegro.referential.taxon.ReferenceTaxon
instances to create.
ReferenceTaxonDao.create(java.util.Collection)
public java.util.Collection create(int transform, java.util.Collection entities)
ReferenceTaxonDao
Does the same thing as ReferenceTaxonDao.create(fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
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 ReferenceTaxonDao
ReferenceTaxonDao.create(int, java.util.Collection)
public ReferenceTaxon create(java.sql.Timestamp updateDate, java.util.Collection referenceTaxonStrategies)
ReferenceTaxonDao
Creates a new fr.ifremer.allegro.referential.taxon.ReferenceTaxon
instance from all attributes and
properties and adds it to the persistent store.
create
in interface ReferenceTaxonDao
ReferenceTaxonDao.create(java.sql.Timestamp,java.util.Collection)
public java.lang.Object create(int transform, java.sql.Timestamp updateDate, java.util.Collection referenceTaxonStrategies)
ReferenceTaxonDao
Does the same thing as ReferenceTaxonDao.create(java.sql.Timestamp,java.util.Collection)
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 ReferenceTaxonDao
ReferenceTaxonDao.create(int, java.sql.Timestamp,java.util.Collection)
public void update(ReferenceTaxon referenceTaxon)
ReferenceTaxonDao
referenceTaxon
instance in the persistent store.
update
in interface ReferenceTaxonDao
ReferenceTaxonDao.update(fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
public void update(java.util.Collection entities)
ReferenceTaxonDao
entities
collection in the persistent store.
update
in interface ReferenceTaxonDao
ReferenceTaxonDao.update(java.util.Collection)
public void remove(ReferenceTaxon referenceTaxon)
ReferenceTaxonDao
remove
in interface ReferenceTaxonDao
ReferenceTaxonDao.remove(fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
public void remove(java.lang.Integer id)
ReferenceTaxonDao
identifier
from the persistent store.
remove
in interface ReferenceTaxonDao
ReferenceTaxonDao.remove(java.lang.Integer)
public void remove(java.util.Collection entities)
ReferenceTaxonDao
entities collection.
- Specified by:
remove
in interface ReferenceTaxonDao
- See Also:
ReferenceTaxonDao.remove(java.util.Collection)
public java.util.Collection getAllReferenceTaxon()
getAllReferenceTaxon
in interface ReferenceTaxonDao
ReferenceTaxonDao.getAllReferenceTaxon()
public java.util.Collection getAllReferenceTaxon(int transform)
ReferenceTaxonDao
Does the same thing as ReferenceTaxonDao.getAllReferenceTaxon()
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.
getAllReferenceTaxon
in interface ReferenceTaxonDao
ReferenceTaxonDao.getAllReferenceTaxon(int)
public java.util.Collection getAllReferenceTaxon(java.lang.String queryString)
ReferenceTaxonDao
Does the same thing as ReferenceTaxonDao.getAllReferenceTaxon()
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ReferenceTaxonDao.getAllReferenceTaxon()
.
getAllReferenceTaxon
in interface ReferenceTaxonDao
ReferenceTaxonDao.getAllReferenceTaxon(java.lang.String)
public java.util.Collection getAllReferenceTaxon(int pageNumber, int pageSize)
ReferenceTaxonDao
Does the same thing as ReferenceTaxonDao.getAllReferenceTaxon()
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.
getAllReferenceTaxon
in interface ReferenceTaxonDao
ReferenceTaxonDao.getAllReferenceTaxon(int, int)
public java.util.Collection getAllReferenceTaxon(java.lang.String queryString, int pageNumber, int pageSize)
ReferenceTaxonDao
Does the same thing as ReferenceTaxonDao.getAllReferenceTaxon(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.
getAllReferenceTaxon
in interface ReferenceTaxonDao
ReferenceTaxonDao.getAllReferenceTaxon(String, int, int)
public java.util.Collection getAllReferenceTaxon(int transform, java.lang.String queryString)
ReferenceTaxonDao
Does the same thing as ReferenceTaxonDao.getAllReferenceTaxon(int)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ReferenceTaxonDao.getAllReferenceTaxon(int)
.
getAllReferenceTaxon
in interface ReferenceTaxonDao
ReferenceTaxonDao.getAllReferenceTaxon(int, String)
public java.util.Collection getAllReferenceTaxon(int transform, int pageNumber, int pageSize)
ReferenceTaxonDao
Does the same thing as ReferenceTaxonDao.getAllReferenceTaxon(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.
getAllReferenceTaxon
in interface ReferenceTaxonDao
ReferenceTaxonDao.getAllReferenceTaxon(int, int, int)
public java.util.Collection getAllReferenceTaxon(int transform, java.lang.String queryString, int pageNumber, int pageSize)
ReferenceTaxonDao
Does the same thing as ReferenceTaxonDao.getAllReferenceTaxon(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.
getAllReferenceTaxon
in interface ReferenceTaxonDao
ReferenceTaxonDao.getAllReferenceTaxon(int, java.lang.String, int, int)
public ReferenceTaxon findReferenceTaxonById(java.lang.Integer id)
findReferenceTaxonById
in interface ReferenceTaxonDao
ReferenceTaxonDao.findReferenceTaxonById(java.lang.Integer)
public java.lang.Object findReferenceTaxonById(int transform, java.lang.Integer id)
ReferenceTaxonDao
Does the same thing as ReferenceTaxonDao.findReferenceTaxonById(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.
findReferenceTaxonById
in interface ReferenceTaxonDao
ReferenceTaxonDao.findReferenceTaxonById(int, java.lang.Integer)
public ReferenceTaxon findReferenceTaxonById(java.lang.String queryString, java.lang.Integer id)
ReferenceTaxonDao
Does the same thing as ReferenceTaxonDao.findReferenceTaxonById(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ReferenceTaxonDao.findReferenceTaxonById(java.lang.Integer)
.
findReferenceTaxonById
in interface ReferenceTaxonDao
ReferenceTaxonDao.findReferenceTaxonById(java.lang.String, java.lang.Integer)
public java.lang.Object findReferenceTaxonById(int transform, java.lang.String queryString, java.lang.Integer id)
ReferenceTaxonDao
Does the same thing as ReferenceTaxonDao.findReferenceTaxonById(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ReferenceTaxonDao.findReferenceTaxonById(int, java.lang.Integer id)
.
findReferenceTaxonById
in interface ReferenceTaxonDao
ReferenceTaxonDao.findReferenceTaxonById(int, java.lang.String, java.lang.Integer)
public ReferenceTaxon findReferenceTaxonByNaturalId(java.lang.Integer id)
findReferenceTaxonByNaturalId
in interface ReferenceTaxonDao
ReferenceTaxonDao.findReferenceTaxonByNaturalId(java.lang.Integer)
public java.lang.Object findReferenceTaxonByNaturalId(int transform, java.lang.Integer id)
ReferenceTaxonDao
Does the same thing as ReferenceTaxonDao.findReferenceTaxonByNaturalId(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.
findReferenceTaxonByNaturalId
in interface ReferenceTaxonDao
ReferenceTaxonDao.findReferenceTaxonByNaturalId(int, java.lang.Integer)
public ReferenceTaxon findReferenceTaxonByNaturalId(java.lang.String queryString, java.lang.Integer id)
ReferenceTaxonDao
Does the same thing as ReferenceTaxonDao.findReferenceTaxonByNaturalId(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ReferenceTaxonDao.findReferenceTaxonByNaturalId(java.lang.Integer)
.
findReferenceTaxonByNaturalId
in interface ReferenceTaxonDao
ReferenceTaxonDao.findReferenceTaxonByNaturalId(java.lang.String, java.lang.Integer)
public java.lang.Object findReferenceTaxonByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
ReferenceTaxonDao
Does the same thing as ReferenceTaxonDao.findReferenceTaxonByNaturalId(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ReferenceTaxonDao.findReferenceTaxonByNaturalId(int, java.lang.Integer id)
.
findReferenceTaxonByNaturalId
in interface ReferenceTaxonDao
ReferenceTaxonDao.findReferenceTaxonByNaturalId(int, java.lang.String, java.lang.Integer)
public java.util.Collection getAllReferenceTaxonSinceDateSynchro(java.sql.Timestamp updateDate)
getAllReferenceTaxonSinceDateSynchro
in interface ReferenceTaxonDao
ReferenceTaxonDao.getAllReferenceTaxonSinceDateSynchro(java.sql.Timestamp)
public java.util.Collection getAllReferenceTaxonSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
ReferenceTaxonDao
Does the same thing as ReferenceTaxonDao.getAllReferenceTaxonSinceDateSynchro(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.
getAllReferenceTaxonSinceDateSynchro
in interface ReferenceTaxonDao
ReferenceTaxonDao.getAllReferenceTaxonSinceDateSynchro(int, java.sql.Timestamp)
public java.util.Collection getAllReferenceTaxonSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
ReferenceTaxonDao
Does the same thing as ReferenceTaxonDao.getAllReferenceTaxonSinceDateSynchro(java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ReferenceTaxonDao.getAllReferenceTaxonSinceDateSynchro(java.sql.Timestamp)
.
getAllReferenceTaxonSinceDateSynchro
in interface ReferenceTaxonDao
ReferenceTaxonDao.getAllReferenceTaxonSinceDateSynchro(java.lang.String, java.sql.Timestamp)
public java.util.Collection getAllReferenceTaxonSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
ReferenceTaxonDao
Does the same thing as ReferenceTaxonDao.getAllReferenceTaxonSinceDateSynchro(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.
getAllReferenceTaxonSinceDateSynchro
in interface ReferenceTaxonDao
ReferenceTaxonDao.getAllReferenceTaxonSinceDateSynchro(int, int, java.sql.Timestamp)
public java.util.Collection getAllReferenceTaxonSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
ReferenceTaxonDao
Does the same thing as ReferenceTaxonDao.getAllReferenceTaxonSinceDateSynchro(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.
getAllReferenceTaxonSinceDateSynchro
in interface ReferenceTaxonDao
ReferenceTaxonDao.getAllReferenceTaxonSinceDateSynchro(String, int, int, java.sql.Timestamp)
public java.util.Collection getAllReferenceTaxonSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
ReferenceTaxonDao
Does the same thing as ReferenceTaxonDao.getAllReferenceTaxonSinceDateSynchro(int, java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ReferenceTaxonDao.getAllReferenceTaxonSinceDateSynchro(int, java.sql.Timestamp updateDate)
.
getAllReferenceTaxonSinceDateSynchro
in interface ReferenceTaxonDao
ReferenceTaxonDao.getAllReferenceTaxonSinceDateSynchro(int, String, java.sql.Timestamp)
public java.util.Collection getAllReferenceTaxonSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
ReferenceTaxonDao
Does the same thing as ReferenceTaxonDao.getAllReferenceTaxonSinceDateSynchro(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.
getAllReferenceTaxonSinceDateSynchro
in interface ReferenceTaxonDao
ReferenceTaxonDao.getAllReferenceTaxonSinceDateSynchro(int, int, int, java.sql.Timestamp)
public java.util.Collection getAllReferenceTaxonSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
ReferenceTaxonDao
Does the same thing as ReferenceTaxonDao.getAllReferenceTaxonSinceDateSynchro(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.
getAllReferenceTaxonSinceDateSynchro
in interface ReferenceTaxonDao
ReferenceTaxonDao.getAllReferenceTaxonSinceDateSynchro(int, java.lang.String, int, int, java.sql.Timestamp)
public ReferenceTaxon createFromClusterReferenceTaxon(ClusterReferenceTaxon clusterReferenceTaxon)
createFromClusterReferenceTaxon
in interface ReferenceTaxonDao
ReferenceTaxonDao.createFromClusterReferenceTaxon(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterReferenceTaxon)
protected abstract ReferenceTaxon handleCreateFromClusterReferenceTaxon(ClusterReferenceTaxon clusterReferenceTaxon) throws java.lang.Exception
createFromClusterReferenceTaxon(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterReferenceTaxon)
java.lang.Exception
public ClusterReferenceTaxon[] getAllClusterReferenceTaxonSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
getAllClusterReferenceTaxonSinceDateSynchro
in interface ReferenceTaxonDao
ReferenceTaxonDao.getAllClusterReferenceTaxonSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract ClusterReferenceTaxon[] handleGetAllClusterReferenceTaxonSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize) throws java.lang.Exception
getAllClusterReferenceTaxonSinceDateSynchro(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, ReferenceTaxon entity)
transform
flag is set to one of the constants defined in fr.ifremer.allegro.referential.taxon.ReferenceTaxonDao
, please note
that the ReferenceTaxonDao.TRANSFORM_NONE
constant denotes no transformation, so the entity itself
will be returned.
This method will return instances of these types:
ReferenceTaxon
- ReferenceTaxonDao.TRANSFORM_NONE
RemoteReferenceTaxonFullVO
- TRANSFORM_REMOTEREFERENCETAXONFULLVO
RemoteReferenceTaxonNaturalId
- TRANSFORM_REMOTEREFERENCETAXONNATURALID
ClusterReferenceTaxon
- TRANSFORM_CLUSTERREFERENCETAXON
ReferenceTaxonDao.TRANSFORM_NONE
is assumed.
transform
- one of the constants declared in ReferenceTaxonDao
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.taxon.ReferenceTaxon)
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.taxon.ReferenceTaxonDao
entities
- the collection of entities to transformtransformEntity(int,fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
protected ReferenceTaxon toEntity(java.lang.Object[] row)
public final void toRemoteReferenceTaxonFullVOCollection(java.util.Collection entities)
ReferenceTaxonDao
RemoteReferenceTaxonFullVO
.
toRemoteReferenceTaxonFullVOCollection
in interface ReferenceTaxonDao
ReferenceTaxonDao.toRemoteReferenceTaxonFullVOCollection(java.util.Collection)
public final RemoteReferenceTaxonFullVO[] toRemoteReferenceTaxonFullVOArray(java.util.Collection entities)
ReferenceTaxonDao
RemoteReferenceTaxonFullVO
.
toRemoteReferenceTaxonFullVOArray
in interface ReferenceTaxonDao
ReferenceTaxonDao.toRemoteReferenceTaxonFullVOArray(java.util.Collection)
protected RemoteReferenceTaxonFullVO toRemoteReferenceTaxonFullVO(java.lang.Object[] row)
ReferenceTaxonDaoImpl
class if you intend to use reporting queries.
ReferenceTaxonDao.toRemoteReferenceTaxonFullVO(fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
public final void remoteReferenceTaxonFullVOToEntityCollection(java.util.Collection instances)
ReferenceTaxonDao
RemoteReferenceTaxonFullVO
to this
DAO's entity.
remoteReferenceTaxonFullVOToEntityCollection
in interface ReferenceTaxonDao
ReferenceTaxonDao.remoteReferenceTaxonFullVOToEntityCollection(java.util.Collection)
public void toRemoteReferenceTaxonFullVO(ReferenceTaxon source, RemoteReferenceTaxonFullVO target)
ReferenceTaxonDao
toRemoteReferenceTaxonFullVO
in interface ReferenceTaxonDao
ReferenceTaxonDao.toRemoteReferenceTaxonFullVO(fr.ifremer.allegro.referential.taxon.ReferenceTaxon, fr.ifremer.allegro.referential.taxon.generic.vo.RemoteReferenceTaxonFullVO)
public RemoteReferenceTaxonFullVO toRemoteReferenceTaxonFullVO(ReferenceTaxon entity)
ReferenceTaxonDao
RemoteReferenceTaxonFullVO
.
toRemoteReferenceTaxonFullVO
in interface ReferenceTaxonDao
ReferenceTaxonDao.toRemoteReferenceTaxonFullVO(fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
public void remoteReferenceTaxonFullVOToEntity(RemoteReferenceTaxonFullVO source, ReferenceTaxon target, boolean copyIfNull)
ReferenceTaxonDao
RemoteReferenceTaxonFullVO
to the specified entity.
remoteReferenceTaxonFullVOToEntity
in interface ReferenceTaxonDao
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.taxon.ReferenceTaxonDao#remoteReferenceTaxonFullVOToEntity(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteReferenceTaxonFullVO, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
public final void toRemoteReferenceTaxonNaturalIdCollection(java.util.Collection entities)
ReferenceTaxonDao
RemoteReferenceTaxonNaturalId
.
toRemoteReferenceTaxonNaturalIdCollection
in interface ReferenceTaxonDao
ReferenceTaxonDao.toRemoteReferenceTaxonNaturalIdCollection(java.util.Collection)
public final RemoteReferenceTaxonNaturalId[] toRemoteReferenceTaxonNaturalIdArray(java.util.Collection entities)
ReferenceTaxonDao
RemoteReferenceTaxonNaturalId
.
toRemoteReferenceTaxonNaturalIdArray
in interface ReferenceTaxonDao
ReferenceTaxonDao.toRemoteReferenceTaxonNaturalIdArray(java.util.Collection)
protected RemoteReferenceTaxonNaturalId toRemoteReferenceTaxonNaturalId(java.lang.Object[] row)
ReferenceTaxonDaoImpl
class if you intend to use reporting queries.
ReferenceTaxonDao.toRemoteReferenceTaxonNaturalId(fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
public final void remoteReferenceTaxonNaturalIdToEntityCollection(java.util.Collection instances)
ReferenceTaxonDao
RemoteReferenceTaxonNaturalId
to this
DAO's entity.
remoteReferenceTaxonNaturalIdToEntityCollection
in interface ReferenceTaxonDao
ReferenceTaxonDao.remoteReferenceTaxonNaturalIdToEntityCollection(java.util.Collection)
public void toRemoteReferenceTaxonNaturalId(ReferenceTaxon source, RemoteReferenceTaxonNaturalId target)
ReferenceTaxonDao
toRemoteReferenceTaxonNaturalId
in interface ReferenceTaxonDao
ReferenceTaxonDao.toRemoteReferenceTaxonNaturalId(fr.ifremer.allegro.referential.taxon.ReferenceTaxon, fr.ifremer.allegro.referential.taxon.generic.vo.RemoteReferenceTaxonNaturalId)
public RemoteReferenceTaxonNaturalId toRemoteReferenceTaxonNaturalId(ReferenceTaxon entity)
ReferenceTaxonDao
RemoteReferenceTaxonNaturalId
.
toRemoteReferenceTaxonNaturalId
in interface ReferenceTaxonDao
ReferenceTaxonDao.toRemoteReferenceTaxonNaturalId(fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
public void remoteReferenceTaxonNaturalIdToEntity(RemoteReferenceTaxonNaturalId source, ReferenceTaxon target, boolean copyIfNull)
ReferenceTaxonDao
RemoteReferenceTaxonNaturalId
to the specified entity.
remoteReferenceTaxonNaturalIdToEntity
in interface ReferenceTaxonDao
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.taxon.ReferenceTaxonDao#remoteReferenceTaxonNaturalIdToEntity(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteReferenceTaxonNaturalId, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
public final void toClusterReferenceTaxonCollection(java.util.Collection entities)
ReferenceTaxonDao
ClusterReferenceTaxon
.
toClusterReferenceTaxonCollection
in interface ReferenceTaxonDao
ReferenceTaxonDao.toClusterReferenceTaxonCollection(java.util.Collection)
public final ClusterReferenceTaxon[] toClusterReferenceTaxonArray(java.util.Collection entities)
ReferenceTaxonDao
ClusterReferenceTaxon
.
toClusterReferenceTaxonArray
in interface ReferenceTaxonDao
ReferenceTaxonDao.toClusterReferenceTaxonArray(java.util.Collection)
protected ClusterReferenceTaxon toClusterReferenceTaxon(java.lang.Object[] row)
ReferenceTaxonDaoImpl
class if you intend to use reporting queries.
ReferenceTaxonDao.toClusterReferenceTaxon(fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
public final void clusterReferenceTaxonToEntityCollection(java.util.Collection instances)
ReferenceTaxonDao
ClusterReferenceTaxon
to this
DAO's entity.
clusterReferenceTaxonToEntityCollection
in interface ReferenceTaxonDao
ReferenceTaxonDao.clusterReferenceTaxonToEntityCollection(java.util.Collection)
public void toClusterReferenceTaxon(ReferenceTaxon source, ClusterReferenceTaxon target)
ReferenceTaxonDao
toClusterReferenceTaxon
in interface ReferenceTaxonDao
ReferenceTaxonDao.toClusterReferenceTaxon(fr.ifremer.allegro.referential.taxon.ReferenceTaxon, fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterReferenceTaxon)
public ClusterReferenceTaxon toClusterReferenceTaxon(ReferenceTaxon entity)
ReferenceTaxonDao
ClusterReferenceTaxon
.
toClusterReferenceTaxon
in interface ReferenceTaxonDao
ReferenceTaxonDao.toClusterReferenceTaxon(fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
public void clusterReferenceTaxonToEntity(ClusterReferenceTaxon source, ReferenceTaxon target, boolean copyIfNull)
ReferenceTaxonDao
ClusterReferenceTaxon
to the specified entity.
clusterReferenceTaxonToEntity
in interface ReferenceTaxonDao
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.taxon.ReferenceTaxonDao#clusterReferenceTaxonToEntity(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterReferenceTaxon, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
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)
ReferenceTaxonDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface ReferenceTaxonDao
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.ReferenceTaxonDao.search(int, int, int, fr.ifremer.allegro.Search)
public PaginationResult search(int pageNumber, int pageSize, Search search)
ReferenceTaxonDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface ReferenceTaxonDao
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.ReferenceTaxonDao.search(int, int, fr.ifremer.allegro.Search)
public java.util.Set search(int transform, Search search)
ReferenceTaxonDao
ReferenceTaxonDao.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 ReferenceTaxonDao
transform
- the transformation flag.search
- the search object which provides the search parameters and pagination specification.
ReferenceTaxonDao.search(int, fr.ifremer.allegro.Search)
public java.util.Set search(Search search)
ReferenceTaxonDao
search
object.
search
in interface ReferenceTaxonDao
search
- the search object which provides the search parameters and pagination specification.
ReferenceTaxonDao.search(fr.ifremer.allegro.Search)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |