Package uk.ac.gda.vmxi.lims.api
Interface Lims
- All Superinterfaces:
Findable
- All Known Implementing Classes:
LimsAgentBase,LimsAgentDummy,LimsAgentMock,LimsAgentVmxi
Interface for access to laboratory information systems describing the experimental session, samples and collection parameters.
Compatible with ISPyB API v1.4
-
Method Summary
Modifier and TypeMethodDescriptionvoidvoidgetExperiments(String barcode) getExperiments(String barcode, String location) getPendingExperiments(String barcode) getPendingExperiments(String barcode, String location) getPlateContext(String barcode) getPlatesByStatus(PlateStatus status) getSleevesByLocation(Integer locationIndex) Tests the configured connection to data sourcesisPlateCompleted(String plate_barcode) isPlateScheduled(String plate_barcode) booleanvoidregisterCollectionGroup(String plate_barcode, String location, Timestamp startTime) registerExperiment(CollectionGroup group, DataCollectionRecord dataRec, Timestamp startTime, Timestamp endTime) Register new data collection, or update a data collection by supplying the dataCollectionIdregisterImageMatchResult(String barcode, String location, ImageMatchResult result) voidrequestPostProcessing(DataCollectionId collection) voidsetPlateCompleted(String plate_barcode) voidsetPlateContext(String plate_barcode, PlateContext context) voidsetPlateStatus(String plate_barcode, PlateStatus status, Integer index) voidsetSleeveLocation(Integer sleeveId, Integer location, Timestamp timestamp) voidvoidunqueuePlate(String plate_barcode) Update the database with CollectionGroup attributes
-
Method Details
-
getPlate
- Throws:
LimsException
-
getPlatesByStatus
- Throws:
LimsException
-
getPlateContext
- Throws:
LimsException
-
getExperiments
- Throws:
LimsException
-
getExperiments
- Throws:
LimsException
-
getPendingExperiments
- Throws:
LimsException
-
getPendingExperiments
- Throws:
LimsException
-
getNextPlate
- Throws:
LimsException
-
getNextTwentyDegreePlate
- Throws:
LimsException
-
getNextFourDegreePlate
- Throws:
LimsException
-
getVisit
- Throws:
LimsException
-
getSleevesByLocation
- Throws:
LimsException
-
setSleeveLocation
void setSleeveLocation(Integer sleeveId, Integer location, Timestamp timestamp) throws LimsException - Throws:
LimsException
-
getSleeves
- Throws:
LimsException
-
disconnect
void disconnect() -
reconnect
- Throws:
LimsException
-
isConnected
Boolean isConnected()Tests the configured connection to data sources- Returns:
- true for successful connection
-
isPlateCompleted
- Throws:
LimsException
-
isPlateScheduled
- Throws:
LimsException
-
registerCollectionGroup
Optional<CollectionGroup> registerCollectionGroup(String plate_barcode, String location, Timestamp startTime) throws LimsException - Throws:
LimsException
-
registerExperiment
Optional<DataCollectionId> registerExperiment(CollectionGroup group, DataCollectionRecord dataRec, Timestamp startTime, Timestamp endTime) throws LimsException Register new data collection, or update a data collection by supplying the dataCollectionId- Returns:
- optional containing the new or modified dataColllectionId
- Throws:
LimsException
-
registerImageMatchResult
Optional<Long> registerImageMatchResult(String barcode, String location, ImageMatchResult result) throws LimsException - Throws:
LimsException
-
requestPostProcessing
- Throws:
LimsException
-
setPlateCompleted
- Throws:
LimsException
-
setPlateContext
- Throws:
LimsException
-
setPlateStatus
- Throws:
LimsException
-
unqueuePlate
- Throws:
LimsException
-
updateCollectionGroup
Update the database with CollectionGroup attributes- Parameters:
group- the bean of attributes - groupId is mandatory- Returns:
- Optional - non-null if update succeeded
- Throws:
LimsException
-
isPlateTimedout
- Throws:
LimsException
-
timeoutPlate
- Throws:
LimsException
-
clearPlateTimeout
- Throws:
LimsException
-