|
||||||||||
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.data.survey.sale.SaleOriginDaoBase
public abstract class SaleOriginDaoBase
Base Spring DAO Class: is able to create, update, remove, load, and find
objects of type fr.ifremer.allegro.data.survey.sale.SaleOrigin
.
SaleOrigin
Field Summary |
---|
Fields inherited from interface fr.ifremer.allegro.data.survey.sale.SaleOriginDao |
---|
TRANSFORM_CLUSTERSALEORIGIN, TRANSFORM_NONE, TRANSFORM_REMOTESALEORIGINFULLVO, TRANSFORM_REMOTESALEORIGINNATURALID |
Constructor Summary | |
---|---|
SaleOriginDaoBase()
|
Method Summary | |
---|---|
void |
clusterSaleOriginToEntity(ClusterSaleOrigin source,
SaleOrigin target,
boolean copyIfNull)
Copies the fields of ClusterSaleOrigin to the specified entity. |
void |
clusterSaleOriginToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type ClusterSaleOrigin to this
DAO's entity. |
java.util.Collection |
create(java.util.Collection entities)
Creates a new instance of fr.ifremer.allegro.data.survey.sale.SaleOrigin and adds from the passed in entities collection |
java.util.Collection |
create(int transform,
java.util.Collection entities)
Does the same thing as SaleOriginDao.create(fr.ifremer.allegro.data.survey.sale.SaleOrigin) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
SaleOrigin saleOrigin)
Does the same thing as SaleOriginDao.create(fr.ifremer.allegro.data.survey.sale.SaleOrigin) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
Sale sale,
Program program)
Does the same thing as SaleOriginDao.create(fr.ifremer.allegro.data.survey.sale.Sale,fr.ifremer.allegro.administration.programStrategy.Program) with an
additional flag called transform . |
SaleOrigin |
create(SaleOrigin saleOrigin)
Creates an instance of fr.ifremer.allegro.data.survey.sale.SaleOrigin and adds it to the persistent store. |
SaleOrigin |
create(Sale sale,
Program program)
Creates a new fr.ifremer.allegro.data.survey.sale.SaleOrigin
instance from all attributes and
properties and adds it to the persistent store. |
SaleOrigin |
createFromClusterSaleOrigin(ClusterSaleOrigin clusterSaleOrigin)
|
java.lang.Object |
findSaleOriginByIdentifiers(int transform,
Program program,
Sale sale)
Does the same thing as SaleOriginDao.findSaleOriginByIdentifiers(fr.ifremer.allegro.administration.programStrategy.Program, fr.ifremer.allegro.data.survey.sale.Sale) with an
additional flag called transform . |
java.lang.Object |
findSaleOriginByIdentifiers(int transform,
java.lang.String queryString,
Program program,
Sale sale)
Does the same thing as SaleOriginDao.findSaleOriginByIdentifiers(int, fr.ifremer.allegro.administration.programStrategy.Program, fr.ifremer.allegro.data.survey.sale.Sale) with an
additional argument called queryString . |
SaleOrigin |
findSaleOriginByIdentifiers(Program program,
Sale sale)
|
SaleOrigin |
findSaleOriginByIdentifiers(java.lang.String queryString,
Program program,
Sale sale)
Does the same thing as SaleOriginDao.findSaleOriginByIdentifiers(fr.ifremer.allegro.administration.programStrategy.Program, fr.ifremer.allegro.data.survey.sale.Sale) with an
additional argument called queryString . |
java.lang.Object |
findSaleOriginByNaturalId(int transform,
Program program,
Sale sale)
Does the same thing as SaleOriginDao.findSaleOriginByNaturalId(fr.ifremer.allegro.administration.programStrategy.Program, fr.ifremer.allegro.data.survey.sale.Sale) with an
additional flag called transform . |
java.lang.Object |
findSaleOriginByNaturalId(int transform,
java.lang.String queryString,
Program program,
Sale sale)
Does the same thing as SaleOriginDao.findSaleOriginByNaturalId(int, fr.ifremer.allegro.administration.programStrategy.Program, fr.ifremer.allegro.data.survey.sale.Sale) with an
additional argument called queryString . |
SaleOrigin |
findSaleOriginByNaturalId(Program program,
Sale sale)
|
SaleOrigin |
findSaleOriginByNaturalId(java.lang.String queryString,
Program program,
Sale sale)
Does the same thing as SaleOriginDao.findSaleOriginByNaturalId(fr.ifremer.allegro.administration.programStrategy.Program, fr.ifremer.allegro.data.survey.sale.Sale) with an
additional argument called queryString . |
java.util.Collection |
findSaleOriginByProgram(int transform,
int pageNumber,
int pageSize,
Program program)
Does the same thing as SaleOriginDao.findSaleOriginByProgram(int, fr.ifremer.allegro.administration.programStrategy.Program) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findSaleOriginByProgram(int pageNumber,
int pageSize,
Program program)
Does the same thing as SaleOriginDao.findSaleOriginByProgram(fr.ifremer.allegro.administration.programStrategy.Program) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findSaleOriginByProgram(int transform,
Program program)
Does the same thing as SaleOriginDao.findSaleOriginByProgram(fr.ifremer.allegro.administration.programStrategy.Program) with an
additional flag called transform . |
java.util.Collection |
findSaleOriginByProgram(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
Program program)
Does the same thing as SaleOriginDao.findSaleOriginByProgram(int, String, fr.ifremer.allegro.administration.programStrategy.Program) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findSaleOriginByProgram(int transform,
java.lang.String queryString,
Program program)
Does the same thing as SaleOriginDao.findSaleOriginByProgram(int, fr.ifremer.allegro.administration.programStrategy.Program) with an
additional argument called queryString . |
java.util.Collection |
findSaleOriginByProgram(Program program)
|
java.util.Collection |
findSaleOriginByProgram(java.lang.String queryString,
int pageNumber,
int pageSize,
Program program)
Does the same thing as SaleOriginDao.findSaleOriginByProgram(String, fr.ifremer.allegro.administration.programStrategy.Program) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findSaleOriginByProgram(java.lang.String queryString,
Program program)
Does the same thing as SaleOriginDao.findSaleOriginByProgram(fr.ifremer.allegro.administration.programStrategy.Program) with an
additional argument called queryString . |
java.util.Collection |
findSaleOriginBySale(int transform,
int pageNumber,
int pageSize,
Sale sale)
Does the same thing as SaleOriginDao.findSaleOriginBySale(int, fr.ifremer.allegro.data.survey.sale.Sale) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findSaleOriginBySale(int pageNumber,
int pageSize,
Sale sale)
Does the same thing as SaleOriginDao.findSaleOriginBySale(fr.ifremer.allegro.data.survey.sale.Sale) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findSaleOriginBySale(int transform,
Sale sale)
Does the same thing as SaleOriginDao.findSaleOriginBySale(fr.ifremer.allegro.data.survey.sale.Sale) with an
additional flag called transform . |
java.util.Collection |
findSaleOriginBySale(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
Sale sale)
Does the same thing as SaleOriginDao.findSaleOriginBySale(int, String, fr.ifremer.allegro.data.survey.sale.Sale) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findSaleOriginBySale(int transform,
java.lang.String queryString,
Sale sale)
Does the same thing as SaleOriginDao.findSaleOriginBySale(int, fr.ifremer.allegro.data.survey.sale.Sale) with an
additional argument called queryString . |
java.util.Collection |
findSaleOriginBySale(Sale sale)
|
java.util.Collection |
findSaleOriginBySale(java.lang.String queryString,
int pageNumber,
int pageSize,
Sale sale)
Does the same thing as SaleOriginDao.findSaleOriginBySale(String, fr.ifremer.allegro.data.survey.sale.Sale) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findSaleOriginBySale(java.lang.String queryString,
Sale sale)
Does the same thing as SaleOriginDao.findSaleOriginBySale(fr.ifremer.allegro.data.survey.sale.Sale) with an
additional argument called queryString . |
java.util.Collection |
getAllSaleOrigin()
|
java.util.Collection |
getAllSaleOrigin(int transform)
Does the same thing as SaleOriginDao.getAllSaleOrigin() with an
additional flag called transform . |
java.util.Collection |
getAllSaleOrigin(int pageNumber,
int pageSize)
Does the same thing as SaleOriginDao.getAllSaleOrigin() with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllSaleOrigin(int transform,
int pageNumber,
int pageSize)
Does the same thing as SaleOriginDao.getAllSaleOrigin(int) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllSaleOrigin(int transform,
java.lang.String queryString)
Does the same thing as SaleOriginDao.getAllSaleOrigin(int) with an
additional argument called queryString . |
java.util.Collection |
getAllSaleOrigin(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as SaleOriginDao.getAllSaleOrigin(int, String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllSaleOrigin(java.lang.String queryString)
Does the same thing as SaleOriginDao.getAllSaleOrigin() with an
additional argument called queryString . |
java.util.Collection |
getAllSaleOrigin(java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as SaleOriginDao.getAllSaleOrigin(String) with an
additional two arguments called pageNumber and pageSize . |
protected java.security.Principal |
getPrincipal()
Gets the current principal if one has been set,
otherwise returns null . |
protected ProgramDao |
getProgramDao()
Gets the reference to programDao . |
protected SaleDao |
getSaleDao()
Gets the reference to saleDao . |
protected abstract SaleOrigin |
handleCreateFromClusterSaleOrigin(ClusterSaleOrigin clusterSaleOrigin)
Performs the core logic for createFromClusterSaleOrigin(fr.ifremer.allegro.data.survey.sale.generic.cluster.ClusterSaleOrigin) |
java.lang.Object |
load(int transform,
Sale sale,
Program program)
Does the same thing as SaleOriginDao.load(fr.ifremer.allegro.data.survey.sale.Sale,fr.ifremer.allegro.administration.programStrategy.Program) with an
additional flag called transform . |
SaleOrigin |
load(Sale sale,
Program program)
Loads an instance of fr.ifremer.allegro.data.survey.sale.SaleOrigin from the persistent store. |
java.util.Collection |
loadAll()
Loads all entities of type SaleOrigin . |
java.util.Collection |
loadAll(int transform)
Does the same thing as SaleOriginDao.loadAll() with an
additional flag called transform . |
java.util.Collection |
loadAll(int pageNumber,
int pageSize)
Does the same thing as SaleOriginDao.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 SaleOriginDao.loadAll(int) with an
additional two arguments called pageNumber and pageSize . |
void |
remoteSaleOriginFullVOToEntity(RemoteSaleOriginFullVO source,
SaleOrigin target,
boolean copyIfNull)
Copies the fields of RemoteSaleOriginFullVO to the specified entity. |
void |
remoteSaleOriginFullVOToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteSaleOriginFullVO to this
DAO's entity. |
void |
remoteSaleOriginNaturalIdToEntity(RemoteSaleOriginNaturalId source,
SaleOrigin target,
boolean copyIfNull)
Copies the fields of RemoteSaleOriginNaturalId to the specified entity. |
void |
remoteSaleOriginNaturalIdToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteSaleOriginNaturalId to this
DAO's entity. |
void |
remove(java.util.Collection entities)
Removes all entities in the given entities |
void |
remove(SaleOrigin saleOrigin)
Removes the instance of fr.ifremer.allegro.data.survey.sale.SaleOrigin from the persistent store. |
void |
remove(Sale sale,
Program program)
Removes the instance of fr.ifremer.allegro.data.survey.sale.SaleOrigin having the given identifiers 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 SaleOriginDao.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 |
setProgramDao(ProgramDao programDao)
Sets the reference to programDao . |
void |
setSaleDao(SaleDao saleDao)
Sets the reference to saleDao . |
protected ClusterSaleOrigin |
toClusterSaleOrigin(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
ClusterSaleOrigin |
toClusterSaleOrigin(SaleOrigin entity)
Converts this DAO's entity to an object of type ClusterSaleOrigin . |
void |
toClusterSaleOrigin(SaleOrigin source,
ClusterSaleOrigin target)
Copies the fields of the specified entity to the target value object. |
ClusterSaleOrigin[] |
toClusterSaleOriginArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type ClusterSaleOrigin . |
void |
toClusterSaleOriginCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type ClusterSaleOrigin . |
protected SaleOrigin |
toEntity(java.lang.Object[] row)
|
protected RemoteSaleOriginFullVO |
toRemoteSaleOriginFullVO(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteSaleOriginFullVO |
toRemoteSaleOriginFullVO(SaleOrigin entity)
Converts this DAO's entity to an object of type RemoteSaleOriginFullVO . |
void |
toRemoteSaleOriginFullVO(SaleOrigin source,
RemoteSaleOriginFullVO target)
Copies the fields of the specified entity to the target value object. |
RemoteSaleOriginFullVO[] |
toRemoteSaleOriginFullVOArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteSaleOriginFullVO . |
void |
toRemoteSaleOriginFullVOCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteSaleOriginFullVO . |
protected RemoteSaleOriginNaturalId |
toRemoteSaleOriginNaturalId(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteSaleOriginNaturalId |
toRemoteSaleOriginNaturalId(SaleOrigin entity)
Converts this DAO's entity to an object of type RemoteSaleOriginNaturalId . |
void |
toRemoteSaleOriginNaturalId(SaleOrigin source,
RemoteSaleOriginNaturalId target)
Copies the fields of the specified entity to the target value object. |
RemoteSaleOriginNaturalId[] |
toRemoteSaleOriginNaturalIdArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteSaleOriginNaturalId . |
void |
toRemoteSaleOriginNaturalIdCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteSaleOriginNaturalId . |
protected void |
transformEntities(int transform,
java.util.Collection entities)
Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.data.survey.sale.SaleOrigin)
method. |
protected java.lang.Object |
transformEntity(int transform,
SaleOrigin 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.data.survey.sale.SaleOriginDao , please note
that the SaleOriginDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself
will be returned. |
void |
update(java.util.Collection entities)
Updates all instances in the entities collection in the persistent store. |
void |
update(SaleOrigin saleOrigin)
Updates the saleOrigin instance in the persistent store. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface fr.ifremer.allegro.data.survey.sale.SaleOriginDao |
---|
clusterSaleOriginToEntity, remoteSaleOriginFullVOToEntity, remoteSaleOriginNaturalIdToEntity |
Constructor Detail |
---|
public SaleOriginDaoBase()
Method Detail |
---|
public void setProgramDao(ProgramDao programDao)
programDao
.
protected ProgramDao getProgramDao()
programDao
.
public void setSaleDao(SaleDao saleDao)
saleDao
.
protected SaleDao getSaleDao()
saleDao
.
public java.lang.Object load(int transform, Sale sale, Program program)
SaleOriginDao
Does the same thing as SaleOriginDao.load(fr.ifremer.allegro.data.survey.sale.Sale,fr.ifremer.allegro.administration.programStrategy.Program)
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 SaleOriginDao
sale
- identifier of the entity to loadprogram
- identifier of the entity to load
SaleOriginDao.load(int, fr.ifremer.allegro.data.survey.sale.Sale,fr.ifremer.allegro.administration.programStrategy.Program)
public SaleOrigin load(Sale sale, Program program)
SaleOriginDao
load
in interface SaleOriginDao
SaleOriginDao.load(fr.ifremer.allegro.data.survey.sale.Sale,fr.ifremer.allegro.administration.programStrategy.Program)
public java.util.Collection loadAll()
SaleOriginDao
SaleOrigin
.
loadAll
in interface SaleOriginDao
SaleOriginDao.loadAll()
public java.util.Collection loadAll(int transform)
SaleOriginDao
Does the same thing as SaleOriginDao.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 SaleOriginDao
transform
- the flag indicating what transformation to use.
SaleOriginDao.loadAll(int)
public java.util.Collection loadAll(int pageNumber, int pageSize)
SaleOriginDao
Does the same thing as SaleOriginDao.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 SaleOriginDao
pageNumber
- the page number to retrieve when paging results.pageSize
- the size of the page to retrieve when paging results.
SaleOriginDao.loadAll(int, int)
public java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
SaleOriginDao
Does the same thing as SaleOriginDao.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 SaleOriginDao
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.
SaleOriginDao.loadAll(int, int, int)
public SaleOrigin create(SaleOrigin saleOrigin)
SaleOriginDao
create
in interface SaleOriginDao
SaleOriginDao.create(fr.ifremer.allegro.data.survey.sale.SaleOrigin)
public java.lang.Object create(int transform, SaleOrigin saleOrigin)
SaleOriginDao
Does the same thing as SaleOriginDao.create(fr.ifremer.allegro.data.survey.sale.SaleOrigin)
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 SaleOriginDao
SaleOriginDao.create(int transform, fr.ifremer.allegro.data.survey.sale.SaleOrigin)
public java.util.Collection create(java.util.Collection entities)
SaleOriginDao
entities
collection
create
in interface SaleOriginDao
entities
- the collection of fr.ifremer.allegro.data.survey.sale.SaleOrigin
instances to create.
SaleOriginDao.create(java.util.Collection)
public java.util.Collection create(int transform, java.util.Collection entities)
SaleOriginDao
Does the same thing as SaleOriginDao.create(fr.ifremer.allegro.data.survey.sale.SaleOrigin)
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 SaleOriginDao
SaleOriginDao.create(int, java.util.Collection)
public SaleOrigin create(Sale sale, Program program)
SaleOriginDao
Creates a new fr.ifremer.allegro.data.survey.sale.SaleOrigin
instance from all attributes and
properties and adds it to the persistent store.
create
in interface SaleOriginDao
SaleOriginDao.create(fr.ifremer.allegro.data.survey.sale.Sale,fr.ifremer.allegro.administration.programStrategy.Program)
public java.lang.Object create(int transform, Sale sale, Program program)
SaleOriginDao
Does the same thing as SaleOriginDao.create(fr.ifremer.allegro.data.survey.sale.Sale,fr.ifremer.allegro.administration.programStrategy.Program)
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 SaleOriginDao
SaleOriginDao.create(int, fr.ifremer.allegro.data.survey.sale.Sale,fr.ifremer.allegro.administration.programStrategy.Program)
public void update(SaleOrigin saleOrigin)
SaleOriginDao
saleOrigin
instance in the persistent store.
update
in interface SaleOriginDao
SaleOriginDao.update(fr.ifremer.allegro.data.survey.sale.SaleOrigin)
public void update(java.util.Collection entities)
SaleOriginDao
entities
collection in the persistent store.
update
in interface SaleOriginDao
SaleOriginDao.update(java.util.Collection)
public void remove(SaleOrigin saleOrigin)
SaleOriginDao
remove
in interface SaleOriginDao
SaleOriginDao.remove(fr.ifremer.allegro.data.survey.sale.SaleOrigin)
public void remove(Sale sale, Program program)
SaleOriginDao
identifiers
from the persistent store.
remove
in interface SaleOriginDao
SaleOriginDao.remove(fr.ifremer.allegro.data.survey.sale.Sale,fr.ifremer.allegro.administration.programStrategy.Program)
public void remove(java.util.Collection entities)
SaleOriginDao
entities collection.
- Specified by:
remove
in interface SaleOriginDao
- See Also:
SaleOriginDao.remove(java.util.Collection)
public java.util.Collection getAllSaleOrigin()
getAllSaleOrigin
in interface SaleOriginDao
SaleOriginDao.getAllSaleOrigin()
public java.util.Collection getAllSaleOrigin(int transform)
SaleOriginDao
Does the same thing as SaleOriginDao.getAllSaleOrigin()
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.
getAllSaleOrigin
in interface SaleOriginDao
SaleOriginDao.getAllSaleOrigin(int)
public java.util.Collection getAllSaleOrigin(java.lang.String queryString)
SaleOriginDao
Does the same thing as SaleOriginDao.getAllSaleOrigin()
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in SaleOriginDao.getAllSaleOrigin()
.
getAllSaleOrigin
in interface SaleOriginDao
SaleOriginDao.getAllSaleOrigin(java.lang.String)
public java.util.Collection getAllSaleOrigin(int pageNumber, int pageSize)
SaleOriginDao
Does the same thing as SaleOriginDao.getAllSaleOrigin()
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.
getAllSaleOrigin
in interface SaleOriginDao
SaleOriginDao.getAllSaleOrigin(int, int)
public java.util.Collection getAllSaleOrigin(java.lang.String queryString, int pageNumber, int pageSize)
SaleOriginDao
Does the same thing as SaleOriginDao.getAllSaleOrigin(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.
getAllSaleOrigin
in interface SaleOriginDao
SaleOriginDao.getAllSaleOrigin(String, int, int)
public java.util.Collection getAllSaleOrigin(int transform, java.lang.String queryString)
SaleOriginDao
Does the same thing as SaleOriginDao.getAllSaleOrigin(int)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in SaleOriginDao.getAllSaleOrigin(int)
.
getAllSaleOrigin
in interface SaleOriginDao
SaleOriginDao.getAllSaleOrigin(int, String)
public java.util.Collection getAllSaleOrigin(int transform, int pageNumber, int pageSize)
SaleOriginDao
Does the same thing as SaleOriginDao.getAllSaleOrigin(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.
getAllSaleOrigin
in interface SaleOriginDao
SaleOriginDao.getAllSaleOrigin(int, int, int)
public java.util.Collection getAllSaleOrigin(int transform, java.lang.String queryString, int pageNumber, int pageSize)
SaleOriginDao
Does the same thing as SaleOriginDao.getAllSaleOrigin(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.
getAllSaleOrigin
in interface SaleOriginDao
SaleOriginDao.getAllSaleOrigin(int, java.lang.String, int, int)
public java.util.Collection findSaleOriginByProgram(Program program)
findSaleOriginByProgram
in interface SaleOriginDao
SaleOriginDao.findSaleOriginByProgram(fr.ifremer.allegro.administration.programStrategy.Program)
public java.util.Collection findSaleOriginByProgram(int transform, Program program)
SaleOriginDao
Does the same thing as SaleOriginDao.findSaleOriginByProgram(fr.ifremer.allegro.administration.programStrategy.Program)
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.
findSaleOriginByProgram
in interface SaleOriginDao
SaleOriginDao.findSaleOriginByProgram(int, fr.ifremer.allegro.administration.programStrategy.Program)
public java.util.Collection findSaleOriginByProgram(java.lang.String queryString, Program program)
SaleOriginDao
Does the same thing as SaleOriginDao.findSaleOriginByProgram(fr.ifremer.allegro.administration.programStrategy.Program)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in SaleOriginDao.findSaleOriginByProgram(fr.ifremer.allegro.administration.programStrategy.Program)
.
findSaleOriginByProgram
in interface SaleOriginDao
SaleOriginDao.findSaleOriginByProgram(java.lang.String, fr.ifremer.allegro.administration.programStrategy.Program)
public java.util.Collection findSaleOriginByProgram(int pageNumber, int pageSize, Program program)
SaleOriginDao
Does the same thing as SaleOriginDao.findSaleOriginByProgram(fr.ifremer.allegro.administration.programStrategy.Program)
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.
findSaleOriginByProgram
in interface SaleOriginDao
SaleOriginDao.findSaleOriginByProgram(int, int, fr.ifremer.allegro.administration.programStrategy.Program)
public java.util.Collection findSaleOriginByProgram(java.lang.String queryString, int pageNumber, int pageSize, Program program)
SaleOriginDao
Does the same thing as SaleOriginDao.findSaleOriginByProgram(String, fr.ifremer.allegro.administration.programStrategy.Program)
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.
findSaleOriginByProgram
in interface SaleOriginDao
SaleOriginDao.findSaleOriginByProgram(String, int, int, fr.ifremer.allegro.administration.programStrategy.Program)
public java.util.Collection findSaleOriginByProgram(int transform, java.lang.String queryString, Program program)
SaleOriginDao
Does the same thing as SaleOriginDao.findSaleOriginByProgram(int, fr.ifremer.allegro.administration.programStrategy.Program)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in SaleOriginDao.findSaleOriginByProgram(int, fr.ifremer.allegro.administration.programStrategy.Program program)
.
findSaleOriginByProgram
in interface SaleOriginDao
SaleOriginDao.findSaleOriginByProgram(int, String, fr.ifremer.allegro.administration.programStrategy.Program)
public java.util.Collection findSaleOriginByProgram(int transform, int pageNumber, int pageSize, Program program)
SaleOriginDao
Does the same thing as SaleOriginDao.findSaleOriginByProgram(int, fr.ifremer.allegro.administration.programStrategy.Program)
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.
findSaleOriginByProgram
in interface SaleOriginDao
SaleOriginDao.findSaleOriginByProgram(int, int, int, fr.ifremer.allegro.administration.programStrategy.Program)
public java.util.Collection findSaleOriginByProgram(int transform, java.lang.String queryString, int pageNumber, int pageSize, Program program)
SaleOriginDao
Does the same thing as SaleOriginDao.findSaleOriginByProgram(int, String, fr.ifremer.allegro.administration.programStrategy.Program)
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.
findSaleOriginByProgram
in interface SaleOriginDao
SaleOriginDao.findSaleOriginByProgram(int, java.lang.String, int, int, fr.ifremer.allegro.administration.programStrategy.Program)
public java.util.Collection findSaleOriginBySale(Sale sale)
findSaleOriginBySale
in interface SaleOriginDao
SaleOriginDao.findSaleOriginBySale(fr.ifremer.allegro.data.survey.sale.Sale)
public java.util.Collection findSaleOriginBySale(int transform, Sale sale)
SaleOriginDao
Does the same thing as SaleOriginDao.findSaleOriginBySale(fr.ifremer.allegro.data.survey.sale.Sale)
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.
findSaleOriginBySale
in interface SaleOriginDao
SaleOriginDao.findSaleOriginBySale(int, fr.ifremer.allegro.data.survey.sale.Sale)
public java.util.Collection findSaleOriginBySale(java.lang.String queryString, Sale sale)
SaleOriginDao
Does the same thing as SaleOriginDao.findSaleOriginBySale(fr.ifremer.allegro.data.survey.sale.Sale)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in SaleOriginDao.findSaleOriginBySale(fr.ifremer.allegro.data.survey.sale.Sale)
.
findSaleOriginBySale
in interface SaleOriginDao
SaleOriginDao.findSaleOriginBySale(java.lang.String, fr.ifremer.allegro.data.survey.sale.Sale)
public java.util.Collection findSaleOriginBySale(int pageNumber, int pageSize, Sale sale)
SaleOriginDao
Does the same thing as SaleOriginDao.findSaleOriginBySale(fr.ifremer.allegro.data.survey.sale.Sale)
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.
findSaleOriginBySale
in interface SaleOriginDao
SaleOriginDao.findSaleOriginBySale(int, int, fr.ifremer.allegro.data.survey.sale.Sale)
public java.util.Collection findSaleOriginBySale(java.lang.String queryString, int pageNumber, int pageSize, Sale sale)
SaleOriginDao
Does the same thing as SaleOriginDao.findSaleOriginBySale(String, fr.ifremer.allegro.data.survey.sale.Sale)
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.
findSaleOriginBySale
in interface SaleOriginDao
SaleOriginDao.findSaleOriginBySale(String, int, int, fr.ifremer.allegro.data.survey.sale.Sale)
public java.util.Collection findSaleOriginBySale(int transform, java.lang.String queryString, Sale sale)
SaleOriginDao
Does the same thing as SaleOriginDao.findSaleOriginBySale(int, fr.ifremer.allegro.data.survey.sale.Sale)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in SaleOriginDao.findSaleOriginBySale(int, fr.ifremer.allegro.data.survey.sale.Sale sale)
.
findSaleOriginBySale
in interface SaleOriginDao
SaleOriginDao.findSaleOriginBySale(int, String, fr.ifremer.allegro.data.survey.sale.Sale)
public java.util.Collection findSaleOriginBySale(int transform, int pageNumber, int pageSize, Sale sale)
SaleOriginDao
Does the same thing as SaleOriginDao.findSaleOriginBySale(int, fr.ifremer.allegro.data.survey.sale.Sale)
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.
findSaleOriginBySale
in interface SaleOriginDao
SaleOriginDao.findSaleOriginBySale(int, int, int, fr.ifremer.allegro.data.survey.sale.Sale)
public java.util.Collection findSaleOriginBySale(int transform, java.lang.String queryString, int pageNumber, int pageSize, Sale sale)
SaleOriginDao
Does the same thing as SaleOriginDao.findSaleOriginBySale(int, String, fr.ifremer.allegro.data.survey.sale.Sale)
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.
findSaleOriginBySale
in interface SaleOriginDao
SaleOriginDao.findSaleOriginBySale(int, java.lang.String, int, int, fr.ifremer.allegro.data.survey.sale.Sale)
public SaleOrigin findSaleOriginByIdentifiers(Program program, Sale sale)
findSaleOriginByIdentifiers
in interface SaleOriginDao
SaleOriginDao.findSaleOriginByIdentifiers(fr.ifremer.allegro.administration.programStrategy.Program, fr.ifremer.allegro.data.survey.sale.Sale)
public java.lang.Object findSaleOriginByIdentifiers(int transform, Program program, Sale sale)
SaleOriginDao
Does the same thing as SaleOriginDao.findSaleOriginByIdentifiers(fr.ifremer.allegro.administration.programStrategy.Program, fr.ifremer.allegro.data.survey.sale.Sale)
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.
findSaleOriginByIdentifiers
in interface SaleOriginDao
SaleOriginDao.findSaleOriginByIdentifiers(int, fr.ifremer.allegro.administration.programStrategy.Program, fr.ifremer.allegro.data.survey.sale.Sale)
public SaleOrigin findSaleOriginByIdentifiers(java.lang.String queryString, Program program, Sale sale)
SaleOriginDao
Does the same thing as SaleOriginDao.findSaleOriginByIdentifiers(fr.ifremer.allegro.administration.programStrategy.Program, fr.ifremer.allegro.data.survey.sale.Sale)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in SaleOriginDao.findSaleOriginByIdentifiers(fr.ifremer.allegro.administration.programStrategy.Program, fr.ifremer.allegro.data.survey.sale.Sale)
.
findSaleOriginByIdentifiers
in interface SaleOriginDao
SaleOriginDao.findSaleOriginByIdentifiers(java.lang.String, fr.ifremer.allegro.administration.programStrategy.Program, fr.ifremer.allegro.data.survey.sale.Sale)
public java.lang.Object findSaleOriginByIdentifiers(int transform, java.lang.String queryString, Program program, Sale sale)
SaleOriginDao
Does the same thing as SaleOriginDao.findSaleOriginByIdentifiers(int, fr.ifremer.allegro.administration.programStrategy.Program, fr.ifremer.allegro.data.survey.sale.Sale)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in SaleOriginDao.findSaleOriginByIdentifiers(int, fr.ifremer.allegro.administration.programStrategy.Program program, fr.ifremer.allegro.data.survey.sale.Sale sale)
.
findSaleOriginByIdentifiers
in interface SaleOriginDao
SaleOriginDao.findSaleOriginByIdentifiers(int, java.lang.String, fr.ifremer.allegro.administration.programStrategy.Program, fr.ifremer.allegro.data.survey.sale.Sale)
public SaleOrigin findSaleOriginByNaturalId(Program program, Sale sale)
findSaleOriginByNaturalId
in interface SaleOriginDao
SaleOriginDao.findSaleOriginByNaturalId(fr.ifremer.allegro.administration.programStrategy.Program, fr.ifremer.allegro.data.survey.sale.Sale)
public java.lang.Object findSaleOriginByNaturalId(int transform, Program program, Sale sale)
SaleOriginDao
Does the same thing as SaleOriginDao.findSaleOriginByNaturalId(fr.ifremer.allegro.administration.programStrategy.Program, fr.ifremer.allegro.data.survey.sale.Sale)
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.
findSaleOriginByNaturalId
in interface SaleOriginDao
SaleOriginDao.findSaleOriginByNaturalId(int, fr.ifremer.allegro.administration.programStrategy.Program, fr.ifremer.allegro.data.survey.sale.Sale)
public SaleOrigin findSaleOriginByNaturalId(java.lang.String queryString, Program program, Sale sale)
SaleOriginDao
Does the same thing as SaleOriginDao.findSaleOriginByNaturalId(fr.ifremer.allegro.administration.programStrategy.Program, fr.ifremer.allegro.data.survey.sale.Sale)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in SaleOriginDao.findSaleOriginByNaturalId(fr.ifremer.allegro.administration.programStrategy.Program, fr.ifremer.allegro.data.survey.sale.Sale)
.
findSaleOriginByNaturalId
in interface SaleOriginDao
SaleOriginDao.findSaleOriginByNaturalId(java.lang.String, fr.ifremer.allegro.administration.programStrategy.Program, fr.ifremer.allegro.data.survey.sale.Sale)
public java.lang.Object findSaleOriginByNaturalId(int transform, java.lang.String queryString, Program program, Sale sale)
SaleOriginDao
Does the same thing as SaleOriginDao.findSaleOriginByNaturalId(int, fr.ifremer.allegro.administration.programStrategy.Program, fr.ifremer.allegro.data.survey.sale.Sale)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in SaleOriginDao.findSaleOriginByNaturalId(int, fr.ifremer.allegro.administration.programStrategy.Program program, fr.ifremer.allegro.data.survey.sale.Sale sale)
.
findSaleOriginByNaturalId
in interface SaleOriginDao
SaleOriginDao.findSaleOriginByNaturalId(int, java.lang.String, fr.ifremer.allegro.administration.programStrategy.Program, fr.ifremer.allegro.data.survey.sale.Sale)
public SaleOrigin createFromClusterSaleOrigin(ClusterSaleOrigin clusterSaleOrigin)
createFromClusterSaleOrigin
in interface SaleOriginDao
SaleOriginDao.createFromClusterSaleOrigin(fr.ifremer.allegro.data.survey.sale.generic.cluster.ClusterSaleOrigin)
protected abstract SaleOrigin handleCreateFromClusterSaleOrigin(ClusterSaleOrigin clusterSaleOrigin) throws java.lang.Exception
createFromClusterSaleOrigin(fr.ifremer.allegro.data.survey.sale.generic.cluster.ClusterSaleOrigin)
java.lang.Exception
protected java.lang.Object transformEntity(int transform, SaleOrigin entity)
transform
flag is set to one of the constants defined in fr.ifremer.allegro.data.survey.sale.SaleOriginDao
, please note
that the SaleOriginDao.TRANSFORM_NONE
constant denotes no transformation, so the entity itself
will be returned.
This method will return instances of these types:
SaleOrigin
- SaleOriginDao.TRANSFORM_NONE
RemoteSaleOriginFullVO
- TRANSFORM_REMOTESALEORIGINFULLVO
RemoteSaleOriginNaturalId
- TRANSFORM_REMOTESALEORIGINNATURALID
ClusterSaleOrigin
- TRANSFORM_CLUSTERSALEORIGIN
SaleOriginDao.TRANSFORM_NONE
is assumed.
transform
- one of the constants declared in SaleOriginDao
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.data.survey.sale.SaleOrigin)
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.data.survey.sale.SaleOriginDao
entities
- the collection of entities to transformtransformEntity(int,fr.ifremer.allegro.data.survey.sale.SaleOrigin)
protected SaleOrigin toEntity(java.lang.Object[] row)
public final void toRemoteSaleOriginFullVOCollection(java.util.Collection entities)
SaleOriginDao
RemoteSaleOriginFullVO
.
toRemoteSaleOriginFullVOCollection
in interface SaleOriginDao
SaleOriginDao.toRemoteSaleOriginFullVOCollection(java.util.Collection)
public final RemoteSaleOriginFullVO[] toRemoteSaleOriginFullVOArray(java.util.Collection entities)
SaleOriginDao
RemoteSaleOriginFullVO
.
toRemoteSaleOriginFullVOArray
in interface SaleOriginDao
SaleOriginDao.toRemoteSaleOriginFullVOArray(java.util.Collection)
protected RemoteSaleOriginFullVO toRemoteSaleOriginFullVO(java.lang.Object[] row)
SaleOriginDaoImpl
class if you intend to use reporting queries.
SaleOriginDao.toRemoteSaleOriginFullVO(fr.ifremer.allegro.data.survey.sale.SaleOrigin)
public final void remoteSaleOriginFullVOToEntityCollection(java.util.Collection instances)
SaleOriginDao
RemoteSaleOriginFullVO
to this
DAO's entity.
remoteSaleOriginFullVOToEntityCollection
in interface SaleOriginDao
SaleOriginDao.remoteSaleOriginFullVOToEntityCollection(java.util.Collection)
public void toRemoteSaleOriginFullVO(SaleOrigin source, RemoteSaleOriginFullVO target)
SaleOriginDao
toRemoteSaleOriginFullVO
in interface SaleOriginDao
SaleOriginDao.toRemoteSaleOriginFullVO(fr.ifremer.allegro.data.survey.sale.SaleOrigin, fr.ifremer.allegro.data.survey.sale.generic.vo.RemoteSaleOriginFullVO)
public RemoteSaleOriginFullVO toRemoteSaleOriginFullVO(SaleOrigin entity)
SaleOriginDao
RemoteSaleOriginFullVO
.
toRemoteSaleOriginFullVO
in interface SaleOriginDao
SaleOriginDao.toRemoteSaleOriginFullVO(fr.ifremer.allegro.data.survey.sale.SaleOrigin)
public void remoteSaleOriginFullVOToEntity(RemoteSaleOriginFullVO source, SaleOrigin target, boolean copyIfNull)
SaleOriginDao
RemoteSaleOriginFullVO
to the specified entity.
remoteSaleOriginFullVOToEntity
in interface SaleOriginDao
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.data.survey.sale.SaleOriginDao#remoteSaleOriginFullVOToEntity(fr.ifremer.allegro.data.survey.sale.generic.vo.RemoteSaleOriginFullVO, fr.ifremer.allegro.data.survey.sale.SaleOrigin)
public final void toRemoteSaleOriginNaturalIdCollection(java.util.Collection entities)
SaleOriginDao
RemoteSaleOriginNaturalId
.
toRemoteSaleOriginNaturalIdCollection
in interface SaleOriginDao
SaleOriginDao.toRemoteSaleOriginNaturalIdCollection(java.util.Collection)
public final RemoteSaleOriginNaturalId[] toRemoteSaleOriginNaturalIdArray(java.util.Collection entities)
SaleOriginDao
RemoteSaleOriginNaturalId
.
toRemoteSaleOriginNaturalIdArray
in interface SaleOriginDao
SaleOriginDao.toRemoteSaleOriginNaturalIdArray(java.util.Collection)
protected RemoteSaleOriginNaturalId toRemoteSaleOriginNaturalId(java.lang.Object[] row)
SaleOriginDaoImpl
class if you intend to use reporting queries.
SaleOriginDao.toRemoteSaleOriginNaturalId(fr.ifremer.allegro.data.survey.sale.SaleOrigin)
public final void remoteSaleOriginNaturalIdToEntityCollection(java.util.Collection instances)
SaleOriginDao
RemoteSaleOriginNaturalId
to this
DAO's entity.
remoteSaleOriginNaturalIdToEntityCollection
in interface SaleOriginDao
SaleOriginDao.remoteSaleOriginNaturalIdToEntityCollection(java.util.Collection)
public void toRemoteSaleOriginNaturalId(SaleOrigin source, RemoteSaleOriginNaturalId target)
SaleOriginDao
toRemoteSaleOriginNaturalId
in interface SaleOriginDao
SaleOriginDao.toRemoteSaleOriginNaturalId(fr.ifremer.allegro.data.survey.sale.SaleOrigin, fr.ifremer.allegro.data.survey.sale.generic.vo.RemoteSaleOriginNaturalId)
public RemoteSaleOriginNaturalId toRemoteSaleOriginNaturalId(SaleOrigin entity)
SaleOriginDao
RemoteSaleOriginNaturalId
.
toRemoteSaleOriginNaturalId
in interface SaleOriginDao
SaleOriginDao.toRemoteSaleOriginNaturalId(fr.ifremer.allegro.data.survey.sale.SaleOrigin)
public void remoteSaleOriginNaturalIdToEntity(RemoteSaleOriginNaturalId source, SaleOrigin target, boolean copyIfNull)
SaleOriginDao
RemoteSaleOriginNaturalId
to the specified entity.
remoteSaleOriginNaturalIdToEntity
in interface SaleOriginDao
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.data.survey.sale.SaleOriginDao#remoteSaleOriginNaturalIdToEntity(fr.ifremer.allegro.data.survey.sale.generic.vo.RemoteSaleOriginNaturalId, fr.ifremer.allegro.data.survey.sale.SaleOrigin)
public final void toClusterSaleOriginCollection(java.util.Collection entities)
SaleOriginDao
ClusterSaleOrigin
.
toClusterSaleOriginCollection
in interface SaleOriginDao
SaleOriginDao.toClusterSaleOriginCollection(java.util.Collection)
public final ClusterSaleOrigin[] toClusterSaleOriginArray(java.util.Collection entities)
SaleOriginDao
ClusterSaleOrigin
.
toClusterSaleOriginArray
in interface SaleOriginDao
SaleOriginDao.toClusterSaleOriginArray(java.util.Collection)
protected ClusterSaleOrigin toClusterSaleOrigin(java.lang.Object[] row)
SaleOriginDaoImpl
class if you intend to use reporting queries.
SaleOriginDao.toClusterSaleOrigin(fr.ifremer.allegro.data.survey.sale.SaleOrigin)
public final void clusterSaleOriginToEntityCollection(java.util.Collection instances)
SaleOriginDao
ClusterSaleOrigin
to this
DAO's entity.
clusterSaleOriginToEntityCollection
in interface SaleOriginDao
SaleOriginDao.clusterSaleOriginToEntityCollection(java.util.Collection)
public void toClusterSaleOrigin(SaleOrigin source, ClusterSaleOrigin target)
SaleOriginDao
toClusterSaleOrigin
in interface SaleOriginDao
SaleOriginDao.toClusterSaleOrigin(fr.ifremer.allegro.data.survey.sale.SaleOrigin, fr.ifremer.allegro.data.survey.sale.generic.cluster.ClusterSaleOrigin)
public ClusterSaleOrigin toClusterSaleOrigin(SaleOrigin entity)
SaleOriginDao
ClusterSaleOrigin
.
toClusterSaleOrigin
in interface SaleOriginDao
SaleOriginDao.toClusterSaleOrigin(fr.ifremer.allegro.data.survey.sale.SaleOrigin)
public void clusterSaleOriginToEntity(ClusterSaleOrigin source, SaleOrigin target, boolean copyIfNull)
SaleOriginDao
ClusterSaleOrigin
to the specified entity.
clusterSaleOriginToEntity
in interface SaleOriginDao
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.data.survey.sale.SaleOriginDao#clusterSaleOriginToEntity(fr.ifremer.allegro.data.survey.sale.generic.cluster.ClusterSaleOrigin, fr.ifremer.allegro.data.survey.sale.SaleOrigin)
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)
SaleOriginDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface SaleOriginDao
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.SaleOriginDao.search(int, int, int, fr.ifremer.allegro.Search)
public PaginationResult search(int pageNumber, int pageSize, Search search)
SaleOriginDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface SaleOriginDao
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.SaleOriginDao.search(int, int, fr.ifremer.allegro.Search)
public java.util.Set search(int transform, Search search)
SaleOriginDao
SaleOriginDao.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 SaleOriginDao
transform
- the transformation flag.search
- the search object which provides the search parameters and pagination specification.
SaleOriginDao.search(int, fr.ifremer.allegro.Search)
public java.util.Set search(Search search)
SaleOriginDao
search
object.
search
in interface SaleOriginDao
search
- the search object which provides the search parameters and pagination specification.
SaleOriginDao.search(fr.ifremer.allegro.Search)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |