fr.ifremer.allegro.data.batch
Class CatchBatchDaoBase

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.data.batch.BatchDaoBase
          extended by fr.ifremer.allegro.data.batch.BatchDaoImpl
              extended by fr.ifremer.allegro.data.batch.CatchBatchDaoBase
All Implemented Interfaces:
BatchDao, CatchBatchDao
Direct Known Subclasses:
CatchBatchDaoImpl

public abstract class CatchBatchDaoBase
extends BatchDaoImpl
implements CatchBatchDao

Base Spring DAO Class: is able to create, update, remove, load, and find objects of type fr.ifremer.allegro.data.batch.CatchBatch.

See Also:
CatchBatch

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.data.batch.CatchBatchDao
TRANSFORM_CLUSTERCATCHBATCH, TRANSFORM_REMOTECATCHBATCHFULLVO, TRANSFORM_REMOTECATCHBATCHNATURALID
 
Fields inherited from interface fr.ifremer.allegro.data.batch.BatchDao
TRANSFORM_CLUSTERBATCH, TRANSFORM_NONE, TRANSFORM_REMOTEBATCHFULLVO, TRANSFORM_REMOTEBATCHNATURALID
 
Constructor Summary
CatchBatchDaoBase()
           
 
Method Summary
 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.
 CatchBatch 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.
 CatchBatch 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 CatchBatchDao.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 CatchBatchDao.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 CatchBatchDao.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 CatchBatchDao.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.
 CatchBatch 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)
           
 Batch findBatchById(java.lang.Integer id)
           
 java.lang.Object findBatchById(int transform, java.lang.Integer id)
           Does the same thing as BatchDao.findBatchById(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findBatchById(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as BatchDao.findBatchById(int, java.lang.Integer) with an additional argument called queryString.
 Batch findBatchById(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as BatchDao.findBatchById(java.lang.Integer) with an additional argument called queryString.
 Batch findBatchByNaturalId(java.lang.Integer id)
           
 java.lang.Object findBatchByNaturalId(int transform, java.lang.Integer id)
           Does the same thing as BatchDao.findBatchByNaturalId(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findBatchByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as BatchDao.findBatchByNaturalId(int, java.lang.Integer) with an additional argument called queryString.
 Batch findBatchByNaturalId(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as BatchDao.findBatchByNaturalId(java.lang.Integer) with an additional argument called queryString.
 java.util.Collection findBatchByParentBatch(Batch parentBatch)
           
 java.util.Collection findBatchByParentBatch(int transform, Batch parentBatch)
           Does the same thing as BatchDao.findBatchByParentBatch(fr.ifremer.allegro.data.batch.Batch) with an additional flag called transform.
 java.util.Collection findBatchByParentBatch(int pageNumber, int pageSize, Batch parentBatch)
           Does the same thing as BatchDao.findBatchByParentBatch(fr.ifremer.allegro.data.batch.Batch) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findBatchByParentBatch(int transform, int pageNumber, int pageSize, Batch parentBatch)
           Does the same thing as BatchDao.findBatchByParentBatch(int, fr.ifremer.allegro.data.batch.Batch) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findBatchByParentBatch(int transform, java.lang.String queryString, Batch parentBatch)
           Does the same thing as BatchDao.findBatchByParentBatch(int, fr.ifremer.allegro.data.batch.Batch) with an additional argument called queryString.
 java.util.Collection findBatchByParentBatch(int transform, java.lang.String queryString, int pageNumber, int pageSize, Batch parentBatch)
           Does the same thing as BatchDao.findBatchByParentBatch(int, String, fr.ifremer.allegro.data.batch.Batch) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findBatchByParentBatch(java.lang.String queryString, Batch parentBatch)
           Does the same thing as BatchDao.findBatchByParentBatch(fr.ifremer.allegro.data.batch.Batch) with an additional argument called queryString.
 java.util.Collection findBatchByParentBatch(java.lang.String queryString, int pageNumber, int pageSize, Batch parentBatch)
           Does the same thing as BatchDao.findBatchByParentBatch(String, fr.ifremer.allegro.data.batch.Batch) with an additional two arguments called pageNumber and pageSize.
 CatchBatch findCatchBatchByFishingOperation(FishingOperation fishingOperation)
           
 java.lang.Object findCatchBatchByFishingOperation(int transform, FishingOperation fishingOperation)
           Does the same thing as CatchBatchDao.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 CatchBatchDao.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 CatchBatchDao.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 CatchBatchDao.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 CatchBatchDao.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 CatchBatchDao.findCatchBatchById(java.lang.Integer) with an additional argument called queryString.
 java.lang.Object findCatchBatchByLanding(int transform, Landing landing)
           Does the same thing as CatchBatchDao.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 CatchBatchDao.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 CatchBatchDao.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 CatchBatchDao.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 CatchBatchDao.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 CatchBatchDao.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 CatchBatchDao.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 CatchBatchDao.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 CatchBatchDao.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 CatchBatchDao.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 CatchBatchDao.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 CatchBatchDao.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 CatchBatchDao.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 CatchBatchDao.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 CatchBatchDao.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 CatchBatchDao.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 CatchBatchDao.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 CatchBatchDao.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 CatchBatchDao.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 CatchBatchDao.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 CatchBatchDao.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 CatchBatchDao.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 CatchBatchDao.findCatchBatchBySale(fr.ifremer.allegro.data.survey.sale.Sale) with an additional argument called queryString.
 java.util.Collection getAllBatch()
           
 java.util.Collection getAllBatch(int transform)
           Does the same thing as BatchDao.getAllBatch() with an additional flag called transform.
 java.util.Collection getAllBatch(int pageNumber, int pageSize)
           Does the same thing as BatchDao.getAllBatch() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllBatch(int transform, int pageNumber, int pageSize)
           Does the same thing as BatchDao.getAllBatch(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllBatch(int transform, java.lang.String queryString)
           Does the same thing as BatchDao.getAllBatch(int) with an additional argument called queryString.
 java.util.Collection getAllBatch(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as BatchDao.getAllBatch(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllBatch(java.lang.String queryString)
           Does the same thing as BatchDao.getAllBatch() with an additional argument called queryString.
 java.util.Collection getAllBatch(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as BatchDao.getAllBatch(String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllCatchBatch()
           
 java.util.Collection getAllCatchBatch(int transform)
           Does the same thing as CatchBatchDao.getAllCatchBatch() with an additional flag called transform.
 java.util.Collection getAllCatchBatch(int pageNumber, int pageSize)
           Does the same thing as CatchBatchDao.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 CatchBatchDao.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 CatchBatchDao.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 CatchBatchDao.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 CatchBatchDao.getAllCatchBatch() with an additional argument called queryString.
 java.util.Collection getAllCatchBatch(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as CatchBatchDao.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 CatchBatchDao.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 CatchBatchDao.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 CatchBatchDao.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 CatchBatchDao.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 CatchBatchDao.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 CatchBatchDao.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 CatchBatchDao.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)
           
protected  CatchBatchDao getCatchBatchDao()
          Gets the reference to catchBatchDao.
protected  FishingOperationDao getFishingOperationDao()
          Gets the reference to fishingOperationDao.
protected  LandingDao getLandingDao()
          Gets the reference to landingDao.
protected  java.security.Principal getPrincipal()
          Gets the current principal if one has been set, otherwise returns null.
protected  QualityFlagDao getQualityFlagDao()
          Gets the reference to qualityFlagDao.
protected  SaleDao getSaleDao()
          Gets the reference to saleDao.
protected  SortingBatchDao getSortingBatchDao()
          Gets the reference to sortingBatchDao.
protected abstract  CatchBatch handleCreateFromClusterCatchBatch(ClusterCatchBatch clusterCatchBatch)
          Performs the core logic for createFromClusterCatchBatch(fr.ifremer.allegro.data.batch.generic.cluster.ClusterCatchBatch)
protected abstract  ClusterCatchBatch[] handleGetAllClusterCatchBatchSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
          Performs the core logic for getAllClusterCatchBatchSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 CatchBatch load(java.lang.Integer id)
          Loads an instance of fr.ifremer.allegro.data.batch.Batch from the persistent store.
 java.lang.Object load(int transform, java.lang.Integer id)
           Does the same thing as BatchDao.load(java.lang.Integer) with an additional flag called transform.
 java.util.Collection loadAll()
          Loads all entities of type Batch.
 java.util.Collection loadAll(int transform)
           Does the same thing as BatchDao.loadAll() with an additional flag called transform.
 java.util.Collection loadAll(int pageNumber, int pageSize)
           Does the same thing as BatchDao.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 BatchDao.loadAll(int) with an additional two arguments called pageNumber and pageSize.
 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.
 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.Batch 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 BatchDao.search(fr.ifremer.allegro.Search) but with an additional flag called transform.
 java.util.Set search(Search search)
          Performs a search using the parameters specified in the given search object.
 void setCatchBatchDao(CatchBatchDao catchBatchDao)
          Sets the reference to catchBatchDao.
 void setFishingOperationDao(FishingOperationDao fishingOperationDao)
          Sets the reference to fishingOperationDao.
 void setLandingDao(LandingDao landingDao)
          Sets the reference to landingDao.
 void setQualityFlagDao(QualityFlagDao qualityFlagDao)
          Sets the reference to qualityFlagDao.
 void setSaleDao(SaleDao saleDao)
          Sets the reference to saleDao.
 void setSortingBatchDao(SortingBatchDao sortingBatchDao)
          Sets the reference to sortingBatchDao.
 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.
protected  ClusterCatchBatch toClusterCatchBatch(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a 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.
protected  CatchBatch toEntity(java.lang.Object[] row)
           
 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.
protected  RemoteCatchBatchFullVO toRemoteCatchBatchFullVO(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a 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.
protected  RemoteCatchBatchNaturalId toRemoteCatchBatchNaturalId(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a 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.
protected  void transformEntities(int transform, java.util.Collection entities)
          Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.data.batch.CatchBatch) method.
protected  java.lang.Object transformEntity(int transform, CatchBatch entity)
          Allows transformation of entities into value objects (or something else for that matter), when the transform flag is set to one of the constants defined in fr.ifremer.allegro.data.batch.CatchBatchDao, please note that the BatchDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself will be returned.
 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 class fr.ifremer.allegro.data.batch.BatchDaoImpl
clusterBatchToEntity, clusterBatchToEntity, remoteBatchFullVOToEntity, remoteBatchFullVOToEntity, remoteBatchNaturalIdToEntity, remoteBatchNaturalIdToEntity, toClusterBatch, toClusterBatch, toRemoteBatchFullVO, toRemoteBatchFullVO, toRemoteBatchNaturalId, toRemoteBatchNaturalId
 
Methods inherited from class fr.ifremer.allegro.data.batch.BatchDaoBase
clusterBatchToEntityCollection, getBatchDao, getProduceDao, getQuantificationMeasurementDao, remoteBatchFullVOToEntityCollection, remoteBatchNaturalIdToEntityCollection, remove, setBatchDao, setProduceDao, setQuantificationMeasurementDao, toClusterBatch, toClusterBatchArray, toClusterBatchCollection, toRemoteBatchFullVO, toRemoteBatchFullVOArray, toRemoteBatchFullVOCollection, toRemoteBatchNaturalId, toRemoteBatchNaturalIdArray, toRemoteBatchNaturalIdCollection, transformEntity, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface fr.ifremer.allegro.data.batch.CatchBatchDao
clusterCatchBatchToEntity, remoteCatchBatchFullVOToEntity, remoteCatchBatchNaturalIdToEntity
 
Methods inherited from interface fr.ifremer.allegro.data.batch.BatchDao
clusterBatchToEntity, clusterBatchToEntity, clusterBatchToEntityCollection, remoteBatchFullVOToEntity, remoteBatchFullVOToEntity, remoteBatchFullVOToEntityCollection, remoteBatchNaturalIdToEntity, remoteBatchNaturalIdToEntity, remoteBatchNaturalIdToEntityCollection, remove, toClusterBatch, toClusterBatch, toClusterBatchArray, toClusterBatchCollection, toRemoteBatchFullVO, toRemoteBatchFullVO, toRemoteBatchFullVOArray, toRemoteBatchFullVOCollection, toRemoteBatchNaturalId, toRemoteBatchNaturalId, toRemoteBatchNaturalIdArray, toRemoteBatchNaturalIdCollection, update
 

Constructor Detail

CatchBatchDaoBase

public CatchBatchDaoBase()
Method Detail

setFishingOperationDao

public void setFishingOperationDao(FishingOperationDao fishingOperationDao)
Sets the reference to fishingOperationDao.


getFishingOperationDao

protected FishingOperationDao getFishingOperationDao()
Gets the reference to fishingOperationDao.


setLandingDao

public void setLandingDao(LandingDao landingDao)
Sets the reference to landingDao.


getLandingDao

protected LandingDao getLandingDao()
Gets the reference to landingDao.


setQualityFlagDao

public void setQualityFlagDao(QualityFlagDao qualityFlagDao)
Sets the reference to qualityFlagDao.


getQualityFlagDao

protected QualityFlagDao getQualityFlagDao()
Gets the reference to qualityFlagDao.


setSaleDao

public void setSaleDao(SaleDao saleDao)
Sets the reference to saleDao.


getSaleDao

protected SaleDao getSaleDao()
Gets the reference to saleDao.


setCatchBatchDao

public void setCatchBatchDao(CatchBatchDao catchBatchDao)
Sets the reference to catchBatchDao.


getCatchBatchDao

protected CatchBatchDao getCatchBatchDao()
Gets the reference to catchBatchDao.


setSortingBatchDao

public void setSortingBatchDao(SortingBatchDao sortingBatchDao)
Sets the reference to sortingBatchDao.


getSortingBatchDao

protected SortingBatchDao getSortingBatchDao()
Gets the reference to sortingBatchDao.


load

public java.lang.Object load(int transform,
                             java.lang.Integer id)
Description copied from interface: BatchDao

Does the same thing as BatchDao.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
Specified by:
load in interface CatchBatchDao
Overrides:
load in class BatchDaoBase
id - identifier of the entity to load
Returns:
either the entity or the object transformed from the entity.
See Also:
CatchBatchDao.load(int, java.lang.Integer)

load

public CatchBatch load(java.lang.Integer id)
Description copied from interface: BatchDao
Loads an instance of fr.ifremer.allegro.data.batch.Batch from the persistent store.

Specified by:
load in interface BatchDao
Specified by:
load in interface CatchBatchDao
Overrides:
load in class BatchDaoBase
See Also:
CatchBatchDao.load(java.lang.Integer)

loadAll

public java.util.Collection loadAll()
Description copied from interface: BatchDao
Loads all entities of type Batch.

Specified by:
loadAll in interface BatchDao
Specified by:
loadAll in interface CatchBatchDao
Overrides:
loadAll in class BatchDaoBase
Returns:
the loaded entities.
See Also:
CatchBatchDao.loadAll()

loadAll

public java.util.Collection loadAll(int transform)
Description copied from interface: BatchDao

Does the same thing as BatchDao.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
Specified by:
loadAll in interface CatchBatchDao
Overrides:
loadAll in class BatchDaoBase
Parameters:
transform - the flag indicating what transformation to use.
Returns:
the loaded entities.
See Also:
CatchBatchDao.loadAll(int)

loadAll

public java.util.Collection loadAll(int pageNumber,
                                    int pageSize)
Description copied from interface: BatchDao

Does the same thing as BatchDao.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
Specified by:
loadAll in interface CatchBatchDao
Overrides:
loadAll in class BatchDaoBase
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.
See Also:
CatchBatchDao.loadAll(int, int)

loadAll

public java.util.Collection loadAll(int transform,
                                    int pageNumber,
                                    int pageSize)
Description copied from interface: BatchDao

Does the same thing as BatchDao.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
Specified by:
loadAll in interface CatchBatchDao
Overrides:
loadAll in class BatchDaoBase
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.
See Also:
CatchBatchDao.loadAll(int, int, int)

create

public CatchBatch create(CatchBatch catchBatch)
Description copied from interface: CatchBatchDao
Creates an instance of fr.ifremer.allegro.data.batch.CatchBatch and adds it to the persistent store.

Specified by:
create in interface CatchBatchDao
See Also:
CatchBatchDao.create(fr.ifremer.allegro.data.batch.CatchBatch)

create

public java.lang.Object create(int transform,
                               CatchBatch catchBatch)
Description copied from interface: CatchBatchDao

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

Specified by:
create in interface CatchBatchDao
See Also:
CatchBatchDao.create(int transform, fr.ifremer.allegro.data.batch.CatchBatch)

create

public java.util.Collection create(java.util.Collection entities)
Description copied from interface: CatchBatchDao
Creates a new instance of fr.ifremer.allegro.data.batch.CatchBatch and adds from the passed in entities collection

Specified by:
create in interface CatchBatchDao
Parameters:
entities - the collection of fr.ifremer.allegro.data.batch.CatchBatch instances to create.
Returns:
the created instances.
See Also:
CatchBatchDao.create(java.util.Collection)

create

public java.util.Collection create(int transform,
                                   java.util.Collection entities)
Description copied from interface: CatchBatchDao

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

Specified by:
create in interface CatchBatchDao
See Also:
CatchBatchDao.create(int, java.util.Collection)

create

public CatchBatch 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)
Description copied from interface: CatchBatchDao

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

Specified by:
create in interface CatchBatchDao
See Also:
fr.ifremer.allegro.data.batch.BatchDao#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)

create

public 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)
Description copied from interface: CatchBatchDao

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

Specified by:
create in interface CatchBatchDao
See Also:
fr.ifremer.allegro.data.batch.BatchDao#create(int, 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)

create

public CatchBatch create(java.lang.Boolean childBatchsReplication,
                         java.lang.Boolean exhaustiveInventory,
                         QualityFlag qualityFlag,
                         java.lang.Short rankOrder)
Description copied from interface: CatchBatchDao

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.

Specified by:
create in interface CatchBatchDao
See Also:
CatchBatchDao.create(java.lang.Boolean,java.lang.Boolean,fr.ifremer.allegro.referential.QualityFlag,java.lang.Short)

create

public java.lang.Object create(int transform,
                               java.lang.Boolean childBatchsReplication,
                               java.lang.Boolean exhaustiveInventory,
                               QualityFlag qualityFlag,
                               java.lang.Short rankOrder)
Description copied from interface: CatchBatchDao

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

Specified by:
create in interface CatchBatchDao
See Also:
CatchBatchDao.create(int, java.lang.Boolean,java.lang.Boolean,fr.ifremer.allegro.referential.QualityFlag,java.lang.Short)

update

public void update(CatchBatch catchBatch)
Description copied from interface: CatchBatchDao
Updates the catchBatch instance in the persistent store.

Specified by:
update in interface CatchBatchDao
See Also:
CatchBatchDao.update(fr.ifremer.allegro.data.batch.CatchBatch)

update

public void update(java.util.Collection entities)
Description copied from interface: BatchDao
Updates all instances in the entities collection in the persistent store.

Specified by:
update in interface BatchDao
Specified by:
update in interface CatchBatchDao
Overrides:
update in class BatchDaoBase
See Also:
BatchDao.update(java.util.Collection)

remove

public void remove(CatchBatch catchBatch)
Description copied from interface: CatchBatchDao
Removes the instance of fr.ifremer.allegro.data.batch.CatchBatch from the persistent store.

Specified by:
remove in interface CatchBatchDao
See Also:
CatchBatchDao.remove(fr.ifremer.allegro.data.batch.CatchBatch)

remove

public void remove(java.lang.Integer id)
Description copied from interface: BatchDao
Removes the instance of fr.ifremer.allegro.data.batch.Batch having the given identifier from the persistent store.

Specified by:
remove in interface BatchDao
Specified by:
remove in interface CatchBatchDao
Overrides:
remove in class BatchDaoBase
See Also:
CatchBatchDao.remove(java.lang.Integer)

remove

public void remove(java.util.Collection entities)
Description copied from interface: BatchDao
Removes all entities in the given entities collection.

Specified by:
remove in interface BatchDao
Specified by:
remove in interface CatchBatchDao
Overrides:
remove in class BatchDaoBase
See Also:
BatchDao.remove(java.util.Collection)

getAllCatchBatch

public java.util.Collection getAllCatchBatch()
Specified by:
getAllCatchBatch in interface CatchBatchDao
See Also:
CatchBatchDao.getAllCatchBatch()

getAllCatchBatch

public java.util.Collection getAllCatchBatch(int transform)
Description copied from interface: CatchBatchDao

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

Specified by:
getAllCatchBatch in interface CatchBatchDao
See Also:
CatchBatchDao.getAllCatchBatch(int)

getAllCatchBatch

public java.util.Collection getAllCatchBatch(java.lang.String queryString)
Description copied from interface: CatchBatchDao

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

Specified by:
getAllCatchBatch in interface CatchBatchDao
See Also:
CatchBatchDao.getAllCatchBatch(java.lang.String)

getAllCatchBatch

public java.util.Collection getAllCatchBatch(int pageNumber,
                                             int pageSize)
Description copied from interface: CatchBatchDao

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

Specified by:
getAllCatchBatch in interface CatchBatchDao
See Also:
CatchBatchDao.getAllCatchBatch(int, int)

getAllCatchBatch

public java.util.Collection getAllCatchBatch(java.lang.String queryString,
                                             int pageNumber,
                                             int pageSize)
Description copied from interface: CatchBatchDao

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

Specified by:
getAllCatchBatch in interface CatchBatchDao
See Also:
CatchBatchDao.getAllCatchBatch(String, int, int)

getAllCatchBatch

public java.util.Collection getAllCatchBatch(int transform,
                                             java.lang.String queryString)
Description copied from interface: CatchBatchDao

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

Specified by:
getAllCatchBatch in interface CatchBatchDao
See Also:
CatchBatchDao.getAllCatchBatch(int, String)

getAllCatchBatch

public java.util.Collection getAllCatchBatch(int transform,
                                             int pageNumber,
                                             int pageSize)
Description copied from interface: CatchBatchDao

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

Specified by:
getAllCatchBatch in interface CatchBatchDao
See Also:
CatchBatchDao.getAllCatchBatch(int, int, int)

getAllCatchBatch

public java.util.Collection getAllCatchBatch(int transform,
                                             java.lang.String queryString,
                                             int pageNumber,
                                             int pageSize)
Description copied from interface: CatchBatchDao

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

Specified by:
getAllCatchBatch in interface CatchBatchDao
See Also:
CatchBatchDao.getAllCatchBatch(int, java.lang.String, int, int)

findCatchBatchById

public CatchBatch findCatchBatchById(java.lang.Integer id)
Specified by:
findCatchBatchById in interface CatchBatchDao
See Also:
CatchBatchDao.findCatchBatchById(java.lang.Integer)

findCatchBatchById

public java.lang.Object findCatchBatchById(int transform,
                                           java.lang.Integer id)
Description copied from interface: CatchBatchDao

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

Specified by:
findCatchBatchById in interface CatchBatchDao
See Also:
CatchBatchDao.findCatchBatchById(int, java.lang.Integer)

findCatchBatchById

public CatchBatch findCatchBatchById(java.lang.String queryString,
                                     java.lang.Integer id)
Description copied from interface: CatchBatchDao

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

Specified by:
findCatchBatchById in interface CatchBatchDao
See Also:
CatchBatchDao.findCatchBatchById(java.lang.String, java.lang.Integer)

findCatchBatchById

public java.lang.Object findCatchBatchById(int transform,
                                           java.lang.String queryString,
                                           java.lang.Integer id)
Description copied from interface: CatchBatchDao

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

Specified by:
findCatchBatchById in interface CatchBatchDao
See Also:
CatchBatchDao.findCatchBatchById(int, java.lang.String, java.lang.Integer)

findCatchBatchByFishingOperation

public CatchBatch findCatchBatchByFishingOperation(FishingOperation fishingOperation)
Specified by:
findCatchBatchByFishingOperation in interface CatchBatchDao
See Also:
CatchBatchDao.findCatchBatchByFishingOperation(fr.ifremer.allegro.data.operation.FishingOperation)

findCatchBatchByFishingOperation

public java.lang.Object findCatchBatchByFishingOperation(int transform,
                                                         FishingOperation fishingOperation)
Description copied from interface: CatchBatchDao

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

Specified by:
findCatchBatchByFishingOperation in interface CatchBatchDao
See Also:
CatchBatchDao.findCatchBatchByFishingOperation(int, fr.ifremer.allegro.data.operation.FishingOperation)

findCatchBatchByFishingOperation

public CatchBatch findCatchBatchByFishingOperation(java.lang.String queryString,
                                                   FishingOperation fishingOperation)
Description copied from interface: CatchBatchDao

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

Specified by:
findCatchBatchByFishingOperation in interface CatchBatchDao
See Also:
CatchBatchDao.findCatchBatchByFishingOperation(java.lang.String, fr.ifremer.allegro.data.operation.FishingOperation)

findCatchBatchByFishingOperation

public java.lang.Object findCatchBatchByFishingOperation(int transform,
                                                         java.lang.String queryString,
                                                         FishingOperation fishingOperation)
Description copied from interface: CatchBatchDao

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

Specified by:
findCatchBatchByFishingOperation in interface CatchBatchDao
See Also:
CatchBatchDao.findCatchBatchByFishingOperation(int, java.lang.String, fr.ifremer.allegro.data.operation.FishingOperation)

findCatchBatchByQualityFlag

public java.util.Collection findCatchBatchByQualityFlag(QualityFlag qualityFlag)
Specified by:
findCatchBatchByQualityFlag in interface CatchBatchDao
See Also:
CatchBatchDao.findCatchBatchByQualityFlag(fr.ifremer.allegro.referential.QualityFlag)

findCatchBatchByQualityFlag

public java.util.Collection findCatchBatchByQualityFlag(int transform,
                                                        QualityFlag qualityFlag)
Description copied from interface: CatchBatchDao

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

Specified by:
findCatchBatchByQualityFlag in interface CatchBatchDao
See Also:
CatchBatchDao.findCatchBatchByQualityFlag(int, fr.ifremer.allegro.referential.QualityFlag)

findCatchBatchByQualityFlag

public java.util.Collection findCatchBatchByQualityFlag(java.lang.String queryString,
                                                        QualityFlag qualityFlag)
Description copied from interface: CatchBatchDao

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

Specified by:
findCatchBatchByQualityFlag in interface CatchBatchDao
See Also:
CatchBatchDao.findCatchBatchByQualityFlag(java.lang.String, fr.ifremer.allegro.referential.QualityFlag)

findCatchBatchByQualityFlag

public java.util.Collection findCatchBatchByQualityFlag(int pageNumber,
                                                        int pageSize,
                                                        QualityFlag qualityFlag)
Description copied from interface: CatchBatchDao

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

Specified by:
findCatchBatchByQualityFlag in interface CatchBatchDao
See Also:
CatchBatchDao.findCatchBatchByQualityFlag(int, int, fr.ifremer.allegro.referential.QualityFlag)

findCatchBatchByQualityFlag

public java.util.Collection findCatchBatchByQualityFlag(java.lang.String queryString,
                                                        int pageNumber,
                                                        int pageSize,
                                                        QualityFlag qualityFlag)
Description copied from interface: CatchBatchDao

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

Specified by:
findCatchBatchByQualityFlag in interface CatchBatchDao
See Also:
CatchBatchDao.findCatchBatchByQualityFlag(String, int, int, fr.ifremer.allegro.referential.QualityFlag)

findCatchBatchByQualityFlag

public java.util.Collection findCatchBatchByQualityFlag(int transform,
                                                        java.lang.String queryString,
                                                        QualityFlag qualityFlag)
Description copied from interface: CatchBatchDao

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

Specified by:
findCatchBatchByQualityFlag in interface CatchBatchDao
See Also:
CatchBatchDao.findCatchBatchByQualityFlag(int, String, fr.ifremer.allegro.referential.QualityFlag)

findCatchBatchByQualityFlag

public java.util.Collection findCatchBatchByQualityFlag(int transform,
                                                        int pageNumber,
                                                        int pageSize,
                                                        QualityFlag qualityFlag)
Description copied from interface: CatchBatchDao

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

Specified by:
findCatchBatchByQualityFlag in interface CatchBatchDao
See Also:
CatchBatchDao.findCatchBatchByQualityFlag(int, int, int, fr.ifremer.allegro.referential.QualityFlag)

findCatchBatchByQualityFlag

public java.util.Collection findCatchBatchByQualityFlag(int transform,
                                                        java.lang.String queryString,
                                                        int pageNumber,
                                                        int pageSize,
                                                        QualityFlag qualityFlag)
Description copied from interface: CatchBatchDao

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

Specified by:
findCatchBatchByQualityFlag in interface CatchBatchDao
See Also:
CatchBatchDao.findCatchBatchByQualityFlag(int, java.lang.String, int, int, fr.ifremer.allegro.referential.QualityFlag)

findCatchBatchByLanding

public CatchBatch findCatchBatchByLanding(Landing landing)
Specified by:
findCatchBatchByLanding in interface CatchBatchDao
See Also:
CatchBatchDao.findCatchBatchByLanding(fr.ifremer.allegro.data.survey.landing.Landing)

findCatchBatchByLanding

public java.lang.Object findCatchBatchByLanding(int transform,
                                                Landing landing)
Description copied from interface: CatchBatchDao

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

Specified by:
findCatchBatchByLanding in interface CatchBatchDao
See Also:
CatchBatchDao.findCatchBatchByLanding(int, fr.ifremer.allegro.data.survey.landing.Landing)

findCatchBatchByLanding

public CatchBatch findCatchBatchByLanding(java.lang.String queryString,
                                          Landing landing)
Description copied from interface: CatchBatchDao

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

Specified by:
findCatchBatchByLanding in interface CatchBatchDao
See Also:
CatchBatchDao.findCatchBatchByLanding(java.lang.String, fr.ifremer.allegro.data.survey.landing.Landing)

findCatchBatchByLanding

public java.lang.Object findCatchBatchByLanding(int transform,
                                                java.lang.String queryString,
                                                Landing landing)
Description copied from interface: CatchBatchDao

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

Specified by:
findCatchBatchByLanding in interface CatchBatchDao
See Also:
CatchBatchDao.findCatchBatchByLanding(int, java.lang.String, fr.ifremer.allegro.data.survey.landing.Landing)

findCatchBatchBySale

public CatchBatch findCatchBatchBySale(Sale sale)
Specified by:
findCatchBatchBySale in interface CatchBatchDao
See Also:
CatchBatchDao.findCatchBatchBySale(fr.ifremer.allegro.data.survey.sale.Sale)

findCatchBatchBySale

public java.lang.Object findCatchBatchBySale(int transform,
                                             Sale sale)
Description copied from interface: CatchBatchDao

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

Specified by:
findCatchBatchBySale in interface CatchBatchDao
See Also:
CatchBatchDao.findCatchBatchBySale(int, fr.ifremer.allegro.data.survey.sale.Sale)

findCatchBatchBySale

public CatchBatch findCatchBatchBySale(java.lang.String queryString,
                                       Sale sale)
Description copied from interface: CatchBatchDao

Does the same thing as CatchBatchDao.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 CatchBatchDao.findCatchBatchBySale(fr.ifremer.allegro.data.survey.sale.Sale).

Specified by:
findCatchBatchBySale in interface CatchBatchDao
See Also:
CatchBatchDao.findCatchBatchBySale(java.lang.String, fr.ifremer.allegro.data.survey.sale.Sale)

findCatchBatchBySale

public java.lang.Object findCatchBatchBySale(int transform,
                                             java.lang.String queryString,
                                             Sale sale)
Description copied from interface: CatchBatchDao

Does the same thing as CatchBatchDao.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 CatchBatchDao.findCatchBatchBySale(int, fr.ifremer.allegro.data.survey.sale.Sale sale).

Specified by:
findCatchBatchBySale in interface CatchBatchDao
See Also:
CatchBatchDao.findCatchBatchBySale(int, java.lang.String, fr.ifremer.allegro.data.survey.sale.Sale)

findCatchBatchByParentBatch

public java.util.Collection findCatchBatchByParentBatch(Batch parentBatch)
Specified by:
findCatchBatchByParentBatch in interface CatchBatchDao
See Also:
CatchBatchDao.findCatchBatchByParentBatch(fr.ifremer.allegro.data.batch.Batch)

findCatchBatchByParentBatch

public java.util.Collection findCatchBatchByParentBatch(int transform,
                                                        Batch parentBatch)
Description copied from interface: CatchBatchDao

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

Specified by:
findCatchBatchByParentBatch in interface CatchBatchDao
See Also:
CatchBatchDao.findCatchBatchByParentBatch(int, fr.ifremer.allegro.data.batch.Batch)

findCatchBatchByParentBatch

public java.util.Collection findCatchBatchByParentBatch(java.lang.String queryString,
                                                        Batch parentBatch)
Description copied from interface: CatchBatchDao

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

Specified by:
findCatchBatchByParentBatch in interface CatchBatchDao
See Also:
CatchBatchDao.findCatchBatchByParentBatch(java.lang.String, fr.ifremer.allegro.data.batch.Batch)

findCatchBatchByParentBatch

public java.util.Collection findCatchBatchByParentBatch(int pageNumber,
                                                        int pageSize,
                                                        Batch parentBatch)
Description copied from interface: CatchBatchDao

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

Specified by:
findCatchBatchByParentBatch in interface CatchBatchDao
See Also:
CatchBatchDao.findCatchBatchByParentBatch(int, int, fr.ifremer.allegro.data.batch.Batch)

findCatchBatchByParentBatch

public java.util.Collection findCatchBatchByParentBatch(java.lang.String queryString,
                                                        int pageNumber,
                                                        int pageSize,
                                                        Batch parentBatch)
Description copied from interface: CatchBatchDao

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

Specified by:
findCatchBatchByParentBatch in interface CatchBatchDao
See Also:
CatchBatchDao.findCatchBatchByParentBatch(String, int, int, fr.ifremer.allegro.data.batch.Batch)

findCatchBatchByParentBatch

public java.util.Collection findCatchBatchByParentBatch(int transform,
                                                        java.lang.String queryString,
                                                        Batch parentBatch)
Description copied from interface: CatchBatchDao

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

Specified by:
findCatchBatchByParentBatch in interface CatchBatchDao
See Also:
CatchBatchDao.findCatchBatchByParentBatch(int, String, fr.ifremer.allegro.data.batch.Batch)

findCatchBatchByParentBatch

public java.util.Collection findCatchBatchByParentBatch(int transform,
                                                        int pageNumber,
                                                        int pageSize,
                                                        Batch parentBatch)
Description copied from interface: CatchBatchDao

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

Specified by:
findCatchBatchByParentBatch in interface CatchBatchDao
See Also:
CatchBatchDao.findCatchBatchByParentBatch(int, int, int, fr.ifremer.allegro.data.batch.Batch)

findCatchBatchByParentBatch

public java.util.Collection findCatchBatchByParentBatch(int transform,
                                                        java.lang.String queryString,
                                                        int pageNumber,
                                                        int pageSize,
                                                        Batch parentBatch)
Description copied from interface: CatchBatchDao

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

Specified by:
findCatchBatchByParentBatch in interface CatchBatchDao
See Also:
CatchBatchDao.findCatchBatchByParentBatch(int, java.lang.String, int, int, fr.ifremer.allegro.data.batch.Batch)

findCatchBatchByNaturalId

public CatchBatch findCatchBatchByNaturalId(FishingOperation fishingOperation,
                                            Landing landing,
                                            java.lang.Integer id)
Specified by:
findCatchBatchByNaturalId in interface CatchBatchDao
See Also:
CatchBatchDao.findCatchBatchByNaturalId(fr.ifremer.allegro.data.operation.FishingOperation, fr.ifremer.allegro.data.survey.landing.Landing, java.lang.Integer)

findCatchBatchByNaturalId

public java.lang.Object findCatchBatchByNaturalId(int transform,
                                                  FishingOperation fishingOperation,
                                                  Landing landing,
                                                  java.lang.Integer id)
Description copied from interface: CatchBatchDao

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

Specified by:
findCatchBatchByNaturalId in interface CatchBatchDao
See Also:
CatchBatchDao.findCatchBatchByNaturalId(int, fr.ifremer.allegro.data.operation.FishingOperation, fr.ifremer.allegro.data.survey.landing.Landing, java.lang.Integer)

findCatchBatchByNaturalId

public CatchBatch findCatchBatchByNaturalId(java.lang.String queryString,
                                            FishingOperation fishingOperation,
                                            Landing landing,
                                            java.lang.Integer id)
Description copied from interface: CatchBatchDao

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

Specified by:
findCatchBatchByNaturalId in interface CatchBatchDao
See Also:
CatchBatchDao.findCatchBatchByNaturalId(java.lang.String, fr.ifremer.allegro.data.operation.FishingOperation, fr.ifremer.allegro.data.survey.landing.Landing, java.lang.Integer)

findCatchBatchByNaturalId

public java.lang.Object findCatchBatchByNaturalId(int transform,
                                                  java.lang.String queryString,
                                                  FishingOperation fishingOperation,
                                                  Landing landing,
                                                  java.lang.Integer id)
Description copied from interface: CatchBatchDao

Does the same thing as CatchBatchDao.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 CatchBatchDao.findCatchBatchByNaturalId(int, fr.ifremer.allegro.data.operation.FishingOperation fishingOperation, fr.ifremer.allegro.data.survey.landing.Landing landing, java.lang.Integer id).

Specified by:
findCatchBatchByNaturalId in interface CatchBatchDao
See Also:
CatchBatchDao.findCatchBatchByNaturalId(int, java.lang.String, fr.ifremer.allegro.data.operation.FishingOperation, fr.ifremer.allegro.data.survey.landing.Landing, java.lang.Integer)

getAllCatchBatchSinceDateSynchro

public java.util.Collection getAllCatchBatchSinceDateSynchro(java.sql.Timestamp updateDate)
Specified by:
getAllCatchBatchSinceDateSynchro in interface CatchBatchDao
See Also:
CatchBatchDao.getAllCatchBatchSinceDateSynchro(java.sql.Timestamp)

getAllCatchBatchSinceDateSynchro

public java.util.Collection getAllCatchBatchSinceDateSynchro(int transform,
                                                             java.sql.Timestamp updateDate)
Description copied from interface: CatchBatchDao

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

Specified by:
getAllCatchBatchSinceDateSynchro in interface CatchBatchDao
See Also:
CatchBatchDao.getAllCatchBatchSinceDateSynchro(int, java.sql.Timestamp)

getAllCatchBatchSinceDateSynchro

public java.util.Collection getAllCatchBatchSinceDateSynchro(java.lang.String queryString,
                                                             java.sql.Timestamp updateDate)
Description copied from interface: CatchBatchDao

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

Specified by:
getAllCatchBatchSinceDateSynchro in interface CatchBatchDao
See Also:
CatchBatchDao.getAllCatchBatchSinceDateSynchro(java.lang.String, java.sql.Timestamp)

getAllCatchBatchSinceDateSynchro

public java.util.Collection getAllCatchBatchSinceDateSynchro(int pageNumber,
                                                             int pageSize,
                                                             java.sql.Timestamp updateDate)
Description copied from interface: CatchBatchDao

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

Specified by:
getAllCatchBatchSinceDateSynchro in interface CatchBatchDao
See Also:
CatchBatchDao.getAllCatchBatchSinceDateSynchro(int, int, java.sql.Timestamp)

getAllCatchBatchSinceDateSynchro

public java.util.Collection getAllCatchBatchSinceDateSynchro(java.lang.String queryString,
                                                             int pageNumber,
                                                             int pageSize,
                                                             java.sql.Timestamp updateDate)
Description copied from interface: CatchBatchDao

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

Specified by:
getAllCatchBatchSinceDateSynchro in interface CatchBatchDao
See Also:
CatchBatchDao.getAllCatchBatchSinceDateSynchro(String, int, int, java.sql.Timestamp)

getAllCatchBatchSinceDateSynchro

public java.util.Collection getAllCatchBatchSinceDateSynchro(int transform,
                                                             java.lang.String queryString,
                                                             java.sql.Timestamp updateDate)
Description copied from interface: CatchBatchDao

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

Specified by:
getAllCatchBatchSinceDateSynchro in interface CatchBatchDao
See Also:
CatchBatchDao.getAllCatchBatchSinceDateSynchro(int, String, java.sql.Timestamp)

getAllCatchBatchSinceDateSynchro

public java.util.Collection getAllCatchBatchSinceDateSynchro(int transform,
                                                             int pageNumber,
                                                             int pageSize,
                                                             java.sql.Timestamp updateDate)
Description copied from interface: CatchBatchDao

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

Specified by:
getAllCatchBatchSinceDateSynchro in interface CatchBatchDao
See Also:
CatchBatchDao.getAllCatchBatchSinceDateSynchro(int, int, int, java.sql.Timestamp)

getAllCatchBatchSinceDateSynchro

public java.util.Collection getAllCatchBatchSinceDateSynchro(int transform,
                                                             java.lang.String queryString,
                                                             int pageNumber,
                                                             int pageSize,
                                                             java.sql.Timestamp updateDate)
Description copied from interface: CatchBatchDao

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

Specified by:
getAllCatchBatchSinceDateSynchro in interface CatchBatchDao
See Also:
CatchBatchDao.getAllCatchBatchSinceDateSynchro(int, java.lang.String, int, int, java.sql.Timestamp)

getAllBatch

public java.util.Collection getAllBatch()
Specified by:
getAllBatch in interface BatchDao
Overrides:
getAllBatch in class BatchDaoBase
See Also:
BatchDao.getAllBatch()

getAllBatch

public java.util.Collection getAllBatch(int transform)
Description copied from interface: BatchDao

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

Specified by:
getAllBatch in interface BatchDao
Overrides:
getAllBatch in class BatchDaoBase
See Also:
BatchDao.getAllBatch(int)

getAllBatch

public java.util.Collection getAllBatch(java.lang.String queryString)
Description copied from interface: BatchDao

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

Specified by:
getAllBatch in interface BatchDao
Overrides:
getAllBatch in class BatchDaoBase
See Also:
BatchDao.getAllBatch(java.lang.String)

getAllBatch

public java.util.Collection getAllBatch(int pageNumber,
                                        int pageSize)
Description copied from interface: BatchDao

Does the same thing as BatchDao.getAllBatch() 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:
getAllBatch in interface BatchDao
Overrides:
getAllBatch in class BatchDaoBase
See Also:
BatchDao.getAllBatch(int, int)

getAllBatch

public java.util.Collection getAllBatch(java.lang.String queryString,
                                        int pageNumber,
                                        int pageSize)
Description copied from interface: BatchDao

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

Specified by:
getAllBatch in interface BatchDao
Overrides:
getAllBatch in class BatchDaoBase
See Also:
BatchDao.getAllBatch(String, int, int)

getAllBatch

public java.util.Collection getAllBatch(int transform,
                                        java.lang.String queryString)
Description copied from interface: BatchDao

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

Specified by:
getAllBatch in interface BatchDao
Overrides:
getAllBatch in class BatchDaoBase
See Also:
BatchDao.getAllBatch(int, String)

getAllBatch

public java.util.Collection getAllBatch(int transform,
                                        int pageNumber,
                                        int pageSize)
Description copied from interface: BatchDao

Does the same thing as BatchDao.getAllBatch(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:
getAllBatch in interface BatchDao
Overrides:
getAllBatch in class BatchDaoBase
See Also:
BatchDao.getAllBatch(int, int, int)

getAllBatch

public java.util.Collection getAllBatch(int transform,
                                        java.lang.String queryString,
                                        int pageNumber,
                                        int pageSize)
Description copied from interface: BatchDao

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

Specified by:
getAllBatch in interface BatchDao
Overrides:
getAllBatch in class BatchDaoBase
See Also:
BatchDao.getAllBatch(int, java.lang.String, int, int)

findBatchById

public Batch findBatchById(java.lang.Integer id)
Specified by:
findBatchById in interface BatchDao
Overrides:
findBatchById in class BatchDaoBase
See Also:
BatchDao.findBatchById(java.lang.Integer)

findBatchById

public java.lang.Object findBatchById(int transform,
                                      java.lang.Integer id)
Description copied from interface: BatchDao

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

Specified by:
findBatchById in interface BatchDao
Overrides:
findBatchById in class BatchDaoBase
See Also:
BatchDao.findBatchById(int, java.lang.Integer)

findBatchById

public Batch findBatchById(java.lang.String queryString,
                           java.lang.Integer id)
Description copied from interface: BatchDao

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

Specified by:
findBatchById in interface BatchDao
Overrides:
findBatchById in class BatchDaoBase
See Also:
BatchDao.findBatchById(java.lang.String, java.lang.Integer)

findBatchById

public java.lang.Object findBatchById(int transform,
                                      java.lang.String queryString,
                                      java.lang.Integer id)
Description copied from interface: BatchDao

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

Specified by:
findBatchById in interface BatchDao
Overrides:
findBatchById in class BatchDaoBase
See Also:
BatchDao.findBatchById(int, java.lang.String, java.lang.Integer)

findBatchByParentBatch

public java.util.Collection findBatchByParentBatch(Batch parentBatch)
Specified by:
findBatchByParentBatch in interface BatchDao
Overrides:
findBatchByParentBatch in class BatchDaoBase
See Also:
BatchDao.findBatchByParentBatch(fr.ifremer.allegro.data.batch.Batch)

findBatchByParentBatch

public java.util.Collection findBatchByParentBatch(int transform,
                                                   Batch parentBatch)
Description copied from interface: BatchDao

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

Specified by:
findBatchByParentBatch in interface BatchDao
Overrides:
findBatchByParentBatch in class BatchDaoBase
See Also:
BatchDao.findBatchByParentBatch(int, fr.ifremer.allegro.data.batch.Batch)

findBatchByParentBatch

public java.util.Collection findBatchByParentBatch(java.lang.String queryString,
                                                   Batch parentBatch)
Description copied from interface: BatchDao

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

Specified by:
findBatchByParentBatch in interface BatchDao
Overrides:
findBatchByParentBatch in class BatchDaoBase
See Also:
BatchDao.findBatchByParentBatch(java.lang.String, fr.ifremer.allegro.data.batch.Batch)

findBatchByParentBatch

public java.util.Collection findBatchByParentBatch(int pageNumber,
                                                   int pageSize,
                                                   Batch parentBatch)
Description copied from interface: BatchDao

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

Specified by:
findBatchByParentBatch in interface BatchDao
Overrides:
findBatchByParentBatch in class BatchDaoBase
See Also:
BatchDao.findBatchByParentBatch(int, int, fr.ifremer.allegro.data.batch.Batch)

findBatchByParentBatch

public java.util.Collection findBatchByParentBatch(java.lang.String queryString,
                                                   int pageNumber,
                                                   int pageSize,
                                                   Batch parentBatch)
Description copied from interface: BatchDao

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

Specified by:
findBatchByParentBatch in interface BatchDao
Overrides:
findBatchByParentBatch in class BatchDaoBase
See Also:
BatchDao.findBatchByParentBatch(String, int, int, fr.ifremer.allegro.data.batch.Batch)

findBatchByParentBatch

public java.util.Collection findBatchByParentBatch(int transform,
                                                   java.lang.String queryString,
                                                   Batch parentBatch)
Description copied from interface: BatchDao

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

Specified by:
findBatchByParentBatch in interface BatchDao
Overrides:
findBatchByParentBatch in class BatchDaoBase
See Also:
BatchDao.findBatchByParentBatch(int, String, fr.ifremer.allegro.data.batch.Batch)

findBatchByParentBatch

public java.util.Collection findBatchByParentBatch(int transform,
                                                   int pageNumber,
                                                   int pageSize,
                                                   Batch parentBatch)
Description copied from interface: BatchDao

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

Specified by:
findBatchByParentBatch in interface BatchDao
Overrides:
findBatchByParentBatch in class BatchDaoBase
See Also:
BatchDao.findBatchByParentBatch(int, int, int, fr.ifremer.allegro.data.batch.Batch)

findBatchByParentBatch

public java.util.Collection findBatchByParentBatch(int transform,
                                                   java.lang.String queryString,
                                                   int pageNumber,
                                                   int pageSize,
                                                   Batch parentBatch)
Description copied from interface: BatchDao

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

Specified by:
findBatchByParentBatch in interface BatchDao
Overrides:
findBatchByParentBatch in class BatchDaoBase
See Also:
BatchDao.findBatchByParentBatch(int, java.lang.String, int, int, fr.ifremer.allegro.data.batch.Batch)

findBatchByNaturalId

public Batch findBatchByNaturalId(java.lang.Integer id)
Specified by:
findBatchByNaturalId in interface BatchDao
Overrides:
findBatchByNaturalId in class BatchDaoBase
See Also:
BatchDao.findBatchByNaturalId(java.lang.Integer)

findBatchByNaturalId

public java.lang.Object findBatchByNaturalId(int transform,
                                             java.lang.Integer id)
Description copied from interface: BatchDao

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

Specified by:
findBatchByNaturalId in interface BatchDao
Overrides:
findBatchByNaturalId in class BatchDaoBase
See Also:
BatchDao.findBatchByNaturalId(int, java.lang.Integer)

findBatchByNaturalId

public Batch findBatchByNaturalId(java.lang.String queryString,
                                  java.lang.Integer id)
Description copied from interface: BatchDao

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

Specified by:
findBatchByNaturalId in interface BatchDao
Overrides:
findBatchByNaturalId in class BatchDaoBase
See Also:
BatchDao.findBatchByNaturalId(java.lang.String, java.lang.Integer)

findBatchByNaturalId

public java.lang.Object findBatchByNaturalId(int transform,
                                             java.lang.String queryString,
                                             java.lang.Integer id)
Description copied from interface: BatchDao

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

Specified by:
findBatchByNaturalId in interface BatchDao
Overrides:
findBatchByNaturalId in class BatchDaoBase
See Also:
BatchDao.findBatchByNaturalId(int, java.lang.String, java.lang.Integer)

createFromClusterCatchBatch

public CatchBatch createFromClusterCatchBatch(ClusterCatchBatch clusterCatchBatch)
Specified by:
createFromClusterCatchBatch in interface CatchBatchDao
See Also:
CatchBatchDao.createFromClusterCatchBatch(fr.ifremer.allegro.data.batch.generic.cluster.ClusterCatchBatch)

handleCreateFromClusterCatchBatch

protected abstract CatchBatch handleCreateFromClusterCatchBatch(ClusterCatchBatch clusterCatchBatch)
                                                         throws java.lang.Exception
Performs the core logic for createFromClusterCatchBatch(fr.ifremer.allegro.data.batch.generic.cluster.ClusterCatchBatch)

Throws:
java.lang.Exception

getAllClusterCatchBatchSinceDateSynchro

public ClusterCatchBatch[] getAllClusterCatchBatchSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                                   java.lang.Integer userId,
                                                                   java.lang.Integer[] registrationLocationIds,
                                                                   java.lang.Integer pageNumber,
                                                                   java.lang.Integer pageSize)
Specified by:
getAllClusterCatchBatchSinceDateSynchro in interface CatchBatchDao
See Also:
CatchBatchDao.getAllClusterCatchBatchSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

handleGetAllClusterCatchBatchSinceDateSynchro

protected abstract ClusterCatchBatch[] handleGetAllClusterCatchBatchSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                                                     java.lang.Integer userId,
                                                                                     java.lang.Integer[] registrationLocationIds,
                                                                                     java.lang.Integer pageNumber,
                                                                                     java.lang.Integer pageSize)
                                                                              throws java.lang.Exception
Performs the core logic for getAllClusterCatchBatchSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Throws:
java.lang.Exception

transformEntity

protected java.lang.Object transformEntity(int transform,
                                           CatchBatch entity)
Allows transformation of entities into value objects (or something else for that matter), when the transform flag is set to one of the constants defined in fr.ifremer.allegro.data.batch.CatchBatchDao, please note that the BatchDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself will be returned.

This method will return instances of these types:

If the integer argument value is unknown BatchDao.TRANSFORM_NONE is assumed.

Parameters:
transform - one of the constants declared in CatchBatchDao
entity - an entity that was found
Returns:
the transformed entity (i.e. new value object, etc)
See Also:
transformEntities(int,java.util.Collection)

transformEntities

protected void transformEntities(int transform,
                                 java.util.Collection entities)
Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.data.batch.CatchBatch) method. This method does not instantiate a new collection.

This method is to be used internally only.

Overrides:
transformEntities in class BatchDaoBase
Parameters:
transform - one of the constants declared in fr.ifremer.allegro.data.batch.CatchBatchDao
entities - the collection of entities to transform
See Also:
transformEntity(int,fr.ifremer.allegro.data.batch.CatchBatch)

toEntity

protected CatchBatch toEntity(java.lang.Object[] row)
Overrides:
toEntity in class BatchDaoBase

toRemoteCatchBatchFullVOCollection

public final void toRemoteCatchBatchFullVOCollection(java.util.Collection entities)
Description copied from interface: CatchBatchDao
Converts this DAO's entity to a Collection of instances of type RemoteCatchBatchFullVO.

Specified by:
toRemoteCatchBatchFullVOCollection in interface CatchBatchDao
See Also:
CatchBatchDao.toRemoteCatchBatchFullVOCollection(java.util.Collection)

toRemoteCatchBatchFullVOArray

public final RemoteCatchBatchFullVO[] toRemoteCatchBatchFullVOArray(java.util.Collection entities)
Description copied from interface: CatchBatchDao
Converts this DAO's entity to an array of instances of type RemoteCatchBatchFullVO.

Specified by:
toRemoteCatchBatchFullVOArray in interface CatchBatchDao
See Also:
CatchBatchDao.toRemoteCatchBatchFullVOArray(java.util.Collection)

toRemoteCatchBatchFullVO

protected RemoteCatchBatchFullVO toRemoteCatchBatchFullVO(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. This implementation exists for convenience reasons only. It needs only be overridden in the CatchBatchDaoImpl class if you intend to use reporting queries.

See Also:
CatchBatchDao.toRemoteCatchBatchFullVO(fr.ifremer.allegro.data.batch.CatchBatch)

remoteCatchBatchFullVOToEntityCollection

public final void remoteCatchBatchFullVOToEntityCollection(java.util.Collection instances)
Description copied from interface: CatchBatchDao
Converts a Collection of instances of type RemoteCatchBatchFullVO to this DAO's entity.

Specified by:
remoteCatchBatchFullVOToEntityCollection in interface CatchBatchDao
See Also:
CatchBatchDao.remoteCatchBatchFullVOToEntityCollection(java.util.Collection)

toRemoteCatchBatchFullVO

public void toRemoteCatchBatchFullVO(CatchBatch source,
                                     RemoteCatchBatchFullVO target)
Description copied from interface: CatchBatchDao
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).

Specified by:
toRemoteCatchBatchFullVO in interface CatchBatchDao
See Also:
CatchBatchDao.toRemoteCatchBatchFullVO(fr.ifremer.allegro.data.batch.CatchBatch, fr.ifremer.allegro.data.batch.generic.vo.RemoteCatchBatchFullVO)

toRemoteCatchBatchFullVO

public RemoteCatchBatchFullVO toRemoteCatchBatchFullVO(CatchBatch entity)
Description copied from interface: CatchBatchDao
Converts this DAO's entity to an object of type RemoteCatchBatchFullVO.

Specified by:
toRemoteCatchBatchFullVO in interface CatchBatchDao
See Also:
CatchBatchDao.toRemoteCatchBatchFullVO(fr.ifremer.allegro.data.batch.CatchBatch)

remoteCatchBatchFullVOToEntity

public void remoteCatchBatchFullVOToEntity(RemoteCatchBatchFullVO source,
                                           CatchBatch target,
                                           boolean copyIfNull)
Description copied from interface: CatchBatchDao
Copies the fields of RemoteCatchBatchFullVO to the specified entity.

Specified by:
remoteCatchBatchFullVOToEntity in interface CatchBatchDao
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.
See Also:
fr.ifremer.allegro.data.batch.CatchBatchDao#remoteCatchBatchFullVOToEntity(fr.ifremer.allegro.data.batch.generic.vo.RemoteCatchBatchFullVO, fr.ifremer.allegro.data.batch.CatchBatch)

toRemoteCatchBatchNaturalIdCollection

public final void toRemoteCatchBatchNaturalIdCollection(java.util.Collection entities)
Description copied from interface: CatchBatchDao
Converts this DAO's entity to a Collection of instances of type RemoteCatchBatchNaturalId.

Specified by:
toRemoteCatchBatchNaturalIdCollection in interface CatchBatchDao
See Also:
CatchBatchDao.toRemoteCatchBatchNaturalIdCollection(java.util.Collection)

toRemoteCatchBatchNaturalIdArray

public final RemoteCatchBatchNaturalId[] toRemoteCatchBatchNaturalIdArray(java.util.Collection entities)
Description copied from interface: CatchBatchDao
Converts this DAO's entity to an array of instances of type RemoteCatchBatchNaturalId.

Specified by:
toRemoteCatchBatchNaturalIdArray in interface CatchBatchDao
See Also:
CatchBatchDao.toRemoteCatchBatchNaturalIdArray(java.util.Collection)

toRemoteCatchBatchNaturalId

protected RemoteCatchBatchNaturalId toRemoteCatchBatchNaturalId(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. This implementation exists for convenience reasons only. It needs only be overridden in the CatchBatchDaoImpl class if you intend to use reporting queries.

See Also:
CatchBatchDao.toRemoteCatchBatchNaturalId(fr.ifremer.allegro.data.batch.CatchBatch)

remoteCatchBatchNaturalIdToEntityCollection

public final void remoteCatchBatchNaturalIdToEntityCollection(java.util.Collection instances)
Description copied from interface: CatchBatchDao
Converts a Collection of instances of type RemoteCatchBatchNaturalId to this DAO's entity.

Specified by:
remoteCatchBatchNaturalIdToEntityCollection in interface CatchBatchDao
See Also:
CatchBatchDao.remoteCatchBatchNaturalIdToEntityCollection(java.util.Collection)

toRemoteCatchBatchNaturalId

public void toRemoteCatchBatchNaturalId(CatchBatch source,
                                        RemoteCatchBatchNaturalId target)
Description copied from interface: CatchBatchDao
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).

Specified by:
toRemoteCatchBatchNaturalId in interface CatchBatchDao
See Also:
CatchBatchDao.toRemoteCatchBatchNaturalId(fr.ifremer.allegro.data.batch.CatchBatch, fr.ifremer.allegro.data.batch.generic.vo.RemoteCatchBatchNaturalId)

toRemoteCatchBatchNaturalId

public RemoteCatchBatchNaturalId toRemoteCatchBatchNaturalId(CatchBatch entity)
Description copied from interface: CatchBatchDao
Converts this DAO's entity to an object of type RemoteCatchBatchNaturalId.

Specified by:
toRemoteCatchBatchNaturalId in interface CatchBatchDao
See Also:
CatchBatchDao.toRemoteCatchBatchNaturalId(fr.ifremer.allegro.data.batch.CatchBatch)

remoteCatchBatchNaturalIdToEntity

public void remoteCatchBatchNaturalIdToEntity(RemoteCatchBatchNaturalId source,
                                              CatchBatch target,
                                              boolean copyIfNull)
Description copied from interface: CatchBatchDao
Copies the fields of RemoteCatchBatchNaturalId to the specified entity.

Specified by:
remoteCatchBatchNaturalIdToEntity in interface CatchBatchDao
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.
See Also:
fr.ifremer.allegro.data.batch.CatchBatchDao#remoteCatchBatchNaturalIdToEntity(fr.ifremer.allegro.data.batch.generic.vo.RemoteCatchBatchNaturalId, fr.ifremer.allegro.data.batch.CatchBatch)

toClusterCatchBatchCollection

public final void toClusterCatchBatchCollection(java.util.Collection entities)
Description copied from interface: CatchBatchDao
Converts this DAO's entity to a Collection of instances of type ClusterCatchBatch.

Specified by:
toClusterCatchBatchCollection in interface CatchBatchDao
See Also:
CatchBatchDao.toClusterCatchBatchCollection(java.util.Collection)

toClusterCatchBatchArray

public final ClusterCatchBatch[] toClusterCatchBatchArray(java.util.Collection entities)
Description copied from interface: CatchBatchDao
Converts this DAO's entity to an array of instances of type ClusterCatchBatch.

Specified by:
toClusterCatchBatchArray in interface CatchBatchDao
See Also:
CatchBatchDao.toClusterCatchBatchArray(java.util.Collection)

toClusterCatchBatch

protected ClusterCatchBatch toClusterCatchBatch(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. This implementation exists for convenience reasons only. It needs only be overridden in the CatchBatchDaoImpl class if you intend to use reporting queries.

See Also:
CatchBatchDao.toClusterCatchBatch(fr.ifremer.allegro.data.batch.CatchBatch)

clusterCatchBatchToEntityCollection

public final void clusterCatchBatchToEntityCollection(java.util.Collection instances)
Description copied from interface: CatchBatchDao
Converts a Collection of instances of type ClusterCatchBatch to this DAO's entity.

Specified by:
clusterCatchBatchToEntityCollection in interface CatchBatchDao
See Also:
CatchBatchDao.clusterCatchBatchToEntityCollection(java.util.Collection)

toClusterCatchBatch

public void toClusterCatchBatch(CatchBatch source,
                                ClusterCatchBatch target)
Description copied from interface: CatchBatchDao
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).

Specified by:
toClusterCatchBatch in interface CatchBatchDao
See Also:
CatchBatchDao.toClusterCatchBatch(fr.ifremer.allegro.data.batch.CatchBatch, fr.ifremer.allegro.data.batch.generic.cluster.ClusterCatchBatch)

toClusterCatchBatch

public ClusterCatchBatch toClusterCatchBatch(CatchBatch entity)
Description copied from interface: CatchBatchDao
Converts this DAO's entity to an object of type ClusterCatchBatch.

Specified by:
toClusterCatchBatch in interface CatchBatchDao
See Also:
CatchBatchDao.toClusterCatchBatch(fr.ifremer.allegro.data.batch.CatchBatch)

clusterCatchBatchToEntity

public void clusterCatchBatchToEntity(ClusterCatchBatch source,
                                      CatchBatch target,
                                      boolean copyIfNull)
Description copied from interface: CatchBatchDao
Copies the fields of ClusterCatchBatch to the specified entity.

Specified by:
clusterCatchBatchToEntity in interface CatchBatchDao
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.
See Also:
fr.ifremer.allegro.data.batch.CatchBatchDao#clusterCatchBatchToEntity(fr.ifremer.allegro.data.batch.generic.cluster.ClusterCatchBatch, fr.ifremer.allegro.data.batch.CatchBatch)

getPrincipal

protected java.security.Principal getPrincipal()
Gets the current principal if one has been set, otherwise returns null.

Overrides:
getPrincipal in class BatchDaoBase
Returns:
the current principal

search

public PaginationResult search(int transform,
                               int pageNumber,
                               int pageSize,
                               Search search)
Description copied from interface: BatchDao
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
Specified by:
search in interface CatchBatchDao
Overrides:
search in class BatchDaoBase
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.
See Also:
CatchBatchDao.search(int, int, int, fr.ifremer.allegro.Search)

search

public PaginationResult search(int pageNumber,
                               int pageSize,
                               Search search)
Description copied from interface: BatchDao
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
Specified by:
search in interface CatchBatchDao
Overrides:
search in class BatchDaoBase
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.
See Also:
CatchBatchDao.search(int, int, fr.ifremer.allegro.Search)

search

public java.util.Set search(int transform,
                            Search search)
Description copied from interface: BatchDao
Does the same thing as BatchDao.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
Specified by:
search in interface CatchBatchDao
Overrides:
search in class BatchDaoBase
Parameters:
transform - the transformation flag.
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search.
See Also:
CatchBatchDao.search(int, fr.ifremer.allegro.Search)

search

public java.util.Set search(Search search)
Description copied from interface: BatchDao
Performs a search using the parameters specified in the given search object.

Specified by:
search in interface BatchDao
Specified by:
search in interface CatchBatchDao
Overrides:
search in class BatchDaoBase
Parameters:
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search.
See Also:
CatchBatchDao.search(fr.ifremer.allegro.Search)


Copyright © 2008-2010 IFREMER. All Rights Reserved.