public class SampleDAO extends HibernateRepository<Sample>
Constructor and Description |
---|
SampleDAO() |
Modifier and Type | Method and Description |
---|---|
Sample |
get(long id) |
int |
getSampleCount(Entry entry) |
List<Sample> |
getSamplesByEntry(Entry entry) |
List<Sample> |
getSamplesByStorage(Storage storage)
|
boolean |
hasSample(Entry entry) |
create, currentSession, delete, get, getBuilder, update
public Sample get(long id)
public boolean hasSample(Entry entry)
public int getSampleCount(Entry entry)
public List<Sample> getSamplesByStorage(Storage storage)
storage
- DAOException
Copyright © 2017. All rights reserved.