public class BatchService extends SgqService
config, daoHelper| Constructor and Description |
|---|
BatchService() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAnalyze(Analyze analyze) |
List<Analyze> |
findAllAnalyzesByBatch(Batch batch) |
List<Batch> |
findAllBetweenNumbers(int startNumber,
int endNumber) |
List<Presentation> |
findAllPresentationsByBatch(Batch batch) |
List<Analyze> |
getAnalysisToReceive(AnalyzeType analyzeType) |
List<Analyze> |
getAnalysisToSend(AnalyzeType analyzeType) |
Analyze |
getAnalyzeById(String analyzeId) |
Batch |
getBatchById(String batchId) |
protected Batch |
getBatchByNumber(int batchNumer)
Find batch by number.
|
long |
getBatchCount() |
int |
getNextBioBatchNumber() |
int |
getNextNonBioBatchNumber() |
Presentation |
getPresentationById(String presentationId) |
void |
importBatchFile(File batchFile)
Import du fichier dbf des numéro de lots.
|
void |
receiveAnalyzeFromSupplier(Analyze analyze,
Supplier supplier) |
List<BatchModel> |
searchBatch(SearchModel search) |
void |
sendAnalyzeToSupplier(Analyze analyze,
Supplier supplier) |
void |
updatePresentation(Presentation presentation) |
setConfig, setServiceDAOHelperpublic long getBatchCount()
public List<BatchModel> searchBatch(SearchModel search)
protected Batch getBatchByNumber(int batchNumer)
getBatchById(String).batchNumer - batch numberpublic List<Presentation> findAllPresentationsByBatch(Batch batch)
public Presentation getPresentationById(String presentationId)
public void updatePresentation(Presentation presentation)
public int getNextBioBatchNumber()
public int getNextNonBioBatchNumber()
public void addAnalyze(Analyze analyze)
public List<Analyze> getAnalysisToSend(AnalyzeType analyzeType)
public List<Analyze> getAnalysisToReceive(AnalyzeType analyzeType)
public void importBatchFile(File batchFile)
batchFile - dbf fileCopyright © 2012 Herboristerie Cailleau. All Rights Reserved.