|
||||||||||
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.CatchBatchDaoBase
public abstract class CatchBatchDaoBase
Base Spring DAO Class: is able to create, update, remove, load, and find
objects of type fr.ifremer.allegro.data.batch.CatchBatch
.
CatchBatch
Field Summary |
---|
Fields inherited from interface fr.ifremer.allegro.data.batch.CatchBatchDao |
---|
TRANSFORM_CLUSTERCATCHBATCH, TRANSFORM_REMOTECATCHBATCHFULLVO, TRANSFORM_REMOTECATCHBATCHNATURALID |
Fields inherited from interface fr.ifremer.allegro.data.batch.BatchDao |
---|
TRANSFORM_CLUSTERBATCH, TRANSFORM_NONE, TRANSFORM_REMOTEBATCHFULLVO, TRANSFORM_REMOTEBATCHNATURALID |
Constructor Summary | |
---|---|
CatchBatchDaoBase()
|
Method Summary | |
---|---|
void |
clusterCatchBatchToEntity(ClusterCatchBatch source,
CatchBatch target,
boolean copyIfNull)
Copies the fields of ClusterCatchBatch to the specified entity. |
void |
clusterCatchBatchToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type ClusterCatchBatch to this
DAO's entity. |
CatchBatch |
create(java.lang.Boolean childBatchsReplication,
java.lang.Boolean exhaustiveInventory,
QualityFlag qualityFlag,
java.lang.Short rankOrder)
Creates a new fr.ifremer.allegro.data.batch.CatchBatch
instance from only required properties (attributes
and association ends) and adds it to the persistent store. |
CatchBatch |
create(CatchBatch catchBatch)
Creates an instance of fr.ifremer.allegro.data.batch.CatchBatch and adds it to the persistent store. |
java.util.Collection |
create(java.util.Collection entities)
Creates a new instance of fr.ifremer.allegro.data.batch.CatchBatch and adds from the passed in entities collection |
java.lang.Object |
create(int transform,
java.lang.Boolean childBatchsReplication,
java.lang.Boolean exhaustiveInventory,
QualityFlag qualityFlag,
java.lang.Short rankOrder)
Does the same thing as CatchBatchDao.create(java.lang.Boolean,java.lang.Boolean,fr.ifremer.allegro.referential.QualityFlag,java.lang.Short) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
CatchBatch catchBatch)
Does the same thing as CatchBatchDao.create(fr.ifremer.allegro.data.batch.CatchBatch) with an
additional flag called transform . |
java.util.Collection |
create(int transform,
java.util.Collection entities)
Does the same thing as CatchBatchDao.create(fr.ifremer.allegro.data.batch.CatchBatch) with an
additional flag called transform . |
java.lang.Object |
create(int transform,
java.lang.Short rankOrder,
java.lang.Float subgroupCount,
java.lang.Short individualCount,
java.lang.Boolean childBatchsReplication,
java.lang.Boolean exhaustiveInventory,
java.lang.String comments,
java.util.Collection childBatchs,
Batch parentBatch,
java.util.Collection quantificationMeasurements,
java.util.Collection produces,
java.util.Date controlDate,
java.util.Date validationDate,
java.util.Date qualificationDate,
java.lang.String qualificationComments,
java.sql.Timestamp updateDate,
QualityFlag qualityFlag,
Landing landing,
Sale sale,
FishingOperation fishingOperation)
Does the same thing as CatchBatchDao.create(java.lang.Short,java.lang.Float,java.lang.Short,java.lang.Boolean,java.lang.Boolean,java.lang.String,java.util.Collection,fr.ifremer.allegro.data.batch.Batch,java.util.Collection,java.util.Collection,java.util.Date,java.util.Date,java.util.Date,java.lang.String,java.sql.Timestamp,fr.ifremer.allegro.referential.QualityFlag,fr.ifremer.allegro.data.survey.landing.Landing,fr.ifremer.allegro.data.survey.sale.Sale,fr.ifremer.allegro.data.operation.FishingOperation) with an
additional flag called transform . |
CatchBatch |
create(java.lang.Short rankOrder,
java.lang.Float subgroupCount,
java.lang.Short individualCount,
java.lang.Boolean childBatchsReplication,
java.lang.Boolean exhaustiveInventory,
java.lang.String comments,
java.util.Collection childBatchs,
Batch parentBatch,
java.util.Collection quantificationMeasurements,
java.util.Collection produces,
java.util.Date controlDate,
java.util.Date validationDate,
java.util.Date qualificationDate,
java.lang.String qualificationComments,
java.sql.Timestamp updateDate,
QualityFlag qualityFlag,
Landing landing,
Sale sale,
FishingOperation fishingOperation)
Creates a new fr.ifremer.allegro.data.batch.CatchBatch
instance from all attributes and
properties and adds it to the persistent store. |
CatchBatch |
createFromClusterCatchBatch(ClusterCatchBatch clusterCatchBatch)
|
Batch |
findBatchById(java.lang.Integer id)
|
java.lang.Object |
findBatchById(int transform,
java.lang.Integer id)
Does the same thing as BatchDao.findBatchById(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findBatchById(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as BatchDao.findBatchById(int, java.lang.Integer) with an
additional argument called queryString . |
Batch |
findBatchById(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as BatchDao.findBatchById(java.lang.Integer) with an
additional argument called queryString . |
Batch |
findBatchByNaturalId(java.lang.Integer id)
|
java.lang.Object |
findBatchByNaturalId(int transform,
java.lang.Integer id)
Does the same thing as BatchDao.findBatchByNaturalId(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findBatchByNaturalId(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as BatchDao.findBatchByNaturalId(int, java.lang.Integer) with an
additional argument called queryString . |
Batch |
findBatchByNaturalId(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as BatchDao.findBatchByNaturalId(java.lang.Integer) with an
additional argument called queryString . |
java.util.Collection |
findBatchByParentBatch(Batch parentBatch)
|
java.util.Collection |
findBatchByParentBatch(int transform,
Batch parentBatch)
Does the same thing as BatchDao.findBatchByParentBatch(fr.ifremer.allegro.data.batch.Batch) with an
additional flag called transform . |
java.util.Collection |
findBatchByParentBatch(int pageNumber,
int pageSize,
Batch parentBatch)
Does the same thing as BatchDao.findBatchByParentBatch(fr.ifremer.allegro.data.batch.Batch) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findBatchByParentBatch(int transform,
int pageNumber,
int pageSize,
Batch parentBatch)
Does the same thing as BatchDao.findBatchByParentBatch(int, fr.ifremer.allegro.data.batch.Batch) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findBatchByParentBatch(int transform,
java.lang.String queryString,
Batch parentBatch)
Does the same thing as BatchDao.findBatchByParentBatch(int, fr.ifremer.allegro.data.batch.Batch) with an
additional argument called queryString . |
java.util.Collection |
findBatchByParentBatch(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
Batch parentBatch)
Does the same thing as BatchDao.findBatchByParentBatch(int, String, fr.ifremer.allegro.data.batch.Batch) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findBatchByParentBatch(java.lang.String queryString,
Batch parentBatch)
Does the same thing as BatchDao.findBatchByParentBatch(fr.ifremer.allegro.data.batch.Batch) with an
additional argument called queryString . |
java.util.Collection |
findBatchByParentBatch(java.lang.String queryString,
int pageNumber,
int pageSize,
Batch parentBatch)
Does the same thing as BatchDao.findBatchByParentBatch(String, fr.ifremer.allegro.data.batch.Batch) with an
additional two arguments called pageNumber and pageSize . |
CatchBatch |
findCatchBatchByFishingOperation(FishingOperation fishingOperation)
|
java.lang.Object |
findCatchBatchByFishingOperation(int transform,
FishingOperation fishingOperation)
Does the same thing as CatchBatchDao.findCatchBatchByFishingOperation(fr.ifremer.allegro.data.operation.FishingOperation) with an
additional flag called transform . |
java.lang.Object |
findCatchBatchByFishingOperation(int transform,
java.lang.String queryString,
FishingOperation fishingOperation)
Does the same thing as CatchBatchDao.findCatchBatchByFishingOperation(int, fr.ifremer.allegro.data.operation.FishingOperation) with an
additional argument called queryString . |
CatchBatch |
findCatchBatchByFishingOperation(java.lang.String queryString,
FishingOperation fishingOperation)
Does the same thing as CatchBatchDao.findCatchBatchByFishingOperation(fr.ifremer.allegro.data.operation.FishingOperation) with an
additional argument called queryString . |
CatchBatch |
findCatchBatchById(java.lang.Integer id)
|
java.lang.Object |
findCatchBatchById(int transform,
java.lang.Integer id)
Does the same thing as CatchBatchDao.findCatchBatchById(java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findCatchBatchById(int transform,
java.lang.String queryString,
java.lang.Integer id)
Does the same thing as CatchBatchDao.findCatchBatchById(int, java.lang.Integer) with an
additional argument called queryString . |
CatchBatch |
findCatchBatchById(java.lang.String queryString,
java.lang.Integer id)
Does the same thing as CatchBatchDao.findCatchBatchById(java.lang.Integer) with an
additional argument called queryString . |
java.lang.Object |
findCatchBatchByLanding(int transform,
Landing landing)
Does the same thing as CatchBatchDao.findCatchBatchByLanding(fr.ifremer.allegro.data.survey.landing.Landing) with an
additional flag called transform . |
java.lang.Object |
findCatchBatchByLanding(int transform,
java.lang.String queryString,
Landing landing)
Does the same thing as CatchBatchDao.findCatchBatchByLanding(int, fr.ifremer.allegro.data.survey.landing.Landing) with an
additional argument called queryString . |
CatchBatch |
findCatchBatchByLanding(Landing landing)
|
CatchBatch |
findCatchBatchByLanding(java.lang.String queryString,
Landing landing)
Does the same thing as CatchBatchDao.findCatchBatchByLanding(fr.ifremer.allegro.data.survey.landing.Landing) with an
additional argument called queryString . |
CatchBatch |
findCatchBatchByNaturalId(FishingOperation fishingOperation,
Landing landing,
java.lang.Integer id)
|
java.lang.Object |
findCatchBatchByNaturalId(int transform,
FishingOperation fishingOperation,
Landing landing,
java.lang.Integer id)
Does the same thing as CatchBatchDao.findCatchBatchByNaturalId(fr.ifremer.allegro.data.operation.FishingOperation, fr.ifremer.allegro.data.survey.landing.Landing, java.lang.Integer) with an
additional flag called transform . |
java.lang.Object |
findCatchBatchByNaturalId(int transform,
java.lang.String queryString,
FishingOperation fishingOperation,
Landing landing,
java.lang.Integer id)
Does the same thing as CatchBatchDao.findCatchBatchByNaturalId(int, fr.ifremer.allegro.data.operation.FishingOperation, fr.ifremer.allegro.data.survey.landing.Landing, java.lang.Integer) with an
additional argument called queryString . |
CatchBatch |
findCatchBatchByNaturalId(java.lang.String queryString,
FishingOperation fishingOperation,
Landing landing,
java.lang.Integer id)
Does the same thing as CatchBatchDao.findCatchBatchByNaturalId(fr.ifremer.allegro.data.operation.FishingOperation, fr.ifremer.allegro.data.survey.landing.Landing, java.lang.Integer) with an
additional argument called queryString . |
java.util.Collection |
findCatchBatchByParentBatch(Batch parentBatch)
|
java.util.Collection |
findCatchBatchByParentBatch(int transform,
Batch parentBatch)
Does the same thing as CatchBatchDao.findCatchBatchByParentBatch(fr.ifremer.allegro.data.batch.Batch) with an
additional flag called transform . |
java.util.Collection |
findCatchBatchByParentBatch(int pageNumber,
int pageSize,
Batch parentBatch)
Does the same thing as CatchBatchDao.findCatchBatchByParentBatch(fr.ifremer.allegro.data.batch.Batch) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findCatchBatchByParentBatch(int transform,
int pageNumber,
int pageSize,
Batch parentBatch)
Does the same thing as CatchBatchDao.findCatchBatchByParentBatch(int, fr.ifremer.allegro.data.batch.Batch) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findCatchBatchByParentBatch(int transform,
java.lang.String queryString,
Batch parentBatch)
Does the same thing as CatchBatchDao.findCatchBatchByParentBatch(int, fr.ifremer.allegro.data.batch.Batch) with an
additional argument called queryString . |
java.util.Collection |
findCatchBatchByParentBatch(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
Batch parentBatch)
Does the same thing as CatchBatchDao.findCatchBatchByParentBatch(int, String, fr.ifremer.allegro.data.batch.Batch) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findCatchBatchByParentBatch(java.lang.String queryString,
Batch parentBatch)
Does the same thing as CatchBatchDao.findCatchBatchByParentBatch(fr.ifremer.allegro.data.batch.Batch) with an
additional argument called queryString . |
java.util.Collection |
findCatchBatchByParentBatch(java.lang.String queryString,
int pageNumber,
int pageSize,
Batch parentBatch)
Does the same thing as CatchBatchDao.findCatchBatchByParentBatch(String, fr.ifremer.allegro.data.batch.Batch) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findCatchBatchByQualityFlag(int transform,
int pageNumber,
int pageSize,
QualityFlag qualityFlag)
Does the same thing as CatchBatchDao.findCatchBatchByQualityFlag(int, fr.ifremer.allegro.referential.QualityFlag) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findCatchBatchByQualityFlag(int pageNumber,
int pageSize,
QualityFlag qualityFlag)
Does the same thing as CatchBatchDao.findCatchBatchByQualityFlag(fr.ifremer.allegro.referential.QualityFlag) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findCatchBatchByQualityFlag(int transform,
QualityFlag qualityFlag)
Does the same thing as CatchBatchDao.findCatchBatchByQualityFlag(fr.ifremer.allegro.referential.QualityFlag) with an
additional flag called transform . |
java.util.Collection |
findCatchBatchByQualityFlag(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
QualityFlag qualityFlag)
Does the same thing as CatchBatchDao.findCatchBatchByQualityFlag(int, String, fr.ifremer.allegro.referential.QualityFlag) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findCatchBatchByQualityFlag(int transform,
java.lang.String queryString,
QualityFlag qualityFlag)
Does the same thing as CatchBatchDao.findCatchBatchByQualityFlag(int, fr.ifremer.allegro.referential.QualityFlag) with an
additional argument called queryString . |
java.util.Collection |
findCatchBatchByQualityFlag(QualityFlag qualityFlag)
|
java.util.Collection |
findCatchBatchByQualityFlag(java.lang.String queryString,
int pageNumber,
int pageSize,
QualityFlag qualityFlag)
Does the same thing as CatchBatchDao.findCatchBatchByQualityFlag(String, fr.ifremer.allegro.referential.QualityFlag) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
findCatchBatchByQualityFlag(java.lang.String queryString,
QualityFlag qualityFlag)
Does the same thing as CatchBatchDao.findCatchBatchByQualityFlag(fr.ifremer.allegro.referential.QualityFlag) with an
additional argument called queryString . |
java.lang.Object |
findCatchBatchBySale(int transform,
Sale sale)
Does the same thing as CatchBatchDao.findCatchBatchBySale(fr.ifremer.allegro.data.survey.sale.Sale) with an
additional flag called transform . |
java.lang.Object |
findCatchBatchBySale(int transform,
java.lang.String queryString,
Sale sale)
Does the same thing as CatchBatchDao.findCatchBatchBySale(int, fr.ifremer.allegro.data.survey.sale.Sale) with an
additional argument called queryString . |
CatchBatch |
findCatchBatchBySale(Sale sale)
|
CatchBatch |
findCatchBatchBySale(java.lang.String queryString,
Sale sale)
Does the same thing as CatchBatchDao.findCatchBatchBySale(fr.ifremer.allegro.data.survey.sale.Sale) with an
additional argument called queryString . |
java.util.Collection |
getAllBatch()
|
java.util.Collection |
getAllBatch(int transform)
Does the same thing as BatchDao.getAllBatch() with an
additional flag called transform . |
java.util.Collection |
getAllBatch(int pageNumber,
int pageSize)
Does the same thing as BatchDao.getAllBatch() with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllBatch(int transform,
int pageNumber,
int pageSize)
Does the same thing as BatchDao.getAllBatch(int) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllBatch(int transform,
java.lang.String queryString)
Does the same thing as BatchDao.getAllBatch(int) with an
additional argument called queryString . |
java.util.Collection |
getAllBatch(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as BatchDao.getAllBatch(int, String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllBatch(java.lang.String queryString)
Does the same thing as BatchDao.getAllBatch() with an
additional argument called queryString . |
java.util.Collection |
getAllBatch(java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as BatchDao.getAllBatch(String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllCatchBatch()
|
java.util.Collection |
getAllCatchBatch(int transform)
Does the same thing as CatchBatchDao.getAllCatchBatch() with an
additional flag called transform . |
java.util.Collection |
getAllCatchBatch(int pageNumber,
int pageSize)
Does the same thing as CatchBatchDao.getAllCatchBatch() with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllCatchBatch(int transform,
int pageNumber,
int pageSize)
Does the same thing as CatchBatchDao.getAllCatchBatch(int) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllCatchBatch(int transform,
java.lang.String queryString)
Does the same thing as CatchBatchDao.getAllCatchBatch(int) with an
additional argument called queryString . |
java.util.Collection |
getAllCatchBatch(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as CatchBatchDao.getAllCatchBatch(int, String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllCatchBatch(java.lang.String queryString)
Does the same thing as CatchBatchDao.getAllCatchBatch() with an
additional argument called queryString . |
java.util.Collection |
getAllCatchBatch(java.lang.String queryString,
int pageNumber,
int pageSize)
Does the same thing as CatchBatchDao.getAllCatchBatch(String) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllCatchBatchSinceDateSynchro(int transform,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as CatchBatchDao.getAllCatchBatchSinceDateSynchro(int, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllCatchBatchSinceDateSynchro(int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as CatchBatchDao.getAllCatchBatchSinceDateSynchro(java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllCatchBatchSinceDateSynchro(int transform,
java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as CatchBatchDao.getAllCatchBatchSinceDateSynchro(int, String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllCatchBatchSinceDateSynchro(int transform,
java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as CatchBatchDao.getAllCatchBatchSinceDateSynchro(int, java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllCatchBatchSinceDateSynchro(int transform,
java.sql.Timestamp updateDate)
Does the same thing as CatchBatchDao.getAllCatchBatchSinceDateSynchro(java.sql.Timestamp) with an
additional flag called transform . |
java.util.Collection |
getAllCatchBatchSinceDateSynchro(java.lang.String queryString,
int pageNumber,
int pageSize,
java.sql.Timestamp updateDate)
Does the same thing as CatchBatchDao.getAllCatchBatchSinceDateSynchro(String, java.sql.Timestamp) with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
getAllCatchBatchSinceDateSynchro(java.lang.String queryString,
java.sql.Timestamp updateDate)
Does the same thing as CatchBatchDao.getAllCatchBatchSinceDateSynchro(java.sql.Timestamp) with an
additional argument called queryString . |
java.util.Collection |
getAllCatchBatchSinceDateSynchro(java.sql.Timestamp updateDate)
|
ClusterCatchBatch[] |
getAllClusterCatchBatchSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize)
|
protected CatchBatchDao |
getCatchBatchDao()
Gets the reference to catchBatchDao . |
protected FishingOperationDao |
getFishingOperationDao()
Gets the reference to fishingOperationDao . |
protected LandingDao |
getLandingDao()
Gets the reference to landingDao . |
protected java.security.Principal |
getPrincipal()
Gets the current principal if one has been set,
otherwise returns null . |
protected QualityFlagDao |
getQualityFlagDao()
Gets the reference to qualityFlagDao . |
protected SaleDao |
getSaleDao()
Gets the reference to saleDao . |
protected SortingBatchDao |
getSortingBatchDao()
Gets the reference to sortingBatchDao . |
protected abstract CatchBatch |
handleCreateFromClusterCatchBatch(ClusterCatchBatch clusterCatchBatch)
Performs the core logic for createFromClusterCatchBatch(fr.ifremer.allegro.data.batch.generic.cluster.ClusterCatchBatch) |
protected abstract ClusterCatchBatch[] |
handleGetAllClusterCatchBatchSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize)
Performs the core logic for getAllClusterCatchBatchSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer) |
CatchBatch |
load(java.lang.Integer id)
Loads an instance of fr.ifremer.allegro.data.batch.Batch from the persistent store. |
java.lang.Object |
load(int transform,
java.lang.Integer id)
Does the same thing as BatchDao.load(java.lang.Integer) with an
additional flag called transform . |
java.util.Collection |
loadAll()
Loads all entities of type Batch . |
java.util.Collection |
loadAll(int transform)
Does the same thing as BatchDao.loadAll() with an
additional flag called transform . |
java.util.Collection |
loadAll(int pageNumber,
int pageSize)
Does the same thing as BatchDao.loadAll() with an
additional two arguments called pageNumber and pageSize . |
java.util.Collection |
loadAll(int transform,
int pageNumber,
int pageSize)
Does the same thing as BatchDao.loadAll(int) with an
additional two arguments called pageNumber and pageSize . |
void |
remoteCatchBatchFullVOToEntity(RemoteCatchBatchFullVO source,
CatchBatch target,
boolean copyIfNull)
Copies the fields of RemoteCatchBatchFullVO to the specified entity. |
void |
remoteCatchBatchFullVOToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteCatchBatchFullVO to this
DAO's entity. |
void |
remoteCatchBatchNaturalIdToEntity(RemoteCatchBatchNaturalId source,
CatchBatch target,
boolean copyIfNull)
Copies the fields of RemoteCatchBatchNaturalId to the specified entity. |
void |
remoteCatchBatchNaturalIdToEntityCollection(java.util.Collection instances)
Converts a Collection of instances of type RemoteCatchBatchNaturalId to this
DAO's entity. |
void |
remove(CatchBatch catchBatch)
Removes the instance of fr.ifremer.allegro.data.batch.CatchBatch from the persistent store. |
void |
remove(java.util.Collection entities)
Removes all entities in the given entities |
void |
remove(java.lang.Integer id)
Removes the instance of fr.ifremer.allegro.data.batch.Batch having the given identifier from the persistent store. |
PaginationResult |
search(int transform,
int pageNumber,
int pageSize,
Search search)
Does the same thing as {@link #search(int, fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize . |
PaginationResult |
search(int pageNumber,
int pageSize,
Search search)
Does the same thing as {@link #search(fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize . |
java.util.Set |
search(int transform,
Search search)
Does the same thing as BatchDao.search(fr.ifremer.allegro.Search) but with an
additional flag called transform . |
java.util.Set |
search(Search search)
Performs a search using the parameters specified in the given search object. |
void |
setCatchBatchDao(CatchBatchDao catchBatchDao)
Sets the reference to catchBatchDao . |
void |
setFishingOperationDao(FishingOperationDao fishingOperationDao)
Sets the reference to fishingOperationDao . |
void |
setLandingDao(LandingDao landingDao)
Sets the reference to landingDao . |
void |
setQualityFlagDao(QualityFlagDao qualityFlagDao)
Sets the reference to qualityFlagDao . |
void |
setSaleDao(SaleDao saleDao)
Sets the reference to saleDao . |
void |
setSortingBatchDao(SortingBatchDao sortingBatchDao)
Sets the reference to sortingBatchDao . |
ClusterCatchBatch |
toClusterCatchBatch(CatchBatch entity)
Converts this DAO's entity to an object of type ClusterCatchBatch . |
void |
toClusterCatchBatch(CatchBatch source,
ClusterCatchBatch target)
Copies the fields of the specified entity to the target value object. |
protected ClusterCatchBatch |
toClusterCatchBatch(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
ClusterCatchBatch[] |
toClusterCatchBatchArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type ClusterCatchBatch . |
void |
toClusterCatchBatchCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type ClusterCatchBatch . |
protected CatchBatch |
toEntity(java.lang.Object[] row)
|
RemoteCatchBatchFullVO |
toRemoteCatchBatchFullVO(CatchBatch entity)
Converts this DAO's entity to an object of type RemoteCatchBatchFullVO . |
void |
toRemoteCatchBatchFullVO(CatchBatch source,
RemoteCatchBatchFullVO target)
Copies the fields of the specified entity to the target value object. |
protected RemoteCatchBatchFullVO |
toRemoteCatchBatchFullVO(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteCatchBatchFullVO[] |
toRemoteCatchBatchFullVOArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteCatchBatchFullVO . |
void |
toRemoteCatchBatchFullVOCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteCatchBatchFullVO . |
RemoteCatchBatchNaturalId |
toRemoteCatchBatchNaturalId(CatchBatch entity)
Converts this DAO's entity to an object of type RemoteCatchBatchNaturalId . |
void |
toRemoteCatchBatchNaturalId(CatchBatch source,
RemoteCatchBatchNaturalId target)
Copies the fields of the specified entity to the target value object. |
protected RemoteCatchBatchNaturalId |
toRemoteCatchBatchNaturalId(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. |
RemoteCatchBatchNaturalId[] |
toRemoteCatchBatchNaturalIdArray(java.util.Collection entities)
Converts this DAO's entity to an array of instances of type RemoteCatchBatchNaturalId . |
void |
toRemoteCatchBatchNaturalIdCollection(java.util.Collection entities)
Converts this DAO's entity to a Collection of instances of type RemoteCatchBatchNaturalId . |
protected void |
transformEntities(int transform,
java.util.Collection entities)
Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.data.batch.CatchBatch)
method. |
protected java.lang.Object |
transformEntity(int transform,
CatchBatch entity)
Allows transformation of entities into value objects (or something else for that matter), when the transform
flag is set to one of the constants defined in fr.ifremer.allegro.data.batch.CatchBatchDao , please note
that the BatchDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself
will be returned. |
void |
update(CatchBatch catchBatch)
Updates the catchBatch instance in the persistent store. |
void |
update(java.util.Collection entities)
Updates all instances in the entities collection in the persistent store. |
Methods inherited from class fr.ifremer.allegro.data.batch.BatchDaoImpl |
---|
clusterBatchToEntity, clusterBatchToEntity, remoteBatchFullVOToEntity, remoteBatchFullVOToEntity, remoteBatchNaturalIdToEntity, remoteBatchNaturalIdToEntity, toClusterBatch, toClusterBatch, toRemoteBatchFullVO, toRemoteBatchFullVO, toRemoteBatchNaturalId, toRemoteBatchNaturalId |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface fr.ifremer.allegro.data.batch.CatchBatchDao |
---|
clusterCatchBatchToEntity, remoteCatchBatchFullVOToEntity, remoteCatchBatchNaturalIdToEntity |
Constructor Detail |
---|
public CatchBatchDaoBase()
Method Detail |
---|
public void setFishingOperationDao(FishingOperationDao fishingOperationDao)
fishingOperationDao
.
protected FishingOperationDao getFishingOperationDao()
fishingOperationDao
.
public void setLandingDao(LandingDao landingDao)
landingDao
.
protected LandingDao getLandingDao()
landingDao
.
public void setQualityFlagDao(QualityFlagDao qualityFlagDao)
qualityFlagDao
.
protected QualityFlagDao getQualityFlagDao()
qualityFlagDao
.
public void setSaleDao(SaleDao saleDao)
saleDao
.
protected SaleDao getSaleDao()
saleDao
.
public void setCatchBatchDao(CatchBatchDao catchBatchDao)
catchBatchDao
.
protected CatchBatchDao getCatchBatchDao()
catchBatchDao
.
public void setSortingBatchDao(SortingBatchDao sortingBatchDao)
sortingBatchDao
.
protected SortingBatchDao getSortingBatchDao()
sortingBatchDao
.
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 CatchBatchDao
load
in class BatchDaoBase
id
- identifier of the entity to load
CatchBatchDao.load(int, java.lang.Integer)
public CatchBatch load(java.lang.Integer id)
BatchDao
load
in interface BatchDao
load
in interface CatchBatchDao
load
in class BatchDaoBase
CatchBatchDao.load(java.lang.Integer)
public java.util.Collection loadAll()
BatchDao
Batch
.
loadAll
in interface BatchDao
loadAll
in interface CatchBatchDao
loadAll
in class BatchDaoBase
CatchBatchDao.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 CatchBatchDao
loadAll
in class BatchDaoBase
transform
- the flag indicating what transformation to use.
CatchBatchDao.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 CatchBatchDao
loadAll
in class BatchDaoBase
pageNumber
- the page number to retrieve when paging results.pageSize
- the size of the page to retrieve when paging results.
CatchBatchDao.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 CatchBatchDao
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.
CatchBatchDao.loadAll(int, int, int)
public CatchBatch create(CatchBatch catchBatch)
CatchBatchDao
create
in interface CatchBatchDao
CatchBatchDao.create(fr.ifremer.allegro.data.batch.CatchBatch)
public java.lang.Object create(int transform, CatchBatch catchBatch)
CatchBatchDao
Does the same thing as CatchBatchDao.create(fr.ifremer.allegro.data.batch.CatchBatch)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined here then the result WILL BE passed through an operation which can optionally
transform the entity (into a value object for example). By default, transformation does
not occur.
create
in interface CatchBatchDao
CatchBatchDao.create(int transform, fr.ifremer.allegro.data.batch.CatchBatch)
public java.util.Collection create(java.util.Collection entities)
CatchBatchDao
entities
collection
create
in interface CatchBatchDao
entities
- the collection of fr.ifremer.allegro.data.batch.CatchBatch
instances to create.
CatchBatchDao.create(java.util.Collection)
public java.util.Collection create(int transform, java.util.Collection entities)
CatchBatchDao
Does the same thing as CatchBatchDao.create(fr.ifremer.allegro.data.batch.CatchBatch)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined here then the result WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
create
in interface CatchBatchDao
CatchBatchDao.create(int, java.util.Collection)
public CatchBatch create(java.lang.Short rankOrder, java.lang.Float subgroupCount, java.lang.Short individualCount, java.lang.Boolean childBatchsReplication, java.lang.Boolean exhaustiveInventory, java.lang.String comments, java.util.Collection childBatchs, Batch parentBatch, java.util.Collection quantificationMeasurements, java.util.Collection produces, java.util.Date controlDate, java.util.Date validationDate, java.util.Date qualificationDate, java.lang.String qualificationComments, java.sql.Timestamp updateDate, QualityFlag qualityFlag, Landing landing, Sale sale, FishingOperation fishingOperation)
CatchBatchDao
Creates a new fr.ifremer.allegro.data.batch.CatchBatch
instance from all attributes and
properties and adds it to the persistent store.
create
in interface CatchBatchDao
fr.ifremer.allegro.data.batch.BatchDao#create(java.lang.Short,java.lang.Float,java.lang.Short,java.lang.Boolean,java.lang.Boolean,java.lang.String,java.util.Collection,fr.ifremer.allegro.data.batch.Batch,java.util.Collection,java.util.Collection,java.util.Date,java.util.Date,java.util.Date,java.lang.String,java.sql.Timestamp,fr.ifremer.allegro.referential.QualityFlag,fr.ifremer.allegro.data.survey.landing.Landing,fr.ifremer.allegro.data.survey.sale.Sale,fr.ifremer.allegro.data.operation.FishingOperation)
public java.lang.Object create(int transform, java.lang.Short rankOrder, java.lang.Float subgroupCount, java.lang.Short individualCount, java.lang.Boolean childBatchsReplication, java.lang.Boolean exhaustiveInventory, java.lang.String comments, java.util.Collection childBatchs, Batch parentBatch, java.util.Collection quantificationMeasurements, java.util.Collection produces, java.util.Date controlDate, java.util.Date validationDate, java.util.Date qualificationDate, java.lang.String qualificationComments, java.sql.Timestamp updateDate, QualityFlag qualityFlag, Landing landing, Sale sale, FishingOperation fishingOperation)
CatchBatchDao
Does the same thing as CatchBatchDao.create(java.lang.Short,java.lang.Float,java.lang.Short,java.lang.Boolean,java.lang.Boolean,java.lang.String,java.util.Collection,fr.ifremer.allegro.data.batch.Batch,java.util.Collection,java.util.Collection,java.util.Date,java.util.Date,java.util.Date,java.lang.String,java.sql.Timestamp,fr.ifremer.allegro.referential.QualityFlag,fr.ifremer.allegro.data.survey.landing.Landing,fr.ifremer.allegro.data.survey.sale.Sale,fr.ifremer.allegro.data.operation.FishingOperation)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOT be transformed. If this flag is any of the other constants
defined here then the result WILL BE passed through an operation which can optionally
transform the entity (into a value object for example). By default, transformation does
not occur.
create
in interface CatchBatchDao
fr.ifremer.allegro.data.batch.BatchDao#create(int, java.lang.Short,java.lang.Float,java.lang.Short,java.lang.Boolean,java.lang.Boolean,java.lang.String,java.util.Collection,fr.ifremer.allegro.data.batch.Batch,java.util.Collection,java.util.Collection,java.util.Date,java.util.Date,java.util.Date,java.lang.String,java.sql.Timestamp,fr.ifremer.allegro.referential.QualityFlag,fr.ifremer.allegro.data.survey.landing.Landing,fr.ifremer.allegro.data.survey.sale.Sale,fr.ifremer.allegro.data.operation.FishingOperation)
public CatchBatch create(java.lang.Boolean childBatchsReplication, java.lang.Boolean exhaustiveInventory, QualityFlag qualityFlag, java.lang.Short rankOrder)
CatchBatchDao
Creates a new fr.ifremer.allegro.data.batch.CatchBatch
instance from only required properties (attributes
and association ends) and adds it to the persistent store.
create
in interface CatchBatchDao
CatchBatchDao.create(java.lang.Boolean,java.lang.Boolean,fr.ifremer.allegro.referential.QualityFlag,java.lang.Short)
public java.lang.Object create(int transform, java.lang.Boolean childBatchsReplication, java.lang.Boolean exhaustiveInventory, QualityFlag qualityFlag, java.lang.Short rankOrder)
CatchBatchDao
Does the same thing as CatchBatchDao.create(java.lang.Boolean,java.lang.Boolean,fr.ifremer.allegro.referential.QualityFlag,java.lang.Short)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
the returned entity will NOTWILL BE passed through an operation which can optionally
transform the entity (into a value object for example). By default, transformation does
not occur.
create
in interface CatchBatchDao
CatchBatchDao.create(int, java.lang.Boolean,java.lang.Boolean,fr.ifremer.allegro.referential.QualityFlag,java.lang.Short)
public void update(CatchBatch catchBatch)
CatchBatchDao
catchBatch
instance in the persistent store.
update
in interface CatchBatchDao
CatchBatchDao.update(fr.ifremer.allegro.data.batch.CatchBatch)
public void update(java.util.Collection entities)
BatchDao
entities
collection in the persistent store.
update
in interface BatchDao
update
in interface CatchBatchDao
update
in class BatchDaoBase
BatchDao.update(java.util.Collection)
public void remove(CatchBatch catchBatch)
CatchBatchDao
remove
in interface CatchBatchDao
CatchBatchDao.remove(fr.ifremer.allegro.data.batch.CatchBatch)
public void remove(java.lang.Integer id)
BatchDao
identifier
from the persistent store.
remove
in interface BatchDao
remove
in interface CatchBatchDao
remove
in class BatchDaoBase
CatchBatchDao.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 CatchBatchDao
- Overrides:
remove
in class BatchDaoBase
- See Also:
BatchDao.remove(java.util.Collection)
public java.util.Collection getAllCatchBatch()
getAllCatchBatch
in interface CatchBatchDao
CatchBatchDao.getAllCatchBatch()
public java.util.Collection getAllCatchBatch(int transform)
CatchBatchDao
Does the same thing as CatchBatchDao.getAllCatchBatch()
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
getAllCatchBatch
in interface CatchBatchDao
CatchBatchDao.getAllCatchBatch(int)
public java.util.Collection getAllCatchBatch(java.lang.String queryString)
CatchBatchDao
Does the same thing as CatchBatchDao.getAllCatchBatch()
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in CatchBatchDao.getAllCatchBatch()
.
getAllCatchBatch
in interface CatchBatchDao
CatchBatchDao.getAllCatchBatch(java.lang.String)
public java.util.Collection getAllCatchBatch(int pageNumber, int pageSize)
CatchBatchDao
Does the same thing as CatchBatchDao.getAllCatchBatch()
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllCatchBatch
in interface CatchBatchDao
CatchBatchDao.getAllCatchBatch(int, int)
public java.util.Collection getAllCatchBatch(java.lang.String queryString, int pageNumber, int pageSize)
CatchBatchDao
Does the same thing as CatchBatchDao.getAllCatchBatch(String)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllCatchBatch
in interface CatchBatchDao
CatchBatchDao.getAllCatchBatch(String, int, int)
public java.util.Collection getAllCatchBatch(int transform, java.lang.String queryString)
CatchBatchDao
Does the same thing as CatchBatchDao.getAllCatchBatch(int)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in CatchBatchDao.getAllCatchBatch(int)
.
getAllCatchBatch
in interface CatchBatchDao
CatchBatchDao.getAllCatchBatch(int, String)
public java.util.Collection getAllCatchBatch(int transform, int pageNumber, int pageSize)
CatchBatchDao
Does the same thing as CatchBatchDao.getAllCatchBatch(int)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllCatchBatch
in interface CatchBatchDao
CatchBatchDao.getAllCatchBatch(int, int, int)
public java.util.Collection getAllCatchBatch(int transform, java.lang.String queryString, int pageNumber, int pageSize)
CatchBatchDao
Does the same thing as CatchBatchDao.getAllCatchBatch(int, String)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllCatchBatch
in interface CatchBatchDao
CatchBatchDao.getAllCatchBatch(int, java.lang.String, int, int)
public CatchBatch findCatchBatchById(java.lang.Integer id)
findCatchBatchById
in interface CatchBatchDao
CatchBatchDao.findCatchBatchById(java.lang.Integer)
public java.lang.Object findCatchBatchById(int transform, java.lang.Integer id)
CatchBatchDao
Does the same thing as CatchBatchDao.findCatchBatchById(java.lang.Integer)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
findCatchBatchById
in interface CatchBatchDao
CatchBatchDao.findCatchBatchById(int, java.lang.Integer)
public CatchBatch findCatchBatchById(java.lang.String queryString, java.lang.Integer id)
CatchBatchDao
Does the same thing as CatchBatchDao.findCatchBatchById(java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in CatchBatchDao.findCatchBatchById(java.lang.Integer)
.
findCatchBatchById
in interface CatchBatchDao
CatchBatchDao.findCatchBatchById(java.lang.String, java.lang.Integer)
public java.lang.Object findCatchBatchById(int transform, java.lang.String queryString, java.lang.Integer id)
CatchBatchDao
Does the same thing as CatchBatchDao.findCatchBatchById(int, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in CatchBatchDao.findCatchBatchById(int, java.lang.Integer id)
.
findCatchBatchById
in interface CatchBatchDao
CatchBatchDao.findCatchBatchById(int, java.lang.String, java.lang.Integer)
public CatchBatch findCatchBatchByFishingOperation(FishingOperation fishingOperation)
findCatchBatchByFishingOperation
in interface CatchBatchDao
CatchBatchDao.findCatchBatchByFishingOperation(fr.ifremer.allegro.data.operation.FishingOperation)
public java.lang.Object findCatchBatchByFishingOperation(int transform, FishingOperation fishingOperation)
CatchBatchDao
Does the same thing as CatchBatchDao.findCatchBatchByFishingOperation(fr.ifremer.allegro.data.operation.FishingOperation)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
findCatchBatchByFishingOperation
in interface CatchBatchDao
CatchBatchDao.findCatchBatchByFishingOperation(int, fr.ifremer.allegro.data.operation.FishingOperation)
public CatchBatch findCatchBatchByFishingOperation(java.lang.String queryString, FishingOperation fishingOperation)
CatchBatchDao
Does the same thing as CatchBatchDao.findCatchBatchByFishingOperation(fr.ifremer.allegro.data.operation.FishingOperation)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in CatchBatchDao.findCatchBatchByFishingOperation(fr.ifremer.allegro.data.operation.FishingOperation)
.
findCatchBatchByFishingOperation
in interface CatchBatchDao
CatchBatchDao.findCatchBatchByFishingOperation(java.lang.String, fr.ifremer.allegro.data.operation.FishingOperation)
public java.lang.Object findCatchBatchByFishingOperation(int transform, java.lang.String queryString, FishingOperation fishingOperation)
CatchBatchDao
Does the same thing as CatchBatchDao.findCatchBatchByFishingOperation(int, fr.ifremer.allegro.data.operation.FishingOperation)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in CatchBatchDao.findCatchBatchByFishingOperation(int, fr.ifremer.allegro.data.operation.FishingOperation fishingOperation)
.
findCatchBatchByFishingOperation
in interface CatchBatchDao
CatchBatchDao.findCatchBatchByFishingOperation(int, java.lang.String, fr.ifremer.allegro.data.operation.FishingOperation)
public java.util.Collection findCatchBatchByQualityFlag(QualityFlag qualityFlag)
findCatchBatchByQualityFlag
in interface CatchBatchDao
CatchBatchDao.findCatchBatchByQualityFlag(fr.ifremer.allegro.referential.QualityFlag)
public java.util.Collection findCatchBatchByQualityFlag(int transform, QualityFlag qualityFlag)
CatchBatchDao
Does the same thing as CatchBatchDao.findCatchBatchByQualityFlag(fr.ifremer.allegro.referential.QualityFlag)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
findCatchBatchByQualityFlag
in interface CatchBatchDao
CatchBatchDao.findCatchBatchByQualityFlag(int, fr.ifremer.allegro.referential.QualityFlag)
public java.util.Collection findCatchBatchByQualityFlag(java.lang.String queryString, QualityFlag qualityFlag)
CatchBatchDao
Does the same thing as CatchBatchDao.findCatchBatchByQualityFlag(fr.ifremer.allegro.referential.QualityFlag)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in CatchBatchDao.findCatchBatchByQualityFlag(fr.ifremer.allegro.referential.QualityFlag)
.
findCatchBatchByQualityFlag
in interface CatchBatchDao
CatchBatchDao.findCatchBatchByQualityFlag(java.lang.String, fr.ifremer.allegro.referential.QualityFlag)
public java.util.Collection findCatchBatchByQualityFlag(int pageNumber, int pageSize, QualityFlag qualityFlag)
CatchBatchDao
Does the same thing as CatchBatchDao.findCatchBatchByQualityFlag(fr.ifremer.allegro.referential.QualityFlag)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findCatchBatchByQualityFlag
in interface CatchBatchDao
CatchBatchDao.findCatchBatchByQualityFlag(int, int, fr.ifremer.allegro.referential.QualityFlag)
public java.util.Collection findCatchBatchByQualityFlag(java.lang.String queryString, int pageNumber, int pageSize, QualityFlag qualityFlag)
CatchBatchDao
Does the same thing as CatchBatchDao.findCatchBatchByQualityFlag(String, fr.ifremer.allegro.referential.QualityFlag)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findCatchBatchByQualityFlag
in interface CatchBatchDao
CatchBatchDao.findCatchBatchByQualityFlag(String, int, int, fr.ifremer.allegro.referential.QualityFlag)
public java.util.Collection findCatchBatchByQualityFlag(int transform, java.lang.String queryString, QualityFlag qualityFlag)
CatchBatchDao
Does the same thing as CatchBatchDao.findCatchBatchByQualityFlag(int, fr.ifremer.allegro.referential.QualityFlag)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in CatchBatchDao.findCatchBatchByQualityFlag(int, fr.ifremer.allegro.referential.QualityFlag qualityFlag)
.
findCatchBatchByQualityFlag
in interface CatchBatchDao
CatchBatchDao.findCatchBatchByQualityFlag(int, String, fr.ifremer.allegro.referential.QualityFlag)
public java.util.Collection findCatchBatchByQualityFlag(int transform, int pageNumber, int pageSize, QualityFlag qualityFlag)
CatchBatchDao
Does the same thing as CatchBatchDao.findCatchBatchByQualityFlag(int, fr.ifremer.allegro.referential.QualityFlag)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findCatchBatchByQualityFlag
in interface CatchBatchDao
CatchBatchDao.findCatchBatchByQualityFlag(int, int, int, fr.ifremer.allegro.referential.QualityFlag)
public java.util.Collection findCatchBatchByQualityFlag(int transform, java.lang.String queryString, int pageNumber, int pageSize, QualityFlag qualityFlag)
CatchBatchDao
Does the same thing as CatchBatchDao.findCatchBatchByQualityFlag(int, String, fr.ifremer.allegro.referential.QualityFlag)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findCatchBatchByQualityFlag
in interface CatchBatchDao
CatchBatchDao.findCatchBatchByQualityFlag(int, java.lang.String, int, int, fr.ifremer.allegro.referential.QualityFlag)
public CatchBatch findCatchBatchByLanding(Landing landing)
findCatchBatchByLanding
in interface CatchBatchDao
CatchBatchDao.findCatchBatchByLanding(fr.ifremer.allegro.data.survey.landing.Landing)
public java.lang.Object findCatchBatchByLanding(int transform, Landing landing)
CatchBatchDao
Does the same thing as CatchBatchDao.findCatchBatchByLanding(fr.ifremer.allegro.data.survey.landing.Landing)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
findCatchBatchByLanding
in interface CatchBatchDao
CatchBatchDao.findCatchBatchByLanding(int, fr.ifremer.allegro.data.survey.landing.Landing)
public CatchBatch findCatchBatchByLanding(java.lang.String queryString, Landing landing)
CatchBatchDao
Does the same thing as CatchBatchDao.findCatchBatchByLanding(fr.ifremer.allegro.data.survey.landing.Landing)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in CatchBatchDao.findCatchBatchByLanding(fr.ifremer.allegro.data.survey.landing.Landing)
.
findCatchBatchByLanding
in interface CatchBatchDao
CatchBatchDao.findCatchBatchByLanding(java.lang.String, fr.ifremer.allegro.data.survey.landing.Landing)
public java.lang.Object findCatchBatchByLanding(int transform, java.lang.String queryString, Landing landing)
CatchBatchDao
Does the same thing as CatchBatchDao.findCatchBatchByLanding(int, fr.ifremer.allegro.data.survey.landing.Landing)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in CatchBatchDao.findCatchBatchByLanding(int, fr.ifremer.allegro.data.survey.landing.Landing landing)
.
findCatchBatchByLanding
in interface CatchBatchDao
CatchBatchDao.findCatchBatchByLanding(int, java.lang.String, fr.ifremer.allegro.data.survey.landing.Landing)
public CatchBatch findCatchBatchBySale(Sale sale)
findCatchBatchBySale
in interface CatchBatchDao
CatchBatchDao.findCatchBatchBySale(fr.ifremer.allegro.data.survey.sale.Sale)
public java.lang.Object findCatchBatchBySale(int transform, Sale sale)
CatchBatchDao
Does the same thing as CatchBatchDao.findCatchBatchBySale(fr.ifremer.allegro.data.survey.sale.Sale)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
findCatchBatchBySale
in interface CatchBatchDao
CatchBatchDao.findCatchBatchBySale(int, fr.ifremer.allegro.data.survey.sale.Sale)
public CatchBatch findCatchBatchBySale(java.lang.String queryString, Sale sale)
CatchBatchDao
Does the same thing as CatchBatchDao.findCatchBatchBySale(fr.ifremer.allegro.data.survey.sale.Sale)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in CatchBatchDao.findCatchBatchBySale(fr.ifremer.allegro.data.survey.sale.Sale)
.
findCatchBatchBySale
in interface CatchBatchDao
CatchBatchDao.findCatchBatchBySale(java.lang.String, fr.ifremer.allegro.data.survey.sale.Sale)
public java.lang.Object findCatchBatchBySale(int transform, java.lang.String queryString, Sale sale)
CatchBatchDao
Does the same thing as CatchBatchDao.findCatchBatchBySale(int, fr.ifremer.allegro.data.survey.sale.Sale)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in CatchBatchDao.findCatchBatchBySale(int, fr.ifremer.allegro.data.survey.sale.Sale sale)
.
findCatchBatchBySale
in interface CatchBatchDao
CatchBatchDao.findCatchBatchBySale(int, java.lang.String, fr.ifremer.allegro.data.survey.sale.Sale)
public java.util.Collection findCatchBatchByParentBatch(Batch parentBatch)
findCatchBatchByParentBatch
in interface CatchBatchDao
CatchBatchDao.findCatchBatchByParentBatch(fr.ifremer.allegro.data.batch.Batch)
public java.util.Collection findCatchBatchByParentBatch(int transform, Batch parentBatch)
CatchBatchDao
Does the same thing as CatchBatchDao.findCatchBatchByParentBatch(fr.ifremer.allegro.data.batch.Batch)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
findCatchBatchByParentBatch
in interface CatchBatchDao
CatchBatchDao.findCatchBatchByParentBatch(int, fr.ifremer.allegro.data.batch.Batch)
public java.util.Collection findCatchBatchByParentBatch(java.lang.String queryString, Batch parentBatch)
CatchBatchDao
Does the same thing as CatchBatchDao.findCatchBatchByParentBatch(fr.ifremer.allegro.data.batch.Batch)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in CatchBatchDao.findCatchBatchByParentBatch(fr.ifremer.allegro.data.batch.Batch)
.
findCatchBatchByParentBatch
in interface CatchBatchDao
CatchBatchDao.findCatchBatchByParentBatch(java.lang.String, fr.ifremer.allegro.data.batch.Batch)
public java.util.Collection findCatchBatchByParentBatch(int pageNumber, int pageSize, Batch parentBatch)
CatchBatchDao
Does the same thing as CatchBatchDao.findCatchBatchByParentBatch(fr.ifremer.allegro.data.batch.Batch)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findCatchBatchByParentBatch
in interface CatchBatchDao
CatchBatchDao.findCatchBatchByParentBatch(int, int, fr.ifremer.allegro.data.batch.Batch)
public java.util.Collection findCatchBatchByParentBatch(java.lang.String queryString, int pageNumber, int pageSize, Batch parentBatch)
CatchBatchDao
Does the same thing as CatchBatchDao.findCatchBatchByParentBatch(String, fr.ifremer.allegro.data.batch.Batch)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findCatchBatchByParentBatch
in interface CatchBatchDao
CatchBatchDao.findCatchBatchByParentBatch(String, int, int, fr.ifremer.allegro.data.batch.Batch)
public java.util.Collection findCatchBatchByParentBatch(int transform, java.lang.String queryString, Batch parentBatch)
CatchBatchDao
Does the same thing as CatchBatchDao.findCatchBatchByParentBatch(int, fr.ifremer.allegro.data.batch.Batch)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in CatchBatchDao.findCatchBatchByParentBatch(int, fr.ifremer.allegro.data.batch.Batch parentBatch)
.
findCatchBatchByParentBatch
in interface CatchBatchDao
CatchBatchDao.findCatchBatchByParentBatch(int, String, fr.ifremer.allegro.data.batch.Batch)
public java.util.Collection findCatchBatchByParentBatch(int transform, int pageNumber, int pageSize, Batch parentBatch)
CatchBatchDao
Does the same thing as CatchBatchDao.findCatchBatchByParentBatch(int, fr.ifremer.allegro.data.batch.Batch)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findCatchBatchByParentBatch
in interface CatchBatchDao
CatchBatchDao.findCatchBatchByParentBatch(int, int, int, fr.ifremer.allegro.data.batch.Batch)
public java.util.Collection findCatchBatchByParentBatch(int transform, java.lang.String queryString, int pageNumber, int pageSize, Batch parentBatch)
CatchBatchDao
Does the same thing as CatchBatchDao.findCatchBatchByParentBatch(int, String, fr.ifremer.allegro.data.batch.Batch)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
findCatchBatchByParentBatch
in interface CatchBatchDao
CatchBatchDao.findCatchBatchByParentBatch(int, java.lang.String, int, int, fr.ifremer.allegro.data.batch.Batch)
public CatchBatch findCatchBatchByNaturalId(FishingOperation fishingOperation, Landing landing, java.lang.Integer id)
findCatchBatchByNaturalId
in interface CatchBatchDao
CatchBatchDao.findCatchBatchByNaturalId(fr.ifremer.allegro.data.operation.FishingOperation, fr.ifremer.allegro.data.survey.landing.Landing, java.lang.Integer)
public java.lang.Object findCatchBatchByNaturalId(int transform, FishingOperation fishingOperation, Landing landing, java.lang.Integer id)
CatchBatchDao
Does the same thing as CatchBatchDao.findCatchBatchByNaturalId(fr.ifremer.allegro.data.operation.FishingOperation, fr.ifremer.allegro.data.survey.landing.Landing, java.lang.Integer)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
findCatchBatchByNaturalId
in interface CatchBatchDao
CatchBatchDao.findCatchBatchByNaturalId(int, fr.ifremer.allegro.data.operation.FishingOperation, fr.ifremer.allegro.data.survey.landing.Landing, java.lang.Integer)
public CatchBatch findCatchBatchByNaturalId(java.lang.String queryString, FishingOperation fishingOperation, Landing landing, java.lang.Integer id)
CatchBatchDao
Does the same thing as CatchBatchDao.findCatchBatchByNaturalId(fr.ifremer.allegro.data.operation.FishingOperation, fr.ifremer.allegro.data.survey.landing.Landing, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in CatchBatchDao.findCatchBatchByNaturalId(fr.ifremer.allegro.data.operation.FishingOperation, fr.ifremer.allegro.data.survey.landing.Landing, java.lang.Integer)
.
findCatchBatchByNaturalId
in interface CatchBatchDao
CatchBatchDao.findCatchBatchByNaturalId(java.lang.String, fr.ifremer.allegro.data.operation.FishingOperation, fr.ifremer.allegro.data.survey.landing.Landing, java.lang.Integer)
public java.lang.Object findCatchBatchByNaturalId(int transform, java.lang.String queryString, FishingOperation fishingOperation, Landing landing, java.lang.Integer id)
CatchBatchDao
Does the same thing as CatchBatchDao.findCatchBatchByNaturalId(int, fr.ifremer.allegro.data.operation.FishingOperation, fr.ifremer.allegro.data.survey.landing.Landing, java.lang.Integer)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in CatchBatchDao.findCatchBatchByNaturalId(int, fr.ifremer.allegro.data.operation.FishingOperation fishingOperation, fr.ifremer.allegro.data.survey.landing.Landing landing, java.lang.Integer id)
.
findCatchBatchByNaturalId
in interface CatchBatchDao
CatchBatchDao.findCatchBatchByNaturalId(int, java.lang.String, fr.ifremer.allegro.data.operation.FishingOperation, fr.ifremer.allegro.data.survey.landing.Landing, java.lang.Integer)
public java.util.Collection getAllCatchBatchSinceDateSynchro(java.sql.Timestamp updateDate)
getAllCatchBatchSinceDateSynchro
in interface CatchBatchDao
CatchBatchDao.getAllCatchBatchSinceDateSynchro(java.sql.Timestamp)
public java.util.Collection getAllCatchBatchSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
CatchBatchDao
Does the same thing as CatchBatchDao.getAllCatchBatchSinceDateSynchro(java.sql.Timestamp)
with an
additional flag called transform
. If this flag is set to TRANSFORM_NONE
then
finder results will NOT be transformed during retrieval.
If this flag is any of the other constants defined here
then finder results WILL BE passed through an operation which can optionally
transform the entities (into value objects for example). By default, transformation does
not occur.
getAllCatchBatchSinceDateSynchro
in interface CatchBatchDao
CatchBatchDao.getAllCatchBatchSinceDateSynchro(int, java.sql.Timestamp)
public java.util.Collection getAllCatchBatchSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
CatchBatchDao
Does the same thing as CatchBatchDao.getAllCatchBatchSinceDateSynchro(java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in CatchBatchDao.getAllCatchBatchSinceDateSynchro(java.sql.Timestamp)
.
getAllCatchBatchSinceDateSynchro
in interface CatchBatchDao
CatchBatchDao.getAllCatchBatchSinceDateSynchro(java.lang.String, java.sql.Timestamp)
public java.util.Collection getAllCatchBatchSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
CatchBatchDao
Does the same thing as CatchBatchDao.getAllCatchBatchSinceDateSynchro(java.sql.Timestamp)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllCatchBatchSinceDateSynchro
in interface CatchBatchDao
CatchBatchDao.getAllCatchBatchSinceDateSynchro(int, int, java.sql.Timestamp)
public java.util.Collection getAllCatchBatchSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
CatchBatchDao
Does the same thing as CatchBatchDao.getAllCatchBatchSinceDateSynchro(String, java.sql.Timestamp)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllCatchBatchSinceDateSynchro
in interface CatchBatchDao
CatchBatchDao.getAllCatchBatchSinceDateSynchro(String, int, int, java.sql.Timestamp)
public java.util.Collection getAllCatchBatchSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
CatchBatchDao
Does the same thing as CatchBatchDao.getAllCatchBatchSinceDateSynchro(int, java.sql.Timestamp)
with an
additional argument called queryString
. This queryString
argument allows you to override the query string defined in CatchBatchDao.getAllCatchBatchSinceDateSynchro(int, java.sql.Timestamp updateDate)
.
getAllCatchBatchSinceDateSynchro
in interface CatchBatchDao
CatchBatchDao.getAllCatchBatchSinceDateSynchro(int, String, java.sql.Timestamp)
public java.util.Collection getAllCatchBatchSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
CatchBatchDao
Does the same thing as CatchBatchDao.getAllCatchBatchSinceDateSynchro(int, java.sql.Timestamp)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllCatchBatchSinceDateSynchro
in interface CatchBatchDao
CatchBatchDao.getAllCatchBatchSinceDateSynchro(int, int, int, java.sql.Timestamp)
public java.util.Collection getAllCatchBatchSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
CatchBatchDao
Does the same thing as CatchBatchDao.getAllCatchBatchSinceDateSynchro(int, String, java.sql.Timestamp)
with an
additional two arguments called pageNumber
and pageSize
. The pageNumber
argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the
page retrieved.
getAllCatchBatchSinceDateSynchro
in interface CatchBatchDao
CatchBatchDao.getAllCatchBatchSinceDateSynchro(int, java.lang.String, int, int, java.sql.Timestamp)
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 CatchBatch createFromClusterCatchBatch(ClusterCatchBatch clusterCatchBatch)
createFromClusterCatchBatch
in interface CatchBatchDao
CatchBatchDao.createFromClusterCatchBatch(fr.ifremer.allegro.data.batch.generic.cluster.ClusterCatchBatch)
protected abstract CatchBatch handleCreateFromClusterCatchBatch(ClusterCatchBatch clusterCatchBatch) throws java.lang.Exception
createFromClusterCatchBatch(fr.ifremer.allegro.data.batch.generic.cluster.ClusterCatchBatch)
java.lang.Exception
public ClusterCatchBatch[] getAllClusterCatchBatchSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
getAllClusterCatchBatchSinceDateSynchro
in interface CatchBatchDao
CatchBatchDao.getAllClusterCatchBatchSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract ClusterCatchBatch[] handleGetAllClusterCatchBatchSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize) throws java.lang.Exception
getAllClusterCatchBatchSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
java.lang.Exception
protected java.lang.Object transformEntity(int transform, CatchBatch entity)
transform
flag is set to one of the constants defined in fr.ifremer.allegro.data.batch.CatchBatchDao
, please note
that the BatchDao.TRANSFORM_NONE
constant denotes no transformation, so the entity itself
will be returned.
This method will return instances of these types:
CatchBatch
- BatchDao.TRANSFORM_NONE
RemoteCatchBatchFullVO
- TRANSFORM_REMOTECATCHBATCHFULLVO
RemoteCatchBatchNaturalId
- TRANSFORM_REMOTECATCHBATCHNATURALID
ClusterCatchBatch
- TRANSFORM_CLUSTERCATCHBATCH
BatchDao.TRANSFORM_NONE
is assumed.
transform
- one of the constants declared in CatchBatchDao
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.CatchBatch)
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.CatchBatchDao
entities
- the collection of entities to transformtransformEntity(int,fr.ifremer.allegro.data.batch.CatchBatch)
protected CatchBatch toEntity(java.lang.Object[] row)
toEntity
in class BatchDaoBase
public final void toRemoteCatchBatchFullVOCollection(java.util.Collection entities)
CatchBatchDao
RemoteCatchBatchFullVO
.
toRemoteCatchBatchFullVOCollection
in interface CatchBatchDao
CatchBatchDao.toRemoteCatchBatchFullVOCollection(java.util.Collection)
public final RemoteCatchBatchFullVO[] toRemoteCatchBatchFullVOArray(java.util.Collection entities)
CatchBatchDao
RemoteCatchBatchFullVO
.
toRemoteCatchBatchFullVOArray
in interface CatchBatchDao
CatchBatchDao.toRemoteCatchBatchFullVOArray(java.util.Collection)
protected RemoteCatchBatchFullVO toRemoteCatchBatchFullVO(java.lang.Object[] row)
CatchBatchDaoImpl
class if you intend to use reporting queries.
CatchBatchDao.toRemoteCatchBatchFullVO(fr.ifremer.allegro.data.batch.CatchBatch)
public final void remoteCatchBatchFullVOToEntityCollection(java.util.Collection instances)
CatchBatchDao
RemoteCatchBatchFullVO
to this
DAO's entity.
remoteCatchBatchFullVOToEntityCollection
in interface CatchBatchDao
CatchBatchDao.remoteCatchBatchFullVOToEntityCollection(java.util.Collection)
public void toRemoteCatchBatchFullVO(CatchBatch source, RemoteCatchBatchFullVO target)
CatchBatchDao
toRemoteCatchBatchFullVO
in interface CatchBatchDao
CatchBatchDao.toRemoteCatchBatchFullVO(fr.ifremer.allegro.data.batch.CatchBatch, fr.ifremer.allegro.data.batch.generic.vo.RemoteCatchBatchFullVO)
public RemoteCatchBatchFullVO toRemoteCatchBatchFullVO(CatchBatch entity)
CatchBatchDao
RemoteCatchBatchFullVO
.
toRemoteCatchBatchFullVO
in interface CatchBatchDao
CatchBatchDao.toRemoteCatchBatchFullVO(fr.ifremer.allegro.data.batch.CatchBatch)
public void remoteCatchBatchFullVOToEntity(RemoteCatchBatchFullVO source, CatchBatch target, boolean copyIfNull)
CatchBatchDao
RemoteCatchBatchFullVO
to the specified entity.
remoteCatchBatchFullVOToEntity
in interface CatchBatchDao
copyIfNull
- If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE,
it will be copied regardless of its value.fr.ifremer.allegro.data.batch.CatchBatchDao#remoteCatchBatchFullVOToEntity(fr.ifremer.allegro.data.batch.generic.vo.RemoteCatchBatchFullVO, fr.ifremer.allegro.data.batch.CatchBatch)
public final void toRemoteCatchBatchNaturalIdCollection(java.util.Collection entities)
CatchBatchDao
RemoteCatchBatchNaturalId
.
toRemoteCatchBatchNaturalIdCollection
in interface CatchBatchDao
CatchBatchDao.toRemoteCatchBatchNaturalIdCollection(java.util.Collection)
public final RemoteCatchBatchNaturalId[] toRemoteCatchBatchNaturalIdArray(java.util.Collection entities)
CatchBatchDao
RemoteCatchBatchNaturalId
.
toRemoteCatchBatchNaturalIdArray
in interface CatchBatchDao
CatchBatchDao.toRemoteCatchBatchNaturalIdArray(java.util.Collection)
protected RemoteCatchBatchNaturalId toRemoteCatchBatchNaturalId(java.lang.Object[] row)
CatchBatchDaoImpl
class if you intend to use reporting queries.
CatchBatchDao.toRemoteCatchBatchNaturalId(fr.ifremer.allegro.data.batch.CatchBatch)
public final void remoteCatchBatchNaturalIdToEntityCollection(java.util.Collection instances)
CatchBatchDao
RemoteCatchBatchNaturalId
to this
DAO's entity.
remoteCatchBatchNaturalIdToEntityCollection
in interface CatchBatchDao
CatchBatchDao.remoteCatchBatchNaturalIdToEntityCollection(java.util.Collection)
public void toRemoteCatchBatchNaturalId(CatchBatch source, RemoteCatchBatchNaturalId target)
CatchBatchDao
toRemoteCatchBatchNaturalId
in interface CatchBatchDao
CatchBatchDao.toRemoteCatchBatchNaturalId(fr.ifremer.allegro.data.batch.CatchBatch, fr.ifremer.allegro.data.batch.generic.vo.RemoteCatchBatchNaturalId)
public RemoteCatchBatchNaturalId toRemoteCatchBatchNaturalId(CatchBatch entity)
CatchBatchDao
RemoteCatchBatchNaturalId
.
toRemoteCatchBatchNaturalId
in interface CatchBatchDao
CatchBatchDao.toRemoteCatchBatchNaturalId(fr.ifremer.allegro.data.batch.CatchBatch)
public void remoteCatchBatchNaturalIdToEntity(RemoteCatchBatchNaturalId source, CatchBatch target, boolean copyIfNull)
CatchBatchDao
RemoteCatchBatchNaturalId
to the specified entity.
remoteCatchBatchNaturalIdToEntity
in interface CatchBatchDao
copyIfNull
- If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE,
it will be copied regardless of its value.fr.ifremer.allegro.data.batch.CatchBatchDao#remoteCatchBatchNaturalIdToEntity(fr.ifremer.allegro.data.batch.generic.vo.RemoteCatchBatchNaturalId, fr.ifremer.allegro.data.batch.CatchBatch)
public final void toClusterCatchBatchCollection(java.util.Collection entities)
CatchBatchDao
ClusterCatchBatch
.
toClusterCatchBatchCollection
in interface CatchBatchDao
CatchBatchDao.toClusterCatchBatchCollection(java.util.Collection)
public final ClusterCatchBatch[] toClusterCatchBatchArray(java.util.Collection entities)
CatchBatchDao
ClusterCatchBatch
.
toClusterCatchBatchArray
in interface CatchBatchDao
CatchBatchDao.toClusterCatchBatchArray(java.util.Collection)
protected ClusterCatchBatch toClusterCatchBatch(java.lang.Object[] row)
CatchBatchDaoImpl
class if you intend to use reporting queries.
CatchBatchDao.toClusterCatchBatch(fr.ifremer.allegro.data.batch.CatchBatch)
public final void clusterCatchBatchToEntityCollection(java.util.Collection instances)
CatchBatchDao
ClusterCatchBatch
to this
DAO's entity.
clusterCatchBatchToEntityCollection
in interface CatchBatchDao
CatchBatchDao.clusterCatchBatchToEntityCollection(java.util.Collection)
public void toClusterCatchBatch(CatchBatch source, ClusterCatchBatch target)
CatchBatchDao
toClusterCatchBatch
in interface CatchBatchDao
CatchBatchDao.toClusterCatchBatch(fr.ifremer.allegro.data.batch.CatchBatch, fr.ifremer.allegro.data.batch.generic.cluster.ClusterCatchBatch)
public ClusterCatchBatch toClusterCatchBatch(CatchBatch entity)
CatchBatchDao
ClusterCatchBatch
.
toClusterCatchBatch
in interface CatchBatchDao
CatchBatchDao.toClusterCatchBatch(fr.ifremer.allegro.data.batch.CatchBatch)
public void clusterCatchBatchToEntity(ClusterCatchBatch source, CatchBatch target, boolean copyIfNull)
CatchBatchDao
ClusterCatchBatch
to the specified entity.
clusterCatchBatchToEntity
in interface CatchBatchDao
copyIfNull
- If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE,
it will be copied regardless of its value.fr.ifremer.allegro.data.batch.CatchBatchDao#clusterCatchBatchToEntity(fr.ifremer.allegro.data.batch.generic.cluster.ClusterCatchBatch, fr.ifremer.allegro.data.batch.CatchBatch)
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 CatchBatchDao
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.CatchBatchDao.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 CatchBatchDao
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.CatchBatchDao.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 CatchBatchDao
search
in class BatchDaoBase
transform
- the transformation flag.search
- the search object which provides the search parameters and pagination specification.
CatchBatchDao.search(int, fr.ifremer.allegro.Search)
public java.util.Set search(Search search)
BatchDao
search
object.
search
in interface BatchDao
search
in interface CatchBatchDao
search
in class BatchDaoBase
search
- the search object which provides the search parameters and pagination specification.
CatchBatchDao.search(fr.ifremer.allegro.Search)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |