|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExpectedSaleDao
ExpectedSale
Field Summary | |
---|---|
static int |
TRANSFORM_CLUSTEREXPECTEDSALE
This constant is used as a transformation flag; entities can be converted automatically into value objects or other types, different methods in a class implementing this interface support this feature: look for an int parameter called transform . |
static int |
TRANSFORM_NONE
This constant is used as a transformation flag; entities can be converted automatically into value objects or other types, different methods in a class implementing this interface support this feature: look for an int parameter called transform . |
static int |
TRANSFORM_REMOTEEXPECTEDSALEFULLVO
This constant is used as a transformation flag; entities can be converted automatically into value objects or other types, different methods in a class implementing this interface support this feature: look for an int parameter called transform . |
static int |
TRANSFORM_REMOTEEXPECTEDSALENATURALID
This constant is used as a transformation flag; entities can be converted automatically into value objects or other types, different methods in a class implementing this interface support this feature: look for an int parameter called transform . |
Method Summary | |
---|---|
ExpectedSale |
clusterExpectedSaleToEntity(ClusterExpectedSale clusterExpectedSale)
Converts an instance of type ClusterExpectedSale to this DAO's entity. |
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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 getAllExpectedSale() with an
additional flag called transform . |
java.util.Collection |
getAllExpectedSale(int pageNumber,
int pageSize)
Does the same thing as 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 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 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 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 getAllExpectedSale() with an
additional argument called queryString . |
java.util.Collection |
getAllExpectedSale(java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as getAllExpectedSale(String) with an
additional two arguments called pageNumber and pageSize . |
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 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 loadAll() with an
additional flag called transform . |
java.util.Collection |
loadAll(int pageNumber,
int pageSize)
Does the same thing as 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 loadAll(int) with an
additional two arguments called pageNumber and pageSize . |
ExpectedSale |
remoteExpectedSaleFullVOToEntity(RemoteExpectedSaleFullVO remoteExpectedSaleFullVO)
Converts an instance of type RemoteExpectedSaleFullVO to this DAO's entity. |
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. |
ExpectedSale |
remoteExpectedSaleNaturalIdToEntity(RemoteExpectedSaleNaturalId remoteExpectedSaleNaturalId)
Converts an instance of type RemoteExpectedSaleNaturalId 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 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. |
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. |
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 . |
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. |
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. |
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 . |
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. |
Field Detail |
---|
static final int TRANSFORM_NONE
int
parameter called transform
.
This specific flag denotes no transformation will occur.
static final int TRANSFORM_REMOTEEXPECTEDSALEFULLVO
int
parameter called transform
.
This specific flag denotes entities must be transformed into objects of type
RemoteExpectedSaleFullVO
.
static final int TRANSFORM_REMOTEEXPECTEDSALENATURALID
int
parameter called transform
.
This specific flag denotes entities must be transformed into objects of type
RemoteExpectedSaleNaturalId
.
static final int TRANSFORM_CLUSTEREXPECTEDSALE
int
parameter called transform
.
This specific flag denotes entities must be transformed into objects of type
ClusterExpectedSale
.
Method Detail |
---|
void toRemoteExpectedSaleFullVO(ExpectedSale source, RemoteExpectedSaleFullVO target)
RemoteExpectedSaleFullVO toRemoteExpectedSaleFullVO(ExpectedSale entity)
RemoteExpectedSaleFullVO
.
void toRemoteExpectedSaleFullVOCollection(java.util.Collection entities)
RemoteExpectedSaleFullVO
.
RemoteExpectedSaleFullVO[] toRemoteExpectedSaleFullVOArray(java.util.Collection entities)
RemoteExpectedSaleFullVO
.
void remoteExpectedSaleFullVOToEntity(RemoteExpectedSaleFullVO source, ExpectedSale target, boolean copyIfNull)
RemoteExpectedSaleFullVO
to the specified entity.
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.ExpectedSale remoteExpectedSaleFullVOToEntity(RemoteExpectedSaleFullVO remoteExpectedSaleFullVO)
RemoteExpectedSaleFullVO
to this DAO's entity.
void remoteExpectedSaleFullVOToEntityCollection(java.util.Collection instances)
RemoteExpectedSaleFullVO
to this
DAO's entity.
void toRemoteExpectedSaleNaturalId(ExpectedSale source, RemoteExpectedSaleNaturalId target)
RemoteExpectedSaleNaturalId toRemoteExpectedSaleNaturalId(ExpectedSale entity)
RemoteExpectedSaleNaturalId
.
void toRemoteExpectedSaleNaturalIdCollection(java.util.Collection entities)
RemoteExpectedSaleNaturalId
.
RemoteExpectedSaleNaturalId[] toRemoteExpectedSaleNaturalIdArray(java.util.Collection entities)
RemoteExpectedSaleNaturalId
.
void remoteExpectedSaleNaturalIdToEntity(RemoteExpectedSaleNaturalId source, ExpectedSale target, boolean copyIfNull)
RemoteExpectedSaleNaturalId
to the specified entity.
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.ExpectedSale remoteExpectedSaleNaturalIdToEntity(RemoteExpectedSaleNaturalId remoteExpectedSaleNaturalId)
RemoteExpectedSaleNaturalId
to this DAO's entity.
void remoteExpectedSaleNaturalIdToEntityCollection(java.util.Collection instances)
RemoteExpectedSaleNaturalId
to this
DAO's entity.
void toClusterExpectedSale(ExpectedSale source, ClusterExpectedSale target)
ClusterExpectedSale toClusterExpectedSale(ExpectedSale entity)
ClusterExpectedSale
.
void toClusterExpectedSaleCollection(java.util.Collection entities)
ClusterExpectedSale
.
ClusterExpectedSale[] toClusterExpectedSaleArray(java.util.Collection entities)
ClusterExpectedSale
.
void clusterExpectedSaleToEntity(ClusterExpectedSale source, ExpectedSale target, boolean copyIfNull)
ClusterExpectedSale
to the specified entity.
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.ExpectedSale clusterExpectedSaleToEntity(ClusterExpectedSale clusterExpectedSale)
ClusterExpectedSale
to this DAO's entity.
void clusterExpectedSaleToEntityCollection(java.util.Collection instances)
ClusterExpectedSale
to this
DAO's entity.
ExpectedSale load(java.lang.Integer id)
java.lang.Object load(int transform, java.lang.Integer id)
Does the same thing as 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.
id
- identifier of the entity to load
java.util.Collection loadAll()
ExpectedSale
.
java.util.Collection loadAll(int transform)
Does the same thing as 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.
transform
- the flag indicating what transformation to use.
java.util.Collection loadAll(int pageNumber, int pageSize)
Does the same thing as 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.
pageNumber
- the page number to retrieve when paging results.pageSize
- the size of the page to retrieve when paging results.
java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
Does the same thing as 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.
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.
ExpectedSale create(ExpectedSale expectedSale)
java.lang.Object create(int transform, ExpectedSale expectedSale)
Does the same thing as 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.
java.util.Collection create(java.util.Collection entities)
entities
collection
entities
- the collection of fr.ifremer.allegro.data.sale.ExpectedSale
instances to create.
java.util.Collection create(int transform, java.util.Collection entities)
Does the same thing as 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.
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.
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 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.
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.
java.lang.Object create(int transform, Location saleLocation, SaleType saleType)
Does the same thing as 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.
void update(ExpectedSale expectedSale)
expectedSale
instance in the persistent store.
void update(java.util.Collection entities)
entities
collection in the persistent store.
void remove(ExpectedSale expectedSale)
void remove(java.lang.Integer id)
identifier
from the persistent store.
void remove(java.util.Collection entities)
entities collection.
java.util.Collection getAllExpectedSale()
java.util.Collection getAllExpectedSale(java.lang.String queryString)
Does the same thing as getAllExpectedSale()
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in getAllExpectedSale()
.
java.util.Collection getAllExpectedSale(int pageNumber, int pageSize)
Does the same thing as 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.
java.util.Collection getAllExpectedSale(java.lang.String queryString, int pageNumber, int pageSize)
Does the same thing as 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.
java.util.Collection getAllExpectedSale(int transform)
Does the same thing as 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.
java.util.Collection getAllExpectedSale(int transform, int pageNumber, int pageSize)
Does the same thing as 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.
java.util.Collection getAllExpectedSale(int transform, java.lang.String queryString)
Does the same thing as getAllExpectedSale(int)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in getAllExpectedSale(int)
.
java.util.Collection getAllExpectedSale(int transform, java.lang.String queryString, int pageNumber, int pageSize)
Does the same thing as 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.
ExpectedSale findExpectedSaleById(java.lang.Integer id)
ExpectedSale findExpectedSaleById(java.lang.String queryString, java.lang.Integer id)
Does the same thing as findExpectedSaleById(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findExpectedSaleById(java.lang.Integer)
.
java.lang.Object findExpectedSaleById(int transform, java.lang.Integer id)
Does the same thing as 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.
java.lang.Object findExpectedSaleById(int transform, java.lang.String queryString, java.lang.Integer id)
Does the same thing as findExpectedSaleById(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findExpectedSaleById(int, java.lang.Integer id)
.
java.util.Collection findExpectedSaleBySaleType(SaleType saleType)
java.util.Collection findExpectedSaleBySaleType(java.lang.String queryString, SaleType saleType)
Does the same thing as findExpectedSaleBySaleType(fr.ifremer.allegro.referential.SaleType)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findExpectedSaleBySaleType(fr.ifremer.allegro.referential.SaleType)
.
java.util.Collection findExpectedSaleBySaleType(int pageNumber, int pageSize, SaleType saleType)
Does the same thing as 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.
java.util.Collection findExpectedSaleBySaleType(java.lang.String queryString, int pageNumber, int pageSize, SaleType saleType)
Does the same thing as 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.
java.util.Collection findExpectedSaleBySaleType(int transform, SaleType saleType)
Does the same thing as 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.
java.util.Collection findExpectedSaleBySaleType(int transform, int pageNumber, int pageSize, SaleType saleType)
Does the same thing as 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.
java.util.Collection findExpectedSaleBySaleType(int transform, java.lang.String queryString, SaleType saleType)
Does the same thing as 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 findExpectedSaleBySaleType(int, fr.ifremer.allegro.referential.SaleType saleType)
.
java.util.Collection findExpectedSaleBySaleType(int transform, java.lang.String queryString, int pageNumber, int pageSize, SaleType saleType)
Does the same thing as 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.
java.util.Collection findExpectedSaleBySaleLocation(Location saleLocation)
java.util.Collection findExpectedSaleBySaleLocation(java.lang.String queryString, Location saleLocation)
Does the same thing as 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 findExpectedSaleBySaleLocation(fr.ifremer.allegro.referential.location.Location)
.
java.util.Collection findExpectedSaleBySaleLocation(int pageNumber, int pageSize, Location saleLocation)
Does the same thing as 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.
java.util.Collection findExpectedSaleBySaleLocation(java.lang.String queryString, int pageNumber, int pageSize, Location saleLocation)
Does the same thing as 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.
java.util.Collection findExpectedSaleBySaleLocation(int transform, Location saleLocation)
Does the same thing as 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.
java.util.Collection findExpectedSaleBySaleLocation(int transform, int pageNumber, int pageSize, Location saleLocation)
Does the same thing as 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.
java.util.Collection findExpectedSaleBySaleLocation(int transform, java.lang.String queryString, Location saleLocation)
Does the same thing as 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 findExpectedSaleBySaleLocation(int, fr.ifremer.allegro.referential.location.Location saleLocation)
.
java.util.Collection findExpectedSaleBySaleLocation(int transform, java.lang.String queryString, int pageNumber, int pageSize, Location saleLocation)
Does the same thing as 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.
java.util.Collection findExpectedSaleByObservedFishingTrip(ObservedFishingTrip observedFishingTrip)
java.util.Collection findExpectedSaleByObservedFishingTrip(java.lang.String queryString, ObservedFishingTrip observedFishingTrip)
Does the same thing as 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 findExpectedSaleByObservedFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.ObservedFishingTrip)
.
java.util.Collection findExpectedSaleByObservedFishingTrip(int pageNumber, int pageSize, ObservedFishingTrip observedFishingTrip)
Does the same thing as 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.
java.util.Collection findExpectedSaleByObservedFishingTrip(java.lang.String queryString, int pageNumber, int pageSize, ObservedFishingTrip observedFishingTrip)
Does the same thing as 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.
java.util.Collection findExpectedSaleByObservedFishingTrip(int transform, ObservedFishingTrip observedFishingTrip)
Does the same thing as 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.
java.util.Collection findExpectedSaleByObservedFishingTrip(int transform, int pageNumber, int pageSize, ObservedFishingTrip observedFishingTrip)
Does the same thing as 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.
java.util.Collection findExpectedSaleByObservedFishingTrip(int transform, java.lang.String queryString, ObservedFishingTrip observedFishingTrip)
Does the same thing as 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 findExpectedSaleByObservedFishingTrip(int, fr.ifremer.allegro.data.survey.fishingTrip.ObservedFishingTrip observedFishingTrip)
.
java.util.Collection findExpectedSaleByObservedFishingTrip(int transform, java.lang.String queryString, int pageNumber, int pageSize, ObservedFishingTrip observedFishingTrip)
Does the same thing as 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.
java.util.Collection findExpectedSaleByObservedLanding(ObservedLanding observedLanding)
java.util.Collection findExpectedSaleByObservedLanding(java.lang.String queryString, ObservedLanding observedLanding)
Does the same thing as 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 findExpectedSaleByObservedLanding(fr.ifremer.allegro.data.survey.landing.ObservedLanding)
.
java.util.Collection findExpectedSaleByObservedLanding(int pageNumber, int pageSize, ObservedLanding observedLanding)
Does the same thing as 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.
java.util.Collection findExpectedSaleByObservedLanding(java.lang.String queryString, int pageNumber, int pageSize, ObservedLanding observedLanding)
Does the same thing as 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.
java.util.Collection findExpectedSaleByObservedLanding(int transform, ObservedLanding observedLanding)
Does the same thing as 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.
java.util.Collection findExpectedSaleByObservedLanding(int transform, int pageNumber, int pageSize, ObservedLanding observedLanding)
Does the same thing as 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.
java.util.Collection findExpectedSaleByObservedLanding(int transform, java.lang.String queryString, ObservedLanding observedLanding)
Does the same thing as 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 findExpectedSaleByObservedLanding(int, fr.ifremer.allegro.data.survey.landing.ObservedLanding observedLanding)
.
java.util.Collection findExpectedSaleByObservedLanding(int transform, java.lang.String queryString, int pageNumber, int pageSize, ObservedLanding observedLanding)
Does the same thing as 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.
ExpectedSale findExpectedSaleByNaturalId(java.lang.Integer id)
ExpectedSale findExpectedSaleByNaturalId(java.lang.String queryString, java.lang.Integer id)
Does the same thing as findExpectedSaleByNaturalId(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findExpectedSaleByNaturalId(java.lang.Integer)
.
java.lang.Object findExpectedSaleByNaturalId(int transform, java.lang.Integer id)
Does the same thing as 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.
java.lang.Object findExpectedSaleByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
Does the same thing as findExpectedSaleByNaturalId(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in findExpectedSaleByNaturalId(int, java.lang.Integer id)
.
ExpectedSale createFromClusterExpectedSale(ClusterExpectedSale clusterExpectedSale)
ClusterExpectedSale[] getAllClusterExpectedSale(java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
PaginationResult search(int transform, int pageNumber, int pageSize, Search search)
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
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.PaginationResult search(int pageNumber, int pageSize, Search search)
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
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.java.util.Set search(int transform, Search search)
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.
transform
- the transformation flag.search
- the search object which provides the search parameters and pagination specification.
java.util.Set search(Search search)
search
object.
search
- the search object which provides the search parameters and pagination specification.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |