|
||||||||||
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.AuthorDaoBase
public abstract class AuthorDaoBase
Base Spring DAO Class: is able to create, update, remove, load, and find
objects of type fr.ifremer.allegro.referential.taxon.Author
.
Author
Field Summary |
---|
Fields inherited from interface fr.ifremer.allegro.referential.taxon.AuthorDao |
---|
TRANSFORM_CLUSTERAUTHOR, TRANSFORM_NONE, TRANSFORM_REMOTEAUTHORFULLVO, TRANSFORM_REMOTEAUTHORNATURALID |
Constructor Summary | |
---|---|
AuthorDaoBase()
|
Method Summary | |
---|---|
void |
clusterAuthorToEntity(ClusterAuthor source,
Author target,
boolean copyIfNull)
Copies the fields of ClusterAuthor to the specified entity. |
void |
clusterAuthorToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type ClusterAuthor to this
DAO's entity. |
Author |
create(Author author)
Creates an instance of fr.ifremer.allegro.referential.taxon.Author and adds it to the persistent store. |
java.util.Collection |
create(java.util.Collection entities)
Creates a new instance of fr.ifremer.allegro.referential.taxon.Author and adds from the passed in entities collection |
Author |
create(java.util.Date creationDate,
Status status)
Creates a new fr.ifremer.allegro.referential.taxon.Author
instance from only required properties (attributes
and association ends) and adds it to the persistent store. |
java.lang.Object |
create(int transform,
Author author)
Does the same thing as AuthorDao.create(fr.ifremer.allegro.referential.taxon.Author) with an
additional flag called transform . |
java.util.Collection |
create(int transform,
java.util.Collection entities)
Does the same thing as AuthorDao.create(fr.ifremer.allegro.referential.taxon.Author) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
java.util.Date creationDate,
Status status)
Does the same thing as AuthorDao.create(java.util.Date,fr.ifremer.allegro.referential.Status) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
java.lang.String name,
java.lang.String location,
java.lang.String comments,
java.util.Date creationDate,
java.sql.Timestamp updateDate,
Status status,
java.util.Collection referenceDocuments)
Does the same thing as AuthorDao.create(java.lang.String,java.lang.String,java.lang.String,java.util.Date,java.sql.Timestamp,fr.ifremer.allegro.referential.Status,java.util.Collection) with an
additional flag called transform . |
Author |
create(java.lang.String name,
java.lang.String location,
java.lang.String comments,
java.util.Date creationDate,
java.sql.Timestamp updateDate,
Status status,
java.util.Collection referenceDocuments)
Creates a new fr.ifremer.allegro.referential.taxon.Author
instance from all attributes and
properties and adds it to the persistent store. |
Author |
createFromClusterAuthor(ClusterAuthor clusterAuthor)
|
Author |
findAuthorById(java.lang.Integer id)
|
java.lang.Object |
findAuthorById(int transform,
java.lang.Integer id)
Does the same thing as AuthorDao.findAuthorById(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findAuthorById(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as AuthorDao.findAuthorById(int, java.lang.Integer) with an
additional argument called queryString . |
Author |
findAuthorById(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as AuthorDao.findAuthorById(java.lang.Integer) with an
additional argument called queryString . |
Author |
findAuthorByNaturalId(java.lang.Integer id)
|
java.lang.Object |
findAuthorByNaturalId(int transform,
java.lang.Integer id)
Does the same thing as AuthorDao.findAuthorByNaturalId(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findAuthorByNaturalId(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as AuthorDao.findAuthorByNaturalId(int, java.lang.Integer) with an
additional argument called queryString . |
Author |
findAuthorByNaturalId(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as AuthorDao.findAuthorByNaturalId(java.lang.Integer) with an
additional argument called queryString . |
java.util.Collection |
findAuthorByStatus(int transform,
int pageNumber,
int pageSize,
Status status)
Does the same thing as AuthorDao.findAuthorByStatus(int, fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findAuthorByStatus(int pageNumber,
int pageSize,
Status status)
Does the same thing as AuthorDao.findAuthorByStatus(fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findAuthorByStatus(int transform,
Status status)
Does the same thing as AuthorDao.findAuthorByStatus(fr.ifremer.allegro.referential.Status) with an
additional flag called transform . |
java.util.Collection |
findAuthorByStatus(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
Status status)
Does the same thing as AuthorDao.findAuthorByStatus(int, String, fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findAuthorByStatus(int transform,
java.lang.String queryString,
Status status)
Does the same thing as AuthorDao.findAuthorByStatus(int, fr.ifremer.allegro.referential.Status) with an
additional argument called queryString . |
java.util.Collection |
findAuthorByStatus(Status status)
|
java.util.Collection |
findAuthorByStatus(java.lang.String queryString,
int pageNumber,
int pageSize,
Status status)
Does the same thing as AuthorDao.findAuthorByStatus(String, fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findAuthorByStatus(java.lang.String queryString,
Status status)
Does the same thing as AuthorDao.findAuthorByStatus(fr.ifremer.allegro.referential.Status) with an
additional argument called queryString . |
java.util.Collection |
getAllAuthor()
|
java.util.Collection |
getAllAuthor(int transform)
Does the same thing as AuthorDao.getAllAuthor() with an
additional flag called transform . |
java.util.Collection |
getAllAuthor(int pageNumber,
int pageSize)
Does the same thing as AuthorDao.getAllAuthor() with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllAuthor(int transform,
int pageNumber,
int pageSize)
Does the same thing as AuthorDao.getAllAuthor(int) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllAuthor(int transform,
java.lang.String queryString)
Does the same thing as AuthorDao.getAllAuthor(int) with an
additional argument called queryString . |
java.util.Collection |
getAllAuthor(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as AuthorDao.getAllAuthor(int, String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllAuthor(java.lang.String queryString)
Does the same thing as AuthorDao.getAllAuthor() with an
additional argument called queryString . |
java.util.Collection |
getAllAuthor(java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as AuthorDao.getAllAuthor(String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllAuthorSinceDateSynchro(int transform,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as AuthorDao.getAllAuthorSinceDateSynchro(int, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllAuthorSinceDateSynchro(int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as AuthorDao.getAllAuthorSinceDateSynchro(java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllAuthorSinceDateSynchro(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as AuthorDao.getAllAuthorSinceDateSynchro(int, String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllAuthorSinceDateSynchro(int transform,
java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as AuthorDao.getAllAuthorSinceDateSynchro(int, java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllAuthorSinceDateSynchro(int transform,
java.sql.Timestamp updateDate)
Does the same thing as AuthorDao.getAllAuthorSinceDateSynchro(java.sql.Timestamp) with an
additional flag called transform . |
java.util.Collection |
getAllAuthorSinceDateSynchro(java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as AuthorDao.getAllAuthorSinceDateSynchro(String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllAuthorSinceDateSynchro(java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as AuthorDao.getAllAuthorSinceDateSynchro(java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllAuthorSinceDateSynchro(java.sql.Timestamp updateDate)
|
ClusterAuthor[] |
getAllClusterAuthorSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize)
|
protected java.security.Principal |
getPrincipal()
Gets the current principal if one has been set,
otherwise returns null . |
protected ReferenceDocumentDao |
getReferenceDocumentDao()
Gets the reference to referenceDocumentDao . |
protected StatusDao |
getStatusDao()
Gets the reference to statusDao . |
protected abstract Author |
handleCreateFromClusterAuthor(ClusterAuthor clusterAuthor)
Performs the core logic for createFromClusterAuthor(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterAuthor) |
protected abstract ClusterAuthor[] |
handleGetAllClusterAuthorSinceDateSynchro(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 getAllClusterAuthorSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer) |
Author |
load(java.lang.Integer id)
Loads an instance of fr.ifremer.allegro.referential.taxon.Author from the persistent store. |
java.lang.Object |
load(int transform,
java.lang.Integer id)
Does the same thing as AuthorDao.load(java.lang.Integer) with an
additional flag called transform . |
java.util.Collection |
loadAll()
Loads all entities of type Author . |
java.util.Collection |
loadAll(int transform)
Does the same thing as AuthorDao.loadAll() with an
additional flag called transform . |
java.util.Collection |
loadAll(int pageNumber,
int pageSize)
Does the same thing as AuthorDao.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 AuthorDao.loadAll(int) with an
additional two arguments called pageNumber and pageSize . |
void |
remoteAuthorFullVOToEntity(RemoteAuthorFullVO source,
Author target,
boolean copyIfNull)
Copies the fields of RemoteAuthorFullVO to the specified entity. |
void |
remoteAuthorFullVOToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteAuthorFullVO to this
DAO's entity. |
void |
remoteAuthorNaturalIdToEntity(RemoteAuthorNaturalId source,
Author target,
boolean copyIfNull)
Copies the fields of RemoteAuthorNaturalId to the specified entity. |
void |
remoteAuthorNaturalIdToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteAuthorNaturalId to this
DAO's entity. |
void |
remove(Author author)
Removes the instance of fr.ifremer.allegro.referential.taxon.Author from the persistent store. |
void |
remove(java.util.Collection entities)
Removes all entities in the given entities |
void |
remove(java.lang.Integer id)
Removes the instance of fr.ifremer.allegro.referential.taxon.Author 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 AuthorDao.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 |
setReferenceDocumentDao(ReferenceDocumentDao referenceDocumentDao)
Sets the reference to referenceDocumentDao . |
void |
setStatusDao(StatusDao statusDao)
Sets the reference to statusDao . |
ClusterAuthor |
toClusterAuthor(Author entity)
Converts this DAO's entity to an object of type ClusterAuthor . |
void |
toClusterAuthor(Author source,
ClusterAuthor target)
Copies the fields of the specified entity to the target value object. |
protected ClusterAuthor |
toClusterAuthor(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
ClusterAuthor[] |
toClusterAuthorArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type ClusterAuthor . |
void |
toClusterAuthorCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type ClusterAuthor . |
protected Author |
toEntity(java.lang.Object[] row)
|
RemoteAuthorFullVO |
toRemoteAuthorFullVO(Author entity)
Converts this DAO's entity to an object of type RemoteAuthorFullVO . |
void |
toRemoteAuthorFullVO(Author source,
RemoteAuthorFullVO target)
Copies the fields of the specified entity to the target value object. |
protected RemoteAuthorFullVO |
toRemoteAuthorFullVO(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteAuthorFullVO[] |
toRemoteAuthorFullVOArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteAuthorFullVO . |
void |
toRemoteAuthorFullVOCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteAuthorFullVO . |
RemoteAuthorNaturalId |
toRemoteAuthorNaturalId(Author entity)
Converts this DAO's entity to an object of type RemoteAuthorNaturalId . |
void |
toRemoteAuthorNaturalId(Author source,
RemoteAuthorNaturalId target)
Copies the fields of the specified entity to the target value object. |
protected RemoteAuthorNaturalId |
toRemoteAuthorNaturalId(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteAuthorNaturalId[] |
toRemoteAuthorNaturalIdArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteAuthorNaturalId . |
void |
toRemoteAuthorNaturalIdCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteAuthorNaturalId . |
protected void |
transformEntities(int transform,
java.util.Collection entities)
Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.taxon.Author)
method. |
protected java.lang.Object |
transformEntity(int transform,
Author 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.AuthorDao , please note
that the AuthorDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself
will be returned. |
void |
update(Author author)
Updates the author instance in the persistent store. |
void |
update(java.util.Collection entities)
Updates all instances in the entities collection in the persistent store. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface fr.ifremer.allegro.referential.taxon.AuthorDao |
---|
clusterAuthorToEntity, remoteAuthorFullVOToEntity, remoteAuthorNaturalIdToEntity |
Constructor Detail |
---|
public AuthorDaoBase()
Method Detail |
---|
public void setStatusDao(StatusDao statusDao)
statusDao
.
protected StatusDao getStatusDao()
statusDao
.
public void setReferenceDocumentDao(ReferenceDocumentDao referenceDocumentDao)
referenceDocumentDao
.
protected ReferenceDocumentDao getReferenceDocumentDao()
referenceDocumentDao
.
public java.lang.Object load(int transform, java.lang.Integer id)
AuthorDao
Does the same thing as AuthorDao.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 AuthorDao
id
- identifier of the entity to load
AuthorDao.load(int, java.lang.Integer)
public Author load(java.lang.Integer id)
AuthorDao
load
in interface AuthorDao
AuthorDao.load(java.lang.Integer)
public java.util.Collection loadAll()
AuthorDao
Author
.
loadAll
in interface AuthorDao
AuthorDao.loadAll()
public java.util.Collection loadAll(int transform)
AuthorDao
Does the same thing as AuthorDao.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 AuthorDao
transform
- the flag indicating what transformation to use.
AuthorDao.loadAll(int)
public java.util.Collection loadAll(int pageNumber, int pageSize)
AuthorDao
Does the same thing as AuthorDao.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 AuthorDao
pageNumber
- the page number to retrieve when paging results.pageSize
- the size of the page to retrieve when paging results.
AuthorDao.loadAll(int, int)
public java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
AuthorDao
Does the same thing as AuthorDao.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 AuthorDao
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.
AuthorDao.loadAll(int, int, int)
public Author create(Author author)
AuthorDao
create
in interface AuthorDao
AuthorDao.create(fr.ifremer.allegro.referential.taxon.Author)
public java.lang.Object create(int transform, Author author)
AuthorDao
Does the same thing as AuthorDao.create(fr.ifremer.allegro.referential.taxon.Author)
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 AuthorDao
AuthorDao.create(int transform, fr.ifremer.allegro.referential.taxon.Author)
public java.util.Collection create(java.util.Collection entities)
AuthorDao
entities
collection
create
in interface AuthorDao
entities
- the collection of fr.ifremer.allegro.referential.taxon.Author
instances to create.
AuthorDao.create(java.util.Collection)
public java.util.Collection create(int transform, java.util.Collection entities)
AuthorDao
Does the same thing as AuthorDao.create(fr.ifremer.allegro.referential.taxon.Author)
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 AuthorDao
AuthorDao.create(int, java.util.Collection)
public Author create(java.lang.String name, java.lang.String location, java.lang.String comments, java.util.Date creationDate, java.sql.Timestamp updateDate, Status status, java.util.Collection referenceDocuments)
AuthorDao
Creates a new fr.ifremer.allegro.referential.taxon.Author
instance from all attributes and
properties and adds it to the persistent store.
create
in interface AuthorDao
AuthorDao.create(java.lang.String,java.lang.String,java.lang.String,java.util.Date,java.sql.Timestamp,fr.ifremer.allegro.referential.Status,java.util.Collection)
public java.lang.Object create(int transform, java.lang.String name, java.lang.String location, java.lang.String comments, java.util.Date creationDate, java.sql.Timestamp updateDate, Status status, java.util.Collection referenceDocuments)
AuthorDao
Does the same thing as AuthorDao.create(java.lang.String,java.lang.String,java.lang.String,java.util.Date,java.sql.Timestamp,fr.ifremer.allegro.referential.Status,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 AuthorDao
AuthorDao.create(int, java.lang.String,java.lang.String,java.lang.String,java.util.Date,java.sql.Timestamp,fr.ifremer.allegro.referential.Status,java.util.Collection)
public Author create(java.util.Date creationDate, Status status)
AuthorDao
Creates a new fr.ifremer.allegro.referential.taxon.Author
instance from only required properties (attributes
and association ends) and adds it to the persistent store.
create
in interface AuthorDao
AuthorDao.create(java.util.Date,fr.ifremer.allegro.referential.Status)
public java.lang.Object create(int transform, java.util.Date creationDate, Status status)
AuthorDao
Does the same thing as AuthorDao.create(java.util.Date,fr.ifremer.allegro.referential.Status)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOTWILL BE passed through an operation which can optionally
transform the entity (into a value object for example). By default, transformation does
not occur.
create
in interface AuthorDao
AuthorDao.create(int, java.util.Date,fr.ifremer.allegro.referential.Status)
public void update(Author author)
AuthorDao
author
instance in the persistent store.
update
in interface AuthorDao
AuthorDao.update(fr.ifremer.allegro.referential.taxon.Author)
public void update(java.util.Collection entities)
AuthorDao
entities
collection in the persistent store.
update
in interface AuthorDao
AuthorDao.update(java.util.Collection)
public void remove(Author author)
AuthorDao
remove
in interface AuthorDao
AuthorDao.remove(fr.ifremer.allegro.referential.taxon.Author)
public void remove(java.lang.Integer id)
AuthorDao
identifier
from the persistent store.
remove
in interface AuthorDao
AuthorDao.remove(java.lang.Integer)
public void remove(java.util.Collection entities)
AuthorDao
entities collection.
- Specified by:
remove
in interface AuthorDao
- See Also:
AuthorDao.remove(java.util.Collection)
public java.util.Collection getAllAuthor()
getAllAuthor
in interface AuthorDao
AuthorDao.getAllAuthor()
public java.util.Collection getAllAuthor(int transform)
AuthorDao
Does the same thing as AuthorDao.getAllAuthor()
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.
getAllAuthor
in interface AuthorDao
AuthorDao.getAllAuthor(int)
public java.util.Collection getAllAuthor(java.lang.String queryString)
AuthorDao
Does the same thing as AuthorDao.getAllAuthor()
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in AuthorDao.getAllAuthor()
.
getAllAuthor
in interface AuthorDao
AuthorDao.getAllAuthor(java.lang.String)
public java.util.Collection getAllAuthor(int pageNumber, int pageSize)
AuthorDao
Does the same thing as AuthorDao.getAllAuthor()
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.
getAllAuthor
in interface AuthorDao
AuthorDao.getAllAuthor(int, int)
public java.util.Collection getAllAuthor(java.lang.String queryString, int pageNumber, int pageSize)
AuthorDao
Does the same thing as AuthorDao.getAllAuthor(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.
getAllAuthor
in interface AuthorDao
AuthorDao.getAllAuthor(String, int, int)
public java.util.Collection getAllAuthor(int transform, java.lang.String queryString)
AuthorDao
Does the same thing as AuthorDao.getAllAuthor(int)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in AuthorDao.getAllAuthor(int)
.
getAllAuthor
in interface AuthorDao
AuthorDao.getAllAuthor(int, String)
public java.util.Collection getAllAuthor(int transform, int pageNumber, int pageSize)
AuthorDao
Does the same thing as AuthorDao.getAllAuthor(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.
getAllAuthor
in interface AuthorDao
AuthorDao.getAllAuthor(int, int, int)
public java.util.Collection getAllAuthor(int transform, java.lang.String queryString, int pageNumber, int pageSize)
AuthorDao
Does the same thing as AuthorDao.getAllAuthor(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.
getAllAuthor
in interface AuthorDao
AuthorDao.getAllAuthor(int, java.lang.String, int, int)
public Author findAuthorById(java.lang.Integer id)
findAuthorById
in interface AuthorDao
AuthorDao.findAuthorById(java.lang.Integer)
public java.lang.Object findAuthorById(int transform, java.lang.Integer id)
AuthorDao
Does the same thing as AuthorDao.findAuthorById(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.
findAuthorById
in interface AuthorDao
AuthorDao.findAuthorById(int, java.lang.Integer)
public Author findAuthorById(java.lang.String queryString, java.lang.Integer id)
AuthorDao
Does the same thing as AuthorDao.findAuthorById(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in AuthorDao.findAuthorById(java.lang.Integer)
.
findAuthorById
in interface AuthorDao
AuthorDao.findAuthorById(java.lang.String, java.lang.Integer)
public java.lang.Object findAuthorById(int transform, java.lang.String queryString, java.lang.Integer id)
AuthorDao
Does the same thing as AuthorDao.findAuthorById(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in AuthorDao.findAuthorById(int, java.lang.Integer id)
.
findAuthorById
in interface AuthorDao
AuthorDao.findAuthorById(int, java.lang.String, java.lang.Integer)
public java.util.Collection findAuthorByStatus(Status status)
findAuthorByStatus
in interface AuthorDao
AuthorDao.findAuthorByStatus(fr.ifremer.allegro.referential.Status)
public java.util.Collection findAuthorByStatus(int transform, Status status)
AuthorDao
Does the same thing as AuthorDao.findAuthorByStatus(fr.ifremer.allegro.referential.Status)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
findAuthorByStatus
in interface AuthorDao
AuthorDao.findAuthorByStatus(int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findAuthorByStatus(java.lang.String queryString, Status status)
AuthorDao
Does the same thing as AuthorDao.findAuthorByStatus(fr.ifremer.allegro.referential.Status)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in AuthorDao.findAuthorByStatus(fr.ifremer.allegro.referential.Status)
.
findAuthorByStatus
in interface AuthorDao
AuthorDao.findAuthorByStatus(java.lang.String, fr.ifremer.allegro.referential.Status)
public java.util.Collection findAuthorByStatus(int pageNumber, int pageSize, Status status)
AuthorDao
Does the same thing as AuthorDao.findAuthorByStatus(fr.ifremer.allegro.referential.Status)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findAuthorByStatus
in interface AuthorDao
AuthorDao.findAuthorByStatus(int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findAuthorByStatus(java.lang.String queryString, int pageNumber, int pageSize, Status status)
AuthorDao
Does the same thing as AuthorDao.findAuthorByStatus(String, fr.ifremer.allegro.referential.Status)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findAuthorByStatus
in interface AuthorDao
AuthorDao.findAuthorByStatus(String, int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findAuthorByStatus(int transform, java.lang.String queryString, Status status)
AuthorDao
Does the same thing as AuthorDao.findAuthorByStatus(int, fr.ifremer.allegro.referential.Status)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in AuthorDao.findAuthorByStatus(int, fr.ifremer.allegro.referential.Status status)
.
findAuthorByStatus
in interface AuthorDao
AuthorDao.findAuthorByStatus(int, String, fr.ifremer.allegro.referential.Status)
public java.util.Collection findAuthorByStatus(int transform, int pageNumber, int pageSize, Status status)
AuthorDao
Does the same thing as AuthorDao.findAuthorByStatus(int, fr.ifremer.allegro.referential.Status)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findAuthorByStatus
in interface AuthorDao
AuthorDao.findAuthorByStatus(int, int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findAuthorByStatus(int transform, java.lang.String queryString, int pageNumber, int pageSize, Status status)
AuthorDao
Does the same thing as AuthorDao.findAuthorByStatus(int, String, fr.ifremer.allegro.referential.Status)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findAuthorByStatus
in interface AuthorDao
AuthorDao.findAuthorByStatus(int, java.lang.String, int, int, fr.ifremer.allegro.referential.Status)
public Author findAuthorByNaturalId(java.lang.Integer id)
findAuthorByNaturalId
in interface AuthorDao
AuthorDao.findAuthorByNaturalId(java.lang.Integer)
public java.lang.Object findAuthorByNaturalId(int transform, java.lang.Integer id)
AuthorDao
Does the same thing as AuthorDao.findAuthorByNaturalId(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.
findAuthorByNaturalId
in interface AuthorDao
AuthorDao.findAuthorByNaturalId(int, java.lang.Integer)
public Author findAuthorByNaturalId(java.lang.String queryString, java.lang.Integer id)
AuthorDao
Does the same thing as AuthorDao.findAuthorByNaturalId(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in AuthorDao.findAuthorByNaturalId(java.lang.Integer)
.
findAuthorByNaturalId
in interface AuthorDao
AuthorDao.findAuthorByNaturalId(java.lang.String, java.lang.Integer)
public java.lang.Object findAuthorByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
AuthorDao
Does the same thing as AuthorDao.findAuthorByNaturalId(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in AuthorDao.findAuthorByNaturalId(int, java.lang.Integer id)
.
findAuthorByNaturalId
in interface AuthorDao
AuthorDao.findAuthorByNaturalId(int, java.lang.String, java.lang.Integer)
public java.util.Collection getAllAuthorSinceDateSynchro(java.sql.Timestamp updateDate)
getAllAuthorSinceDateSynchro
in interface AuthorDao
AuthorDao.getAllAuthorSinceDateSynchro(java.sql.Timestamp)
public java.util.Collection getAllAuthorSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
AuthorDao
Does the same thing as AuthorDao.getAllAuthorSinceDateSynchro(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.
getAllAuthorSinceDateSynchro
in interface AuthorDao
AuthorDao.getAllAuthorSinceDateSynchro(int, java.sql.Timestamp)
public java.util.Collection getAllAuthorSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
AuthorDao
Does the same thing as AuthorDao.getAllAuthorSinceDateSynchro(java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in AuthorDao.getAllAuthorSinceDateSynchro(java.sql.Timestamp)
.
getAllAuthorSinceDateSynchro
in interface AuthorDao
AuthorDao.getAllAuthorSinceDateSynchro(java.lang.String, java.sql.Timestamp)
public java.util.Collection getAllAuthorSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
AuthorDao
Does the same thing as AuthorDao.getAllAuthorSinceDateSynchro(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.
getAllAuthorSinceDateSynchro
in interface AuthorDao
AuthorDao.getAllAuthorSinceDateSynchro(int, int, java.sql.Timestamp)
public java.util.Collection getAllAuthorSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
AuthorDao
Does the same thing as AuthorDao.getAllAuthorSinceDateSynchro(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.
getAllAuthorSinceDateSynchro
in interface AuthorDao
AuthorDao.getAllAuthorSinceDateSynchro(String, int, int, java.sql.Timestamp)
public java.util.Collection getAllAuthorSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
AuthorDao
Does the same thing as AuthorDao.getAllAuthorSinceDateSynchro(int, java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in AuthorDao.getAllAuthorSinceDateSynchro(int, java.sql.Timestamp updateDate)
.
getAllAuthorSinceDateSynchro
in interface AuthorDao
AuthorDao.getAllAuthorSinceDateSynchro(int, String, java.sql.Timestamp)
public java.util.Collection getAllAuthorSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
AuthorDao
Does the same thing as AuthorDao.getAllAuthorSinceDateSynchro(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.
getAllAuthorSinceDateSynchro
in interface AuthorDao
AuthorDao.getAllAuthorSinceDateSynchro(int, int, int, java.sql.Timestamp)
public java.util.Collection getAllAuthorSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
AuthorDao
Does the same thing as AuthorDao.getAllAuthorSinceDateSynchro(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.
getAllAuthorSinceDateSynchro
in interface AuthorDao
AuthorDao.getAllAuthorSinceDateSynchro(int, java.lang.String, int, int, java.sql.Timestamp)
public Author createFromClusterAuthor(ClusterAuthor clusterAuthor)
createFromClusterAuthor
in interface AuthorDao
AuthorDao.createFromClusterAuthor(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterAuthor)
protected abstract Author handleCreateFromClusterAuthor(ClusterAuthor clusterAuthor) throws java.lang.Exception
createFromClusterAuthor(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterAuthor)
java.lang.Exception
public ClusterAuthor[] getAllClusterAuthorSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
getAllClusterAuthorSinceDateSynchro
in interface AuthorDao
AuthorDao.getAllClusterAuthorSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract ClusterAuthor[] handleGetAllClusterAuthorSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize) throws java.lang.Exception
getAllClusterAuthorSinceDateSynchro(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, Author entity)
transform
flag is set to one of the constants defined in fr.ifremer.allegro.referential.taxon.AuthorDao
, please note
that the AuthorDao.TRANSFORM_NONE
constant denotes no transformation, so the entity itself
will be returned.
This method will return instances of these types:
Author
- AuthorDao.TRANSFORM_NONE
RemoteAuthorFullVO
- TRANSFORM_REMOTEAUTHORFULLVO
RemoteAuthorNaturalId
- TRANSFORM_REMOTEAUTHORNATURALID
ClusterAuthor
- TRANSFORM_CLUSTERAUTHOR
AuthorDao.TRANSFORM_NONE
is assumed.
transform
- one of the constants declared in AuthorDao
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.Author)
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.AuthorDao
entities
- the collection of entities to transformtransformEntity(int,fr.ifremer.allegro.referential.taxon.Author)
protected Author toEntity(java.lang.Object[] row)
public final void toRemoteAuthorFullVOCollection(java.util.Collection entities)
AuthorDao
RemoteAuthorFullVO
.
toRemoteAuthorFullVOCollection
in interface AuthorDao
AuthorDao.toRemoteAuthorFullVOCollection(java.util.Collection)
public final RemoteAuthorFullVO[] toRemoteAuthorFullVOArray(java.util.Collection entities)
AuthorDao
RemoteAuthorFullVO
.
toRemoteAuthorFullVOArray
in interface AuthorDao
AuthorDao.toRemoteAuthorFullVOArray(java.util.Collection)
protected RemoteAuthorFullVO toRemoteAuthorFullVO(java.lang.Object[] row)
AuthorDaoImpl
class if you intend to use reporting queries.
AuthorDao.toRemoteAuthorFullVO(fr.ifremer.allegro.referential.taxon.Author)
public final void remoteAuthorFullVOToEntityCollection(java.util.Collection instances)
AuthorDao
RemoteAuthorFullVO
to this
DAO's entity.
remoteAuthorFullVOToEntityCollection
in interface AuthorDao
AuthorDao.remoteAuthorFullVOToEntityCollection(java.util.Collection)
public void toRemoteAuthorFullVO(Author source, RemoteAuthorFullVO target)
AuthorDao
toRemoteAuthorFullVO
in interface AuthorDao
AuthorDao.toRemoteAuthorFullVO(fr.ifremer.allegro.referential.taxon.Author, fr.ifremer.allegro.referential.taxon.generic.vo.RemoteAuthorFullVO)
public RemoteAuthorFullVO toRemoteAuthorFullVO(Author entity)
AuthorDao
RemoteAuthorFullVO
.
toRemoteAuthorFullVO
in interface AuthorDao
AuthorDao.toRemoteAuthorFullVO(fr.ifremer.allegro.referential.taxon.Author)
public void remoteAuthorFullVOToEntity(RemoteAuthorFullVO source, Author target, boolean copyIfNull)
AuthorDao
RemoteAuthorFullVO
to the specified entity.
remoteAuthorFullVOToEntity
in interface AuthorDao
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.AuthorDao#remoteAuthorFullVOToEntity(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteAuthorFullVO, fr.ifremer.allegro.referential.taxon.Author)
public final void toRemoteAuthorNaturalIdCollection(java.util.Collection entities)
AuthorDao
RemoteAuthorNaturalId
.
toRemoteAuthorNaturalIdCollection
in interface AuthorDao
AuthorDao.toRemoteAuthorNaturalIdCollection(java.util.Collection)
public final RemoteAuthorNaturalId[] toRemoteAuthorNaturalIdArray(java.util.Collection entities)
AuthorDao
RemoteAuthorNaturalId
.
toRemoteAuthorNaturalIdArray
in interface AuthorDao
AuthorDao.toRemoteAuthorNaturalIdArray(java.util.Collection)
protected RemoteAuthorNaturalId toRemoteAuthorNaturalId(java.lang.Object[] row)
AuthorDaoImpl
class if you intend to use reporting queries.
AuthorDao.toRemoteAuthorNaturalId(fr.ifremer.allegro.referential.taxon.Author)
public final void remoteAuthorNaturalIdToEntityCollection(java.util.Collection instances)
AuthorDao
RemoteAuthorNaturalId
to this
DAO's entity.
remoteAuthorNaturalIdToEntityCollection
in interface AuthorDao
AuthorDao.remoteAuthorNaturalIdToEntityCollection(java.util.Collection)
public void toRemoteAuthorNaturalId(Author source, RemoteAuthorNaturalId target)
AuthorDao
toRemoteAuthorNaturalId
in interface AuthorDao
AuthorDao.toRemoteAuthorNaturalId(fr.ifremer.allegro.referential.taxon.Author, fr.ifremer.allegro.referential.taxon.generic.vo.RemoteAuthorNaturalId)
public RemoteAuthorNaturalId toRemoteAuthorNaturalId(Author entity)
AuthorDao
RemoteAuthorNaturalId
.
toRemoteAuthorNaturalId
in interface AuthorDao
AuthorDao.toRemoteAuthorNaturalId(fr.ifremer.allegro.referential.taxon.Author)
public void remoteAuthorNaturalIdToEntity(RemoteAuthorNaturalId source, Author target, boolean copyIfNull)
AuthorDao
RemoteAuthorNaturalId
to the specified entity.
remoteAuthorNaturalIdToEntity
in interface AuthorDao
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.AuthorDao#remoteAuthorNaturalIdToEntity(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteAuthorNaturalId, fr.ifremer.allegro.referential.taxon.Author)
public final void toClusterAuthorCollection(java.util.Collection entities)
AuthorDao
ClusterAuthor
.
toClusterAuthorCollection
in interface AuthorDao
AuthorDao.toClusterAuthorCollection(java.util.Collection)
public final ClusterAuthor[] toClusterAuthorArray(java.util.Collection entities)
AuthorDao
ClusterAuthor
.
toClusterAuthorArray
in interface AuthorDao
AuthorDao.toClusterAuthorArray(java.util.Collection)
protected ClusterAuthor toClusterAuthor(java.lang.Object[] row)
AuthorDaoImpl
class if you intend to use reporting queries.
AuthorDao.toClusterAuthor(fr.ifremer.allegro.referential.taxon.Author)
public final void clusterAuthorToEntityCollection(java.util.Collection instances)
AuthorDao
ClusterAuthor
to this
DAO's entity.
clusterAuthorToEntityCollection
in interface AuthorDao
AuthorDao.clusterAuthorToEntityCollection(java.util.Collection)
public void toClusterAuthor(Author source, ClusterAuthor target)
AuthorDao
toClusterAuthor
in interface AuthorDao
AuthorDao.toClusterAuthor(fr.ifremer.allegro.referential.taxon.Author, fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterAuthor)
public ClusterAuthor toClusterAuthor(Author entity)
AuthorDao
ClusterAuthor
.
toClusterAuthor
in interface AuthorDao
AuthorDao.toClusterAuthor(fr.ifremer.allegro.referential.taxon.Author)
public void clusterAuthorToEntity(ClusterAuthor source, Author target, boolean copyIfNull)
AuthorDao
ClusterAuthor
to the specified entity.
clusterAuthorToEntity
in interface AuthorDao
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.AuthorDao#clusterAuthorToEntity(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterAuthor, fr.ifremer.allegro.referential.taxon.Author)
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)
AuthorDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface AuthorDao
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.AuthorDao.search(int, int, int, fr.ifremer.allegro.Search)
public PaginationResult search(int pageNumber, int pageSize, Search search)
AuthorDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface AuthorDao
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.AuthorDao.search(int, int, fr.ifremer.allegro.Search)
public java.util.Set search(int transform, Search search)
AuthorDao
AuthorDao.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 AuthorDao
transform
- the transformation flag.search
- the search object which provides the search parameters and pagination specification.
AuthorDao.search(int, fr.ifremer.allegro.Search)
public java.util.Set search(Search search)
AuthorDao
search
object.
search
in interface AuthorDao
search
- the search object which provides the search parameters and pagination specification.
AuthorDao.search(fr.ifremer.allegro.Search)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |