fr.ifremer.allegro.data.batch
Interface CatchBatchDao

All Superinterfaces:
BatchDao
All Known Implementing Classes:
CatchBatchDaoBase, CatchBatchDaoImpl

public interface CatchBatchDao
extends BatchDao

See Also:
CatchBatch

Field Summary
static int TRANSFORM_CLUSTERCATCHBATCH
          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_REMOTECATCHBATCHFULLVO
          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_REMOTECATCHBATCHNATURALID
          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.
 
Fields inherited from interface fr.ifremer.allegro.data.batch.BatchDao
TRANSFORM_CLUSTERBATCH, TRANSFORM_NONE, TRANSFORM_REMOTEBATCHFULLVO, TRANSFORM_REMOTEBATCHNATURALID
 
Method Summary
 CatchBatch clusterCatchBatchToEntity(ClusterCatchBatch clusterCatchBatch)
          Converts an instance of type ClusterCatchBatch to this DAO's entity.
 void clusterCatchBatchToEntity(ClusterCatchBatch source, CatchBatch target, boolean copyIfNull)
          Copies the fields of ClusterCatchBatch to the specified entity.
 void clusterCatchBatchToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterCatchBatch to this DAO's entity.
 Batch create(java.lang.Boolean childBatchsReplication, java.lang.Boolean exhaustiveInventory, QualityFlag qualityFlag, java.lang.Short rankOrder)
           Creates a new fr.ifremer.allegro.data.batch.CatchBatch instance from only required properties (attributes and association ends) and adds it to the persistent store.
 Batch create(CatchBatch catchBatch)
          Creates an instance of fr.ifremer.allegro.data.batch.CatchBatch and adds it to the persistent store.
 java.util.Collection create(java.util.Collection entities)
          Creates a new instance of fr.ifremer.allegro.data.batch.CatchBatch and adds from the passed in entities collection
 java.lang.Object create(int transform, java.lang.Boolean childBatchsReplication, java.lang.Boolean exhaustiveInventory, QualityFlag qualityFlag, java.lang.Short rankOrder)
           Does the same thing as create(java.lang.Boolean,java.lang.Boolean,fr.ifremer.allegro.referential.QualityFlag,java.lang.Short) with an additional flag called transform.
 java.lang.Object create(int transform, CatchBatch catchBatch)
           Does the same thing as create(fr.ifremer.allegro.data.batch.CatchBatch) with an additional flag called transform.
 java.util.Collection create(int transform, java.util.Collection entities)
           Does the same thing as create(fr.ifremer.allegro.data.batch.CatchBatch) with an additional flag called transform.
 java.lang.Object create(int transform, java.lang.Short rankOrder, java.lang.Float subgroupCount, java.lang.Short individualCount, java.lang.Boolean childBatchsReplication, java.lang.Boolean exhaustiveInventory, java.lang.String comments, java.util.Collection childBatchs, Batch parentBatch, java.util.Collection quantificationMeasurements, java.util.Collection produces, java.util.Date controlDate, java.util.Date validationDate, java.util.Date qualificationDate, java.lang.String qualificationComments, java.sql.Timestamp updateDate, QualityFlag qualityFlag, Landing landing, Sale sale, FishingOperation fishingOperation)
           Does the same thing as create(java.lang.Short,java.lang.Float,java.lang.Short,java.lang.Boolean,java.lang.Boolean,java.lang.String,java.util.Collection,fr.ifremer.allegro.data.batch.Batch,java.util.Collection,java.util.Collection,java.util.Date,java.util.Date,java.util.Date,java.lang.String,java.sql.Timestamp,fr.ifremer.allegro.referential.QualityFlag,fr.ifremer.allegro.data.survey.landing.Landing,fr.ifremer.allegro.data.survey.sale.Sale,fr.ifremer.allegro.data.operation.FishingOperation) with an additional flag called transform.
 Batch create(java.lang.Short rankOrder, java.lang.Float subgroupCount, java.lang.Short individualCount, java.lang.Boolean childBatchsReplication, java.lang.Boolean exhaustiveInventory, java.lang.String comments, java.util.Collection childBatchs, Batch parentBatch, java.util.Collection quantificationMeasurements, java.util.Collection produces, java.util.Date controlDate, java.util.Date validationDate, java.util.Date qualificationDate, java.lang.String qualificationComments, java.sql.Timestamp updateDate, QualityFlag qualityFlag, Landing landing, Sale sale, FishingOperation fishingOperation)
           Creates a new fr.ifremer.allegro.data.batch.CatchBatch instance from all attributes and properties and adds it to the persistent store.
 CatchBatch createFromClusterCatchBatch(ClusterCatchBatch clusterCatchBatch)
           
 CatchBatch findCatchBatchByFishingOperation(FishingOperation fishingOperation)
           
 java.lang.Object findCatchBatchByFishingOperation(int transform, FishingOperation fishingOperation)
           Does the same thing as findCatchBatchByFishingOperation(fr.ifremer.allegro.data.operation.FishingOperation) with an additional flag called transform.
 java.lang.Object findCatchBatchByFishingOperation(int transform, java.lang.String queryString, FishingOperation fishingOperation)
           Does the same thing as findCatchBatchByFishingOperation(int, fr.ifremer.allegro.data.operation.FishingOperation) with an additional argument called queryString.
 CatchBatch findCatchBatchByFishingOperation(java.lang.String queryString, FishingOperation fishingOperation)
           Does the same thing as findCatchBatchByFishingOperation(fr.ifremer.allegro.data.operation.FishingOperation) with an additional argument called queryString.
 CatchBatch findCatchBatchById(java.lang.Integer id)
           
 java.lang.Object findCatchBatchById(int transform, java.lang.Integer id)
           Does the same thing as findCatchBatchById(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findCatchBatchById(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as findCatchBatchById(int, java.lang.Integer) with an additional argument called queryString.
 CatchBatch findCatchBatchById(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as findCatchBatchById(java.lang.Integer) with an additional argument called queryString.
 java.lang.Object findCatchBatchByLanding(int transform, Landing landing)
           Does the same thing as findCatchBatchByLanding(fr.ifremer.allegro.data.survey.landing.Landing) with an additional flag called transform.
 java.lang.Object findCatchBatchByLanding(int transform, java.lang.String queryString, Landing landing)
           Does the same thing as findCatchBatchByLanding(int, fr.ifremer.allegro.data.survey.landing.Landing) with an additional argument called queryString.
 CatchBatch findCatchBatchByLanding(Landing landing)
           
 CatchBatch findCatchBatchByLanding(java.lang.String queryString, Landing landing)
           Does the same thing as findCatchBatchByLanding(fr.ifremer.allegro.data.survey.landing.Landing) with an additional argument called queryString.
 CatchBatch findCatchBatchByNaturalId(FishingOperation fishingOperation, Landing landing, java.lang.Integer id)
           
 java.lang.Object findCatchBatchByNaturalId(int transform, FishingOperation fishingOperation, Landing landing, java.lang.Integer id)
           Does the same thing as findCatchBatchByNaturalId(fr.ifremer.allegro.data.operation.FishingOperation, fr.ifremer.allegro.data.survey.landing.Landing, java.lang.Integer) with an additional flag called transform.
 java.lang.Object findCatchBatchByNaturalId(int transform, java.lang.String queryString, FishingOperation fishingOperation, Landing landing, java.lang.Integer id)
           Does the same thing as findCatchBatchByNaturalId(int, fr.ifremer.allegro.data.operation.FishingOperation, fr.ifremer.allegro.data.survey.landing.Landing, java.lang.Integer) with an additional argument called queryString.
 CatchBatch findCatchBatchByNaturalId(java.lang.String queryString, FishingOperation fishingOperation, Landing landing, java.lang.Integer id)
           Does the same thing as findCatchBatchByNaturalId(fr.ifremer.allegro.data.operation.FishingOperation, fr.ifremer.allegro.data.survey.landing.Landing, java.lang.Integer) with an additional argument called queryString.
 java.util.Collection findCatchBatchByParentBatch(Batch parentBatch)
           
 java.util.Collection findCatchBatchByParentBatch(int transform, Batch parentBatch)
           Does the same thing as findCatchBatchByParentBatch(fr.ifremer.allegro.data.batch.Batch) with an additional flag called transform.
 java.util.Collection findCatchBatchByParentBatch(int pageNumber, int pageSize, Batch parentBatch)
           Does the same thing as findCatchBatchByParentBatch(fr.ifremer.allegro.data.batch.Batch) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findCatchBatchByParentBatch(int transform, int pageNumber, int pageSize, Batch parentBatch)
           Does the same thing as findCatchBatchByParentBatch(int, fr.ifremer.allegro.data.batch.Batch) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findCatchBatchByParentBatch(int transform, java.lang.String queryString, Batch parentBatch)
           Does the same thing as findCatchBatchByParentBatch(int, fr.ifremer.allegro.data.batch.Batch) with an additional argument called queryString.
 java.util.Collection findCatchBatchByParentBatch(int transform, java.lang.String queryString, int pageNumber, int pageSize, Batch parentBatch)
           Does the same thing as findCatchBatchByParentBatch(int, String, fr.ifremer.allegro.data.batch.Batch) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findCatchBatchByParentBatch(java.lang.String queryString, Batch parentBatch)
           Does the same thing as findCatchBatchByParentBatch(fr.ifremer.allegro.data.batch.Batch) with an additional argument called queryString.
 java.util.Collection findCatchBatchByParentBatch(java.lang.String queryString, int pageNumber, int pageSize, Batch parentBatch)
           Does the same thing as findCatchBatchByParentBatch(String, fr.ifremer.allegro.data.batch.Batch) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findCatchBatchByQualityFlag(int transform, int pageNumber, int pageSize, QualityFlag qualityFlag)
           Does the same thing as findCatchBatchByQualityFlag(int, fr.ifremer.allegro.referential.QualityFlag) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findCatchBatchByQualityFlag(int pageNumber, int pageSize, QualityFlag qualityFlag)
           Does the same thing as findCatchBatchByQualityFlag(fr.ifremer.allegro.referential.QualityFlag) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findCatchBatchByQualityFlag(int transform, QualityFlag qualityFlag)
           Does the same thing as findCatchBatchByQualityFlag(fr.ifremer.allegro.referential.QualityFlag) with an additional flag called transform.
 java.util.Collection findCatchBatchByQualityFlag(int transform, java.lang.String queryString, int pageNumber, int pageSize, QualityFlag qualityFlag)
           Does the same thing as findCatchBatchByQualityFlag(int, String, fr.ifremer.allegro.referential.QualityFlag) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findCatchBatchByQualityFlag(int transform, java.lang.String queryString, QualityFlag qualityFlag)
           Does the same thing as findCatchBatchByQualityFlag(int, fr.ifremer.allegro.referential.QualityFlag) with an additional argument called queryString.
 java.util.Collection findCatchBatchByQualityFlag(QualityFlag qualityFlag)
           
 java.util.Collection findCatchBatchByQualityFlag(java.lang.String queryString, int pageNumber, int pageSize, QualityFlag qualityFlag)
           Does the same thing as findCatchBatchByQualityFlag(String, fr.ifremer.allegro.referential.QualityFlag) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findCatchBatchByQualityFlag(java.lang.String queryString, QualityFlag qualityFlag)
           Does the same thing as findCatchBatchByQualityFlag(fr.ifremer.allegro.referential.QualityFlag) with an additional argument called queryString.
 java.lang.Object findCatchBatchBySale(int transform, Sale sale)
           Does the same thing as findCatchBatchBySale(fr.ifremer.allegro.data.survey.sale.Sale) with an additional flag called transform.
 java.lang.Object findCatchBatchBySale(int transform, java.lang.String queryString, Sale sale)
           Does the same thing as findCatchBatchBySale(int, fr.ifremer.allegro.data.survey.sale.Sale) with an additional argument called queryString.
 CatchBatch findCatchBatchBySale(Sale sale)
           
 CatchBatch findCatchBatchBySale(java.lang.String queryString, Sale sale)
           Does the same thing as findCatchBatchBySale(fr.ifremer.allegro.data.survey.sale.Sale) with an additional argument called queryString.
 java.util.Collection getAllCatchBatch()
           
 java.util.Collection getAllCatchBatch(int transform)
           Does the same thing as getAllCatchBatch() with an additional flag called transform.
 java.util.Collection getAllCatchBatch(int pageNumber, int pageSize)
           Does the same thing as getAllCatchBatch() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllCatchBatch(int transform, int pageNumber, int pageSize)
           Does the same thing as getAllCatchBatch(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllCatchBatch(int transform, java.lang.String queryString)
           Does the same thing as getAllCatchBatch(int) with an additional argument called queryString.
 java.util.Collection getAllCatchBatch(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as getAllCatchBatch(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllCatchBatch(java.lang.String queryString)
           Does the same thing as getAllCatchBatch() with an additional argument called queryString.
 java.util.Collection getAllCatchBatch(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as getAllCatchBatch(String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllCatchBatchSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as getAllCatchBatchSinceDateSynchro(int, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllCatchBatchSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as getAllCatchBatchSinceDateSynchro(java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllCatchBatchSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as getAllCatchBatchSinceDateSynchro(int, String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllCatchBatchSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as getAllCatchBatchSinceDateSynchro(int, java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllCatchBatchSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
           Does the same thing as getAllCatchBatchSinceDateSynchro(java.sql.Timestamp) with an additional flag called transform.
 java.util.Collection getAllCatchBatchSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as getAllCatchBatchSinceDateSynchro(String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllCatchBatchSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as getAllCatchBatchSinceDateSynchro(java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllCatchBatchSinceDateSynchro(java.sql.Timestamp updateDate)
           
 ClusterCatchBatch[] getAllClusterCatchBatchSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
 Batch load(java.lang.Integer id)
          Loads an instance of fr.ifremer.allegro.data.batch.CatchBatch 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 CatchBatch.
 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.
 CatchBatch remoteCatchBatchFullVOToEntity(RemoteCatchBatchFullVO remoteCatchBatchFullVO)
          Converts an instance of type RemoteCatchBatchFullVO to this DAO's entity.
 void remoteCatchBatchFullVOToEntity(RemoteCatchBatchFullVO source, CatchBatch target, boolean copyIfNull)
          Copies the fields of RemoteCatchBatchFullVO to the specified entity.
 void remoteCatchBatchFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteCatchBatchFullVO to this DAO's entity.
 CatchBatch remoteCatchBatchNaturalIdToEntity(RemoteCatchBatchNaturalId remoteCatchBatchNaturalId)
          Converts an instance of type RemoteCatchBatchNaturalId to this DAO's entity.
 void remoteCatchBatchNaturalIdToEntity(RemoteCatchBatchNaturalId source, CatchBatch target, boolean copyIfNull)
          Copies the fields of RemoteCatchBatchNaturalId to the specified entity.
 void remoteCatchBatchNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteCatchBatchNaturalId to this DAO's entity.
 void remove(CatchBatch catchBatch)
          Removes the instance of fr.ifremer.allegro.data.batch.CatchBatch from the persistent store.
 void remove(java.util.Collection entities)
          Removes all entities in the given entities collection.
 void remove(java.lang.Integer id)
          Removes the instance of fr.ifremer.allegro.data.batch.CatchBatch 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.
 ClusterCatchBatch toClusterCatchBatch(CatchBatch entity)
          Converts this DAO's entity to an object of type ClusterCatchBatch.
 void toClusterCatchBatch(CatchBatch source, ClusterCatchBatch target)
          Copies the fields of the specified entity to the target value object.
 ClusterCatchBatch[] toClusterCatchBatchArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterCatchBatch.
 void toClusterCatchBatchCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterCatchBatch.
 RemoteCatchBatchFullVO toRemoteCatchBatchFullVO(CatchBatch entity)
          Converts this DAO's entity to an object of type RemoteCatchBatchFullVO.
 void toRemoteCatchBatchFullVO(CatchBatch source, RemoteCatchBatchFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteCatchBatchFullVO[] toRemoteCatchBatchFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteCatchBatchFullVO.
 void toRemoteCatchBatchFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteCatchBatchFullVO.
 RemoteCatchBatchNaturalId toRemoteCatchBatchNaturalId(CatchBatch entity)
          Converts this DAO's entity to an object of type RemoteCatchBatchNaturalId.
 void toRemoteCatchBatchNaturalId(CatchBatch source, RemoteCatchBatchNaturalId target)
          Copies the fields of the specified entity to the target value object.
 RemoteCatchBatchNaturalId[] toRemoteCatchBatchNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteCatchBatchNaturalId.
 void toRemoteCatchBatchNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteCatchBatchNaturalId.
 void update(CatchBatch catchBatch)
          Updates the catchBatch instance in the persistent store.
 void update(java.util.Collection entities)
          Updates all instances in the entities collection in the persistent store.
 
Methods inherited from interface fr.ifremer.allegro.data.batch.BatchDao
clusterBatchToEntity, clusterBatchToEntity, clusterBatchToEntityCollection, findBatchById, findBatchById, findBatchById, findBatchById, findBatchByNaturalId, findBatchByNaturalId, findBatchByNaturalId, findBatchByNaturalId, findBatchByParentBatch, findBatchByParentBatch, findBatchByParentBatch, findBatchByParentBatch, findBatchByParentBatch, findBatchByParentBatch, findBatchByParentBatch, findBatchByParentBatch, getAllBatch, getAllBatch, getAllBatch, getAllBatch, getAllBatch, getAllBatch, getAllBatch, getAllBatch, remoteBatchFullVOToEntity, remoteBatchFullVOToEntity, remoteBatchFullVOToEntityCollection, remoteBatchNaturalIdToEntity, remoteBatchNaturalIdToEntity, remoteBatchNaturalIdToEntityCollection, remove, toClusterBatch, toClusterBatch, toClusterBatchArray, toClusterBatchCollection, toRemoteBatchFullVO, toRemoteBatchFullVO, toRemoteBatchFullVOArray, toRemoteBatchFullVOCollection, toRemoteBatchNaturalId, toRemoteBatchNaturalId, toRemoteBatchNaturalIdArray, toRemoteBatchNaturalIdCollection, update
 

Field Detail

TRANSFORM_REMOTECATCHBATCHFULLVO

static final int TRANSFORM_REMOTECATCHBATCHFULLVO
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 RemoteCatchBatchFullVO.

See Also:
Constant Field Values

TRANSFORM_REMOTECATCHBATCHNATURALID

static final int TRANSFORM_REMOTECATCHBATCHNATURALID
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 RemoteCatchBatchNaturalId.

See Also:
Constant Field Values

TRANSFORM_CLUSTERCATCHBATCH

static final int TRANSFORM_CLUSTERCATCHBATCH
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 ClusterCatchBatch.

See Also:
Constant Field Values
Method Detail

toRemoteCatchBatchFullVO

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


toRemoteCatchBatchFullVO

RemoteCatchBatchFullVO toRemoteCatchBatchFullVO(CatchBatch entity)
Converts this DAO's entity to an object of type RemoteCatchBatchFullVO.


toRemoteCatchBatchFullVOCollection

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


toRemoteCatchBatchFullVOArray

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


remoteCatchBatchFullVOToEntity

void remoteCatchBatchFullVOToEntity(RemoteCatchBatchFullVO source,
                                    CatchBatch target,
                                    boolean copyIfNull)
Copies the fields of RemoteCatchBatchFullVO 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.

remoteCatchBatchFullVOToEntity

CatchBatch remoteCatchBatchFullVOToEntity(RemoteCatchBatchFullVO remoteCatchBatchFullVO)
Converts an instance of type RemoteCatchBatchFullVO to this DAO's entity.


remoteCatchBatchFullVOToEntityCollection

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


toRemoteCatchBatchNaturalId

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


toRemoteCatchBatchNaturalId

RemoteCatchBatchNaturalId toRemoteCatchBatchNaturalId(CatchBatch entity)
Converts this DAO's entity to an object of type RemoteCatchBatchNaturalId.


toRemoteCatchBatchNaturalIdCollection

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


toRemoteCatchBatchNaturalIdArray

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


remoteCatchBatchNaturalIdToEntity

void remoteCatchBatchNaturalIdToEntity(RemoteCatchBatchNaturalId source,
                                       CatchBatch target,
                                       boolean copyIfNull)
Copies the fields of RemoteCatchBatchNaturalId 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.

remoteCatchBatchNaturalIdToEntity

CatchBatch remoteCatchBatchNaturalIdToEntity(RemoteCatchBatchNaturalId remoteCatchBatchNaturalId)
Converts an instance of type RemoteCatchBatchNaturalId to this DAO's entity.


remoteCatchBatchNaturalIdToEntityCollection

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


toClusterCatchBatch

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


toClusterCatchBatch

ClusterCatchBatch toClusterCatchBatch(CatchBatch entity)
Converts this DAO's entity to an object of type ClusterCatchBatch.


toClusterCatchBatchCollection

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


toClusterCatchBatchArray

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


clusterCatchBatchToEntity

void clusterCatchBatchToEntity(ClusterCatchBatch source,
                               CatchBatch target,
                               boolean copyIfNull)
Copies the fields of ClusterCatchBatch 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.

clusterCatchBatchToEntity

CatchBatch clusterCatchBatchToEntity(ClusterCatchBatch clusterCatchBatch)
Converts an instance of type ClusterCatchBatch to this DAO's entity.


clusterCatchBatchToEntityCollection

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


load

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

Specified by:
load in interface BatchDao

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.

Specified by:
load in interface BatchDao
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 CatchBatch.

Specified by:
loadAll in interface BatchDao
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.

Specified by:
loadAll in interface BatchDao
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.

Specified by:
loadAll in interface BatchDao
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.

Specified by:
loadAll in interface BatchDao
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

Batch create(CatchBatch catchBatch)
Creates an instance of fr.ifremer.allegro.data.batch.CatchBatch and adds it to the persistent store.


create

java.lang.Object create(int transform,
                        CatchBatch catchBatch)

Does the same thing as create(fr.ifremer.allegro.data.batch.CatchBatch) 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.batch.CatchBatch and adds from the passed in entities collection

Parameters:
entities - the collection of fr.ifremer.allegro.data.batch.CatchBatch 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.batch.CatchBatch) 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

Batch create(java.lang.Short rankOrder,
             java.lang.Float subgroupCount,
             java.lang.Short individualCount,
             java.lang.Boolean childBatchsReplication,
             java.lang.Boolean exhaustiveInventory,
             java.lang.String comments,
             java.util.Collection childBatchs,
             Batch parentBatch,
             java.util.Collection quantificationMeasurements,
             java.util.Collection produces,
             java.util.Date controlDate,
             java.util.Date validationDate,
             java.util.Date qualificationDate,
             java.lang.String qualificationComments,
             java.sql.Timestamp updateDate,
             QualityFlag qualityFlag,
             Landing landing,
             Sale sale,
             FishingOperation fishingOperation)

Creates a new fr.ifremer.allegro.data.batch.CatchBatch instance from all attributes and properties and adds it to the persistent store.


create

java.lang.Object create(int transform,
                        java.lang.Short rankOrder,
                        java.lang.Float subgroupCount,
                        java.lang.Short individualCount,
                        java.lang.Boolean childBatchsReplication,
                        java.lang.Boolean exhaustiveInventory,
                        java.lang.String comments,
                        java.util.Collection childBatchs,
                        Batch parentBatch,
                        java.util.Collection quantificationMeasurements,
                        java.util.Collection produces,
                        java.util.Date controlDate,
                        java.util.Date validationDate,
                        java.util.Date qualificationDate,
                        java.lang.String qualificationComments,
                        java.sql.Timestamp updateDate,
                        QualityFlag qualityFlag,
                        Landing landing,
                        Sale sale,
                        FishingOperation fishingOperation)

Does the same thing as create(java.lang.Short,java.lang.Float,java.lang.Short,java.lang.Boolean,java.lang.Boolean,java.lang.String,java.util.Collection,fr.ifremer.allegro.data.batch.Batch,java.util.Collection,java.util.Collection,java.util.Date,java.util.Date,java.util.Date,java.lang.String,java.sql.Timestamp,fr.ifremer.allegro.referential.QualityFlag,fr.ifremer.allegro.data.survey.landing.Landing,fr.ifremer.allegro.data.survey.sale.Sale,fr.ifremer.allegro.data.operation.FishingOperation) 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

Batch create(java.lang.Boolean childBatchsReplication,
             java.lang.Boolean exhaustiveInventory,
             QualityFlag qualityFlag,
             java.lang.Short rankOrder)

Creates a new fr.ifremer.allegro.data.batch.CatchBatch instance from only required properties (attributes and association ends) and adds it to the persistent store.


create

java.lang.Object create(int transform,
                        java.lang.Boolean childBatchsReplication,
                        java.lang.Boolean exhaustiveInventory,
                        QualityFlag qualityFlag,
                        java.lang.Short rankOrder)

Does the same thing as create(java.lang.Boolean,java.lang.Boolean,fr.ifremer.allegro.referential.QualityFlag,java.lang.Short) 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(CatchBatch catchBatch)
Updates the catchBatch instance in the persistent store.


update

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

Specified by:
update in interface BatchDao

remove

void remove(CatchBatch catchBatch)
Removes the instance of fr.ifremer.allegro.data.batch.CatchBatch from the persistent store.


remove

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

Specified by:
remove in interface BatchDao

remove

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

Specified by:
remove in interface BatchDao

getAllCatchBatch

java.util.Collection getAllCatchBatch()

getAllCatchBatch

java.util.Collection getAllCatchBatch(java.lang.String queryString)

Does the same thing as getAllCatchBatch() with an additional argument called queryString. This queryString argument allows you to override the query string defined in getAllCatchBatch().


getAllCatchBatch

java.util.Collection getAllCatchBatch(int pageNumber,
                                      int pageSize)

Does the same thing as getAllCatchBatch() 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.


getAllCatchBatch

java.util.Collection getAllCatchBatch(java.lang.String queryString,
                                      int pageNumber,
                                      int pageSize)

Does the same thing as getAllCatchBatch(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.


getAllCatchBatch

java.util.Collection getAllCatchBatch(int transform)

Does the same thing as getAllCatchBatch() 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.


getAllCatchBatch

java.util.Collection getAllCatchBatch(int transform,
                                      int pageNumber,
                                      int pageSize)

Does the same thing as getAllCatchBatch(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.


getAllCatchBatch

java.util.Collection getAllCatchBatch(int transform,
                                      java.lang.String queryString)

Does the same thing as getAllCatchBatch(int) with an additional argument called queryString. This queryString argument allows you to override the query string defined in getAllCatchBatch(int).


getAllCatchBatch

java.util.Collection getAllCatchBatch(int transform,
                                      java.lang.String queryString,
                                      int pageNumber,
                                      int pageSize)

Does the same thing as getAllCatchBatch(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.


findCatchBatchById

CatchBatch findCatchBatchById(java.lang.Integer id)

findCatchBatchById

CatchBatch findCatchBatchById(java.lang.String queryString,
                              java.lang.Integer id)

Does the same thing as findCatchBatchById(java.lang.Integer) with an additional argument called queryString. This queryString argument allows you to override the query string defined in findCatchBatchById(java.lang.Integer).


findCatchBatchById

java.lang.Object findCatchBatchById(int transform,
                                    java.lang.Integer id)

Does the same thing as findCatchBatchById(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.


findCatchBatchById

java.lang.Object findCatchBatchById(int transform,
                                    java.lang.String queryString,
                                    java.lang.Integer id)

Does the same thing as findCatchBatchById(int, java.lang.Integer) with an additional argument called queryString. This queryString argument allows you to override the query string defined in findCatchBatchById(int, java.lang.Integer id).


findCatchBatchByFishingOperation

CatchBatch findCatchBatchByFishingOperation(FishingOperation fishingOperation)

findCatchBatchByFishingOperation

CatchBatch findCatchBatchByFishingOperation(java.lang.String queryString,
                                            FishingOperation fishingOperation)

Does the same thing as findCatchBatchByFishingOperation(fr.ifremer.allegro.data.operation.FishingOperation) with an additional argument called queryString. This queryString argument allows you to override the query string defined in findCatchBatchByFishingOperation(fr.ifremer.allegro.data.operation.FishingOperation).


findCatchBatchByFishingOperation

java.lang.Object findCatchBatchByFishingOperation(int transform,
                                                  FishingOperation fishingOperation)

Does the same thing as findCatchBatchByFishingOperation(fr.ifremer.allegro.data.operation.FishingOperation) 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.


findCatchBatchByFishingOperation

java.lang.Object findCatchBatchByFishingOperation(int transform,
                                                  java.lang.String queryString,
                                                  FishingOperation fishingOperation)

Does the same thing as findCatchBatchByFishingOperation(int, fr.ifremer.allegro.data.operation.FishingOperation) with an additional argument called queryString. This queryString argument allows you to override the query string defined in findCatchBatchByFishingOperation(int, fr.ifremer.allegro.data.operation.FishingOperation fishingOperation).


findCatchBatchByQualityFlag

java.util.Collection findCatchBatchByQualityFlag(QualityFlag qualityFlag)

findCatchBatchByQualityFlag

java.util.Collection findCatchBatchByQualityFlag(java.lang.String queryString,
                                                 QualityFlag qualityFlag)

Does the same thing as findCatchBatchByQualityFlag(fr.ifremer.allegro.referential.QualityFlag) with an additional argument called queryString. This queryString argument allows you to override the query string defined in findCatchBatchByQualityFlag(fr.ifremer.allegro.referential.QualityFlag).


findCatchBatchByQualityFlag

java.util.Collection findCatchBatchByQualityFlag(int pageNumber,
                                                 int pageSize,
                                                 QualityFlag qualityFlag)

Does the same thing as findCatchBatchByQualityFlag(fr.ifremer.allegro.referential.QualityFlag) 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.


findCatchBatchByQualityFlag

java.util.Collection findCatchBatchByQualityFlag(java.lang.String queryString,
                                                 int pageNumber,
                                                 int pageSize,
                                                 QualityFlag qualityFlag)

Does the same thing as findCatchBatchByQualityFlag(String, fr.ifremer.allegro.referential.QualityFlag) 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.


findCatchBatchByQualityFlag

java.util.Collection findCatchBatchByQualityFlag(int transform,
                                                 QualityFlag qualityFlag)

Does the same thing as findCatchBatchByQualityFlag(fr.ifremer.allegro.referential.QualityFlag) 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.


findCatchBatchByQualityFlag

java.util.Collection findCatchBatchByQualityFlag(int transform,
                                                 int pageNumber,
                                                 int pageSize,
                                                 QualityFlag qualityFlag)

Does the same thing as findCatchBatchByQualityFlag(int, fr.ifremer.allegro.referential.QualityFlag) 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.


findCatchBatchByQualityFlag

java.util.Collection findCatchBatchByQualityFlag(int transform,
                                                 java.lang.String queryString,
                                                 QualityFlag qualityFlag)

Does the same thing as findCatchBatchByQualityFlag(int, fr.ifremer.allegro.referential.QualityFlag) with an additional argument called queryString. This queryString argument allows you to override the query string defined in findCatchBatchByQualityFlag(int, fr.ifremer.allegro.referential.QualityFlag qualityFlag).


findCatchBatchByQualityFlag

java.util.Collection findCatchBatchByQualityFlag(int transform,
                                                 java.lang.String queryString,
                                                 int pageNumber,
                                                 int pageSize,
                                                 QualityFlag qualityFlag)

Does the same thing as findCatchBatchByQualityFlag(int, String, fr.ifremer.allegro.referential.QualityFlag) 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.


findCatchBatchByLanding

CatchBatch findCatchBatchByLanding(Landing landing)

findCatchBatchByLanding

CatchBatch findCatchBatchByLanding(java.lang.String queryString,
                                   Landing landing)

Does the same thing as findCatchBatchByLanding(fr.ifremer.allegro.data.survey.landing.Landing) with an additional argument called queryString. This queryString argument allows you to override the query string defined in findCatchBatchByLanding(fr.ifremer.allegro.data.survey.landing.Landing).


findCatchBatchByLanding

java.lang.Object findCatchBatchByLanding(int transform,
                                         Landing landing)

Does the same thing as findCatchBatchByLanding(fr.ifremer.allegro.data.survey.landing.Landing) 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.


findCatchBatchByLanding

java.lang.Object findCatchBatchByLanding(int transform,
                                         java.lang.String queryString,
                                         Landing landing)

Does the same thing as findCatchBatchByLanding(int, fr.ifremer.allegro.data.survey.landing.Landing) with an additional argument called queryString. This queryString argument allows you to override the query string defined in findCatchBatchByLanding(int, fr.ifremer.allegro.data.survey.landing.Landing landing).


findCatchBatchBySale

CatchBatch findCatchBatchBySale(Sale sale)

findCatchBatchBySale

CatchBatch findCatchBatchBySale(java.lang.String queryString,
                                Sale sale)

Does the same thing as findCatchBatchBySale(fr.ifremer.allegro.data.survey.sale.Sale) with an additional argument called queryString. This queryString argument allows you to override the query string defined in findCatchBatchBySale(fr.ifremer.allegro.data.survey.sale.Sale).


findCatchBatchBySale

java.lang.Object findCatchBatchBySale(int transform,
                                      Sale sale)

Does the same thing as findCatchBatchBySale(fr.ifremer.allegro.data.survey.sale.Sale) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then finder results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.


findCatchBatchBySale

java.lang.Object findCatchBatchBySale(int transform,
                                      java.lang.String queryString,
                                      Sale sale)

Does the same thing as findCatchBatchBySale(int, fr.ifremer.allegro.data.survey.sale.Sale) with an additional argument called queryString. This queryString argument allows you to override the query string defined in findCatchBatchBySale(int, fr.ifremer.allegro.data.survey.sale.Sale sale).


findCatchBatchByParentBatch

java.util.Collection findCatchBatchByParentBatch(Batch parentBatch)

findCatchBatchByParentBatch

java.util.Collection findCatchBatchByParentBatch(java.lang.String queryString,
                                                 Batch parentBatch)

Does the same thing as findCatchBatchByParentBatch(fr.ifremer.allegro.data.batch.Batch) with an additional argument called queryString. This queryString argument allows you to override the query string defined in findCatchBatchByParentBatch(fr.ifremer.allegro.data.batch.Batch).


findCatchBatchByParentBatch

java.util.Collection findCatchBatchByParentBatch(int pageNumber,
                                                 int pageSize,
                                                 Batch parentBatch)

Does the same thing as findCatchBatchByParentBatch(fr.ifremer.allegro.data.batch.Batch) 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.


findCatchBatchByParentBatch

java.util.Collection findCatchBatchByParentBatch(java.lang.String queryString,
                                                 int pageNumber,
                                                 int pageSize,
                                                 Batch parentBatch)

Does the same thing as findCatchBatchByParentBatch(String, fr.ifremer.allegro.data.batch.Batch) 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.


findCatchBatchByParentBatch

java.util.Collection findCatchBatchByParentBatch(int transform,
                                                 Batch parentBatch)

Does the same thing as findCatchBatchByParentBatch(fr.ifremer.allegro.data.batch.Batch) 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.


findCatchBatchByParentBatch

java.util.Collection findCatchBatchByParentBatch(int transform,
                                                 int pageNumber,
                                                 int pageSize,
                                                 Batch parentBatch)

Does the same thing as findCatchBatchByParentBatch(int, fr.ifremer.allegro.data.batch.Batch) 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.


findCatchBatchByParentBatch

java.util.Collection findCatchBatchByParentBatch(int transform,
                                                 java.lang.String queryString,
                                                 Batch parentBatch)

Does the same thing as findCatchBatchByParentBatch(int, fr.ifremer.allegro.data.batch.Batch) with an additional argument called queryString. This queryString argument allows you to override the query string defined in findCatchBatchByParentBatch(int, fr.ifremer.allegro.data.batch.Batch parentBatch).


findCatchBatchByParentBatch

java.util.Collection findCatchBatchByParentBatch(int transform,
                                                 java.lang.String queryString,
                                                 int pageNumber,
                                                 int pageSize,
                                                 Batch parentBatch)

Does the same thing as findCatchBatchByParentBatch(int, String, fr.ifremer.allegro.data.batch.Batch) 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.


findCatchBatchByNaturalId

CatchBatch findCatchBatchByNaturalId(FishingOperation fishingOperation,
                                     Landing landing,
                                     java.lang.Integer id)

findCatchBatchByNaturalId

CatchBatch findCatchBatchByNaturalId(java.lang.String queryString,
                                     FishingOperation fishingOperation,
                                     Landing landing,
                                     java.lang.Integer id)

Does the same thing as findCatchBatchByNaturalId(fr.ifremer.allegro.data.operation.FishingOperation, fr.ifremer.allegro.data.survey.landing.Landing, java.lang.Integer) with an additional argument called queryString. This queryString argument allows you to override the query string defined in findCatchBatchByNaturalId(fr.ifremer.allegro.data.operation.FishingOperation, fr.ifremer.allegro.data.survey.landing.Landing, java.lang.Integer).


findCatchBatchByNaturalId

java.lang.Object findCatchBatchByNaturalId(int transform,
                                           FishingOperation fishingOperation,
                                           Landing landing,
                                           java.lang.Integer id)

Does the same thing as findCatchBatchByNaturalId(fr.ifremer.allegro.data.operation.FishingOperation, fr.ifremer.allegro.data.survey.landing.Landing, 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.


findCatchBatchByNaturalId

java.lang.Object findCatchBatchByNaturalId(int transform,
                                           java.lang.String queryString,
                                           FishingOperation fishingOperation,
                                           Landing landing,
                                           java.lang.Integer id)

Does the same thing as findCatchBatchByNaturalId(int, fr.ifremer.allegro.data.operation.FishingOperation, fr.ifremer.allegro.data.survey.landing.Landing, java.lang.Integer) with an additional argument called queryString. This queryString argument allows you to override the query string defined in findCatchBatchByNaturalId(int, fr.ifremer.allegro.data.operation.FishingOperation fishingOperation, fr.ifremer.allegro.data.survey.landing.Landing landing, java.lang.Integer id).


getAllCatchBatchSinceDateSynchro

java.util.Collection getAllCatchBatchSinceDateSynchro(java.sql.Timestamp updateDate)

getAllCatchBatchSinceDateSynchro

java.util.Collection getAllCatchBatchSinceDateSynchro(java.lang.String queryString,
                                                      java.sql.Timestamp updateDate)

Does the same thing as getAllCatchBatchSinceDateSynchro(java.sql.Timestamp) with an additional argument called queryString. This queryString argument allows you to override the query string defined in getAllCatchBatchSinceDateSynchro(java.sql.Timestamp).


getAllCatchBatchSinceDateSynchro

java.util.Collection getAllCatchBatchSinceDateSynchro(int pageNumber,
                                                      int pageSize,
                                                      java.sql.Timestamp updateDate)

Does the same thing as getAllCatchBatchSinceDateSynchro(java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.


getAllCatchBatchSinceDateSynchro

java.util.Collection getAllCatchBatchSinceDateSynchro(java.lang.String queryString,
                                                      int pageNumber,
                                                      int pageSize,
                                                      java.sql.Timestamp updateDate)

Does the same thing as getAllCatchBatchSinceDateSynchro(String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.


getAllCatchBatchSinceDateSynchro

java.util.Collection getAllCatchBatchSinceDateSynchro(int transform,
                                                      java.sql.Timestamp updateDate)

Does the same thing as getAllCatchBatchSinceDateSynchro(java.sql.Timestamp) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then finder results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.


getAllCatchBatchSinceDateSynchro

java.util.Collection getAllCatchBatchSinceDateSynchro(int transform,
                                                      int pageNumber,
                                                      int pageSize,
                                                      java.sql.Timestamp updateDate)

Does the same thing as getAllCatchBatchSinceDateSynchro(int, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.


getAllCatchBatchSinceDateSynchro

java.util.Collection getAllCatchBatchSinceDateSynchro(int transform,
                                                      java.lang.String queryString,
                                                      java.sql.Timestamp updateDate)

Does the same thing as getAllCatchBatchSinceDateSynchro(int, java.sql.Timestamp) with an additional argument called queryString. This queryString argument allows you to override the query string defined in getAllCatchBatchSinceDateSynchro(int, java.sql.Timestamp updateDate).


getAllCatchBatchSinceDateSynchro

java.util.Collection getAllCatchBatchSinceDateSynchro(int transform,
                                                      java.lang.String queryString,
                                                      int pageNumber,
                                                      int pageSize,
                                                      java.sql.Timestamp updateDate)

Does the same thing as getAllCatchBatchSinceDateSynchro(int, String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.


createFromClusterCatchBatch

CatchBatch createFromClusterCatchBatch(ClusterCatchBatch clusterCatchBatch)

getAllClusterCatchBatchSinceDateSynchro

ClusterCatchBatch[] getAllClusterCatchBatchSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                            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.

Specified by:
search in interface BatchDao
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.

Specified by:
search in interface BatchDao
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.

Specified by:
search in interface BatchDao
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.

Specified by:
search in interface BatchDao
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.