|
||||||||||
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.sale.ExpectedSaleDaoBase
public abstract class ExpectedSaleDaoBase
Base Spring DAO Class: is able to create, update, remove, load, and find
objects of type fr.ifremer.allegro.data.sale.ExpectedSale
.
ExpectedSale
Field Summary |
---|
Fields inherited from interface fr.ifremer.allegro.data.sale.ExpectedSaleDao |
---|
TRANSFORM_CLUSTEREXPECTEDSALE, TRANSFORM_NONE, TRANSFORM_REMOTEEXPECTEDSALEFULLVO, TRANSFORM_REMOTEEXPECTEDSALENATURALID |
Constructor Summary | |
---|---|
ExpectedSaleDaoBase()
|
Method Summary | |
---|---|
void |
clusterExpectedSaleToEntity(ClusterExpectedSale source,
ExpectedSale target,
boolean copyIfNull)
Copies the fields of ClusterExpectedSale to the specified entity. |
void |
clusterExpectedSaleToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type ClusterExpectedSale to this
DAO's entity. |
java.util.Collection |
create(java.util.Collection entities)
Creates a new instance of fr.ifremer.allegro.data.sale.ExpectedSale and adds from the passed in entities collection |
ExpectedSale |
create(java.util.Collection saleMeasurements,
ObservedLanding observedLanding,
ObservedFishingTrip observedFishingTrip,
Location saleLocation,
SaleType saleType,
java.util.Collection saleProduces)
Creates a new fr.ifremer.allegro.data.sale.ExpectedSale
instance from all attributes and
properties and adds it to the persistent store. |
ExpectedSale |
create(ExpectedSale expectedSale)
Creates an instance of fr.ifremer.allegro.data.sale.ExpectedSale and adds it to the persistent store. |
java.util.Collection |
create(int transform,
java.util.Collection entities)
Does the same thing as ExpectedSaleDao.create(fr.ifremer.allegro.data.sale.ExpectedSale) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
java.util.Collection saleMeasurements,
ObservedLanding observedLanding,
ObservedFishingTrip observedFishingTrip,
Location saleLocation,
SaleType saleType,
java.util.Collection saleProduces)
Does the same thing as ExpectedSaleDao.create(java.util.Collection,fr.ifremer.allegro.data.survey.landing.ObservedLanding,fr.ifremer.allegro.data.survey.fishingTrip.ObservedFishingTrip,fr.ifremer.allegro.referential.location.Location,fr.ifremer.allegro.referential.SaleType,java.util.Collection) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
ExpectedSale expectedSale)
Does the same thing as ExpectedSaleDao.create(fr.ifremer.allegro.data.sale.ExpectedSale) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
Location saleLocation,
SaleType saleType)
Does the same thing as ExpectedSaleDao.create(fr.ifremer.allegro.referential.location.Location,fr.ifremer.allegro.referential.SaleType) with an
additional flag called transform . |
ExpectedSale |
create(Location saleLocation,
SaleType saleType)
Creates a new fr.ifremer.allegro.data.sale.ExpectedSale
instance from only required properties (attributes
and association ends) and adds it to the persistent store. |
ExpectedSale |
createFromClusterExpectedSale(ClusterExpectedSale clusterExpectedSale)
|
ExpectedSale |
findExpectedSaleById(java.lang.Integer id)
|
java.lang.Object |
findExpectedSaleById(int transform,
java.lang.Integer id)
Does the same thing as ExpectedSaleDao.findExpectedSaleById(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findExpectedSaleById(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as ExpectedSaleDao.findExpectedSaleById(int, java.lang.Integer) with an
additional argument called queryString . |
ExpectedSale |
findExpectedSaleById(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as ExpectedSaleDao.findExpectedSaleById(java.lang.Integer) with an
additional argument called queryString . |
ExpectedSale |
findExpectedSaleByNaturalId(java.lang.Integer id)
|
java.lang.Object |
findExpectedSaleByNaturalId(int transform,
java.lang.Integer id)
Does the same thing as ExpectedSaleDao.findExpectedSaleByNaturalId(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findExpectedSaleByNaturalId(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as ExpectedSaleDao.findExpectedSaleByNaturalId(int, java.lang.Integer) with an
additional argument called queryString . |
ExpectedSale |
findExpectedSaleByNaturalId(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as ExpectedSaleDao.findExpectedSaleByNaturalId(java.lang.Integer) with an
additional argument called queryString . |
java.util.Collection |
findExpectedSaleByObservedFishingTrip(int transform,
int pageNumber,
int pageSize,
ObservedFishingTrip observedFishingTrip)
Does the same thing as ExpectedSaleDao.findExpectedSaleByObservedFishingTrip(int, fr.ifremer.allegro.data.survey.fishingTrip.ObservedFishingTrip) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findExpectedSaleByObservedFishingTrip(int pageNumber,
int pageSize,
ObservedFishingTrip observedFishingTrip)
Does the same thing as ExpectedSaleDao.findExpectedSaleByObservedFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.ObservedFishingTrip) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findExpectedSaleByObservedFishingTrip(int transform,
ObservedFishingTrip observedFishingTrip)
Does the same thing as ExpectedSaleDao.findExpectedSaleByObservedFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.ObservedFishingTrip) with an
additional flag called transform . |
java.util.Collection |
findExpectedSaleByObservedFishingTrip(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
ObservedFishingTrip observedFishingTrip)
Does the same thing as ExpectedSaleDao.findExpectedSaleByObservedFishingTrip(int, String, fr.ifremer.allegro.data.survey.fishingTrip.ObservedFishingTrip) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findExpectedSaleByObservedFishingTrip(int transform,
java.lang.String queryString,
ObservedFishingTrip observedFishingTrip)
Does the same thing as ExpectedSaleDao.findExpectedSaleByObservedFishingTrip(int, fr.ifremer.allegro.data.survey.fishingTrip.ObservedFishingTrip) with an
additional argument called queryString . |
java.util.Collection |
findExpectedSaleByObservedFishingTrip(ObservedFishingTrip observedFishingTrip)
|
java.util.Collection |
findExpectedSaleByObservedFishingTrip(java.lang.String queryString,
int pageNumber,
int pageSize,
ObservedFishingTrip observedFishingTrip)
Does the same thing as ExpectedSaleDao.findExpectedSaleByObservedFishingTrip(String, fr.ifremer.allegro.data.survey.fishingTrip.ObservedFishingTrip) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findExpectedSaleByObservedFishingTrip(java.lang.String queryString,
ObservedFishingTrip observedFishingTrip)
Does the same thing as ExpectedSaleDao.findExpectedSaleByObservedFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.ObservedFishingTrip) with an
additional argument called queryString . |
java.util.Collection |
findExpectedSaleByObservedLanding(int transform,
int pageNumber,
int pageSize,
ObservedLanding observedLanding)
Does the same thing as ExpectedSaleDao.findExpectedSaleByObservedLanding(int, fr.ifremer.allegro.data.survey.landing.ObservedLanding) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findExpectedSaleByObservedLanding(int pageNumber,
int pageSize,
ObservedLanding observedLanding)
Does the same thing as ExpectedSaleDao.findExpectedSaleByObservedLanding(fr.ifremer.allegro.data.survey.landing.ObservedLanding) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findExpectedSaleByObservedLanding(int transform,
ObservedLanding observedLanding)
Does the same thing as ExpectedSaleDao.findExpectedSaleByObservedLanding(fr.ifremer.allegro.data.survey.landing.ObservedLanding) with an
additional flag called transform . |
java.util.Collection |
findExpectedSaleByObservedLanding(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
ObservedLanding observedLanding)
Does the same thing as ExpectedSaleDao.findExpectedSaleByObservedLanding(int, String, fr.ifremer.allegro.data.survey.landing.ObservedLanding) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findExpectedSaleByObservedLanding(int transform,
java.lang.String queryString,
ObservedLanding observedLanding)
Does the same thing as ExpectedSaleDao.findExpectedSaleByObservedLanding(int, fr.ifremer.allegro.data.survey.landing.ObservedLanding) with an
additional argument called queryString . |
java.util.Collection |
findExpectedSaleByObservedLanding(ObservedLanding observedLanding)
|
java.util.Collection |
findExpectedSaleByObservedLanding(java.lang.String queryString,
int pageNumber,
int pageSize,
ObservedLanding observedLanding)
Does the same thing as ExpectedSaleDao.findExpectedSaleByObservedLanding(String, fr.ifremer.allegro.data.survey.landing.ObservedLanding) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findExpectedSaleByObservedLanding(java.lang.String queryString,
ObservedLanding observedLanding)
Does the same thing as ExpectedSaleDao.findExpectedSaleByObservedLanding(fr.ifremer.allegro.data.survey.landing.ObservedLanding) with an
additional argument called queryString . |
java.util.Collection |
findExpectedSaleBySaleLocation(int transform,
int pageNumber,
int pageSize,
Location saleLocation)
Does the same thing as ExpectedSaleDao.findExpectedSaleBySaleLocation(int, fr.ifremer.allegro.referential.location.Location) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findExpectedSaleBySaleLocation(int pageNumber,
int pageSize,
Location saleLocation)
Does the same thing as ExpectedSaleDao.findExpectedSaleBySaleLocation(fr.ifremer.allegro.referential.location.Location) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findExpectedSaleBySaleLocation(int transform,
Location saleLocation)
Does the same thing as ExpectedSaleDao.findExpectedSaleBySaleLocation(fr.ifremer.allegro.referential.location.Location) with an
additional flag called transform . |
java.util.Collection |
findExpectedSaleBySaleLocation(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
Location saleLocation)
Does the same thing as ExpectedSaleDao.findExpectedSaleBySaleLocation(int, String, fr.ifremer.allegro.referential.location.Location) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findExpectedSaleBySaleLocation(int transform,
java.lang.String queryString,
Location saleLocation)
Does the same thing as ExpectedSaleDao.findExpectedSaleBySaleLocation(int, fr.ifremer.allegro.referential.location.Location) with an
additional argument called queryString . |
java.util.Collection |
findExpectedSaleBySaleLocation(Location saleLocation)
|
java.util.Collection |
findExpectedSaleBySaleLocation(java.lang.String queryString,
int pageNumber,
int pageSize,
Location saleLocation)
Does the same thing as ExpectedSaleDao.findExpectedSaleBySaleLocation(String, fr.ifremer.allegro.referential.location.Location) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findExpectedSaleBySaleLocation(java.lang.String queryString,
Location saleLocation)
Does the same thing as ExpectedSaleDao.findExpectedSaleBySaleLocation(fr.ifremer.allegro.referential.location.Location) with an
additional argument called queryString . |
java.util.Collection |
findExpectedSaleBySaleType(int transform,
int pageNumber,
int pageSize,
SaleType saleType)
Does the same thing as ExpectedSaleDao.findExpectedSaleBySaleType(int, fr.ifremer.allegro.referential.SaleType) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findExpectedSaleBySaleType(int pageNumber,
int pageSize,
SaleType saleType)
Does the same thing as ExpectedSaleDao.findExpectedSaleBySaleType(fr.ifremer.allegro.referential.SaleType) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findExpectedSaleBySaleType(int transform,
SaleType saleType)
Does the same thing as ExpectedSaleDao.findExpectedSaleBySaleType(fr.ifremer.allegro.referential.SaleType) with an
additional flag called transform . |
java.util.Collection |
findExpectedSaleBySaleType(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
SaleType saleType)
Does the same thing as ExpectedSaleDao.findExpectedSaleBySaleType(int, String, fr.ifremer.allegro.referential.SaleType) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findExpectedSaleBySaleType(int transform,
java.lang.String queryString,
SaleType saleType)
Does the same thing as ExpectedSaleDao.findExpectedSaleBySaleType(int, fr.ifremer.allegro.referential.SaleType) with an
additional argument called queryString . |
java.util.Collection |
findExpectedSaleBySaleType(SaleType saleType)
|
java.util.Collection |
findExpectedSaleBySaleType(java.lang.String queryString,
int pageNumber,
int pageSize,
SaleType saleType)
Does the same thing as ExpectedSaleDao.findExpectedSaleBySaleType(String, fr.ifremer.allegro.referential.SaleType) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findExpectedSaleBySaleType(java.lang.String queryString,
SaleType saleType)
Does the same thing as ExpectedSaleDao.findExpectedSaleBySaleType(fr.ifremer.allegro.referential.SaleType) with an
additional argument called queryString . |
ClusterExpectedSale[] |
getAllClusterExpectedSale(java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize)
|
java.util.Collection |
getAllExpectedSale()
|
java.util.Collection |
getAllExpectedSale(int transform)
Does the same thing as ExpectedSaleDao.getAllExpectedSale() with an
additional flag called transform . |
java.util.Collection |
getAllExpectedSale(int pageNumber,
int pageSize)
Does the same thing as ExpectedSaleDao.getAllExpectedSale() with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllExpectedSale(int transform,
int pageNumber,
int pageSize)
Does the same thing as ExpectedSaleDao.getAllExpectedSale(int) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllExpectedSale(int transform,
java.lang.String queryString)
Does the same thing as ExpectedSaleDao.getAllExpectedSale(int) with an
additional argument called queryString . |
java.util.Collection |
getAllExpectedSale(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as ExpectedSaleDao.getAllExpectedSale(int, String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllExpectedSale(java.lang.String queryString)
Does the same thing as ExpectedSaleDao.getAllExpectedSale() with an
additional argument called queryString . |
java.util.Collection |
getAllExpectedSale(java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as ExpectedSaleDao.getAllExpectedSale(String) with an
additional two arguments called pageNumber and pageSize . |
protected LocationDao |
getLocationDao()
Gets the reference to locationDao . |
protected ObservedFishingTripDao |
getObservedFishingTripDao()
Gets the reference to observedFishingTripDao . |
protected ObservedLandingDao |
getObservedLandingDao()
Gets the reference to observedLandingDao . |
protected java.security.Principal |
getPrincipal()
Gets the current principal if one has been set,
otherwise returns null . |
protected SaleMeasurementDao |
getSaleMeasurementDao()
Gets the reference to saleMeasurementDao . |
protected SaleProduceDao |
getSaleProduceDao()
Gets the reference to saleProduceDao . |
protected SaleTypeDao |
getSaleTypeDao()
Gets the reference to saleTypeDao . |
protected abstract ExpectedSale |
handleCreateFromClusterExpectedSale(ClusterExpectedSale clusterExpectedSale)
Performs the core logic for createFromClusterExpectedSale(fr.ifremer.allegro.data.sale.generic.cluster.ClusterExpectedSale) |
protected abstract ClusterExpectedSale[] |
handleGetAllClusterExpectedSale(java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize)
Performs the core logic for getAllClusterExpectedSale(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer) |
ExpectedSale |
load(java.lang.Integer id)
Loads an instance of fr.ifremer.allegro.data.sale.ExpectedSale from the persistent store. |
java.lang.Object |
load(int transform,
java.lang.Integer id)
Does the same thing as ExpectedSaleDao.load(java.lang.Integer) with an
additional flag called transform . |
java.util.Collection |
loadAll()
Loads all entities of type ExpectedSale . |
java.util.Collection |
loadAll(int transform)
Does the same thing as ExpectedSaleDao.loadAll() with an
additional flag called transform . |
java.util.Collection |
loadAll(int pageNumber,
int pageSize)
Does the same thing as ExpectedSaleDao.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 ExpectedSaleDao.loadAll(int) with an
additional two arguments called pageNumber and pageSize . |
void |
remoteExpectedSaleFullVOToEntity(RemoteExpectedSaleFullVO source,
ExpectedSale target,
boolean copyIfNull)
Copies the fields of RemoteExpectedSaleFullVO to the specified entity. |
void |
remoteExpectedSaleFullVOToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteExpectedSaleFullVO to this
DAO's entity. |
void |
remoteExpectedSaleNaturalIdToEntity(RemoteExpectedSaleNaturalId source,
ExpectedSale target,
boolean copyIfNull)
Copies the fields of RemoteExpectedSaleNaturalId to the specified entity. |
void |
remoteExpectedSaleNaturalIdToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteExpectedSaleNaturalId to this
DAO's entity. |
void |
remove(java.util.Collection entities)
Removes all entities in the given entities |
void |
remove(ExpectedSale expectedSale)
Removes the instance of fr.ifremer.allegro.data.sale.ExpectedSale from the persistent store. |
void |
remove(java.lang.Integer id)
Removes the instance of fr.ifremer.allegro.data.sale.ExpectedSale 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 ExpectedSaleDao.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 |
setLocationDao(LocationDao locationDao)
Sets the reference to locationDao . |
void |
setObservedFishingTripDao(ObservedFishingTripDao observedFishingTripDao)
Sets the reference to observedFishingTripDao . |
void |
setObservedLandingDao(ObservedLandingDao observedLandingDao)
Sets the reference to observedLandingDao . |
void |
setSaleMeasurementDao(SaleMeasurementDao saleMeasurementDao)
Sets the reference to saleMeasurementDao . |
void |
setSaleProduceDao(SaleProduceDao saleProduceDao)
Sets the reference to saleProduceDao . |
void |
setSaleTypeDao(SaleTypeDao saleTypeDao)
Sets the reference to saleTypeDao . |
ClusterExpectedSale |
toClusterExpectedSale(ExpectedSale entity)
Converts this DAO's entity to an object of type ClusterExpectedSale . |
void |
toClusterExpectedSale(ExpectedSale source,
ClusterExpectedSale target)
Copies the fields of the specified entity to the target value object. |
protected ClusterExpectedSale |
toClusterExpectedSale(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
ClusterExpectedSale[] |
toClusterExpectedSaleArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type ClusterExpectedSale . |
void |
toClusterExpectedSaleCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type ClusterExpectedSale . |
protected ExpectedSale |
toEntity(java.lang.Object[] row)
|
RemoteExpectedSaleFullVO |
toRemoteExpectedSaleFullVO(ExpectedSale entity)
Converts this DAO's entity to an object of type RemoteExpectedSaleFullVO . |
void |
toRemoteExpectedSaleFullVO(ExpectedSale source,
RemoteExpectedSaleFullVO target)
Copies the fields of the specified entity to the target value object. |
protected RemoteExpectedSaleFullVO |
toRemoteExpectedSaleFullVO(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteExpectedSaleFullVO[] |
toRemoteExpectedSaleFullVOArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteExpectedSaleFullVO . |
void |
toRemoteExpectedSaleFullVOCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteExpectedSaleFullVO . |
RemoteExpectedSaleNaturalId |
toRemoteExpectedSaleNaturalId(ExpectedSale entity)
Converts this DAO's entity to an object of type RemoteExpectedSaleNaturalId . |
void |
toRemoteExpectedSaleNaturalId(ExpectedSale source,
RemoteExpectedSaleNaturalId target)
Copies the fields of the specified entity to the target value object. |
protected RemoteExpectedSaleNaturalId |
toRemoteExpectedSaleNaturalId(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteExpectedSaleNaturalId[] |
toRemoteExpectedSaleNaturalIdArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteExpectedSaleNaturalId . |
void |
toRemoteExpectedSaleNaturalIdCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteExpectedSaleNaturalId . |
protected void |
transformEntities(int transform,
java.util.Collection entities)
Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.data.sale.ExpectedSale)
method. |
protected java.lang.Object |
transformEntity(int transform,
ExpectedSale 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.sale.ExpectedSaleDao , please note
that the ExpectedSaleDao.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(ExpectedSale expectedSale)
Updates the expectedSale 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.sale.ExpectedSaleDao |
---|
clusterExpectedSaleToEntity, remoteExpectedSaleFullVOToEntity, remoteExpectedSaleNaturalIdToEntity |
Constructor Detail |
---|
public ExpectedSaleDaoBase()
Method Detail |
---|
public void setSaleTypeDao(SaleTypeDao saleTypeDao)
saleTypeDao
.
protected SaleTypeDao getSaleTypeDao()
saleTypeDao
.
public void setLocationDao(LocationDao locationDao)
locationDao
.
protected LocationDao getLocationDao()
locationDao
.
public void setObservedFishingTripDao(ObservedFishingTripDao observedFishingTripDao)
observedFishingTripDao
.
protected ObservedFishingTripDao getObservedFishingTripDao()
observedFishingTripDao
.
public void setObservedLandingDao(ObservedLandingDao observedLandingDao)
observedLandingDao
.
protected ObservedLandingDao getObservedLandingDao()
observedLandingDao
.
public void setSaleProduceDao(SaleProduceDao saleProduceDao)
saleProduceDao
.
protected SaleProduceDao getSaleProduceDao()
saleProduceDao
.
public void setSaleMeasurementDao(SaleMeasurementDao saleMeasurementDao)
saleMeasurementDao
.
protected SaleMeasurementDao getSaleMeasurementDao()
saleMeasurementDao
.
public java.lang.Object load(int transform, java.lang.Integer id)
ExpectedSaleDao
Does the same thing as ExpectedSaleDao.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 ExpectedSaleDao
id
- identifier of the entity to load
ExpectedSaleDao.load(int, java.lang.Integer)
public ExpectedSale load(java.lang.Integer id)
ExpectedSaleDao
load
in interface ExpectedSaleDao
ExpectedSaleDao.load(java.lang.Integer)
public java.util.Collection loadAll()
ExpectedSaleDao
ExpectedSale
.
loadAll
in interface ExpectedSaleDao
ExpectedSaleDao.loadAll()
public java.util.Collection loadAll(int transform)
ExpectedSaleDao
Does the same thing as ExpectedSaleDao.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 ExpectedSaleDao
transform
- the flag indicating what transformation to use.
ExpectedSaleDao.loadAll(int)
public java.util.Collection loadAll(int pageNumber, int pageSize)
ExpectedSaleDao
Does the same thing as ExpectedSaleDao.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 ExpectedSaleDao
pageNumber
- the page number to retrieve when paging results.pageSize
- the size of the page to retrieve when paging results.
ExpectedSaleDao.loadAll(int, int)
public java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
ExpectedSaleDao
Does the same thing as ExpectedSaleDao.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 ExpectedSaleDao
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.
ExpectedSaleDao.loadAll(int, int, int)
public ExpectedSale create(ExpectedSale expectedSale)
ExpectedSaleDao
create
in interface ExpectedSaleDao
ExpectedSaleDao.create(fr.ifremer.allegro.data.sale.ExpectedSale)
public java.lang.Object create(int transform, ExpectedSale expectedSale)
ExpectedSaleDao
Does the same thing as ExpectedSaleDao.create(fr.ifremer.allegro.data.sale.ExpectedSale)
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 ExpectedSaleDao
ExpectedSaleDao.create(int transform, fr.ifremer.allegro.data.sale.ExpectedSale)
public java.util.Collection create(java.util.Collection entities)
ExpectedSaleDao
entities
collection
create
in interface ExpectedSaleDao
entities
- the collection of fr.ifremer.allegro.data.sale.ExpectedSale
instances to create.
ExpectedSaleDao.create(java.util.Collection)
public java.util.Collection create(int transform, java.util.Collection entities)
ExpectedSaleDao
Does the same thing as ExpectedSaleDao.create(fr.ifremer.allegro.data.sale.ExpectedSale)
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 ExpectedSaleDao
ExpectedSaleDao.create(int, java.util.Collection)
public ExpectedSale create(java.util.Collection saleMeasurements, ObservedLanding observedLanding, ObservedFishingTrip observedFishingTrip, Location saleLocation, SaleType saleType, java.util.Collection saleProduces)
ExpectedSaleDao
Creates a new fr.ifremer.allegro.data.sale.ExpectedSale
instance from all attributes and
properties and adds it to the persistent store.
create
in interface ExpectedSaleDao
ExpectedSaleDao.create(java.util.Collection,fr.ifremer.allegro.data.survey.landing.ObservedLanding,fr.ifremer.allegro.data.survey.fishingTrip.ObservedFishingTrip,fr.ifremer.allegro.referential.location.Location,fr.ifremer.allegro.referential.SaleType,java.util.Collection)
public java.lang.Object create(int transform, java.util.Collection saleMeasurements, ObservedLanding observedLanding, ObservedFishingTrip observedFishingTrip, Location saleLocation, SaleType saleType, java.util.Collection saleProduces)
ExpectedSaleDao
Does the same thing as ExpectedSaleDao.create(java.util.Collection,fr.ifremer.allegro.data.survey.landing.ObservedLanding,fr.ifremer.allegro.data.survey.fishingTrip.ObservedFishingTrip,fr.ifremer.allegro.referential.location.Location,fr.ifremer.allegro.referential.SaleType,java.util.Collection)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined here then the result WILL BE passed through an operation which can optionally
transform the entity (into a value object for example). By default, transformation does
not occur.
create
in interface ExpectedSaleDao
ExpectedSaleDao.create(int, java.util.Collection,fr.ifremer.allegro.data.survey.landing.ObservedLanding,fr.ifremer.allegro.data.survey.fishingTrip.ObservedFishingTrip,fr.ifremer.allegro.referential.location.Location,fr.ifremer.allegro.referential.SaleType,java.util.Collection)
public ExpectedSale create(Location saleLocation, SaleType saleType)
ExpectedSaleDao
Creates a new fr.ifremer.allegro.data.sale.ExpectedSale
instance from only required properties (attributes
and association ends) and adds it to the persistent store.
create
in interface ExpectedSaleDao
ExpectedSaleDao.create(fr.ifremer.allegro.referential.location.Location,fr.ifremer.allegro.referential.SaleType)
public java.lang.Object create(int transform, Location saleLocation, SaleType saleType)
ExpectedSaleDao
Does the same thing as ExpectedSaleDao.create(fr.ifremer.allegro.referential.location.Location,fr.ifremer.allegro.referential.SaleType)
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 ExpectedSaleDao
ExpectedSaleDao.create(int, fr.ifremer.allegro.referential.location.Location,fr.ifremer.allegro.referential.SaleType)
public void update(ExpectedSale expectedSale)
ExpectedSaleDao
expectedSale
instance in the persistent store.
update
in interface ExpectedSaleDao
ExpectedSaleDao.update(fr.ifremer.allegro.data.sale.ExpectedSale)
public void update(java.util.Collection entities)
ExpectedSaleDao
entities
collection in the persistent store.
update
in interface ExpectedSaleDao
ExpectedSaleDao.update(java.util.Collection)
public void remove(ExpectedSale expectedSale)
ExpectedSaleDao
remove
in interface ExpectedSaleDao
ExpectedSaleDao.remove(fr.ifremer.allegro.data.sale.ExpectedSale)
public void remove(java.lang.Integer id)
ExpectedSaleDao
identifier
from the persistent store.
remove
in interface ExpectedSaleDao
ExpectedSaleDao.remove(java.lang.Integer)
public void remove(java.util.Collection entities)
ExpectedSaleDao
entities collection.
- Specified by:
remove
in interface ExpectedSaleDao
- See Also:
ExpectedSaleDao.remove(java.util.Collection)
public java.util.Collection getAllExpectedSale()
getAllExpectedSale
in interface ExpectedSaleDao
ExpectedSaleDao.getAllExpectedSale()
public java.util.Collection getAllExpectedSale(int transform)
ExpectedSaleDao
Does the same thing as ExpectedSaleDao.getAllExpectedSale()
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.
getAllExpectedSale
in interface ExpectedSaleDao
ExpectedSaleDao.getAllExpectedSale(int)
public java.util.Collection getAllExpectedSale(java.lang.String queryString)
ExpectedSaleDao
Does the same thing as ExpectedSaleDao.getAllExpectedSale()
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ExpectedSaleDao.getAllExpectedSale()
.
getAllExpectedSale
in interface ExpectedSaleDao
ExpectedSaleDao.getAllExpectedSale(java.lang.String)
public java.util.Collection getAllExpectedSale(int pageNumber, int pageSize)
ExpectedSaleDao
Does the same thing as ExpectedSaleDao.getAllExpectedSale()
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.
getAllExpectedSale
in interface ExpectedSaleDao
ExpectedSaleDao.getAllExpectedSale(int, int)
public java.util.Collection getAllExpectedSale(java.lang.String queryString, int pageNumber, int pageSize)
ExpectedSaleDao
Does the same thing as ExpectedSaleDao.getAllExpectedSale(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.
getAllExpectedSale
in interface ExpectedSaleDao
ExpectedSaleDao.getAllExpectedSale(String, int, int)
public java.util.Collection getAllExpectedSale(int transform, java.lang.String queryString)
ExpectedSaleDao
Does the same thing as ExpectedSaleDao.getAllExpectedSale(int)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ExpectedSaleDao.getAllExpectedSale(int)
.
getAllExpectedSale
in interface ExpectedSaleDao
ExpectedSaleDao.getAllExpectedSale(int, String)
public java.util.Collection getAllExpectedSale(int transform, int pageNumber, int pageSize)
ExpectedSaleDao
Does the same thing as ExpectedSaleDao.getAllExpectedSale(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.
getAllExpectedSale
in interface ExpectedSaleDao
ExpectedSaleDao.getAllExpectedSale(int, int, int)
public java.util.Collection getAllExpectedSale(int transform, java.lang.String queryString, int pageNumber, int pageSize)
ExpectedSaleDao
Does the same thing as ExpectedSaleDao.getAllExpectedSale(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.
getAllExpectedSale
in interface ExpectedSaleDao
ExpectedSaleDao.getAllExpectedSale(int, java.lang.String, int, int)
public ExpectedSale findExpectedSaleById(java.lang.Integer id)
findExpectedSaleById
in interface ExpectedSaleDao
ExpectedSaleDao.findExpectedSaleById(java.lang.Integer)
public java.lang.Object findExpectedSaleById(int transform, java.lang.Integer id)
ExpectedSaleDao
Does the same thing as ExpectedSaleDao.findExpectedSaleById(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.
findExpectedSaleById
in interface ExpectedSaleDao
ExpectedSaleDao.findExpectedSaleById(int, java.lang.Integer)
public ExpectedSale findExpectedSaleById(java.lang.String queryString, java.lang.Integer id)
ExpectedSaleDao
Does the same thing as ExpectedSaleDao.findExpectedSaleById(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ExpectedSaleDao.findExpectedSaleById(java.lang.Integer)
.
findExpectedSaleById
in interface ExpectedSaleDao
ExpectedSaleDao.findExpectedSaleById(java.lang.String, java.lang.Integer)
public java.lang.Object findExpectedSaleById(int transform, java.lang.String queryString, java.lang.Integer id)
ExpectedSaleDao
Does the same thing as ExpectedSaleDao.findExpectedSaleById(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ExpectedSaleDao.findExpectedSaleById(int, java.lang.Integer id)
.
findExpectedSaleById
in interface ExpectedSaleDao
ExpectedSaleDao.findExpectedSaleById(int, java.lang.String, java.lang.Integer)
public java.util.Collection findExpectedSaleBySaleType(SaleType saleType)
findExpectedSaleBySaleType
in interface ExpectedSaleDao
ExpectedSaleDao.findExpectedSaleBySaleType(fr.ifremer.allegro.referential.SaleType)
public java.util.Collection findExpectedSaleBySaleType(int transform, SaleType saleType)
ExpectedSaleDao
Does the same thing as ExpectedSaleDao.findExpectedSaleBySaleType(fr.ifremer.allegro.referential.SaleType)
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.
findExpectedSaleBySaleType
in interface ExpectedSaleDao
ExpectedSaleDao.findExpectedSaleBySaleType(int, fr.ifremer.allegro.referential.SaleType)
public java.util.Collection findExpectedSaleBySaleType(java.lang.String queryString, SaleType saleType)
ExpectedSaleDao
Does the same thing as ExpectedSaleDao.findExpectedSaleBySaleType(fr.ifremer.allegro.referential.SaleType)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ExpectedSaleDao.findExpectedSaleBySaleType(fr.ifremer.allegro.referential.SaleType)
.
findExpectedSaleBySaleType
in interface ExpectedSaleDao
ExpectedSaleDao.findExpectedSaleBySaleType(java.lang.String, fr.ifremer.allegro.referential.SaleType)
public java.util.Collection findExpectedSaleBySaleType(int pageNumber, int pageSize, SaleType saleType)
ExpectedSaleDao
Does the same thing as ExpectedSaleDao.findExpectedSaleBySaleType(fr.ifremer.allegro.referential.SaleType)
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.
findExpectedSaleBySaleType
in interface ExpectedSaleDao
ExpectedSaleDao.findExpectedSaleBySaleType(int, int, fr.ifremer.allegro.referential.SaleType)
public java.util.Collection findExpectedSaleBySaleType(java.lang.String queryString, int pageNumber, int pageSize, SaleType saleType)
ExpectedSaleDao
Does the same thing as ExpectedSaleDao.findExpectedSaleBySaleType(String, fr.ifremer.allegro.referential.SaleType)
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.
findExpectedSaleBySaleType
in interface ExpectedSaleDao
ExpectedSaleDao.findExpectedSaleBySaleType(String, int, int, fr.ifremer.allegro.referential.SaleType)
public java.util.Collection findExpectedSaleBySaleType(int transform, java.lang.String queryString, SaleType saleType)
ExpectedSaleDao
Does the same thing as ExpectedSaleDao.findExpectedSaleBySaleType(int, fr.ifremer.allegro.referential.SaleType)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ExpectedSaleDao.findExpectedSaleBySaleType(int, fr.ifremer.allegro.referential.SaleType saleType)
.
findExpectedSaleBySaleType
in interface ExpectedSaleDao
ExpectedSaleDao.findExpectedSaleBySaleType(int, String, fr.ifremer.allegro.referential.SaleType)
public java.util.Collection findExpectedSaleBySaleType(int transform, int pageNumber, int pageSize, SaleType saleType)
ExpectedSaleDao
Does the same thing as ExpectedSaleDao.findExpectedSaleBySaleType(int, fr.ifremer.allegro.referential.SaleType)
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.
findExpectedSaleBySaleType
in interface ExpectedSaleDao
ExpectedSaleDao.findExpectedSaleBySaleType(int, int, int, fr.ifremer.allegro.referential.SaleType)
public java.util.Collection findExpectedSaleBySaleType(int transform, java.lang.String queryString, int pageNumber, int pageSize, SaleType saleType)
ExpectedSaleDao
Does the same thing as ExpectedSaleDao.findExpectedSaleBySaleType(int, String, fr.ifremer.allegro.referential.SaleType)
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.
findExpectedSaleBySaleType
in interface ExpectedSaleDao
ExpectedSaleDao.findExpectedSaleBySaleType(int, java.lang.String, int, int, fr.ifremer.allegro.referential.SaleType)
public java.util.Collection findExpectedSaleBySaleLocation(Location saleLocation)
findExpectedSaleBySaleLocation
in interface ExpectedSaleDao
ExpectedSaleDao.findExpectedSaleBySaleLocation(fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findExpectedSaleBySaleLocation(int transform, Location saleLocation)
ExpectedSaleDao
Does the same thing as ExpectedSaleDao.findExpectedSaleBySaleLocation(fr.ifremer.allegro.referential.location.Location)
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.
findExpectedSaleBySaleLocation
in interface ExpectedSaleDao
ExpectedSaleDao.findExpectedSaleBySaleLocation(int, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findExpectedSaleBySaleLocation(java.lang.String queryString, Location saleLocation)
ExpectedSaleDao
Does the same thing as ExpectedSaleDao.findExpectedSaleBySaleLocation(fr.ifremer.allegro.referential.location.Location)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ExpectedSaleDao.findExpectedSaleBySaleLocation(fr.ifremer.allegro.referential.location.Location)
.
findExpectedSaleBySaleLocation
in interface ExpectedSaleDao
ExpectedSaleDao.findExpectedSaleBySaleLocation(java.lang.String, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findExpectedSaleBySaleLocation(int pageNumber, int pageSize, Location saleLocation)
ExpectedSaleDao
Does the same thing as ExpectedSaleDao.findExpectedSaleBySaleLocation(fr.ifremer.allegro.referential.location.Location)
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.
findExpectedSaleBySaleLocation
in interface ExpectedSaleDao
ExpectedSaleDao.findExpectedSaleBySaleLocation(int, int, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findExpectedSaleBySaleLocation(java.lang.String queryString, int pageNumber, int pageSize, Location saleLocation)
ExpectedSaleDao
Does the same thing as ExpectedSaleDao.findExpectedSaleBySaleLocation(String, fr.ifremer.allegro.referential.location.Location)
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.
findExpectedSaleBySaleLocation
in interface ExpectedSaleDao
ExpectedSaleDao.findExpectedSaleBySaleLocation(String, int, int, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findExpectedSaleBySaleLocation(int transform, java.lang.String queryString, Location saleLocation)
ExpectedSaleDao
Does the same thing as ExpectedSaleDao.findExpectedSaleBySaleLocation(int, fr.ifremer.allegro.referential.location.Location)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ExpectedSaleDao.findExpectedSaleBySaleLocation(int, fr.ifremer.allegro.referential.location.Location saleLocation)
.
findExpectedSaleBySaleLocation
in interface ExpectedSaleDao
ExpectedSaleDao.findExpectedSaleBySaleLocation(int, String, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findExpectedSaleBySaleLocation(int transform, int pageNumber, int pageSize, Location saleLocation)
ExpectedSaleDao
Does the same thing as ExpectedSaleDao.findExpectedSaleBySaleLocation(int, fr.ifremer.allegro.referential.location.Location)
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.
findExpectedSaleBySaleLocation
in interface ExpectedSaleDao
ExpectedSaleDao.findExpectedSaleBySaleLocation(int, int, int, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findExpectedSaleBySaleLocation(int transform, java.lang.String queryString, int pageNumber, int pageSize, Location saleLocation)
ExpectedSaleDao
Does the same thing as ExpectedSaleDao.findExpectedSaleBySaleLocation(int, String, fr.ifremer.allegro.referential.location.Location)
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.
findExpectedSaleBySaleLocation
in interface ExpectedSaleDao
ExpectedSaleDao.findExpectedSaleBySaleLocation(int, java.lang.String, int, int, fr.ifremer.allegro.referential.location.Location)
public java.util.Collection findExpectedSaleByObservedFishingTrip(ObservedFishingTrip observedFishingTrip)
findExpectedSaleByObservedFishingTrip
in interface ExpectedSaleDao
ExpectedSaleDao.findExpectedSaleByObservedFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.ObservedFishingTrip)
public java.util.Collection findExpectedSaleByObservedFishingTrip(int transform, ObservedFishingTrip observedFishingTrip)
ExpectedSaleDao
Does the same thing as ExpectedSaleDao.findExpectedSaleByObservedFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.ObservedFishingTrip)
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.
findExpectedSaleByObservedFishingTrip
in interface ExpectedSaleDao
ExpectedSaleDao.findExpectedSaleByObservedFishingTrip(int, fr.ifremer.allegro.data.survey.fishingTrip.ObservedFishingTrip)
public java.util.Collection findExpectedSaleByObservedFishingTrip(java.lang.String queryString, ObservedFishingTrip observedFishingTrip)
ExpectedSaleDao
Does the same thing as ExpectedSaleDao.findExpectedSaleByObservedFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.ObservedFishingTrip)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ExpectedSaleDao.findExpectedSaleByObservedFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.ObservedFishingTrip)
.
findExpectedSaleByObservedFishingTrip
in interface ExpectedSaleDao
ExpectedSaleDao.findExpectedSaleByObservedFishingTrip(java.lang.String, fr.ifremer.allegro.data.survey.fishingTrip.ObservedFishingTrip)
public java.util.Collection findExpectedSaleByObservedFishingTrip(int pageNumber, int pageSize, ObservedFishingTrip observedFishingTrip)
ExpectedSaleDao
Does the same thing as ExpectedSaleDao.findExpectedSaleByObservedFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.ObservedFishingTrip)
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.
findExpectedSaleByObservedFishingTrip
in interface ExpectedSaleDao
ExpectedSaleDao.findExpectedSaleByObservedFishingTrip(int, int, fr.ifremer.allegro.data.survey.fishingTrip.ObservedFishingTrip)
public java.util.Collection findExpectedSaleByObservedFishingTrip(java.lang.String queryString, int pageNumber, int pageSize, ObservedFishingTrip observedFishingTrip)
ExpectedSaleDao
Does the same thing as ExpectedSaleDao.findExpectedSaleByObservedFishingTrip(String, fr.ifremer.allegro.data.survey.fishingTrip.ObservedFishingTrip)
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.
findExpectedSaleByObservedFishingTrip
in interface ExpectedSaleDao
ExpectedSaleDao.findExpectedSaleByObservedFishingTrip(String, int, int, fr.ifremer.allegro.data.survey.fishingTrip.ObservedFishingTrip)
public java.util.Collection findExpectedSaleByObservedFishingTrip(int transform, java.lang.String queryString, ObservedFishingTrip observedFishingTrip)
ExpectedSaleDao
Does the same thing as ExpectedSaleDao.findExpectedSaleByObservedFishingTrip(int, fr.ifremer.allegro.data.survey.fishingTrip.ObservedFishingTrip)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ExpectedSaleDao.findExpectedSaleByObservedFishingTrip(int, fr.ifremer.allegro.data.survey.fishingTrip.ObservedFishingTrip observedFishingTrip)
.
findExpectedSaleByObservedFishingTrip
in interface ExpectedSaleDao
ExpectedSaleDao.findExpectedSaleByObservedFishingTrip(int, String, fr.ifremer.allegro.data.survey.fishingTrip.ObservedFishingTrip)
public java.util.Collection findExpectedSaleByObservedFishingTrip(int transform, int pageNumber, int pageSize, ObservedFishingTrip observedFishingTrip)
ExpectedSaleDao
Does the same thing as ExpectedSaleDao.findExpectedSaleByObservedFishingTrip(int, fr.ifremer.allegro.data.survey.fishingTrip.ObservedFishingTrip)
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.
findExpectedSaleByObservedFishingTrip
in interface ExpectedSaleDao
ExpectedSaleDao.findExpectedSaleByObservedFishingTrip(int, int, int, fr.ifremer.allegro.data.survey.fishingTrip.ObservedFishingTrip)
public java.util.Collection findExpectedSaleByObservedFishingTrip(int transform, java.lang.String queryString, int pageNumber, int pageSize, ObservedFishingTrip observedFishingTrip)
ExpectedSaleDao
Does the same thing as ExpectedSaleDao.findExpectedSaleByObservedFishingTrip(int, String, fr.ifremer.allegro.data.survey.fishingTrip.ObservedFishingTrip)
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.
findExpectedSaleByObservedFishingTrip
in interface ExpectedSaleDao
ExpectedSaleDao.findExpectedSaleByObservedFishingTrip(int, java.lang.String, int, int, fr.ifremer.allegro.data.survey.fishingTrip.ObservedFishingTrip)
public java.util.Collection findExpectedSaleByObservedLanding(ObservedLanding observedLanding)
findExpectedSaleByObservedLanding
in interface ExpectedSaleDao
ExpectedSaleDao.findExpectedSaleByObservedLanding(fr.ifremer.allegro.data.survey.landing.ObservedLanding)
public java.util.Collection findExpectedSaleByObservedLanding(int transform, ObservedLanding observedLanding)
ExpectedSaleDao
Does the same thing as ExpectedSaleDao.findExpectedSaleByObservedLanding(fr.ifremer.allegro.data.survey.landing.ObservedLanding)
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.
findExpectedSaleByObservedLanding
in interface ExpectedSaleDao
ExpectedSaleDao.findExpectedSaleByObservedLanding(int, fr.ifremer.allegro.data.survey.landing.ObservedLanding)
public java.util.Collection findExpectedSaleByObservedLanding(java.lang.String queryString, ObservedLanding observedLanding)
ExpectedSaleDao
Does the same thing as ExpectedSaleDao.findExpectedSaleByObservedLanding(fr.ifremer.allegro.data.survey.landing.ObservedLanding)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ExpectedSaleDao.findExpectedSaleByObservedLanding(fr.ifremer.allegro.data.survey.landing.ObservedLanding)
.
findExpectedSaleByObservedLanding
in interface ExpectedSaleDao
ExpectedSaleDao.findExpectedSaleByObservedLanding(java.lang.String, fr.ifremer.allegro.data.survey.landing.ObservedLanding)
public java.util.Collection findExpectedSaleByObservedLanding(int pageNumber, int pageSize, ObservedLanding observedLanding)
ExpectedSaleDao
Does the same thing as ExpectedSaleDao.findExpectedSaleByObservedLanding(fr.ifremer.allegro.data.survey.landing.ObservedLanding)
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.
findExpectedSaleByObservedLanding
in interface ExpectedSaleDao
ExpectedSaleDao.findExpectedSaleByObservedLanding(int, int, fr.ifremer.allegro.data.survey.landing.ObservedLanding)
public java.util.Collection findExpectedSaleByObservedLanding(java.lang.String queryString, int pageNumber, int pageSize, ObservedLanding observedLanding)
ExpectedSaleDao
Does the same thing as ExpectedSaleDao.findExpectedSaleByObservedLanding(String, fr.ifremer.allegro.data.survey.landing.ObservedLanding)
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.
findExpectedSaleByObservedLanding
in interface ExpectedSaleDao
ExpectedSaleDao.findExpectedSaleByObservedLanding(String, int, int, fr.ifremer.allegro.data.survey.landing.ObservedLanding)
public java.util.Collection findExpectedSaleByObservedLanding(int transform, java.lang.String queryString, ObservedLanding observedLanding)
ExpectedSaleDao
Does the same thing as ExpectedSaleDao.findExpectedSaleByObservedLanding(int, fr.ifremer.allegro.data.survey.landing.ObservedLanding)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ExpectedSaleDao.findExpectedSaleByObservedLanding(int, fr.ifremer.allegro.data.survey.landing.ObservedLanding observedLanding)
.
findExpectedSaleByObservedLanding
in interface ExpectedSaleDao
ExpectedSaleDao.findExpectedSaleByObservedLanding(int, String, fr.ifremer.allegro.data.survey.landing.ObservedLanding)
public java.util.Collection findExpectedSaleByObservedLanding(int transform, int pageNumber, int pageSize, ObservedLanding observedLanding)
ExpectedSaleDao
Does the same thing as ExpectedSaleDao.findExpectedSaleByObservedLanding(int, fr.ifremer.allegro.data.survey.landing.ObservedLanding)
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.
findExpectedSaleByObservedLanding
in interface ExpectedSaleDao
ExpectedSaleDao.findExpectedSaleByObservedLanding(int, int, int, fr.ifremer.allegro.data.survey.landing.ObservedLanding)
public java.util.Collection findExpectedSaleByObservedLanding(int transform, java.lang.String queryString, int pageNumber, int pageSize, ObservedLanding observedLanding)
ExpectedSaleDao
Does the same thing as ExpectedSaleDao.findExpectedSaleByObservedLanding(int, String, fr.ifremer.allegro.data.survey.landing.ObservedLanding)
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.
findExpectedSaleByObservedLanding
in interface ExpectedSaleDao
ExpectedSaleDao.findExpectedSaleByObservedLanding(int, java.lang.String, int, int, fr.ifremer.allegro.data.survey.landing.ObservedLanding)
public ExpectedSale findExpectedSaleByNaturalId(java.lang.Integer id)
findExpectedSaleByNaturalId
in interface ExpectedSaleDao
ExpectedSaleDao.findExpectedSaleByNaturalId(java.lang.Integer)
public java.lang.Object findExpectedSaleByNaturalId(int transform, java.lang.Integer id)
ExpectedSaleDao
Does the same thing as ExpectedSaleDao.findExpectedSaleByNaturalId(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.
findExpectedSaleByNaturalId
in interface ExpectedSaleDao
ExpectedSaleDao.findExpectedSaleByNaturalId(int, java.lang.Integer)
public ExpectedSale findExpectedSaleByNaturalId(java.lang.String queryString, java.lang.Integer id)
ExpectedSaleDao
Does the same thing as ExpectedSaleDao.findExpectedSaleByNaturalId(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ExpectedSaleDao.findExpectedSaleByNaturalId(java.lang.Integer)
.
findExpectedSaleByNaturalId
in interface ExpectedSaleDao
ExpectedSaleDao.findExpectedSaleByNaturalId(java.lang.String, java.lang.Integer)
public java.lang.Object findExpectedSaleByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
ExpectedSaleDao
Does the same thing as ExpectedSaleDao.findExpectedSaleByNaturalId(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in ExpectedSaleDao.findExpectedSaleByNaturalId(int, java.lang.Integer id)
.
findExpectedSaleByNaturalId
in interface ExpectedSaleDao
ExpectedSaleDao.findExpectedSaleByNaturalId(int, java.lang.String, java.lang.Integer)
public ExpectedSale createFromClusterExpectedSale(ClusterExpectedSale clusterExpectedSale)
createFromClusterExpectedSale
in interface ExpectedSaleDao
ExpectedSaleDao.createFromClusterExpectedSale(fr.ifremer.allegro.data.sale.generic.cluster.ClusterExpectedSale)
protected abstract ExpectedSale handleCreateFromClusterExpectedSale(ClusterExpectedSale clusterExpectedSale) throws java.lang.Exception
createFromClusterExpectedSale(fr.ifremer.allegro.data.sale.generic.cluster.ClusterExpectedSale)
java.lang.Exception
public ClusterExpectedSale[] getAllClusterExpectedSale(java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
getAllClusterExpectedSale
in interface ExpectedSaleDao
ExpectedSaleDao.getAllClusterExpectedSale(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract ClusterExpectedSale[] handleGetAllClusterExpectedSale(java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize) throws java.lang.Exception
getAllClusterExpectedSale(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
java.lang.Exception
protected java.lang.Object transformEntity(int transform, ExpectedSale entity)
transform
flag is set to one of the constants defined in fr.ifremer.allegro.data.sale.ExpectedSaleDao
, please note
that the ExpectedSaleDao.TRANSFORM_NONE
constant denotes no transformation, so the entity itself
will be returned.
This method will return instances of these types:
ExpectedSale
- ExpectedSaleDao.TRANSFORM_NONE
RemoteExpectedSaleFullVO
- TRANSFORM_REMOTEEXPECTEDSALEFULLVO
RemoteExpectedSaleNaturalId
- TRANSFORM_REMOTEEXPECTEDSALENATURALID
ClusterExpectedSale
- TRANSFORM_CLUSTEREXPECTEDSALE
ExpectedSaleDao.TRANSFORM_NONE
is assumed.
transform
- one of the constants declared in ExpectedSaleDao
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.sale.ExpectedSale)
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.sale.ExpectedSaleDao
entities
- the collection of entities to transformtransformEntity(int,fr.ifremer.allegro.data.sale.ExpectedSale)
protected ExpectedSale toEntity(java.lang.Object[] row)
public final void toRemoteExpectedSaleFullVOCollection(java.util.Collection entities)
ExpectedSaleDao
RemoteExpectedSaleFullVO
.
toRemoteExpectedSaleFullVOCollection
in interface ExpectedSaleDao
ExpectedSaleDao.toRemoteExpectedSaleFullVOCollection(java.util.Collection)
public final RemoteExpectedSaleFullVO[] toRemoteExpectedSaleFullVOArray(java.util.Collection entities)
ExpectedSaleDao
RemoteExpectedSaleFullVO
.
toRemoteExpectedSaleFullVOArray
in interface ExpectedSaleDao
ExpectedSaleDao.toRemoteExpectedSaleFullVOArray(java.util.Collection)
protected RemoteExpectedSaleFullVO toRemoteExpectedSaleFullVO(java.lang.Object[] row)
ExpectedSaleDaoImpl
class if you intend to use reporting queries.
ExpectedSaleDao.toRemoteExpectedSaleFullVO(fr.ifremer.allegro.data.sale.ExpectedSale)
public final void remoteExpectedSaleFullVOToEntityCollection(java.util.Collection instances)
ExpectedSaleDao
RemoteExpectedSaleFullVO
to this
DAO's entity.
remoteExpectedSaleFullVOToEntityCollection
in interface ExpectedSaleDao
ExpectedSaleDao.remoteExpectedSaleFullVOToEntityCollection(java.util.Collection)
public void toRemoteExpectedSaleFullVO(ExpectedSale source, RemoteExpectedSaleFullVO target)
ExpectedSaleDao
toRemoteExpectedSaleFullVO
in interface ExpectedSaleDao
ExpectedSaleDao.toRemoteExpectedSaleFullVO(fr.ifremer.allegro.data.sale.ExpectedSale, fr.ifremer.allegro.data.sale.generic.vo.RemoteExpectedSaleFullVO)
public RemoteExpectedSaleFullVO toRemoteExpectedSaleFullVO(ExpectedSale entity)
ExpectedSaleDao
RemoteExpectedSaleFullVO
.
toRemoteExpectedSaleFullVO
in interface ExpectedSaleDao
ExpectedSaleDao.toRemoteExpectedSaleFullVO(fr.ifremer.allegro.data.sale.ExpectedSale)
public void remoteExpectedSaleFullVOToEntity(RemoteExpectedSaleFullVO source, ExpectedSale target, boolean copyIfNull)
ExpectedSaleDao
RemoteExpectedSaleFullVO
to the specified entity.
remoteExpectedSaleFullVOToEntity
in interface ExpectedSaleDao
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.sale.ExpectedSaleDao#remoteExpectedSaleFullVOToEntity(fr.ifremer.allegro.data.sale.generic.vo.RemoteExpectedSaleFullVO, fr.ifremer.allegro.data.sale.ExpectedSale)
public final void toRemoteExpectedSaleNaturalIdCollection(java.util.Collection entities)
ExpectedSaleDao
RemoteExpectedSaleNaturalId
.
toRemoteExpectedSaleNaturalIdCollection
in interface ExpectedSaleDao
ExpectedSaleDao.toRemoteExpectedSaleNaturalIdCollection(java.util.Collection)
public final RemoteExpectedSaleNaturalId[] toRemoteExpectedSaleNaturalIdArray(java.util.Collection entities)
ExpectedSaleDao
RemoteExpectedSaleNaturalId
.
toRemoteExpectedSaleNaturalIdArray
in interface ExpectedSaleDao
ExpectedSaleDao.toRemoteExpectedSaleNaturalIdArray(java.util.Collection)
protected RemoteExpectedSaleNaturalId toRemoteExpectedSaleNaturalId(java.lang.Object[] row)
ExpectedSaleDaoImpl
class if you intend to use reporting queries.
ExpectedSaleDao.toRemoteExpectedSaleNaturalId(fr.ifremer.allegro.data.sale.ExpectedSale)
public final void remoteExpectedSaleNaturalIdToEntityCollection(java.util.Collection instances)
ExpectedSaleDao
RemoteExpectedSaleNaturalId
to this
DAO's entity.
remoteExpectedSaleNaturalIdToEntityCollection
in interface ExpectedSaleDao
ExpectedSaleDao.remoteExpectedSaleNaturalIdToEntityCollection(java.util.Collection)
public void toRemoteExpectedSaleNaturalId(ExpectedSale source, RemoteExpectedSaleNaturalId target)
ExpectedSaleDao
toRemoteExpectedSaleNaturalId
in interface ExpectedSaleDao
ExpectedSaleDao.toRemoteExpectedSaleNaturalId(fr.ifremer.allegro.data.sale.ExpectedSale, fr.ifremer.allegro.data.sale.generic.vo.RemoteExpectedSaleNaturalId)
public RemoteExpectedSaleNaturalId toRemoteExpectedSaleNaturalId(ExpectedSale entity)
ExpectedSaleDao
RemoteExpectedSaleNaturalId
.
toRemoteExpectedSaleNaturalId
in interface ExpectedSaleDao
ExpectedSaleDao.toRemoteExpectedSaleNaturalId(fr.ifremer.allegro.data.sale.ExpectedSale)
public void remoteExpectedSaleNaturalIdToEntity(RemoteExpectedSaleNaturalId source, ExpectedSale target, boolean copyIfNull)
ExpectedSaleDao
RemoteExpectedSaleNaturalId
to the specified entity.
remoteExpectedSaleNaturalIdToEntity
in interface ExpectedSaleDao
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.sale.ExpectedSaleDao#remoteExpectedSaleNaturalIdToEntity(fr.ifremer.allegro.data.sale.generic.vo.RemoteExpectedSaleNaturalId, fr.ifremer.allegro.data.sale.ExpectedSale)
public final void toClusterExpectedSaleCollection(java.util.Collection entities)
ExpectedSaleDao
ClusterExpectedSale
.
toClusterExpectedSaleCollection
in interface ExpectedSaleDao
ExpectedSaleDao.toClusterExpectedSaleCollection(java.util.Collection)
public final ClusterExpectedSale[] toClusterExpectedSaleArray(java.util.Collection entities)
ExpectedSaleDao
ClusterExpectedSale
.
toClusterExpectedSaleArray
in interface ExpectedSaleDao
ExpectedSaleDao.toClusterExpectedSaleArray(java.util.Collection)
protected ClusterExpectedSale toClusterExpectedSale(java.lang.Object[] row)
ExpectedSaleDaoImpl
class if you intend to use reporting queries.
ExpectedSaleDao.toClusterExpectedSale(fr.ifremer.allegro.data.sale.ExpectedSale)
public final void clusterExpectedSaleToEntityCollection(java.util.Collection instances)
ExpectedSaleDao
ClusterExpectedSale
to this
DAO's entity.
clusterExpectedSaleToEntityCollection
in interface ExpectedSaleDao
ExpectedSaleDao.clusterExpectedSaleToEntityCollection(java.util.Collection)
public void toClusterExpectedSale(ExpectedSale source, ClusterExpectedSale target)
ExpectedSaleDao
toClusterExpectedSale
in interface ExpectedSaleDao
ExpectedSaleDao.toClusterExpectedSale(fr.ifremer.allegro.data.sale.ExpectedSale, fr.ifremer.allegro.data.sale.generic.cluster.ClusterExpectedSale)
public ClusterExpectedSale toClusterExpectedSale(ExpectedSale entity)
ExpectedSaleDao
ClusterExpectedSale
.
toClusterExpectedSale
in interface ExpectedSaleDao
ExpectedSaleDao.toClusterExpectedSale(fr.ifremer.allegro.data.sale.ExpectedSale)
public void clusterExpectedSaleToEntity(ClusterExpectedSale source, ExpectedSale target, boolean copyIfNull)
ExpectedSaleDao
ClusterExpectedSale
to the specified entity.
clusterExpectedSaleToEntity
in interface ExpectedSaleDao
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.sale.ExpectedSaleDao#clusterExpectedSaleToEntity(fr.ifremer.allegro.data.sale.generic.cluster.ClusterExpectedSale, fr.ifremer.allegro.data.sale.ExpectedSale)
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)
ExpectedSaleDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface ExpectedSaleDao
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.ExpectedSaleDao.search(int, int, int, fr.ifremer.allegro.Search)
public PaginationResult search(int pageNumber, int pageSize, Search search)
ExpectedSaleDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface ExpectedSaleDao
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.ExpectedSaleDao.search(int, int, fr.ifremer.allegro.Search)
public java.util.Set search(int transform, Search search)
ExpectedSaleDao
ExpectedSaleDao.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 ExpectedSaleDao
transform
- the transformation flag.search
- the search object which provides the search parameters and pagination specification.
ExpectedSaleDao.search(int, fr.ifremer.allegro.Search)
public java.util.Set search(Search search)
ExpectedSaleDao
search
object.
search
in interface ExpectedSaleDao
search
- the search object which provides the search parameters and pagination specification.
ExpectedSaleDao.search(fr.ifremer.allegro.Search)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |