fr.ifremer.allegro.data.sale
Interface ExpectedSaleDao

All Known Implementing Classes:
ExpectedSaleDaoBase, ExpectedSaleDaoImpl

public interface ExpectedSaleDao

See Also:
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 collection.
 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

TRANSFORM_NONE

static final 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.

This specific flag denotes no transformation will occur.

See Also:
Constant Field Values

TRANSFORM_REMOTEEXPECTEDSALEFULLVO

static final 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.

This specific flag denotes entities must be transformed into objects of type RemoteExpectedSaleFullVO.

See Also:
Constant Field Values

TRANSFORM_REMOTEEXPECTEDSALENATURALID

static final 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.

This specific flag denotes entities must be transformed into objects of type RemoteExpectedSaleNaturalId.

See Also:
Constant Field Values

TRANSFORM_CLUSTEREXPECTEDSALE

static final 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.

This specific flag denotes entities must be transformed into objects of type ClusterExpectedSale.

See Also:
Constant Field Values
Method Detail

toRemoteExpectedSaleFullVO

void toRemoteExpectedSaleFullVO(ExpectedSale source,
                                RemoteExpectedSaleFullVO target)
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteExpectedSaleFullVO(), but it does not handle any attributes in the target value object that are "read-only" (as those do not have setter methods exposed).


toRemoteExpectedSaleFullVO

RemoteExpectedSaleFullVO toRemoteExpectedSaleFullVO(ExpectedSale entity)
Converts this DAO's entity to an object of type RemoteExpectedSaleFullVO.


toRemoteExpectedSaleFullVOCollection

void toRemoteExpectedSaleFullVOCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteExpectedSaleFullVO.


toRemoteExpectedSaleFullVOArray

RemoteExpectedSaleFullVO[] toRemoteExpectedSaleFullVOArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteExpectedSaleFullVO.


remoteExpectedSaleFullVOToEntity

void remoteExpectedSaleFullVOToEntity(RemoteExpectedSaleFullVO source,
                                      ExpectedSale target,
                                      boolean copyIfNull)
Copies the fields of RemoteExpectedSaleFullVO to the specified entity.

Parameters:
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.

remoteExpectedSaleFullVOToEntity

ExpectedSale remoteExpectedSaleFullVOToEntity(RemoteExpectedSaleFullVO remoteExpectedSaleFullVO)
Converts an instance of type RemoteExpectedSaleFullVO to this DAO's entity.


remoteExpectedSaleFullVOToEntityCollection

void remoteExpectedSaleFullVOToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteExpectedSaleFullVO to this DAO's entity.


toRemoteExpectedSaleNaturalId

void toRemoteExpectedSaleNaturalId(ExpectedSale source,
                                   RemoteExpectedSaleNaturalId target)
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteExpectedSaleNaturalId(), but it does not handle any attributes in the target value object that are "read-only" (as those do not have setter methods exposed).


toRemoteExpectedSaleNaturalId

RemoteExpectedSaleNaturalId toRemoteExpectedSaleNaturalId(ExpectedSale entity)
Converts this DAO's entity to an object of type RemoteExpectedSaleNaturalId.


toRemoteExpectedSaleNaturalIdCollection

void toRemoteExpectedSaleNaturalIdCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteExpectedSaleNaturalId.


toRemoteExpectedSaleNaturalIdArray

RemoteExpectedSaleNaturalId[] toRemoteExpectedSaleNaturalIdArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteExpectedSaleNaturalId.


remoteExpectedSaleNaturalIdToEntity

void remoteExpectedSaleNaturalIdToEntity(RemoteExpectedSaleNaturalId source,
                                         ExpectedSale target,
                                         boolean copyIfNull)
Copies the fields of RemoteExpectedSaleNaturalId to the specified entity.

Parameters:
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.

remoteExpectedSaleNaturalIdToEntity

ExpectedSale remoteExpectedSaleNaturalIdToEntity(RemoteExpectedSaleNaturalId remoteExpectedSaleNaturalId)
Converts an instance of type RemoteExpectedSaleNaturalId to this DAO's entity.


remoteExpectedSaleNaturalIdToEntityCollection

void remoteExpectedSaleNaturalIdToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteExpectedSaleNaturalId to this DAO's entity.


toClusterExpectedSale

void toClusterExpectedSale(ExpectedSale source,
                           ClusterExpectedSale target)
Copies the fields of the specified entity to the target value object. This method is similar to toClusterExpectedSale(), but it does not handle any attributes in the target value object that are "read-only" (as those do not have setter methods exposed).


toClusterExpectedSale

ClusterExpectedSale toClusterExpectedSale(ExpectedSale entity)
Converts this DAO's entity to an object of type ClusterExpectedSale.


toClusterExpectedSaleCollection

void toClusterExpectedSaleCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type ClusterExpectedSale.


toClusterExpectedSaleArray

ClusterExpectedSale[] toClusterExpectedSaleArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type ClusterExpectedSale.


clusterExpectedSaleToEntity

void clusterExpectedSaleToEntity(ClusterExpectedSale source,
                                 ExpectedSale target,
                                 boolean copyIfNull)
Copies the fields of ClusterExpectedSale to the specified entity.

Parameters:
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.

clusterExpectedSaleToEntity

ExpectedSale clusterExpectedSaleToEntity(ClusterExpectedSale clusterExpectedSale)
Converts an instance of type ClusterExpectedSale to this DAO's entity.


clusterExpectedSaleToEntityCollection

void clusterExpectedSaleToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type ClusterExpectedSale to this DAO's entity.


load

ExpectedSale load(java.lang.Integer id)
Loads an instance of fr.ifremer.allegro.data.sale.ExpectedSale from the persistent store.


load

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.

Parameters:
id - identifier of the entity to load
Returns:
either the entity or the object transformed from the entity.

loadAll

java.util.Collection loadAll()
Loads all entities of type ExpectedSale.

Returns:
the loaded entities.

loadAll

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.

Parameters:
transform - the flag indicating what transformation to use.
Returns:
the loaded entities.

loadAll

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.

Parameters:
pageNumber - the page number to retrieve when paging results.
pageSize - the size of the page to retrieve when paging results.
Returns:
the loaded entities.

loadAll

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.

Parameters:
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.
Returns:
the loaded entities.

create

ExpectedSale create(ExpectedSale expectedSale)
Creates an instance of fr.ifremer.allegro.data.sale.ExpectedSale and adds it to the persistent store.


create

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.


create

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

Parameters:
entities - the collection of fr.ifremer.allegro.data.sale.ExpectedSale instances to create.
Returns:
the created instances.

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.


create

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.


create

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.


create

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.


create

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.


update

void update(ExpectedSale expectedSale)
Updates the expectedSale instance in the persistent store.


update

void update(java.util.Collection entities)
Updates all instances in the entities collection in the persistent store.


remove

void remove(ExpectedSale expectedSale)
Removes the instance of fr.ifremer.allegro.data.sale.ExpectedSale from the persistent store.


remove

void remove(java.lang.Integer id)
Removes the instance of fr.ifremer.allegro.data.sale.ExpectedSale having the given identifier from the persistent store.


remove

void remove(java.util.Collection entities)
Removes all entities in the given entities collection.


getAllExpectedSale

java.util.Collection getAllExpectedSale()

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().


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.


getAllExpectedSale

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.


getAllExpectedSale

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.


getAllExpectedSale

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.


getAllExpectedSale

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).


getAllExpectedSale

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.


findExpectedSaleById

ExpectedSale findExpectedSaleById(java.lang.Integer id)

findExpectedSaleById

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).


findExpectedSaleById

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.


findExpectedSaleById

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).


findExpectedSaleBySaleType

java.util.Collection findExpectedSaleBySaleType(SaleType saleType)

findExpectedSaleBySaleType

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).


findExpectedSaleBySaleType

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.


findExpectedSaleBySaleType

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.


findExpectedSaleBySaleType

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.


findExpectedSaleBySaleType

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.


findExpectedSaleBySaleType

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).


findExpectedSaleBySaleType

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.


findExpectedSaleBySaleLocation

java.util.Collection findExpectedSaleBySaleLocation(Location saleLocation)

findExpectedSaleBySaleLocation

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).


findExpectedSaleBySaleLocation

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.


findExpectedSaleBySaleLocation

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.


findExpectedSaleBySaleLocation

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.


findExpectedSaleBySaleLocation

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.


findExpectedSaleBySaleLocation

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).


findExpectedSaleBySaleLocation

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.


findExpectedSaleByObservedFishingTrip

java.util.Collection findExpectedSaleByObservedFishingTrip(ObservedFishingTrip observedFishingTrip)

findExpectedSaleByObservedFishingTrip

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).


findExpectedSaleByObservedFishingTrip

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.


findExpectedSaleByObservedFishingTrip

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.


findExpectedSaleByObservedFishingTrip

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.


findExpectedSaleByObservedFishingTrip

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.


findExpectedSaleByObservedFishingTrip

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).


findExpectedSaleByObservedFishingTrip

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.


findExpectedSaleByObservedLanding

java.util.Collection findExpectedSaleByObservedLanding(ObservedLanding observedLanding)

findExpectedSaleByObservedLanding

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).


findExpectedSaleByObservedLanding

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.


findExpectedSaleByObservedLanding

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.


findExpectedSaleByObservedLanding

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.


findExpectedSaleByObservedLanding

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.


findExpectedSaleByObservedLanding

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).


findExpectedSaleByObservedLanding

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.


findExpectedSaleByNaturalId

ExpectedSale findExpectedSaleByNaturalId(java.lang.Integer id)

findExpectedSaleByNaturalId

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).


findExpectedSaleByNaturalId

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.


findExpectedSaleByNaturalId

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).


createFromClusterExpectedSale

ExpectedSale createFromClusterExpectedSale(ClusterExpectedSale clusterExpectedSale)

getAllClusterExpectedSale

ClusterExpectedSale[] getAllClusterExpectedSale(java.lang.Integer userId,
                                                java.lang.Integer[] registrationLocationIds,
                                                java.lang.Integer pageNumber,
                                                java.lang.Integer pageSize)

search

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. These flags allow you to limit your data to a specified page number and size.

Parameters:
transform - the transformation flag.
pageNumber - the page number in the data to retrieve
pageSize - the size of the page to retrieve.
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search wrapped in a PaginationResult instance.

search

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. These flags allow you to limit your data to a specified page number and size.

Parameters:
pageNumber - the page number in the data to retrieve
pageSize - the size of the page to retrieve.
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search wrapped in a PaginationResult instance.

search

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. 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.

Parameters:
transform - the transformation flag.
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search.

search

java.util.Set search(Search search)
Performs a search using the parameters specified in the given search object.

Parameters:
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search.


Copyright © 2008-2010 IFREMER. All Rights Reserved.