|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.orm.hibernate3.support.HibernateDaoSupport
fr.ifremer.allegro.data.batch.BatchDaoBase
fr.ifremer.allegro.data.batch.BatchDaoImpl
fr.ifremer.allegro.data.batch.SortingBatchDaoBase
public abstract class SortingBatchDaoBase
Base Spring DAO Class: is able to create, update, remove, load, and find
objects of type fr.ifremer.allegro.data.batch.SortingBatch
.
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 |
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 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 |
Constructor Detail |
---|
public SortingBatchDaoBase()
Method Detail |
---|
public void setTaxonGroupDao(TaxonGroupDao taxonGroupDao)
taxonGroupDao
.
protected TaxonGroupDao getTaxonGroupDao()
taxonGroupDao
.
public void setReferenceTaxonDao(ReferenceTaxonDao referenceTaxonDao)
referenceTaxonDao
.
protected ReferenceTaxonDao getReferenceTaxonDao()
referenceTaxonDao
.
public void setCatchBatchDao(CatchBatchDao catchBatchDao)
catchBatchDao
.
protected CatchBatchDao getCatchBatchDao()
catchBatchDao
.
public void setSortingBatchDao(SortingBatchDao sortingBatchDao)
sortingBatchDao
.
protected SortingBatchDao getSortingBatchDao()
sortingBatchDao
.
public void setSortingMeasurementDao(SortingMeasurementDao sortingMeasurementDao)
sortingMeasurementDao
.
protected SortingMeasurementDao getSortingMeasurementDao()
sortingMeasurementDao
.
public java.lang.Object load(int transform, java.lang.Integer id)
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.
load
in interface BatchDao
load
in interface SortingBatchDao
load
in class BatchDaoBase
id
- identifier of the entity to load
SortingBatchDao.load(int, java.lang.Integer)
public SortingBatch load(java.lang.Integer id)
BatchDao
load
in interface BatchDao
load
in interface SortingBatchDao
load
in class BatchDaoBase
SortingBatchDao.load(java.lang.Integer)
public java.util.Collection loadAll()
BatchDao
Batch
.
loadAll
in interface BatchDao
loadAll
in interface SortingBatchDao
loadAll
in class BatchDaoBase
SortingBatchDao.loadAll()
public java.util.Collection loadAll(int transform)
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.
loadAll
in interface BatchDao
loadAll
in interface SortingBatchDao
loadAll
in class BatchDaoBase
transform
- the flag indicating what transformation to use.
SortingBatchDao.loadAll(int)
public java.util.Collection loadAll(int pageNumber, int pageSize)
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.
loadAll
in interface BatchDao
loadAll
in interface SortingBatchDao
loadAll
in class BatchDaoBase
pageNumber
- the page number to retrieve when paging results.pageSize
- the size of the page to retrieve when paging results.
SortingBatchDao.loadAll(int, int)
public java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
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.
loadAll
in interface BatchDao
loadAll
in interface SortingBatchDao
loadAll
in class BatchDaoBase
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.
SortingBatchDao.loadAll(int, int, int)
public SortingBatch create(SortingBatch sortingBatch)
SortingBatchDao
create
in interface SortingBatchDao
SortingBatchDao.create(fr.ifremer.allegro.data.batch.SortingBatch)
public java.lang.Object create(int transform, SortingBatch sortingBatch)
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.
create
in interface SortingBatchDao
SortingBatchDao.create(int transform, fr.ifremer.allegro.data.batch.SortingBatch)
public java.util.Collection create(java.util.Collection entities)
SortingBatchDao
entities
collection
create
in interface SortingBatchDao
entities
- the collection of fr.ifremer.allegro.data.batch.SortingBatch
instances to create.
SortingBatchDao.create(java.util.Collection)
public java.util.Collection create(int transform, java.util.Collection entities)
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.
create
in interface SortingBatchDao
SortingBatchDao.create(int, java.util.Collection)
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)
SortingBatchDao
Creates a new fr.ifremer.allegro.data.batch.SortingBatch
instance from all attributes and
properties and adds it to the persistent store.
create
in interface SortingBatchDao
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)
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)
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.
create
in interface SortingBatchDao
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)
public SortingBatch create(java.lang.Boolean childBatchsReplication, java.lang.Boolean exhaustiveInventory, java.lang.Short rankOrder)
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.
create
in interface SortingBatchDao
SortingBatchDao.create(java.lang.Boolean,java.lang.Boolean,java.lang.Short)
public java.lang.Object create(int transform, java.lang.Boolean childBatchsReplication, java.lang.Boolean exhaustiveInventory, java.lang.Short rankOrder)
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.
create
in interface SortingBatchDao
SortingBatchDao.create(int, java.lang.Boolean,java.lang.Boolean,java.lang.Short)
public void update(SortingBatch sortingBatch)
SortingBatchDao
sortingBatch
instance in the persistent store.
update
in interface SortingBatchDao
SortingBatchDao.update(fr.ifremer.allegro.data.batch.SortingBatch)
public void update(java.util.Collection entities)
BatchDao
entities
collection in the persistent store.
update
in interface BatchDao
update
in interface SortingBatchDao
update
in class BatchDaoBase
BatchDao.update(java.util.Collection)
public void remove(SortingBatch sortingBatch)
SortingBatchDao
remove
in interface SortingBatchDao
SortingBatchDao.remove(fr.ifremer.allegro.data.batch.SortingBatch)
public void remove(java.lang.Integer id)
BatchDao
identifier
from the persistent store.
remove
in interface BatchDao
remove
in interface SortingBatchDao
remove
in class BatchDaoBase
SortingBatchDao.remove(java.lang.Integer)
public void remove(java.util.Collection entities)
BatchDao
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)
public java.util.Collection getAllSortingBatch()
getAllSortingBatch
in interface SortingBatchDao
SortingBatchDao.getAllSortingBatch()
public java.util.Collection getAllSortingBatch(int transform)
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.
getAllSortingBatch
in interface SortingBatchDao
SortingBatchDao.getAllSortingBatch(int)
public java.util.Collection getAllSortingBatch(java.lang.String queryString)
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()
.
getAllSortingBatch
in interface SortingBatchDao
SortingBatchDao.getAllSortingBatch(java.lang.String)
public java.util.Collection getAllSortingBatch(int pageNumber, int pageSize)
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.
getAllSortingBatch
in interface SortingBatchDao
SortingBatchDao.getAllSortingBatch(int, int)
public java.util.Collection getAllSortingBatch(java.lang.String queryString, int pageNumber, int pageSize)
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.
getAllSortingBatch
in interface SortingBatchDao
SortingBatchDao.getAllSortingBatch(String, int, int)
public java.util.Collection getAllSortingBatch(int transform, java.lang.String queryString)
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)
.
getAllSortingBatch
in interface SortingBatchDao
SortingBatchDao.getAllSortingBatch(int, String)
public java.util.Collection getAllSortingBatch(int transform, int pageNumber, int pageSize)
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.
getAllSortingBatch
in interface SortingBatchDao
SortingBatchDao.getAllSortingBatch(int, int, int)
public java.util.Collection getAllSortingBatch(int transform, java.lang.String queryString, int pageNumber, int pageSize)
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.
getAllSortingBatch
in interface SortingBatchDao
SortingBatchDao.getAllSortingBatch(int, java.lang.String, int, int)
public SortingBatch findSortingBatchById(java.lang.Integer id)
findSortingBatchById
in interface SortingBatchDao
SortingBatchDao.findSortingBatchById(java.lang.Integer)
public java.lang.Object findSortingBatchById(int transform, java.lang.Integer id)
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.
findSortingBatchById
in interface SortingBatchDao
SortingBatchDao.findSortingBatchById(int, java.lang.Integer)
public SortingBatch findSortingBatchById(java.lang.String queryString, java.lang.Integer id)
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)
.
findSortingBatchById
in interface SortingBatchDao
SortingBatchDao.findSortingBatchById(java.lang.String, java.lang.Integer)
public java.lang.Object findSortingBatchById(int transform, java.lang.String queryString, java.lang.Integer id)
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)
.
findSortingBatchById
in interface SortingBatchDao
SortingBatchDao.findSortingBatchById(int, java.lang.String, java.lang.Integer)
public java.util.Collection findSortingBatchByTaxonGroup(TaxonGroup taxonGroup)
findSortingBatchByTaxonGroup
in interface SortingBatchDao
SortingBatchDao.findSortingBatchByTaxonGroup(fr.ifremer.allegro.referential.taxon.TaxonGroup)
public java.util.Collection findSortingBatchByTaxonGroup(int transform, TaxonGroup taxonGroup)
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.
findSortingBatchByTaxonGroup
in interface SortingBatchDao
SortingBatchDao.findSortingBatchByTaxonGroup(int, fr.ifremer.allegro.referential.taxon.TaxonGroup)
public java.util.Collection findSortingBatchByTaxonGroup(java.lang.String queryString, TaxonGroup taxonGroup)
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)
.
findSortingBatchByTaxonGroup
in interface SortingBatchDao
SortingBatchDao.findSortingBatchByTaxonGroup(java.lang.String, fr.ifremer.allegro.referential.taxon.TaxonGroup)
public java.util.Collection findSortingBatchByTaxonGroup(int pageNumber, int pageSize, TaxonGroup taxonGroup)
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.
findSortingBatchByTaxonGroup
in interface SortingBatchDao
SortingBatchDao.findSortingBatchByTaxonGroup(int, int, fr.ifremer.allegro.referential.taxon.TaxonGroup)
public java.util.Collection findSortingBatchByTaxonGroup(java.lang.String queryString, int pageNumber, int pageSize, TaxonGroup taxonGroup)
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.
findSortingBatchByTaxonGroup
in interface SortingBatchDao
SortingBatchDao.findSortingBatchByTaxonGroup(String, int, int, fr.ifremer.allegro.referential.taxon.TaxonGroup)
public java.util.Collection findSortingBatchByTaxonGroup(int transform, java.lang.String queryString, TaxonGroup taxonGroup)
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)
.
findSortingBatchByTaxonGroup
in interface SortingBatchDao
SortingBatchDao.findSortingBatchByTaxonGroup(int, String, fr.ifremer.allegro.referential.taxon.TaxonGroup)
public java.util.Collection findSortingBatchByTaxonGroup(int transform, int pageNumber, int pageSize, TaxonGroup taxonGroup)
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.
findSortingBatchByTaxonGroup
in interface SortingBatchDao
SortingBatchDao.findSortingBatchByTaxonGroup(int, int, int, fr.ifremer.allegro.referential.taxon.TaxonGroup)
public java.util.Collection findSortingBatchByTaxonGroup(int transform, java.lang.String queryString, int pageNumber, int pageSize, TaxonGroup taxonGroup)
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.
findSortingBatchByTaxonGroup
in interface SortingBatchDao
SortingBatchDao.findSortingBatchByTaxonGroup(int, java.lang.String, int, int, fr.ifremer.allegro.referential.taxon.TaxonGroup)
public java.util.Collection findSortingBatchByReferenceTaxon(ReferenceTaxon referenceTaxon)
findSortingBatchByReferenceTaxon
in interface SortingBatchDao
SortingBatchDao.findSortingBatchByReferenceTaxon(fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
public java.util.Collection findSortingBatchByReferenceTaxon(int transform, ReferenceTaxon referenceTaxon)
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.
findSortingBatchByReferenceTaxon
in interface SortingBatchDao
SortingBatchDao.findSortingBatchByReferenceTaxon(int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
public java.util.Collection findSortingBatchByReferenceTaxon(java.lang.String queryString, ReferenceTaxon referenceTaxon)
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)
.
findSortingBatchByReferenceTaxon
in interface SortingBatchDao
SortingBatchDao.findSortingBatchByReferenceTaxon(java.lang.String, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
public java.util.Collection findSortingBatchByReferenceTaxon(int pageNumber, int pageSize, ReferenceTaxon referenceTaxon)
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.
findSortingBatchByReferenceTaxon
in interface SortingBatchDao
SortingBatchDao.findSortingBatchByReferenceTaxon(int, int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
public java.util.Collection findSortingBatchByReferenceTaxon(java.lang.String queryString, int pageNumber, int pageSize, ReferenceTaxon referenceTaxon)
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.
findSortingBatchByReferenceTaxon
in interface SortingBatchDao
SortingBatchDao.findSortingBatchByReferenceTaxon(String, int, int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
public java.util.Collection findSortingBatchByReferenceTaxon(int transform, java.lang.String queryString, ReferenceTaxon referenceTaxon)
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)
.
findSortingBatchByReferenceTaxon
in interface SortingBatchDao
SortingBatchDao.findSortingBatchByReferenceTaxon(int, String, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
public java.util.Collection findSortingBatchByReferenceTaxon(int transform, int pageNumber, int pageSize, ReferenceTaxon referenceTaxon)
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.
findSortingBatchByReferenceTaxon
in interface SortingBatchDao
SortingBatchDao.findSortingBatchByReferenceTaxon(int, int, int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
public java.util.Collection findSortingBatchByReferenceTaxon(int transform, java.lang.String queryString, int pageNumber, int pageSize, ReferenceTaxon referenceTaxon)
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.
findSortingBatchByReferenceTaxon
in interface SortingBatchDao
SortingBatchDao.findSortingBatchByReferenceTaxon(int, java.lang.String, int, int, fr.ifremer.allegro.referential.taxon.ReferenceTaxon)
public java.util.Collection findSortingBatchByParentBatch(Batch parentBatch)
findSortingBatchByParentBatch
in interface SortingBatchDao
SortingBatchDao.findSortingBatchByParentBatch(fr.ifremer.allegro.data.batch.Batch)
public java.util.Collection findSortingBatchByParentBatch(int transform, Batch parentBatch)
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.
findSortingBatchByParentBatch
in interface SortingBatchDao
SortingBatchDao.findSortingBatchByParentBatch(int, fr.ifremer.allegro.data.batch.Batch)
public java.util.Collection findSortingBatchByParentBatch(java.lang.String queryString, Batch parentBatch)
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)
.
findSortingBatchByParentBatch
in interface SortingBatchDao
SortingBatchDao.findSortingBatchByParentBatch(java.lang.String, fr.ifremer.allegro.data.batch.Batch)
public java.util.Collection findSortingBatchByParentBatch(int pageNumber, int pageSize, Batch parentBatch)
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.
findSortingBatchByParentBatch
in interface SortingBatchDao
SortingBatchDao.findSortingBatchByParentBatch(int, int, fr.ifremer.allegro.data.batch.Batch)
public java.util.Collection findSortingBatchByParentBatch(java.lang.String queryString, int pageNumber, int pageSize, Batch parentBatch)
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.
findSortingBatchByParentBatch
in interface SortingBatchDao
SortingBatchDao.findSortingBatchByParentBatch(String, int, int, fr.ifremer.allegro.data.batch.Batch)
public java.util.Collection findSortingBatchByParentBatch(int transform, java.lang.String queryString, Batch parentBatch)
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)
.
findSortingBatchByParentBatch
in interface SortingBatchDao
SortingBatchDao.findSortingBatchByParentBatch(int, String, fr.ifremer.allegro.data.batch.Batch)
public java.util.Collection findSortingBatchByParentBatch(int transform, int pageNumber, int pageSize, Batch parentBatch)
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.
findSortingBatchByParentBatch
in interface SortingBatchDao
SortingBatchDao.findSortingBatchByParentBatch(int, int, int, fr.ifremer.allegro.data.batch.Batch)
public java.util.Collection findSortingBatchByParentBatch(int transform, java.lang.String queryString, int pageNumber, int pageSize, Batch parentBatch)
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.
findSortingBatchByParentBatch
in interface SortingBatchDao
SortingBatchDao.findSortingBatchByParentBatch(int, java.lang.String, int, int, fr.ifremer.allegro.data.batch.Batch)
public SortingBatch findSortingBatchByNaturalId(java.lang.Integer id)
findSortingBatchByNaturalId
in interface SortingBatchDao
SortingBatchDao.findSortingBatchByNaturalId(java.lang.Integer)
public java.lang.Object findSortingBatchByNaturalId(int transform, java.lang.Integer id)
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.
findSortingBatchByNaturalId
in interface SortingBatchDao
SortingBatchDao.findSortingBatchByNaturalId(int, java.lang.Integer)
public SortingBatch findSortingBatchByNaturalId(java.lang.String queryString, java.lang.Integer id)
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)
.
findSortingBatchByNaturalId
in interface SortingBatchDao
SortingBatchDao.findSortingBatchByNaturalId(java.lang.String, java.lang.Integer)
public java.lang.Object findSortingBatchByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
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)
.
findSortingBatchByNaturalId
in interface SortingBatchDao
SortingBatchDao.findSortingBatchByNaturalId(int, java.lang.String, java.lang.Integer)
public java.util.Collection getAllBatch()
getAllBatch
in interface BatchDao
getAllBatch
in class BatchDaoBase
BatchDao.getAllBatch()
public java.util.Collection getAllBatch(int transform)
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.
getAllBatch
in interface BatchDao
getAllBatch
in class BatchDaoBase
BatchDao.getAllBatch(int)
public java.util.Collection getAllBatch(java.lang.String queryString)
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()
.
getAllBatch
in interface BatchDao
getAllBatch
in class BatchDaoBase
BatchDao.getAllBatch(java.lang.String)
public java.util.Collection getAllBatch(int pageNumber, int pageSize)
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.
getAllBatch
in interface BatchDao
getAllBatch
in class BatchDaoBase
BatchDao.getAllBatch(int, int)
public java.util.Collection getAllBatch(java.lang.String queryString, int pageNumber, int pageSize)
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.
getAllBatch
in interface BatchDao
getAllBatch
in class BatchDaoBase
BatchDao.getAllBatch(String, int, int)
public java.util.Collection getAllBatch(int transform, java.lang.String queryString)
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)
.
getAllBatch
in interface BatchDao
getAllBatch
in class BatchDaoBase
BatchDao.getAllBatch(int, String)
public java.util.Collection getAllBatch(int transform, int pageNumber, int pageSize)
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.
getAllBatch
in interface BatchDao
getAllBatch
in class BatchDaoBase
BatchDao.getAllBatch(int, int, int)
public java.util.Collection getAllBatch(int transform, java.lang.String queryString, int pageNumber, int pageSize)
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.
getAllBatch
in interface BatchDao
getAllBatch
in class BatchDaoBase
BatchDao.getAllBatch(int, java.lang.String, int, int)
public Batch findBatchById(java.lang.Integer id)
findBatchById
in interface BatchDao
findBatchById
in class BatchDaoBase
BatchDao.findBatchById(java.lang.Integer)
public java.lang.Object findBatchById(int transform, java.lang.Integer id)
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.
findBatchById
in interface BatchDao
findBatchById
in class BatchDaoBase
BatchDao.findBatchById(int, java.lang.Integer)
public Batch findBatchById(java.lang.String queryString, java.lang.Integer id)
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)
.
findBatchById
in interface BatchDao
findBatchById
in class BatchDaoBase
BatchDao.findBatchById(java.lang.String, java.lang.Integer)
public java.lang.Object findBatchById(int transform, java.lang.String queryString, java.lang.Integer id)
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)
.
findBatchById
in interface BatchDao
findBatchById
in class BatchDaoBase
BatchDao.findBatchById(int, java.lang.String, java.lang.Integer)
public java.util.Collection findBatchByParentBatch(Batch parentBatch)
findBatchByParentBatch
in interface BatchDao
findBatchByParentBatch
in class BatchDaoBase
BatchDao.findBatchByParentBatch(fr.ifremer.allegro.data.batch.Batch)
public java.util.Collection findBatchByParentBatch(int transform, Batch parentBatch)
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.
findBatchByParentBatch
in interface BatchDao
findBatchByParentBatch
in class BatchDaoBase
BatchDao.findBatchByParentBatch(int, fr.ifremer.allegro.data.batch.Batch)
public java.util.Collection findBatchByParentBatch(java.lang.String queryString, Batch parentBatch)
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)
.
findBatchByParentBatch
in interface BatchDao
findBatchByParentBatch
in class BatchDaoBase
BatchDao.findBatchByParentBatch(java.lang.String, fr.ifremer.allegro.data.batch.Batch)
public java.util.Collection findBatchByParentBatch(int pageNumber, int pageSize, Batch parentBatch)
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.
findBatchByParentBatch
in interface BatchDao
findBatchByParentBatch
in class BatchDaoBase
BatchDao.findBatchByParentBatch(int, int, fr.ifremer.allegro.data.batch.Batch)
public java.util.Collection findBatchByParentBatch(java.lang.String queryString, int pageNumber, int pageSize, Batch parentBatch)
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.
findBatchByParentBatch
in interface BatchDao
findBatchByParentBatch
in class BatchDaoBase
BatchDao.findBatchByParentBatch(String, int, int, fr.ifremer.allegro.data.batch.Batch)
public java.util.Collection findBatchByParentBatch(int transform, java.lang.String queryString, Batch parentBatch)
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)
.
findBatchByParentBatch
in interface BatchDao
findBatchByParentBatch
in class BatchDaoBase
BatchDao.findBatchByParentBatch(int, String, fr.ifremer.allegro.data.batch.Batch)
public java.util.Collection findBatchByParentBatch(int transform, int pageNumber, int pageSize, Batch parentBatch)
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.
findBatchByParentBatch
in interface BatchDao
findBatchByParentBatch
in class BatchDaoBase
BatchDao.findBatchByParentBatch(int, int, int, fr.ifremer.allegro.data.batch.Batch)
public java.util.Collection findBatchByParentBatch(int transform, java.lang.String queryString, int pageNumber, int pageSize, Batch parentBatch)
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.
findBatchByParentBatch
in interface BatchDao
findBatchByParentBatch
in class BatchDaoBase
BatchDao.findBatchByParentBatch(int, java.lang.String, int, int, fr.ifremer.allegro.data.batch.Batch)
public Batch findBatchByNaturalId(java.lang.Integer id)
findBatchByNaturalId
in interface BatchDao
findBatchByNaturalId
in class BatchDaoBase
BatchDao.findBatchByNaturalId(java.lang.Integer)
public java.lang.Object findBatchByNaturalId(int transform, java.lang.Integer id)
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.
findBatchByNaturalId
in interface BatchDao
findBatchByNaturalId
in class BatchDaoBase
BatchDao.findBatchByNaturalId(int, java.lang.Integer)
public Batch findBatchByNaturalId(java.lang.String queryString, java.lang.Integer id)
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)
.
findBatchByNaturalId
in interface BatchDao
findBatchByNaturalId
in class BatchDaoBase
BatchDao.findBatchByNaturalId(java.lang.String, java.lang.Integer)
public java.lang.Object findBatchByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
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)
.
findBatchByNaturalId
in interface BatchDao
findBatchByNaturalId
in class BatchDaoBase
BatchDao.findBatchByNaturalId(int, java.lang.String, java.lang.Integer)
public SortingBatch createFromClusterSortingBatch(ClusterSortingBatch clusterSortingBatch)
createFromClusterSortingBatch
in interface SortingBatchDao
SortingBatchDao.createFromClusterSortingBatch(fr.ifremer.allegro.data.batch.generic.cluster.ClusterSortingBatch)
protected abstract SortingBatch handleCreateFromClusterSortingBatch(ClusterSortingBatch clusterSortingBatch) throws java.lang.Exception
createFromClusterSortingBatch(fr.ifremer.allegro.data.batch.generic.cluster.ClusterSortingBatch)
java.lang.Exception
public ClusterSortingBatch[] getAllClusterSortingBatch(java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
getAllClusterSortingBatch
in interface SortingBatchDao
SortingBatchDao.getAllClusterSortingBatch(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract ClusterSortingBatch[] handleGetAllClusterSortingBatch(java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize) throws java.lang.Exception
getAllClusterSortingBatch(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
java.lang.Exception
protected java.lang.Object transformEntity(int transform, SortingBatch entity)
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:
SortingBatch
- BatchDao.TRANSFORM_NONE
RemoteSortingBatchFullVO
- TRANSFORM_REMOTESORTINGBATCHFULLVO
RemoteSortingBatchNaturalId
- TRANSFORM_REMOTESORTINGBATCHNATURALID
ClusterSortingBatch
- TRANSFORM_CLUSTERSORTINGBATCH
BatchDao.TRANSFORM_NONE
is assumed.
transform
- one of the constants declared in SortingBatchDao
entity
- an entity that was found
transformEntities(int,java.util.Collection)
protected void transformEntities(int transform, java.util.Collection entities)
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.
transformEntities
in class BatchDaoBase
transform
- one of the constants declared in fr.ifremer.allegro.data.batch.SortingBatchDao
entities
- the collection of entities to transformtransformEntity(int,fr.ifremer.allegro.data.batch.SortingBatch)
protected SortingBatch toEntity(java.lang.Object[] row)
toEntity
in class BatchDaoBase
public final void toRemoteSortingBatchFullVOCollection(java.util.Collection entities)
SortingBatchDao
RemoteSortingBatchFullVO
.
toRemoteSortingBatchFullVOCollection
in interface SortingBatchDao
SortingBatchDao.toRemoteSortingBatchFullVOCollection(java.util.Collection)
public final RemoteSortingBatchFullVO[] toRemoteSortingBatchFullVOArray(java.util.Collection entities)
SortingBatchDao
RemoteSortingBatchFullVO
.
toRemoteSortingBatchFullVOArray
in interface SortingBatchDao
SortingBatchDao.toRemoteSortingBatchFullVOArray(java.util.Collection)
protected RemoteSortingBatchFullVO toRemoteSortingBatchFullVO(java.lang.Object[] row)
SortingBatchDaoImpl
class if you intend to use reporting queries.
SortingBatchDao.toRemoteSortingBatchFullVO(fr.ifremer.allegro.data.batch.SortingBatch)
public final void remoteSortingBatchFullVOToEntityCollection(java.util.Collection instances)
SortingBatchDao
RemoteSortingBatchFullVO
to this
DAO's entity.
remoteSortingBatchFullVOToEntityCollection
in interface SortingBatchDao
SortingBatchDao.remoteSortingBatchFullVOToEntityCollection(java.util.Collection)
public void toRemoteSortingBatchFullVO(SortingBatch source, RemoteSortingBatchFullVO target)
SortingBatchDao
toRemoteSortingBatchFullVO
in interface SortingBatchDao
SortingBatchDao.toRemoteSortingBatchFullVO(fr.ifremer.allegro.data.batch.SortingBatch, fr.ifremer.allegro.data.batch.generic.vo.RemoteSortingBatchFullVO)
public RemoteSortingBatchFullVO toRemoteSortingBatchFullVO(SortingBatch entity)
SortingBatchDao
RemoteSortingBatchFullVO
.
toRemoteSortingBatchFullVO
in interface SortingBatchDao
SortingBatchDao.toRemoteSortingBatchFullVO(fr.ifremer.allegro.data.batch.SortingBatch)
public void remoteSortingBatchFullVOToEntity(RemoteSortingBatchFullVO source, SortingBatch target, boolean copyIfNull)
SortingBatchDao
RemoteSortingBatchFullVO
to the specified entity.
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.fr.ifremer.allegro.data.batch.SortingBatchDao#remoteSortingBatchFullVOToEntity(fr.ifremer.allegro.data.batch.generic.vo.RemoteSortingBatchFullVO, fr.ifremer.allegro.data.batch.SortingBatch)
public final void toRemoteSortingBatchNaturalIdCollection(java.util.Collection entities)
SortingBatchDao
RemoteSortingBatchNaturalId
.
toRemoteSortingBatchNaturalIdCollection
in interface SortingBatchDao
SortingBatchDao.toRemoteSortingBatchNaturalIdCollection(java.util.Collection)
public final RemoteSortingBatchNaturalId[] toRemoteSortingBatchNaturalIdArray(java.util.Collection entities)
SortingBatchDao
RemoteSortingBatchNaturalId
.
toRemoteSortingBatchNaturalIdArray
in interface SortingBatchDao
SortingBatchDao.toRemoteSortingBatchNaturalIdArray(java.util.Collection)
protected RemoteSortingBatchNaturalId toRemoteSortingBatchNaturalId(java.lang.Object[] row)
SortingBatchDaoImpl
class if you intend to use reporting queries.
SortingBatchDao.toRemoteSortingBatchNaturalId(fr.ifremer.allegro.data.batch.SortingBatch)
public final void remoteSortingBatchNaturalIdToEntityCollection(java.util.Collection instances)
SortingBatchDao
RemoteSortingBatchNaturalId
to this
DAO's entity.
remoteSortingBatchNaturalIdToEntityCollection
in interface SortingBatchDao
SortingBatchDao.remoteSortingBatchNaturalIdToEntityCollection(java.util.Collection)
public void toRemoteSortingBatchNaturalId(SortingBatch source, RemoteSortingBatchNaturalId target)
SortingBatchDao
toRemoteSortingBatchNaturalId
in interface SortingBatchDao
SortingBatchDao.toRemoteSortingBatchNaturalId(fr.ifremer.allegro.data.batch.SortingBatch, fr.ifremer.allegro.data.batch.generic.vo.RemoteSortingBatchNaturalId)
public RemoteSortingBatchNaturalId toRemoteSortingBatchNaturalId(SortingBatch entity)
SortingBatchDao
RemoteSortingBatchNaturalId
.
toRemoteSortingBatchNaturalId
in interface SortingBatchDao
SortingBatchDao.toRemoteSortingBatchNaturalId(fr.ifremer.allegro.data.batch.SortingBatch)
public void remoteSortingBatchNaturalIdToEntity(RemoteSortingBatchNaturalId source, SortingBatch target, boolean copyIfNull)
SortingBatchDao
RemoteSortingBatchNaturalId
to the specified entity.
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.fr.ifremer.allegro.data.batch.SortingBatchDao#remoteSortingBatchNaturalIdToEntity(fr.ifremer.allegro.data.batch.generic.vo.RemoteSortingBatchNaturalId, fr.ifremer.allegro.data.batch.SortingBatch)
public final void toClusterSortingBatchCollection(java.util.Collection entities)
SortingBatchDao
ClusterSortingBatch
.
toClusterSortingBatchCollection
in interface SortingBatchDao
SortingBatchDao.toClusterSortingBatchCollection(java.util.Collection)
public final ClusterSortingBatch[] toClusterSortingBatchArray(java.util.Collection entities)
SortingBatchDao
ClusterSortingBatch
.
toClusterSortingBatchArray
in interface SortingBatchDao
SortingBatchDao.toClusterSortingBatchArray(java.util.Collection)
protected ClusterSortingBatch toClusterSortingBatch(java.lang.Object[] row)
SortingBatchDaoImpl
class if you intend to use reporting queries.
SortingBatchDao.toClusterSortingBatch(fr.ifremer.allegro.data.batch.SortingBatch)
public final void clusterSortingBatchToEntityCollection(java.util.Collection instances)
SortingBatchDao
ClusterSortingBatch
to this
DAO's entity.
clusterSortingBatchToEntityCollection
in interface SortingBatchDao
SortingBatchDao.clusterSortingBatchToEntityCollection(java.util.Collection)
public void toClusterSortingBatch(SortingBatch source, ClusterSortingBatch target)
SortingBatchDao
toClusterSortingBatch
in interface SortingBatchDao
SortingBatchDao.toClusterSortingBatch(fr.ifremer.allegro.data.batch.SortingBatch, fr.ifremer.allegro.data.batch.generic.cluster.ClusterSortingBatch)
public ClusterSortingBatch toClusterSortingBatch(SortingBatch entity)
SortingBatchDao
ClusterSortingBatch
.
toClusterSortingBatch
in interface SortingBatchDao
SortingBatchDao.toClusterSortingBatch(fr.ifremer.allegro.data.batch.SortingBatch)
public void clusterSortingBatchToEntity(ClusterSortingBatch source, SortingBatch target, boolean copyIfNull)
SortingBatchDao
ClusterSortingBatch
to the specified entity.
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.fr.ifremer.allegro.data.batch.SortingBatchDao#clusterSortingBatchToEntity(fr.ifremer.allegro.data.batch.generic.cluster.ClusterSortingBatch, fr.ifremer.allegro.data.batch.SortingBatch)
protected java.security.Principal getPrincipal()
principal
if one has been set,
otherwise returns null
.
getPrincipal
in class BatchDaoBase
public PaginationResult search(int transform, int pageNumber, int pageSize, Search search)
BatchDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface BatchDao
search
in interface SortingBatchDao
search
in class BatchDaoBase
transform
- the transformation flag.pageNumber
- the page number in the data to retrievepageSize
- the size of the page to retrieve.search
- the search object which provides the search parameters and pagination specification.
PaginationResult
instance.SortingBatchDao.search(int, int, int, fr.ifremer.allegro.Search)
public PaginationResult search(int pageNumber, int pageSize, Search search)
BatchDao
pageNumber
and pageSize
. These flags allow you to
limit your data to a specified page number and size.
search
in interface BatchDao
search
in interface SortingBatchDao
search
in class BatchDaoBase
pageNumber
- the page number in the data to retrievepageSize
- the size of the page to retrieve.search
- the search object which provides the search parameters and pagination specification.
PaginationResult
instance.SortingBatchDao.search(int, int, fr.ifremer.allegro.Search)
public java.util.Set search(int transform, Search search)
BatchDao
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.
search
in interface BatchDao
search
in interface SortingBatchDao
search
in class BatchDaoBase
transform
- the transformation flag.search
- the search object which provides the search parameters and pagination specification.
SortingBatchDao.search(int, fr.ifremer.allegro.Search)
public java.util.Set search(Search search)
BatchDao
search
object.
search
in interface BatchDao
search
in interface SortingBatchDao
search
in class BatchDaoBase
search
- the search object which provides the search parameters and pagination specification.
SortingBatchDao.search(fr.ifremer.allegro.Search)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |