public class StorageDAO extends HibernateRepository<Storage>
Storage
objects in the database.Constructor and Description |
---|
StorageDAO() |
Modifier and Type | Method and Description |
---|---|
Storage |
get(long id) |
List<Storage> |
retrieveStorageByIndex(String index,
SampleType type)
Retrieve a
Storage object by its index and SampleType fields. |
Storage |
retrieveStorageTube(String barcode)
Retrieves
Storage object representing a tube. |
create, currentSession, delete, get, getBuilder, update
public Storage retrieveStorageTube(String barcode)
Storage
object representing a tube. The 2D barcode for a tube is unique
across plates so this method is expected to return a single results. Compare to wells in 96
well plate that have same type and index across multiple platesbarcode
- unique identifier for storage tubepublic List<Storage> retrieveStorageByIndex(String index, SampleType type)
Storage
object by its index and SampleType
fields.index
- index valuetype
- storage typepublic Storage get(long id)
Copyright © 2017. All rights reserved.