|
||||||||||
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.buyer.BuyerDaoBase
public abstract class BuyerDaoBase
Base Spring DAO Class: is able to create, update, remove, load, and find
objects of type fr.ifremer.allegro.referential.buyer.Buyer
.
Buyer
Field Summary |
---|
Fields inherited from interface fr.ifremer.allegro.referential.buyer.BuyerDao |
---|
TRANSFORM_CLUSTERBUYER, TRANSFORM_NONE, TRANSFORM_REMOTEBUYERFULLVO, TRANSFORM_REMOTEBUYERNATURALID |
Constructor Summary | |
---|---|
BuyerDaoBase()
|
Method Summary | |
---|---|
void |
clusterBuyerToEntity(ClusterBuyer source,
Buyer target,
boolean copyIfNull)
Copies the fields of ClusterBuyer to the specified entity. |
void |
clusterBuyerToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type ClusterBuyer to this
DAO's entity. |
Buyer |
create(Buyer buyer)
Creates an instance of fr.ifremer.allegro.referential.buyer.Buyer and adds it to the persistent store. |
java.util.Collection |
create(java.util.Collection entities)
Creates a new instance of fr.ifremer.allegro.referential.buyer.Buyer and adds from the passed in entities collection |
java.lang.Object |
create(int transform,
Buyer buyer)
Does the same thing as BuyerDao.create(fr.ifremer.allegro.referential.buyer.Buyer) with an
additional flag called transform . |
java.util.Collection |
create(int transform,
java.util.Collection entities)
Does the same thing as BuyerDao.create(fr.ifremer.allegro.referential.buyer.Buyer) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
Status status)
Does the same thing as BuyerDao.create(fr.ifremer.allegro.referential.Status) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
java.lang.String registrationCode,
java.lang.String name,
java.lang.String street,
java.lang.String zipCode,
java.lang.String city,
java.sql.Timestamp updateDate,
Status status)
Does the same thing as BuyerDao.create(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.sql.Timestamp,fr.ifremer.allegro.referential.Status) with an
additional flag called transform . |
Buyer |
create(Status status)
Creates a new fr.ifremer.allegro.referential.buyer.Buyer
instance from only required properties (attributes
and association ends) and adds it to the persistent store. |
Buyer |
create(java.lang.String registrationCode,
java.lang.String name,
java.lang.String street,
java.lang.String zipCode,
java.lang.String city,
java.sql.Timestamp updateDate,
Status status)
Creates a new fr.ifremer.allegro.referential.buyer.Buyer
instance from all attributes and
properties and adds it to the persistent store. |
Buyer |
createFromClusterBuyer(ClusterBuyer clusterBuyer)
|
Buyer |
findBuyerById(java.lang.Integer id)
|
java.lang.Object |
findBuyerById(int transform,
java.lang.Integer id)
Does the same thing as BuyerDao.findBuyerById(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findBuyerById(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as BuyerDao.findBuyerById(int, java.lang.Integer) with an
additional argument called queryString . |
Buyer |
findBuyerById(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as BuyerDao.findBuyerById(java.lang.Integer) with an
additional argument called queryString . |
Buyer |
findBuyerByNaturalId(java.lang.Integer id)
|
java.lang.Object |
findBuyerByNaturalId(int transform,
java.lang.Integer id)
Does the same thing as BuyerDao.findBuyerByNaturalId(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findBuyerByNaturalId(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as BuyerDao.findBuyerByNaturalId(int, java.lang.Integer) with an
additional argument called queryString . |
Buyer |
findBuyerByNaturalId(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as BuyerDao.findBuyerByNaturalId(java.lang.Integer) with an
additional argument called queryString . |
java.util.Collection |
findBuyerByStatus(int transform,
int pageNumber,
int pageSize,
Status status)
Does the same thing as BuyerDao.findBuyerByStatus(int, fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findBuyerByStatus(int pageNumber,
int pageSize,
Status status)
Does the same thing as BuyerDao.findBuyerByStatus(fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findBuyerByStatus(int transform,
Status status)
Does the same thing as BuyerDao.findBuyerByStatus(fr.ifremer.allegro.referential.Status) with an
additional flag called transform . |
java.util.Collection |
findBuyerByStatus(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
Status status)
Does the same thing as BuyerDao.findBuyerByStatus(int, String, fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findBuyerByStatus(int transform,
java.lang.String queryString,
Status status)
Does the same thing as BuyerDao.findBuyerByStatus(int, fr.ifremer.allegro.referential.Status) with an
additional argument called queryString . |
java.util.Collection |
findBuyerByStatus(Status status)
|
java.util.Collection |
findBuyerByStatus(java.lang.String queryString,
int pageNumber,
int pageSize,
Status status)
Does the same thing as BuyerDao.findBuyerByStatus(String, fr.ifremer.allegro.referential.Status) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findBuyerByStatus(java.lang.String queryString,
Status status)
Does the same thing as BuyerDao.findBuyerByStatus(fr.ifremer.allegro.referential.Status) with an
additional argument called queryString . |
java.util.Collection |
getAllBuyer()
|
java.util.Collection |
getAllBuyer(int transform)
Does the same thing as BuyerDao.getAllBuyer() with an
additional flag called transform . |
java.util.Collection |
getAllBuyer(int pageNumber,
int pageSize)
Does the same thing as BuyerDao.getAllBuyer() with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllBuyer(int transform,
int pageNumber,
int pageSize)
Does the same thing as BuyerDao.getAllBuyer(int) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllBuyer(int transform,
java.lang.String queryString)
Does the same thing as BuyerDao.getAllBuyer(int) with an
additional argument called queryString . |
java.util.Collection |
getAllBuyer(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as BuyerDao.getAllBuyer(int, String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllBuyer(java.lang.String queryString)
Does the same thing as BuyerDao.getAllBuyer() with an
additional argument called queryString . |
java.util.Collection |
getAllBuyer(java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as BuyerDao.getAllBuyer(String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllBuyerSinceDateSynchro(int transform,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as BuyerDao.getAllBuyerSinceDateSynchro(int, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllBuyerSinceDateSynchro(int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as BuyerDao.getAllBuyerSinceDateSynchro(java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllBuyerSinceDateSynchro(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as BuyerDao.getAllBuyerSinceDateSynchro(int, String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllBuyerSinceDateSynchro(int transform,
java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as BuyerDao.getAllBuyerSinceDateSynchro(int, java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllBuyerSinceDateSynchro(int transform,
java.sql.Timestamp updateDate)
Does the same thing as BuyerDao.getAllBuyerSinceDateSynchro(java.sql.Timestamp) with an
additional flag called transform . |
java.util.Collection |
getAllBuyerSinceDateSynchro(java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as BuyerDao.getAllBuyerSinceDateSynchro(String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllBuyerSinceDateSynchro(java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as BuyerDao.getAllBuyerSinceDateSynchro(java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllBuyerSinceDateSynchro(java.sql.Timestamp updateDate)
|
ClusterBuyer[] |
getAllClusterBuyerSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize)
|
protected java.security.Principal |
getPrincipal()
Gets the current principal if one has been set,
otherwise returns null . |
protected StatusDao |
getStatusDao()
Gets the reference to statusDao . |
protected abstract Buyer |
handleCreateFromClusterBuyer(ClusterBuyer clusterBuyer)
Performs the core logic for createFromClusterBuyer(fr.ifremer.allegro.referential.buyer.generic.cluster.ClusterBuyer) |
protected abstract ClusterBuyer[] |
handleGetAllClusterBuyerSinceDateSynchro(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 getAllClusterBuyerSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer) |
Buyer |
load(java.lang.Integer id)
Loads an instance of fr.ifremer.allegro.referential.buyer.Buyer from the persistent store. |
java.lang.Object |
load(int transform,
java.lang.Integer id)
Does the same thing as BuyerDao.load(java.lang.Integer) with an
additional flag called transform . |
java.util.Collection |
loadAll()
Loads all entities of type Buyer . |
java.util.Collection |
loadAll(int transform)
Does the same thing as BuyerDao.loadAll() with an
additional flag called transform . |
java.util.Collection |
loadAll(int pageNumber,
int pageSize)
Does the same thing as BuyerDao.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 BuyerDao.loadAll(int) with an
additional two arguments called pageNumber and pageSize . |
void |
remoteBuyerFullVOToEntity(RemoteBuyerFullVO source,
Buyer target,
boolean copyIfNull)
Copies the fields of RemoteBuyerFullVO to the specified entity. |
void |
remoteBuyerFullVOToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteBuyerFullVO to this
DAO's entity. |
void |
remoteBuyerNaturalIdToEntity(RemoteBuyerNaturalId source,
Buyer target,
boolean copyIfNull)
Copies the fields of RemoteBuyerNaturalId to the specified entity. |
void |
remoteBuyerNaturalIdToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteBuyerNaturalId to this
DAO's entity. |
void |
remove(Buyer buyer)
Removes the instance of fr.ifremer.allegro.referential.buyer.Buyer 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.buyer.Buyer 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 BuyerDao.search(fr.ifremer.allegro.Search) but with an
additional flag called transform . |
java.util.Set |
search(Search search)
Performs a search using the parameters specified in the given search object. |
void |
setStatusDao(StatusDao statusDao)
Sets the reference to statusDao . |
ClusterBuyer |
toClusterBuyer(Buyer entity)
Converts this DAO's entity to an object of type ClusterBuyer . |
void |
toClusterBuyer(Buyer source,
ClusterBuyer target)
Copies the fields of the specified entity to the target value object. |
protected ClusterBuyer |
toClusterBuyer(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
ClusterBuyer[] |
toClusterBuyerArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type ClusterBuyer . |
void |
toClusterBuyerCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type ClusterBuyer . |
protected Buyer |
toEntity(java.lang.Object[] row)
|
RemoteBuyerFullVO |
toRemoteBuyerFullVO(Buyer entity)
Converts this DAO's entity to an object of type RemoteBuyerFullVO . |
void |
toRemoteBuyerFullVO(Buyer source,
RemoteBuyerFullVO target)
Copies the fields of the specified entity to the target value object. |
protected RemoteBuyerFullVO |
toRemoteBuyerFullVO(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteBuyerFullVO[] |
toRemoteBuyerFullVOArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteBuyerFullVO . |
void |
toRemoteBuyerFullVOCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteBuyerFullVO . |
RemoteBuyerNaturalId |
toRemoteBuyerNaturalId(Buyer entity)
Converts this DAO's entity to an object of type RemoteBuyerNaturalId . |
void |
toRemoteBuyerNaturalId(Buyer source,
RemoteBuyerNaturalId target)
Copies the fields of the specified entity to the target value object. |
protected RemoteBuyerNaturalId |
toRemoteBuyerNaturalId(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteBuyerNaturalId[] |
toRemoteBuyerNaturalIdArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteBuyerNaturalId . |
void |
toRemoteBuyerNaturalIdCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteBuyerNaturalId . |
protected void |
transformEntities(int transform,
java.util.Collection entities)
Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.buyer.Buyer)
method. |
protected java.lang.Object |
transformEntity(int transform,
Buyer 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.buyer.BuyerDao , please note
that the BuyerDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself
will be returned. |
void |
update(Buyer buyer)
Updates the buyer 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.buyer.BuyerDao |
---|
clusterBuyerToEntity, remoteBuyerFullVOToEntity, remoteBuyerNaturalIdToEntity |
Constructor Detail |
---|
public BuyerDaoBase()
Method Detail |
---|
public void setStatusDao(StatusDao statusDao)
statusDao
.
protected StatusDao getStatusDao()
statusDao
.
public java.lang.Object load(int transform, java.lang.Integer id)
BuyerDao
Does the same thing as BuyerDao.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 BuyerDao
id
- identifier of the entity to load
BuyerDao.load(int, java.lang.Integer)
public Buyer load(java.lang.Integer id)
BuyerDao
load
in interface BuyerDao
BuyerDao.load(java.lang.Integer)
public java.util.Collection loadAll()
BuyerDao
Buyer
.
loadAll
in interface BuyerDao
BuyerDao.loadAll()
public java.util.Collection loadAll(int transform)
BuyerDao
Does the same thing as BuyerDao.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 BuyerDao
transform
- the flag indicating what transformation to use.
BuyerDao.loadAll(int)
public java.util.Collection loadAll(int pageNumber, int pageSize)
BuyerDao
Does the same thing as BuyerDao.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 BuyerDao
pageNumber
- the page number to retrieve when paging results.pageSize
- the size of the page to retrieve when paging results.
BuyerDao.loadAll(int, int)
public java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
BuyerDao
Does the same thing as BuyerDao.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 BuyerDao
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.
BuyerDao.loadAll(int, int, int)
public Buyer create(Buyer buyer)
BuyerDao
create
in interface BuyerDao
BuyerDao.create(fr.ifremer.allegro.referential.buyer.Buyer)
public java.lang.Object create(int transform, Buyer buyer)
BuyerDao
Does the same thing as BuyerDao.create(fr.ifremer.allegro.referential.buyer.Buyer)
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 BuyerDao
BuyerDao.create(int transform, fr.ifremer.allegro.referential.buyer.Buyer)
public java.util.Collection create(java.util.Collection entities)
BuyerDao
entities
collection
create
in interface BuyerDao
entities
- the collection of fr.ifremer.allegro.referential.buyer.Buyer
instances to create.
BuyerDao.create(java.util.Collection)
public java.util.Collection create(int transform, java.util.Collection entities)
BuyerDao
Does the same thing as BuyerDao.create(fr.ifremer.allegro.referential.buyer.Buyer)
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 BuyerDao
BuyerDao.create(int, java.util.Collection)
public Buyer create(java.lang.String registrationCode, java.lang.String name, java.lang.String street, java.lang.String zipCode, java.lang.String city, java.sql.Timestamp updateDate, Status status)
BuyerDao
Creates a new fr.ifremer.allegro.referential.buyer.Buyer
instance from all attributes and
properties and adds it to the persistent store.
create
in interface BuyerDao
BuyerDao.create(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.sql.Timestamp,fr.ifremer.allegro.referential.Status)
public java.lang.Object create(int transform, java.lang.String registrationCode, java.lang.String name, java.lang.String street, java.lang.String zipCode, java.lang.String city, java.sql.Timestamp updateDate, Status status)
BuyerDao
Does the same thing as BuyerDao.create(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.sql.Timestamp,fr.ifremer.allegro.referential.Status)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined here then the result WILL BE passed through an operation which can optionally
transform the entity (into a value object for example). By default, transformation does
not occur.
create
in interface BuyerDao
BuyerDao.create(int, java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.sql.Timestamp,fr.ifremer.allegro.referential.Status)
public Buyer create(Status status)
BuyerDao
Creates a new fr.ifremer.allegro.referential.buyer.Buyer
instance from only required properties (attributes
and association ends) and adds it to the persistent store.
create
in interface BuyerDao
BuyerDao.create(fr.ifremer.allegro.referential.Status)
public java.lang.Object create(int transform, Status status)
BuyerDao
Does the same thing as BuyerDao.create(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 BuyerDao
BuyerDao.create(int, fr.ifremer.allegro.referential.Status)
public void update(Buyer buyer)
BuyerDao
buyer
instance in the persistent store.
update
in interface BuyerDao
BuyerDao.update(fr.ifremer.allegro.referential.buyer.Buyer)
public void update(java.util.Collection entities)
BuyerDao
entities
collection in the persistent store.
update
in interface BuyerDao
BuyerDao.update(java.util.Collection)
public void remove(Buyer buyer)
BuyerDao
remove
in interface BuyerDao
BuyerDao.remove(fr.ifremer.allegro.referential.buyer.Buyer)
public void remove(java.lang.Integer id)
BuyerDao
identifier
from the persistent store.
remove
in interface BuyerDao
BuyerDao.remove(java.lang.Integer)
public void remove(java.util.Collection entities)
BuyerDao
entities collection.
- Specified by:
remove
in interface BuyerDao
- See Also:
BuyerDao.remove(java.util.Collection)
public java.util.Collection getAllBuyer()
getAllBuyer
in interface BuyerDao
BuyerDao.getAllBuyer()
public java.util.Collection getAllBuyer(int transform)
BuyerDao
Does the same thing as BuyerDao.getAllBuyer()
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.
getAllBuyer
in interface BuyerDao
BuyerDao.getAllBuyer(int)
public java.util.Collection getAllBuyer(java.lang.String queryString)
BuyerDao
Does the same thing as BuyerDao.getAllBuyer()
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in BuyerDao.getAllBuyer()
.
getAllBuyer
in interface BuyerDao
BuyerDao.getAllBuyer(java.lang.String)
public java.util.Collection getAllBuyer(int pageNumber, int pageSize)
BuyerDao
Does the same thing as BuyerDao.getAllBuyer()
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.
getAllBuyer
in interface BuyerDao
BuyerDao.getAllBuyer(int, int)
public java.util.Collection getAllBuyer(java.lang.String queryString, int pageNumber, int pageSize)
BuyerDao
Does the same thing as BuyerDao.getAllBuyer(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.
getAllBuyer
in interface BuyerDao
BuyerDao.getAllBuyer(String, int, int)
public java.util.Collection getAllBuyer(int transform, java.lang.String queryString)
BuyerDao
Does the same thing as BuyerDao.getAllBuyer(int)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in BuyerDao.getAllBuyer(int)
.
getAllBuyer
in interface BuyerDao
BuyerDao.getAllBuyer(int, String)
public java.util.Collection getAllBuyer(int transform, int pageNumber, int pageSize)
BuyerDao
Does the same thing as BuyerDao.getAllBuyer(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.
getAllBuyer
in interface BuyerDao
BuyerDao.getAllBuyer(int, int, int)
public java.util.Collection getAllBuyer(int transform, java.lang.String queryString, int pageNumber, int pageSize)
BuyerDao
Does the same thing as BuyerDao.getAllBuyer(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.
getAllBuyer
in interface BuyerDao
BuyerDao.getAllBuyer(int, java.lang.String, int, int)
public Buyer findBuyerById(java.lang.Integer id)
findBuyerById
in interface BuyerDao
BuyerDao.findBuyerById(java.lang.Integer)
public java.lang.Object findBuyerById(int transform, java.lang.Integer id)
BuyerDao
Does the same thing as BuyerDao.findBuyerById(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.
findBuyerById
in interface BuyerDao
BuyerDao.findBuyerById(int, java.lang.Integer)
public Buyer findBuyerById(java.lang.String queryString, java.lang.Integer id)
BuyerDao
Does the same thing as BuyerDao.findBuyerById(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in BuyerDao.findBuyerById(java.lang.Integer)
.
findBuyerById
in interface BuyerDao
BuyerDao.findBuyerById(java.lang.String, java.lang.Integer)
public java.lang.Object findBuyerById(int transform, java.lang.String queryString, java.lang.Integer id)
BuyerDao
Does the same thing as BuyerDao.findBuyerById(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in BuyerDao.findBuyerById(int, java.lang.Integer id)
.
findBuyerById
in interface BuyerDao
BuyerDao.findBuyerById(int, java.lang.String, java.lang.Integer)
public java.util.Collection findBuyerByStatus(Status status)
findBuyerByStatus
in interface BuyerDao
BuyerDao.findBuyerByStatus(fr.ifremer.allegro.referential.Status)
public java.util.Collection findBuyerByStatus(int transform, Status status)
BuyerDao
Does the same thing as BuyerDao.findBuyerByStatus(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.
findBuyerByStatus
in interface BuyerDao
BuyerDao.findBuyerByStatus(int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findBuyerByStatus(java.lang.String queryString, Status status)
BuyerDao
Does the same thing as BuyerDao.findBuyerByStatus(fr.ifremer.allegro.referential.Status)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in BuyerDao.findBuyerByStatus(fr.ifremer.allegro.referential.Status)
.
findBuyerByStatus
in interface BuyerDao
BuyerDao.findBuyerByStatus(java.lang.String, fr.ifremer.allegro.referential.Status)
public java.util.Collection findBuyerByStatus(int pageNumber, int pageSize, Status status)
BuyerDao
Does the same thing as BuyerDao.findBuyerByStatus(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.
findBuyerByStatus
in interface BuyerDao
BuyerDao.findBuyerByStatus(int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findBuyerByStatus(java.lang.String queryString, int pageNumber, int pageSize, Status status)
BuyerDao
Does the same thing as BuyerDao.findBuyerByStatus(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.
findBuyerByStatus
in interface BuyerDao
BuyerDao.findBuyerByStatus(String, int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findBuyerByStatus(int transform, java.lang.String queryString, Status status)
BuyerDao
Does the same thing as BuyerDao.findBuyerByStatus(int, fr.ifremer.allegro.referential.Status)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in BuyerDao.findBuyerByStatus(int, fr.ifremer.allegro.referential.Status status)
.
findBuyerByStatus
in interface BuyerDao
BuyerDao.findBuyerByStatus(int, String, fr.ifremer.allegro.referential.Status)
public java.util.Collection findBuyerByStatus(int transform, int pageNumber, int pageSize, Status status)
BuyerDao
Does the same thing as BuyerDao.findBuyerByStatus(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.
findBuyerByStatus
in interface BuyerDao
BuyerDao.findBuyerByStatus(int, int, int, fr.ifremer.allegro.referential.Status)
public java.util.Collection findBuyerByStatus(int transform, java.lang.String queryString, int pageNumber, int pageSize, Status status)
BuyerDao
Does the same thing as BuyerDao.findBuyerByStatus(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.
findBuyerByStatus
in interface BuyerDao
BuyerDao.findBuyerByStatus(int, java.lang.String, int, int, fr.ifremer.allegro.referential.Status)
public Buyer findBuyerByNaturalId(java.lang.Integer id)
findBuyerByNaturalId
in interface BuyerDao
BuyerDao.findBuyerByNaturalId(java.lang.Integer)
public java.lang.Object findBuyerByNaturalId(int transform, java.lang.Integer id)
BuyerDao
Does the same thing as BuyerDao.findBuyerByNaturalId(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.
findBuyerByNaturalId
in interface BuyerDao
BuyerDao.findBuyerByNaturalId(int, java.lang.Integer)
public Buyer findBuyerByNaturalId(java.lang.String queryString, java.lang.Integer id)
BuyerDao
Does the same thing as BuyerDao.findBuyerByNaturalId(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in BuyerDao.findBuyerByNaturalId(java.lang.Integer)
.
findBuyerByNaturalId
in interface BuyerDao
BuyerDao.findBuyerByNaturalId(java.lang.String, java.lang.Integer)
public java.lang.Object findBuyerByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
BuyerDao
Does the same thing as BuyerDao.findBuyerByNaturalId(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in BuyerDao.findBuyerByNaturalId(int, java.lang.Integer id)
.
findBuyerByNaturalId
in interface BuyerDao
BuyerDao.findBuyerByNaturalId(int, java.lang.String, java.lang.Integer)
public java.util.Collection getAllBuyerSinceDateSynchro(java.sql.Timestamp updateDate)
getAllBuyerSinceDateSynchro
in interface BuyerDao
BuyerDao.getAllBuyerSinceDateSynchro(java.sql.Timestamp)
public java.util.Collection getAllBuyerSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
BuyerDao
Does the same thing as BuyerDao.getAllBuyerSinceDateSynchro(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.
getAllBuyerSinceDateSynchro
in interface BuyerDao
BuyerDao.getAllBuyerSinceDateSynchro(int, java.sql.Timestamp)
public java.util.Collection getAllBuyerSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
BuyerDao
Does the same thing as BuyerDao.getAllBuyerSinceDateSynchro(java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in BuyerDao.getAllBuyerSinceDateSynchro(java.sql.Timestamp)
.
getAllBuyerSinceDateSynchro
in interface BuyerDao
BuyerDao.getAllBuyerSinceDateSynchro(java.lang.String, java.sql.Timestamp)
public java.util.Collection getAllBuyerSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
BuyerDao
Does the same thing as BuyerDao.getAllBuyerSinceDateSynchro(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.
getAllBuyerSinceDateSynchro
in interface BuyerDao
BuyerDao.getAllBuyerSinceDateSynchro(int, int, java.sql.Timestamp)
public java.util.Collection getAllBuyerSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
BuyerDao
Does the same thing as BuyerDao.getAllBuyerSinceDateSynchro(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.
getAllBuyerSinceDateSynchro
in interface BuyerDao
BuyerDao.getAllBuyerSinceDateSynchro(String, int, int, java.sql.Timestamp)
public java.util.Collection getAllBuyerSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
BuyerDao
Does the same thing as BuyerDao.getAllBuyerSinceDateSynchro(int, java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in BuyerDao.getAllBuyerSinceDateSynchro(int, java.sql.Timestamp updateDate)
.
getAllBuyerSinceDateSynchro
in interface BuyerDao
BuyerDao.getAllBuyerSinceDateSynchro(int, String, java.sql.Timestamp)
public java.util.Collection getAllBuyerSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
BuyerDao
Does the same thing as BuyerDao.getAllBuyerSinceDateSynchro(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.
getAllBuyerSinceDateSynchro
in interface BuyerDao
BuyerDao.getAllBuyerSinceDateSynchro(int, int, int, java.sql.Timestamp)
public java.util.Collection getAllBuyerSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
BuyerDao
Does the same thing as BuyerDao.getAllBuyerSinceDateSynchro(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.
getAllBuyerSinceDateSynchro
in interface BuyerDao
BuyerDao.getAllBuyerSinceDateSynchro(int, java.lang.String, int, int, java.sql.Timestamp)
public Buyer createFromClusterBuyer(ClusterBuyer clusterBuyer)
createFromClusterBuyer
in interface BuyerDao
BuyerDao.createFromClusterBuyer(fr.ifremer.allegro.referential.buyer.generic.cluster.ClusterBuyer)
protected abstract Buyer handleCreateFromClusterBuyer(ClusterBuyer clusterBuyer) throws java.lang.Exception
createFromClusterBuyer(fr.ifremer.allegro.referential.buyer.generic.cluster.ClusterBuyer)
java.lang.Exception
public ClusterBuyer[] getAllClusterBuyerSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
getAllClusterBuyerSinceDateSynchro
in interface BuyerDao
BuyerDao.getAllClusterBuyerSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract ClusterBuyer[] handleGetAllClusterBuyerSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize) throws java.lang.Exception
getAllClusterBuyerSinceDateSynchro(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, Buyer entity)
transform
flag is set to one of the constants defined in fr.ifremer.allegro.referential.buyer.BuyerDao
, please note
that the BuyerDao.TRANSFORM_NONE
constant denotes no transformation, so the entity itself
will be returned.
This method will return instances of these types:
Buyer
- BuyerDao.TRANSFORM_NONE
RemoteBuyerFullVO
- TRANSFORM_REMOTEBUYERFULLVO
RemoteBuyerNaturalId
- TRANSFORM_REMOTEBUYERNATURALID
ClusterBuyer
- TRANSFORM_CLUSTERBUYER
BuyerDao.TRANSFORM_NONE
is assumed.
transform
- one of the constants declared in BuyerDao
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.buyer.Buyer)
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.buyer.BuyerDao
entities
- the collection of entities to transformtransformEntity(int,fr.ifremer.allegro.referential.buyer.Buyer)
protected Buyer toEntity(java.lang.Object[] row)
public final void toRemoteBuyerFullVOCollection(java.util.Collection entities)
BuyerDao
RemoteBuyerFullVO
.
toRemoteBuyerFullVOCollection
in interface BuyerDao
BuyerDao.toRemoteBuyerFullVOCollection(java.util.Collection)
public final RemoteBuyerFullVO[] toRemoteBuyerFullVOArray(java.util.Collection entities)
BuyerDao
RemoteBuyerFullVO
.
toRemoteBuyerFullVOArray
in interface BuyerDao
BuyerDao.toRemoteBuyerFullVOArray(java.util.Collection)
protected RemoteBuyerFullVO toRemoteBuyerFullVO(java.lang.Object[] row)
BuyerDaoImpl
class if you intend to use reporting queries.
BuyerDao.toRemoteBuyerFullVO(fr.ifremer.allegro.referential.buyer.Buyer)
public final void remoteBuyerFullVOToEntityCollection(java.util.Collection instances)
BuyerDao
RemoteBuyerFullVO
to this
DAO's entity.
remoteBuyerFullVOToEntityCollection
in interface BuyerDao
BuyerDao.remoteBuyerFullVOToEntityCollection(java.util.Collection)
public void toRemoteBuyerFullVO(Buyer source, RemoteBuyerFullVO target)
BuyerDao
toRemoteBuyerFullVO
in interface BuyerDao
BuyerDao.toRemoteBuyerFullVO(fr.ifremer.allegro.referential.buyer.Buyer, fr.ifremer.allegro.referential.buyer.generic.vo.RemoteBuyerFullVO)
public RemoteBuyerFullVO toRemoteBuyerFullVO(Buyer entity)
BuyerDao
RemoteBuyerFullVO
.
toRemoteBuyerFullVO
in interface BuyerDao
BuyerDao.toRemoteBuyerFullVO(fr.ifremer.allegro.referential.buyer.Buyer)
public void remoteBuyerFullVOToEntity(RemoteBuyerFullVO source, Buyer target, boolean copyIfNull)
BuyerDao
RemoteBuyerFullVO
to the specified entity.
remoteBuyerFullVOToEntity
in interface BuyerDao
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.buyer.BuyerDao#remoteBuyerFullVOToEntity(fr.ifremer.allegro.referential.buyer.generic.vo.RemoteBuyerFullVO, fr.ifremer.allegro.referential.buyer.Buyer)
public final void toRemoteBuyerNaturalIdCollection(java.util.Collection entities)
BuyerDao
RemoteBuyerNaturalId
.
toRemoteBuyerNaturalIdCollection
in interface BuyerDao
BuyerDao.toRemoteBuyerNaturalIdCollection(java.util.Collection)
public final RemoteBuyerNaturalId[] toRemoteBuyerNaturalIdArray(java.util.Collection entities)
BuyerDao
RemoteBuyerNaturalId
.
toRemoteBuyerNaturalIdArray
in interface BuyerDao
BuyerDao.toRemoteBuyerNaturalIdArray(java.util.Collection)
protected RemoteBuyerNaturalId toRemoteBuyerNaturalId(java.lang.Object[] row)
BuyerDaoImpl
class if you intend to use reporting queries.
BuyerDao.toRemoteBuyerNaturalId(fr.ifremer.allegro.referential.buyer.Buyer)
public final void remoteBuyerNaturalIdToEntityCollection(java.util.Collection instances)
BuyerDao
RemoteBuyerNaturalId
to this
DAO's entity.
remoteBuyerNaturalIdToEntityCollection
in interface BuyerDao
BuyerDao.remoteBuyerNaturalIdToEntityCollection(java.util.Collection)
public void toRemoteBuyerNaturalId(Buyer source, RemoteBuyerNaturalId target)
BuyerDao
toRemoteBuyerNaturalId
in interface BuyerDao
BuyerDao.toRemoteBuyerNaturalId(fr.ifremer.allegro.referential.buyer.Buyer, fr.ifremer.allegro.referential.buyer.generic.vo.RemoteBuyerNaturalId)
public RemoteBuyerNaturalId toRemoteBuyerNaturalId(Buyer entity)
BuyerDao
RemoteBuyerNaturalId
.
toRemoteBuyerNaturalId
in interface BuyerDao
BuyerDao.toRemoteBuyerNaturalId(fr.ifremer.allegro.referential.buyer.Buyer)
public void remoteBuyerNaturalIdToEntity(RemoteBuyerNaturalId source, Buyer target, boolean copyIfNull)
BuyerDao
RemoteBuyerNaturalId
to the specified entity.
remoteBuyerNaturalIdToEntity
in interface BuyerDao
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.buyer.BuyerDao#remoteBuyerNaturalIdToEntity(fr.ifremer.allegro.referential.buyer.generic.vo.RemoteBuyerNaturalId, fr.ifremer.allegro.referential.buyer.Buyer)
public final void toClusterBuyerCollection(java.util.Collection entities)
BuyerDao
ClusterBuyer
.
toClusterBuyerCollection
in interface BuyerDao
BuyerDao.toClusterBuyerCollection(java.util.Collection)
public final ClusterBuyer[] toClusterBuyerArray(java.util.Collection entities)
BuyerDao
ClusterBuyer
.
toClusterBuyerArray
in interface BuyerDao
BuyerDao.toClusterBuyerArray(java.util.Collection)
protected ClusterBuyer toClusterBuyer(java.lang.Object[] row)
BuyerDaoImpl
class if you intend to use reporting queries.
BuyerDao.toClusterBuyer(fr.ifremer.allegro.referential.buyer.Buyer)
public final void clusterBuyerToEntityCollection(java.util.Collection instances)
BuyerDao
ClusterBuyer
to this
DAO's entity.
clusterBuyerToEntityCollection
in interface BuyerDao
BuyerDao.clusterBuyerToEntityCollection(java.util.Collection)
public void toClusterBuyer(Buyer source, ClusterBuyer target)
BuyerDao
toClusterBuyer
in interface BuyerDao
BuyerDao.toClusterBuyer(fr.ifremer.allegro.referential.buyer.Buyer, fr.ifremer.allegro.referential.buyer.generic.cluster.ClusterBuyer)
public ClusterBuyer toClusterBuyer(Buyer entity)
BuyerDao
ClusterBuyer
.
toClusterBuyer
in interface BuyerDao
BuyerDao.toClusterBuyer(fr.ifremer.allegro.referential.buyer.Buyer)
public void clusterBuyerToEntity(ClusterBuyer source, Buyer target, boolean copyIfNull)
BuyerDao
ClusterBuyer
to the specified entity.
clusterBuyerToEntity
in interface BuyerDao
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.buyer.BuyerDao#clusterBuyerToEntity(fr.ifremer.allegro.referential.buyer.generic.cluster.ClusterBuyer, fr.ifremer.allegro.referential.buyer.Buyer)
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)
BuyerDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface BuyerDao
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.BuyerDao.search(int, int, int, fr.ifremer.allegro.Search)
public PaginationResult search(int pageNumber, int pageSize, Search search)
BuyerDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface BuyerDao
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.BuyerDao.search(int, int, fr.ifremer.allegro.Search)
public java.util.Set search(int transform, Search search)
BuyerDao
BuyerDao.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 BuyerDao
transform
- the transformation flag.search
- the search object which provides the search parameters and pagination specification.
BuyerDao.search(int, fr.ifremer.allegro.Search)
public java.util.Set search(Search search)
BuyerDao
search
object.
search
in interface BuyerDao
search
- the search object which provides the search parameters and pagination specification.
BuyerDao.search(fr.ifremer.allegro.Search)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |