fr.ifremer.allegro.data.batch
Class SortingBatchDaoBase

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.SortingBatchDaoBase
All Implemented Interfaces:
BatchDao, SortingBatchDao
Direct Known Subclasses:
SortingBatchDaoImpl

public abstract class SortingBatchDaoBase
extends BatchDaoImpl
implements SortingBatchDao

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

See Also:
SortingBatch

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.data.batch.SortingBatchDao
TRANSFORM_CLUSTERSORTINGBATCH, TRANSFORM_REMOTESORTINGBATCHFULLVO, TRANSFORM_REMOTESORTINGBATCHNATURALID
 
Fields inherited from interface fr.ifremer.allegro.data.batch.BatchDao
TRANSFORM_CLUSTERBATCH, TRANSFORM_NONE, TRANSFORM_REMOTEBATCHFULLVO, TRANSFORM_REMOTEBATCHNATURALID
 
Constructor Summary
SortingBatchDaoBase()
           
 
Method Summary
 void clusterSortingBatchToEntity(ClusterSortingBatch source, SortingBatch target, boolean copyIfNull)
          Copies the fields of ClusterSortingBatch to the specified entity.
 void clusterSortingBatchToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterSortingBatch to this DAO's entity.
 SortingBatch create(java.lang.Boolean childBatchsReplication, java.lang.Boolean exhaustiveInventory, java.lang.Short rankOrder)
           Creates a new fr.ifremer.allegro.data.batch.SortingBatch instance from only required properties (attributes and association ends) 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.SortingBatch and adds from the passed in entities collection
 java.lang.Object create(int transform, java.lang.Boolean childBatchsReplication, java.lang.Boolean exhaustiveInventory, java.lang.Short rankOrder)
           Does the same thing as SortingBatchDao.create(java.lang.Boolean,java.lang.Boolean,java.lang.Short) with an additional flag called transform.
 java.util.Collection create(int transform, java.util.Collection entities)
           Does the same thing as SortingBatchDao.create(fr.ifremer.allegro.data.batch.SortingBatch) 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.lang.Float samplingRatio, java.lang.String samplingRatioText, TaxonGroup taxonGroup, ReferenceTaxon referenceTaxon, java.util.Collection sortingMeasurements)
           Does the same thing as SortingBatchDao.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.lang.Float,java.lang.String,fr.ifremer.allegro.referential.taxon.TaxonGroup,fr.ifremer.allegro.referential.taxon.ReferenceTaxon,java.util.Collection) with an additional flag called transform.
 java.lang.Object create(int transform, SortingBatch sortingBatch)
           Does the same thing as SortingBatchDao.create(fr.ifremer.allegro.data.batch.SortingBatch) with an additional flag called transform.
 SortingBatch 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.lang.Float samplingRatio, java.lang.String samplingRatioText, TaxonGroup taxonGroup, ReferenceTaxon referenceTaxon, java.util.Collection sortingMeasurements)
           Creates a new fr.ifremer.allegro.data.batch.SortingBatch instance from all attributes and properties and adds it to the persistent store.
 SortingBatch create(SortingBatch sortingBatch)
          Creates an instance of fr.ifremer.allegro.data.batch.SortingBatch and adds it to the persistent store.
 SortingBatch createFromClusterSortingBatch(ClusterSortingBatch clusterSortingBatch)
           
 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.
 SortingBatch findSortingBatchById(java.lang.Integer id)
           
 java.lang.Object findSortingBatchById(int transform, java.lang.Integer id)
           Does the same thing as SortingBatchDao.findSortingBatchById(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findSortingBatchById(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as SortingBatchDao.findSortingBatchById(int, java.lang.Integer) with an additional argument called queryString.
 SortingBatch findSortingBatchById(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as SortingBatchDao.findSortingBatchById(java.lang.Integer) with an additional argument called queryString.
 SortingBatch findSortingBatchByNaturalId(java.lang.Integer id)
           
 java.lang.Object findSortingBatchByNaturalId(int transform, java.lang.Integer id)
           Does the same thing as SortingBatchDao.findSortingBatchByNaturalId(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findSortingBatchByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as SortingBatchDao.findSortingBatchByNaturalId(int, java.lang.Integer) with an additional argument called queryString.
 SortingBatch findSortingBatchByNaturalId(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as SortingBatchDao.findSortingBatchByNaturalId(java.lang.Integer) with an additional argument called queryString.
 java.util.Collection findSortingBatchByParentBatch(Batch parentBatch)
           
 java.util.Collection findSortingBatchByParentBatch(int transform, Batch parentBatch)
           Does the same thing as SortingBatchDao.findSortingBatchByParentBatch(fr.ifremer.allegro.data.batch.Batch) with an additional flag called transform.
 java.util.Collection findSortingBatchByParentBatch(int pageNumber, int pageSize, Batch parentBatch)
           Does the same thing as SortingBatchDao.findSortingBatchByParentBatch(fr.ifremer.allegro.data.batch.Batch) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSortingBatchByParentBatch(int transform, int pageNumber, int pageSize, Batch parentBatch)
           Does the same thing as SortingBatchDao.findSortingBatchByParentBatch(int, fr.ifremer.allegro.data.batch.Batch) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSortingBatchByParentBatch(int transform, java.lang.String queryString, Batch parentBatch)
           Does the same thing as SortingBatchDao.findSortingBatchByParentBatch(int, fr.ifremer.allegro.data.batch.Batch) with an additional argument called queryString.
 java.util.Collection findSortingBatchByParentBatch(int transform, java.lang.String queryString, int pageNumber, int pageSize, Batch parentBatch)
           Does the same thing as SortingBatchDao.findSortingBatchByParentBatch(int, String, fr.ifremer.allegro.data.batch.Batch) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSortingBatchByParentBatch(java.lang.String queryString, Batch parentBatch)
           Does the same thing as SortingBatchDao.findSortingBatchByParentBatch(fr.ifremer.allegro.data.batch.Batch) with an additional argument called queryString.
 java.util.Collection findSortingBatchByParentBatch(java.lang.String queryString, int pageNumber, int pageSize, Batch parentBatch)
           Does the same thing as SortingBatchDao.findSortingBatchByParentBatch(String, fr.ifremer.allegro.data.batch.Batch) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSortingBatchByReferenceTaxon(int transform, int pageNumber, int pageSize, ReferenceTaxon referenceTaxon)
           Does the same thing as SortingBatchDao.findSortingBatchByReferenceTaxon(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSortingBatchByReferenceTaxon(int pageNumber, int pageSize, ReferenceTaxon referenceTaxon)
           Does the same thing as SortingBatchDao.findSortingBatchByReferenceTaxon(fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSortingBatchByReferenceTaxon(int transform, ReferenceTaxon referenceTaxon)
           Does the same thing as SortingBatchDao.findSortingBatchByReferenceTaxon(fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an additional flag called transform.
 java.util.Collection findSortingBatchByReferenceTaxon(int transform, java.lang.String queryString, int pageNumber, int pageSize, ReferenceTaxon referenceTaxon)
           Does the same thing as SortingBatchDao.findSortingBatchByReferenceTaxon(int, String, fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSortingBatchByReferenceTaxon(int transform, java.lang.String queryString, ReferenceTaxon referenceTaxon)
           Does the same thing as SortingBatchDao.findSortingBatchByReferenceTaxon(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an additional argument called queryString.
 java.util.Collection findSortingBatchByReferenceTaxon(ReferenceTaxon referenceTaxon)
           
 java.util.Collection findSortingBatchByReferenceTaxon(java.lang.String queryString, int pageNumber, int pageSize, ReferenceTaxon referenceTaxon)
           Does the same thing as SortingBatchDao.findSortingBatchByReferenceTaxon(String, fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSortingBatchByReferenceTaxon(java.lang.String queryString, ReferenceTaxon referenceTaxon)
           Does the same thing as SortingBatchDao.findSortingBatchByReferenceTaxon(fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an additional argument called queryString.
 java.util.Collection findSortingBatchByTaxonGroup(int transform, int pageNumber, int pageSize, TaxonGroup taxonGroup)
           Does the same thing as SortingBatchDao.findSortingBatchByTaxonGroup(int, fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSortingBatchByTaxonGroup(int pageNumber, int pageSize, TaxonGroup taxonGroup)
           Does the same thing as SortingBatchDao.findSortingBatchByTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSortingBatchByTaxonGroup(int transform, java.lang.String queryString, int pageNumber, int pageSize, TaxonGroup taxonGroup)
           Does the same thing as SortingBatchDao.findSortingBatchByTaxonGroup(int, String, fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSortingBatchByTaxonGroup(int transform, java.lang.String queryString, TaxonGroup taxonGroup)
           Does the same thing as SortingBatchDao.findSortingBatchByTaxonGroup(int, fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional argument called queryString.
 java.util.Collection findSortingBatchByTaxonGroup(int transform, TaxonGroup taxonGroup)
           Does the same thing as SortingBatchDao.findSortingBatchByTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional flag called transform.
 java.util.Collection findSortingBatchByTaxonGroup(java.lang.String queryString, int pageNumber, int pageSize, TaxonGroup taxonGroup)
           Does the same thing as SortingBatchDao.findSortingBatchByTaxonGroup(String, fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findSortingBatchByTaxonGroup(java.lang.String queryString, TaxonGroup taxonGroup)
           Does the same thing as SortingBatchDao.findSortingBatchByTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional argument called queryString.
 java.util.Collection findSortingBatchByTaxonGroup(TaxonGroup taxonGroup)
           
 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.
 ClusterSortingBatch[] getAllClusterSortingBatch(java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
 java.util.Collection getAllSortingBatch()
           
 java.util.Collection getAllSortingBatch(int transform)
           Does the same thing as SortingBatchDao.getAllSortingBatch() with an additional flag called transform.
 java.util.Collection getAllSortingBatch(int pageNumber, int pageSize)
           Does the same thing as SortingBatchDao.getAllSortingBatch() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllSortingBatch(int transform, int pageNumber, int pageSize)
           Does the same thing as SortingBatchDao.getAllSortingBatch(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllSortingBatch(int transform, java.lang.String queryString)
           Does the same thing as SortingBatchDao.getAllSortingBatch(int) with an additional argument called queryString.
 java.util.Collection getAllSortingBatch(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as SortingBatchDao.getAllSortingBatch(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllSortingBatch(java.lang.String queryString)
           Does the same thing as SortingBatchDao.getAllSortingBatch() with an additional argument called queryString.
 java.util.Collection getAllSortingBatch(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as SortingBatchDao.getAllSortingBatch(String) with an additional two arguments called pageNumber and pageSize.
protected  CatchBatchDao getCatchBatchDao()
          Gets the reference to catchBatchDao.
protected  java.security.Principal getPrincipal()
          Gets the current principal if one has been set, otherwise returns null.
protected  ReferenceTaxonDao getReferenceTaxonDao()
          Gets the reference to referenceTaxonDao.
protected  SortingBatchDao getSortingBatchDao()
          Gets the reference to sortingBatchDao.
protected  SortingMeasurementDao getSortingMeasurementDao()
          Gets the reference to sortingMeasurementDao.
protected  TaxonGroupDao getTaxonGroupDao()
          Gets the reference to taxonGroupDao.
protected abstract  SortingBatch handleCreateFromClusterSortingBatch(ClusterSortingBatch clusterSortingBatch)
          Performs the core logic for createFromClusterSortingBatch(fr.ifremer.allegro.data.batch.generic.cluster.ClusterSortingBatch)
protected abstract  ClusterSortingBatch[] handleGetAllClusterSortingBatch(java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
          Performs the core logic for getAllClusterSortingBatch(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 SortingBatch 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 remoteSortingBatchFullVOToEntity(RemoteSortingBatchFullVO source, SortingBatch target, boolean copyIfNull)
          Copies the fields of RemoteSortingBatchFullVO to the specified entity.
 void remoteSortingBatchFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteSortingBatchFullVO to this DAO's entity.
 void remoteSortingBatchNaturalIdToEntity(RemoteSortingBatchNaturalId source, SortingBatch target, boolean copyIfNull)
          Copies the fields of RemoteSortingBatchNaturalId to the specified entity.
 void remoteSortingBatchNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteSortingBatchNaturalId to this DAO's entity.
 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.
 void remove(SortingBatch sortingBatch)
          Removes the instance of fr.ifremer.allegro.data.batch.SortingBatch 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 setReferenceTaxonDao(ReferenceTaxonDao referenceTaxonDao)
          Sets the reference to referenceTaxonDao.
 void setSortingBatchDao(SortingBatchDao sortingBatchDao)
          Sets the reference to sortingBatchDao.
 void setSortingMeasurementDao(SortingMeasurementDao sortingMeasurementDao)
          Sets the reference to sortingMeasurementDao.
 void setTaxonGroupDao(TaxonGroupDao taxonGroupDao)
          Sets the reference to taxonGroupDao.
protected  ClusterSortingBatch toClusterSortingBatch(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 ClusterSortingBatch toClusterSortingBatch(SortingBatch entity)
          Converts this DAO's entity to an object of type ClusterSortingBatch.
 void toClusterSortingBatch(SortingBatch source, ClusterSortingBatch target)
          Copies the fields of the specified entity to the target value object.
 ClusterSortingBatch[] toClusterSortingBatchArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterSortingBatch.
 void toClusterSortingBatchCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterSortingBatch.
protected  SortingBatch toEntity(java.lang.Object[] row)
           
protected  RemoteSortingBatchFullVO toRemoteSortingBatchFullVO(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteSortingBatchFullVO toRemoteSortingBatchFullVO(SortingBatch entity)
          Converts this DAO's entity to an object of type RemoteSortingBatchFullVO.
 void toRemoteSortingBatchFullVO(SortingBatch source, RemoteSortingBatchFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteSortingBatchFullVO[] toRemoteSortingBatchFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteSortingBatchFullVO.
 void toRemoteSortingBatchFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteSortingBatchFullVO.
protected  RemoteSortingBatchNaturalId toRemoteSortingBatchNaturalId(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteSortingBatchNaturalId toRemoteSortingBatchNaturalId(SortingBatch entity)
          Converts this DAO's entity to an object of type RemoteSortingBatchNaturalId.
 void toRemoteSortingBatchNaturalId(SortingBatch source, RemoteSortingBatchNaturalId target)
          Copies the fields of the specified entity to the target value object.
 RemoteSortingBatchNaturalId[] toRemoteSortingBatchNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteSortingBatchNaturalId.
 void toRemoteSortingBatchNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteSortingBatchNaturalId.
protected  void transformEntities(int transform, java.util.Collection entities)
          Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.data.batch.SortingBatch) method.
protected  java.lang.Object transformEntity(int transform, SortingBatch 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.SortingBatchDao, please note that the BatchDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself will be returned.
 void update(java.util.Collection entities)
          Updates all instances in the entities collection in the persistent store.
 void update(SortingBatch sortingBatch)
          Updates the sortingBatch instance 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.SortingBatchDao
clusterSortingBatchToEntity, remoteSortingBatchFullVOToEntity, remoteSortingBatchNaturalIdToEntity
 
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

SortingBatchDaoBase

public SortingBatchDaoBase()
Method Detail

setTaxonGroupDao

public void setTaxonGroupDao(TaxonGroupDao taxonGroupDao)
Sets the reference to taxonGroupDao.


getTaxonGroupDao

protected TaxonGroupDao getTaxonGroupDao()
Gets the reference to taxonGroupDao.


setReferenceTaxonDao

public void setReferenceTaxonDao(ReferenceTaxonDao referenceTaxonDao)
Sets the reference to referenceTaxonDao.


getReferenceTaxonDao

protected ReferenceTaxonDao getReferenceTaxonDao()
Gets the reference to referenceTaxonDao.


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.


setSortingMeasurementDao

public void setSortingMeasurementDao(SortingMeasurementDao sortingMeasurementDao)
Sets the reference to sortingMeasurementDao.


getSortingMeasurementDao

protected SortingMeasurementDao getSortingMeasurementDao()
Gets the reference to sortingMeasurementDao.


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 SortingBatchDao
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:
SortingBatchDao.load(int, java.lang.Integer)

load

public SortingBatch 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 SortingBatchDao
Overrides:
load in class BatchDaoBase
See Also:
SortingBatchDao.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 SortingBatchDao
Overrides:
loadAll in class BatchDaoBase
Returns:
the loaded entities.
See Also:
SortingBatchDao.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 SortingBatchDao
Overrides:
loadAll in class BatchDaoBase
Parameters:
transform - the flag indicating what transformation to use.
Returns:
the loaded entities.
See Also:
SortingBatchDao.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 SortingBatchDao
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:
SortingBatchDao.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 SortingBatchDao
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:
SortingBatchDao.loadAll(int, int, int)

create

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

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

create

public java.lang.Object create(int transform,
                               SortingBatch sortingBatch)
Description copied from interface: SortingBatchDao

Does the same thing as SortingBatchDao.create(fr.ifremer.allegro.data.batch.SortingBatch) 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 SortingBatchDao
See Also:
SortingBatchDao.create(int transform, fr.ifremer.allegro.data.batch.SortingBatch)

create

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

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

create

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

Does the same thing as SortingBatchDao.create(fr.ifremer.allegro.data.batch.SortingBatch) 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 SortingBatchDao
See Also:
SortingBatchDao.create(int, java.util.Collection)

create

public SortingBatch 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.lang.Float samplingRatio,
                           java.lang.String samplingRatioText,
                           TaxonGroup taxonGroup,
                           ReferenceTaxon referenceTaxon,
                           java.util.Collection sortingMeasurements)
Description copied from interface: SortingBatchDao

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

Specified by:
create in interface SortingBatchDao
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.lang.Float,java.lang.String,fr.ifremer.allegro.referential.taxon.TaxonGroup,fr.ifremer.allegro.referential.taxon.ReferenceTaxon,java.util.Collection)

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.lang.Float samplingRatio,
                               java.lang.String samplingRatioText,
                               TaxonGroup taxonGroup,
                               ReferenceTaxon referenceTaxon,
                               java.util.Collection sortingMeasurements)
Description copied from interface: SortingBatchDao

Does the same thing as SortingBatchDao.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.lang.Float,java.lang.String,fr.ifremer.allegro.referential.taxon.TaxonGroup,fr.ifremer.allegro.referential.taxon.ReferenceTaxon,java.util.Collection) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then the returned entity will NOT be transformed. If this flag is any of the other constants defined here then the result WILL BE passed through an operation which can optionally transform the entity (into a value object for example). By default, transformation does not occur.

Specified by:
create in interface SortingBatchDao
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.lang.Float,java.lang.String,fr.ifremer.allegro.referential.taxon.TaxonGroup,fr.ifremer.allegro.referential.taxon.ReferenceTaxon,java.util.Collection)

create

public SortingBatch create(java.lang.Boolean childBatchsReplication,
                           java.lang.Boolean exhaustiveInventory,
                           java.lang.Short rankOrder)
Description copied from interface: SortingBatchDao

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

Specified by:
create in interface SortingBatchDao
See Also:
SortingBatchDao.create(java.lang.Boolean,java.lang.Boolean,java.lang.Short)

create

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

Does the same thing as SortingBatchDao.create(java.lang.Boolean,java.lang.Boolean,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 SortingBatchDao
See Also:
SortingBatchDao.create(int, java.lang.Boolean,java.lang.Boolean,java.lang.Short)

update

public void update(SortingBatch sortingBatch)
Description copied from interface: SortingBatchDao
Updates the sortingBatch instance in the persistent store.

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

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 SortingBatchDao
Overrides:
update in class BatchDaoBase
See Also:
BatchDao.update(java.util.Collection)

remove

public void remove(SortingBatch sortingBatch)
Description copied from interface: SortingBatchDao
Removes the instance of fr.ifremer.allegro.data.batch.SortingBatch from the persistent store.

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

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 SortingBatchDao
Overrides:
remove in class BatchDaoBase
See Also:
SortingBatchDao.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 SortingBatchDao
Overrides:
remove in class BatchDaoBase
See Also:
BatchDao.remove(java.util.Collection)

getAllSortingBatch

public java.util.Collection getAllSortingBatch()
Specified by:
getAllSortingBatch in interface SortingBatchDao
See Also:
SortingBatchDao.getAllSortingBatch()

getAllSortingBatch

public java.util.Collection getAllSortingBatch(int transform)
Description copied from interface: SortingBatchDao

Does the same thing as SortingBatchDao.getAllSortingBatch() 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:
getAllSortingBatch in interface SortingBatchDao
See Also:
SortingBatchDao.getAllSortingBatch(int)

getAllSortingBatch

public java.util.Collection getAllSortingBatch(java.lang.String queryString)
Description copied from interface: SortingBatchDao

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

Specified by:
getAllSortingBatch in interface SortingBatchDao
See Also:
SortingBatchDao.getAllSortingBatch(java.lang.String)

getAllSortingBatch

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

Does the same thing as SortingBatchDao.getAllSortingBatch() 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:
getAllSortingBatch in interface SortingBatchDao
See Also:
SortingBatchDao.getAllSortingBatch(int, int)

getAllSortingBatch

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

Does the same thing as SortingBatchDao.getAllSortingBatch(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:
getAllSortingBatch in interface SortingBatchDao
See Also:
SortingBatchDao.getAllSortingBatch(String, int, int)

getAllSortingBatch

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

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

Specified by:
getAllSortingBatch in interface SortingBatchDao
See Also:
SortingBatchDao.getAllSortingBatch(int, String)

getAllSortingBatch

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

Does the same thing as SortingBatchDao.getAllSortingBatch(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:
getAllSortingBatch in interface SortingBatchDao
See Also:
SortingBatchDao.getAllSortingBatch(int, int, int)

getAllSortingBatch

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

Does the same thing as SortingBatchDao.getAllSortingBatch(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:
getAllSortingBatch in interface SortingBatchDao
See Also:
SortingBatchDao.getAllSortingBatch(int, java.lang.String, int, int)

findSortingBatchById

public SortingBatch findSortingBatchById(java.lang.Integer id)
Specified by:
findSortingBatchById in interface SortingBatchDao
See Also:
SortingBatchDao.findSortingBatchById(java.lang.Integer)

findSortingBatchById

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

Does the same thing as SortingBatchDao.findSortingBatchById(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:
findSortingBatchById in interface SortingBatchDao
See Also:
SortingBatchDao.findSortingBatchById(int, java.lang.Integer)

findSortingBatchById

public SortingBatch findSortingBatchById(java.lang.String queryString,
                                         java.lang.Integer id)
Description copied from interface: SortingBatchDao

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

Specified by:
findSortingBatchById in interface SortingBatchDao
See Also:
SortingBatchDao.findSortingBatchById(java.lang.String, java.lang.Integer)

findSortingBatchById

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

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

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

findSortingBatchByTaxonGroup

public java.util.Collection findSortingBatchByTaxonGroup(TaxonGroup taxonGroup)
Specified by:
findSortingBatchByTaxonGroup in interface SortingBatchDao
See Also:
SortingBatchDao.findSortingBatchByTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup)

findSortingBatchByTaxonGroup

public java.util.Collection findSortingBatchByTaxonGroup(int transform,
                                                         TaxonGroup taxonGroup)
Description copied from interface: SortingBatchDao

Does the same thing as SortingBatchDao.findSortingBatchByTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup) 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:
findSortingBatchByTaxonGroup in interface SortingBatchDao
See Also:
SortingBatchDao.findSortingBatchByTaxonGroup(int, fr.ifremer.allegro.referential.taxon.TaxonGroup)

findSortingBatchByTaxonGroup

public java.util.Collection findSortingBatchByTaxonGroup(java.lang.String queryString,
                                                         TaxonGroup taxonGroup)
Description copied from interface: SortingBatchDao

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

Specified by:
findSortingBatchByTaxonGroup in interface SortingBatchDao
See Also:
SortingBatchDao.findSortingBatchByTaxonGroup(java.lang.String, fr.ifremer.allegro.referential.taxon.TaxonGroup)

findSortingBatchByTaxonGroup

public java.util.Collection findSortingBatchByTaxonGroup(int pageNumber,
                                                         int pageSize,
                                                         TaxonGroup taxonGroup)
Description copied from interface: SortingBatchDao

Does the same thing as SortingBatchDao.findSortingBatchByTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup) 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:
findSortingBatchByTaxonGroup in interface SortingBatchDao
See Also:
SortingBatchDao.findSortingBatchByTaxonGroup(int, int, fr.ifremer.allegro.referential.taxon.TaxonGroup)

findSortingBatchByTaxonGroup

public java.util.Collection findSortingBatchByTaxonGroup(java.lang.String queryString,
                                                         int pageNumber,
                                                         int pageSize,
                                                         TaxonGroup taxonGroup)
Description copied from interface: SortingBatchDao

Does the same thing as SortingBatchDao.findSortingBatchByTaxonGroup(String, fr.ifremer.allegro.referential.taxon.TaxonGroup) 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:
findSortingBatchByTaxonGroup in interface SortingBatchDao
See Also:
SortingBatchDao.findSortingBatchByTaxonGroup(String, int, int, fr.ifremer.allegro.referential.taxon.TaxonGroup)

findSortingBatchByTaxonGroup

public java.util.Collection findSortingBatchByTaxonGroup(int transform,
                                                         java.lang.String queryString,
                                                         TaxonGroup taxonGroup)
Description copied from interface: SortingBatchDao

Does the same thing as SortingBatchDao.findSortingBatchByTaxonGroup(int, fr.ifremer.allegro.referential.taxon.TaxonGroup) with an additional argument called queryString. This queryString argument allows you to override the query string defined in SortingBatchDao.findSortingBatchByTaxonGroup(int, fr.ifremer.allegro.referential.taxon.TaxonGroup taxonGroup).

Specified by:
findSortingBatchByTaxonGroup in interface SortingBatchDao
See Also:
SortingBatchDao.findSortingBatchByTaxonGroup(int, String, fr.ifremer.allegro.referential.taxon.TaxonGroup)

findSortingBatchByTaxonGroup

public java.util.Collection findSortingBatchByTaxonGroup(int transform,
                                                         int pageNumber,
                                                         int pageSize,
                                                         TaxonGroup taxonGroup)
Description copied from interface: SortingBatchDao

Does the same thing as SortingBatchDao.findSortingBatchByTaxonGroup(int, fr.ifremer.allegro.referential.taxon.TaxonGroup) 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:
findSortingBatchByTaxonGroup in interface SortingBatchDao
See Also:
SortingBatchDao.findSortingBatchByTaxonGroup(int, int, int, fr.ifremer.allegro.referential.taxon.TaxonGroup)

findSortingBatchByTaxonGroup

public java.util.Collection findSortingBatchByTaxonGroup(int transform,
                                                         java.lang.String queryString,
                                                         int pageNumber,
                                                         int pageSize,
                                                         TaxonGroup taxonGroup)
Description copied from interface: SortingBatchDao

Does the same thing as SortingBatchDao.findSortingBatchByTaxonGroup(int, String, fr.ifremer.allegro.referential.taxon.TaxonGroup) 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:
findSortingBatchByTaxonGroup in interface SortingBatchDao
See Also:
SortingBatchDao.findSortingBatchByTaxonGroup(int, java.lang.String, int, int, fr.ifremer.allegro.referential.taxon.TaxonGroup)

findSortingBatchByReferenceTaxon

public java.util.Collection findSortingBatchByReferenceTaxon(ReferenceTaxon referenceTaxon)
Specified by:
findSortingBatchByReferenceTaxon in interface SortingBatchDao
See Also:
SortingBatchDao.findSortingBatchByReferenceTaxon(fr.ifremer.allegro.referential.taxon.ReferenceTaxon)

findSortingBatchByReferenceTaxon

public java.util.Collection findSortingBatchByReferenceTaxon(int transform,
                                                             ReferenceTaxon referenceTaxon)
Description copied from interface: SortingBatchDao

Does the same thing as SortingBatchDao.findSortingBatchByReferenceTaxon(fr.ifremer.allegro.referential.taxon.ReferenceTaxon) 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:
findSortingBatchByReferenceTaxon in interface SortingBatchDao
See Also:
SortingBatchDao.findSortingBatchByReferenceTaxon(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)

findSortingBatchByReferenceTaxon

public java.util.Collection findSortingBatchByReferenceTaxon(java.lang.String queryString,
                                                             ReferenceTaxon referenceTaxon)
Description copied from interface: SortingBatchDao

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

Specified by:
findSortingBatchByReferenceTaxon in interface SortingBatchDao
See Also:
SortingBatchDao.findSortingBatchByReferenceTaxon(java.lang.String, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)

findSortingBatchByReferenceTaxon

public java.util.Collection findSortingBatchByReferenceTaxon(int pageNumber,
                                                             int pageSize,
                                                             ReferenceTaxon referenceTaxon)
Description copied from interface: SortingBatchDao

Does the same thing as SortingBatchDao.findSortingBatchByReferenceTaxon(fr.ifremer.allegro.referential.taxon.ReferenceTaxon) 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:
findSortingBatchByReferenceTaxon in interface SortingBatchDao
See Also:
SortingBatchDao.findSortingBatchByReferenceTaxon(int, int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)

findSortingBatchByReferenceTaxon

public java.util.Collection findSortingBatchByReferenceTaxon(java.lang.String queryString,
                                                             int pageNumber,
                                                             int pageSize,
                                                             ReferenceTaxon referenceTaxon)
Description copied from interface: SortingBatchDao

Does the same thing as SortingBatchDao.findSortingBatchByReferenceTaxon(String, fr.ifremer.allegro.referential.taxon.ReferenceTaxon) 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:
findSortingBatchByReferenceTaxon in interface SortingBatchDao
See Also:
SortingBatchDao.findSortingBatchByReferenceTaxon(String, int, int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)

findSortingBatchByReferenceTaxon

public java.util.Collection findSortingBatchByReferenceTaxon(int transform,
                                                             java.lang.String queryString,
                                                             ReferenceTaxon referenceTaxon)
Description copied from interface: SortingBatchDao

Does the same thing as SortingBatchDao.findSortingBatchByReferenceTaxon(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon) with an additional argument called queryString. This queryString argument allows you to override the query string defined in SortingBatchDao.findSortingBatchByReferenceTaxon(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon referenceTaxon).

Specified by:
findSortingBatchByReferenceTaxon in interface SortingBatchDao
See Also:
SortingBatchDao.findSortingBatchByReferenceTaxon(int, String, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)

findSortingBatchByReferenceTaxon

public java.util.Collection findSortingBatchByReferenceTaxon(int transform,
                                                             int pageNumber,
                                                             int pageSize,
                                                             ReferenceTaxon referenceTaxon)
Description copied from interface: SortingBatchDao

Does the same thing as SortingBatchDao.findSortingBatchByReferenceTaxon(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon) 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:
findSortingBatchByReferenceTaxon in interface SortingBatchDao
See Also:
SortingBatchDao.findSortingBatchByReferenceTaxon(int, int, int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)

findSortingBatchByReferenceTaxon

public java.util.Collection findSortingBatchByReferenceTaxon(int transform,
                                                             java.lang.String queryString,
                                                             int pageNumber,
                                                             int pageSize,
                                                             ReferenceTaxon referenceTaxon)
Description copied from interface: SortingBatchDao

Does the same thing as SortingBatchDao.findSortingBatchByReferenceTaxon(int, String, fr.ifremer.allegro.referential.taxon.ReferenceTaxon) 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:
findSortingBatchByReferenceTaxon in interface SortingBatchDao
See Also:
SortingBatchDao.findSortingBatchByReferenceTaxon(int, java.lang.String, int, int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)

findSortingBatchByParentBatch

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

findSortingBatchByParentBatch

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

Does the same thing as SortingBatchDao.findSortingBatchByParentBatch(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:
findSortingBatchByParentBatch in interface SortingBatchDao
See Also:
SortingBatchDao.findSortingBatchByParentBatch(int, fr.ifremer.allegro.data.batch.Batch)

findSortingBatchByParentBatch

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

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

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

findSortingBatchByParentBatch

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

Does the same thing as SortingBatchDao.findSortingBatchByParentBatch(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:
findSortingBatchByParentBatch in interface SortingBatchDao
See Also:
SortingBatchDao.findSortingBatchByParentBatch(int, int, fr.ifremer.allegro.data.batch.Batch)

findSortingBatchByParentBatch

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

Does the same thing as SortingBatchDao.findSortingBatchByParentBatch(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:
findSortingBatchByParentBatch in interface SortingBatchDao
See Also:
SortingBatchDao.findSortingBatchByParentBatch(String, int, int, fr.ifremer.allegro.data.batch.Batch)

findSortingBatchByParentBatch

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

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

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

findSortingBatchByParentBatch

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

Does the same thing as SortingBatchDao.findSortingBatchByParentBatch(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:
findSortingBatchByParentBatch in interface SortingBatchDao
See Also:
SortingBatchDao.findSortingBatchByParentBatch(int, int, int, fr.ifremer.allegro.data.batch.Batch)

findSortingBatchByParentBatch

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

Does the same thing as SortingBatchDao.findSortingBatchByParentBatch(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:
findSortingBatchByParentBatch in interface SortingBatchDao
See Also:
SortingBatchDao.findSortingBatchByParentBatch(int, java.lang.String, int, int, fr.ifremer.allegro.data.batch.Batch)

findSortingBatchByNaturalId

public SortingBatch findSortingBatchByNaturalId(java.lang.Integer id)
Specified by:
findSortingBatchByNaturalId in interface SortingBatchDao
See Also:
SortingBatchDao.findSortingBatchByNaturalId(java.lang.Integer)

findSortingBatchByNaturalId

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

Does the same thing as SortingBatchDao.findSortingBatchByNaturalId(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:
findSortingBatchByNaturalId in interface SortingBatchDao
See Also:
SortingBatchDao.findSortingBatchByNaturalId(int, java.lang.Integer)

findSortingBatchByNaturalId

public SortingBatch findSortingBatchByNaturalId(java.lang.String queryString,
                                                java.lang.Integer id)
Description copied from interface: SortingBatchDao

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

Specified by:
findSortingBatchByNaturalId in interface SortingBatchDao
See Also:
SortingBatchDao.findSortingBatchByNaturalId(java.lang.String, java.lang.Integer)

findSortingBatchByNaturalId

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

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

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

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)

createFromClusterSortingBatch

public SortingBatch createFromClusterSortingBatch(ClusterSortingBatch clusterSortingBatch)
Specified by:
createFromClusterSortingBatch in interface SortingBatchDao
See Also:
SortingBatchDao.createFromClusterSortingBatch(fr.ifremer.allegro.data.batch.generic.cluster.ClusterSortingBatch)

handleCreateFromClusterSortingBatch

protected abstract SortingBatch handleCreateFromClusterSortingBatch(ClusterSortingBatch clusterSortingBatch)
                                                             throws java.lang.Exception
Performs the core logic for createFromClusterSortingBatch(fr.ifremer.allegro.data.batch.generic.cluster.ClusterSortingBatch)

Throws:
java.lang.Exception

getAllClusterSortingBatch

public ClusterSortingBatch[] getAllClusterSortingBatch(java.lang.Integer userId,
                                                       java.lang.Integer[] registrationLocationIds,
                                                       java.lang.Integer pageNumber,
                                                       java.lang.Integer pageSize)
Specified by:
getAllClusterSortingBatch in interface SortingBatchDao
See Also:
SortingBatchDao.getAllClusterSortingBatch(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

handleGetAllClusterSortingBatch

protected abstract ClusterSortingBatch[] handleGetAllClusterSortingBatch(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 getAllClusterSortingBatch(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Throws:
java.lang.Exception

transformEntity

protected java.lang.Object transformEntity(int transform,
                                           SortingBatch 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.SortingBatchDao, 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 SortingBatchDao
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.SortingBatch) 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.SortingBatchDao
entities - the collection of entities to transform
See Also:
transformEntity(int,fr.ifremer.allegro.data.batch.SortingBatch)

toEntity

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

toRemoteSortingBatchFullVOCollection

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

Specified by:
toRemoteSortingBatchFullVOCollection in interface SortingBatchDao
See Also:
SortingBatchDao.toRemoteSortingBatchFullVOCollection(java.util.Collection)

toRemoteSortingBatchFullVOArray

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

Specified by:
toRemoteSortingBatchFullVOArray in interface SortingBatchDao
See Also:
SortingBatchDao.toRemoteSortingBatchFullVOArray(java.util.Collection)

toRemoteSortingBatchFullVO

protected RemoteSortingBatchFullVO toRemoteSortingBatchFullVO(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 SortingBatchDaoImpl class if you intend to use reporting queries.

See Also:
SortingBatchDao.toRemoteSortingBatchFullVO(fr.ifremer.allegro.data.batch.SortingBatch)

remoteSortingBatchFullVOToEntityCollection

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

Specified by:
remoteSortingBatchFullVOToEntityCollection in interface SortingBatchDao
See Also:
SortingBatchDao.remoteSortingBatchFullVOToEntityCollection(java.util.Collection)

toRemoteSortingBatchFullVO

public void toRemoteSortingBatchFullVO(SortingBatch source,
                                       RemoteSortingBatchFullVO target)
Description copied from interface: SortingBatchDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteSortingBatchFullVO(), 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:
toRemoteSortingBatchFullVO in interface SortingBatchDao
See Also:
SortingBatchDao.toRemoteSortingBatchFullVO(fr.ifremer.allegro.data.batch.SortingBatch, fr.ifremer.allegro.data.batch.generic.vo.RemoteSortingBatchFullVO)

toRemoteSortingBatchFullVO

public RemoteSortingBatchFullVO toRemoteSortingBatchFullVO(SortingBatch entity)
Description copied from interface: SortingBatchDao
Converts this DAO's entity to an object of type RemoteSortingBatchFullVO.

Specified by:
toRemoteSortingBatchFullVO in interface SortingBatchDao
See Also:
SortingBatchDao.toRemoteSortingBatchFullVO(fr.ifremer.allegro.data.batch.SortingBatch)

remoteSortingBatchFullVOToEntity

public void remoteSortingBatchFullVOToEntity(RemoteSortingBatchFullVO source,
                                             SortingBatch target,
                                             boolean copyIfNull)
Description copied from interface: SortingBatchDao
Copies the fields of RemoteSortingBatchFullVO to the specified entity.

Specified by:
remoteSortingBatchFullVOToEntity in interface SortingBatchDao
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.SortingBatchDao#remoteSortingBatchFullVOToEntity(fr.ifremer.allegro.data.batch.generic.vo.RemoteSortingBatchFullVO, fr.ifremer.allegro.data.batch.SortingBatch)

toRemoteSortingBatchNaturalIdCollection

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

Specified by:
toRemoteSortingBatchNaturalIdCollection in interface SortingBatchDao
See Also:
SortingBatchDao.toRemoteSortingBatchNaturalIdCollection(java.util.Collection)

toRemoteSortingBatchNaturalIdArray

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

Specified by:
toRemoteSortingBatchNaturalIdArray in interface SortingBatchDao
See Also:
SortingBatchDao.toRemoteSortingBatchNaturalIdArray(java.util.Collection)

toRemoteSortingBatchNaturalId

protected RemoteSortingBatchNaturalId toRemoteSortingBatchNaturalId(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 SortingBatchDaoImpl class if you intend to use reporting queries.

See Also:
SortingBatchDao.toRemoteSortingBatchNaturalId(fr.ifremer.allegro.data.batch.SortingBatch)

remoteSortingBatchNaturalIdToEntityCollection

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

Specified by:
remoteSortingBatchNaturalIdToEntityCollection in interface SortingBatchDao
See Also:
SortingBatchDao.remoteSortingBatchNaturalIdToEntityCollection(java.util.Collection)

toRemoteSortingBatchNaturalId

public void toRemoteSortingBatchNaturalId(SortingBatch source,
                                          RemoteSortingBatchNaturalId target)
Description copied from interface: SortingBatchDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteSortingBatchNaturalId(), 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:
toRemoteSortingBatchNaturalId in interface SortingBatchDao
See Also:
SortingBatchDao.toRemoteSortingBatchNaturalId(fr.ifremer.allegro.data.batch.SortingBatch, fr.ifremer.allegro.data.batch.generic.vo.RemoteSortingBatchNaturalId)

toRemoteSortingBatchNaturalId

public RemoteSortingBatchNaturalId toRemoteSortingBatchNaturalId(SortingBatch entity)
Description copied from interface: SortingBatchDao
Converts this DAO's entity to an object of type RemoteSortingBatchNaturalId.

Specified by:
toRemoteSortingBatchNaturalId in interface SortingBatchDao
See Also:
SortingBatchDao.toRemoteSortingBatchNaturalId(fr.ifremer.allegro.data.batch.SortingBatch)

remoteSortingBatchNaturalIdToEntity

public void remoteSortingBatchNaturalIdToEntity(RemoteSortingBatchNaturalId source,
                                                SortingBatch target,
                                                boolean copyIfNull)
Description copied from interface: SortingBatchDao
Copies the fields of RemoteSortingBatchNaturalId to the specified entity.

Specified by:
remoteSortingBatchNaturalIdToEntity in interface SortingBatchDao
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.SortingBatchDao#remoteSortingBatchNaturalIdToEntity(fr.ifremer.allegro.data.batch.generic.vo.RemoteSortingBatchNaturalId, fr.ifremer.allegro.data.batch.SortingBatch)

toClusterSortingBatchCollection

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

Specified by:
toClusterSortingBatchCollection in interface SortingBatchDao
See Also:
SortingBatchDao.toClusterSortingBatchCollection(java.util.Collection)

toClusterSortingBatchArray

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

Specified by:
toClusterSortingBatchArray in interface SortingBatchDao
See Also:
SortingBatchDao.toClusterSortingBatchArray(java.util.Collection)

toClusterSortingBatch

protected ClusterSortingBatch toClusterSortingBatch(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 SortingBatchDaoImpl class if you intend to use reporting queries.

See Also:
SortingBatchDao.toClusterSortingBatch(fr.ifremer.allegro.data.batch.SortingBatch)

clusterSortingBatchToEntityCollection

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

Specified by:
clusterSortingBatchToEntityCollection in interface SortingBatchDao
See Also:
SortingBatchDao.clusterSortingBatchToEntityCollection(java.util.Collection)

toClusterSortingBatch

public void toClusterSortingBatch(SortingBatch source,
                                  ClusterSortingBatch target)
Description copied from interface: SortingBatchDao
Copies the fields of the specified entity to the target value object. This method is similar to toClusterSortingBatch(), 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:
toClusterSortingBatch in interface SortingBatchDao
See Also:
SortingBatchDao.toClusterSortingBatch(fr.ifremer.allegro.data.batch.SortingBatch, fr.ifremer.allegro.data.batch.generic.cluster.ClusterSortingBatch)

toClusterSortingBatch

public ClusterSortingBatch toClusterSortingBatch(SortingBatch entity)
Description copied from interface: SortingBatchDao
Converts this DAO's entity to an object of type ClusterSortingBatch.

Specified by:
toClusterSortingBatch in interface SortingBatchDao
See Also:
SortingBatchDao.toClusterSortingBatch(fr.ifremer.allegro.data.batch.SortingBatch)

clusterSortingBatchToEntity

public void clusterSortingBatchToEntity(ClusterSortingBatch source,
                                        SortingBatch target,
                                        boolean copyIfNull)
Description copied from interface: SortingBatchDao
Copies the fields of ClusterSortingBatch to the specified entity.

Specified by:
clusterSortingBatchToEntity in interface SortingBatchDao
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.SortingBatchDao#clusterSortingBatchToEntity(fr.ifremer.allegro.data.batch.generic.cluster.ClusterSortingBatch, fr.ifremer.allegro.data.batch.SortingBatch)

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 SortingBatchDao
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:
SortingBatchDao.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 SortingBatchDao
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:
SortingBatchDao.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 SortingBatchDao
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:
SortingBatchDao.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 SortingBatchDao
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:
SortingBatchDao.search(fr.ifremer.allegro.Search)


Copyright © 2008-2010 IFREMER. All Rights Reserved.