public class TrialDAO extends Object
Constructor and Description |
---|
TrialDAO() |
Modifier and Type | Method and Description |
---|---|
void |
deleteTrial(Module module,
ModuleSession session,
Trial trial)
Delete a trial object.
|
List<Object[]> |
findDistinctTrialPropertyNames(ModuleImpl module)
Get all distinct trial property names for a module.
|
int |
getLastTrialIndex(ModuleSession moduleSession)
Get the last trial index for a given session.
|
List<Trial> |
getTrials(ModuleImpl module,
ModuleSession moduleSession,
String elementNameLike,
String propertyNameLike,
int offset,
int maxResults)
Get all trials for a given session.
|
List<Trial> |
getTrials(ModuleSession moduleSession)
Get all trials for a given session.
|
List<Trial> |
getTrials(ModuleSession session,
Node node,
int maxResults) |
List<Trial> |
loadAllTrials(ModuleImpl module)
Get a list of all sessions.
|
void |
saveTrial(Module module,
ModuleSession session,
Trial trial)
Persist a trial.
|
void |
setSessionFactory(org.hibernate.SessionFactory sessionFactory) |
public List<Trial> loadAllTrials(ModuleImpl module)
public List<Trial> getTrials(ModuleSession moduleSession)
public List<Trial> getTrials(ModuleImpl module, ModuleSession moduleSession, String elementNameLike, String propertyNameLike, int offset, int maxResults)
public int getLastTrialIndex(ModuleSession moduleSession)
public void saveTrial(Module module, ModuleSession session, Trial trial)
public void deleteTrial(Module module, ModuleSession session, Trial trial)
public List<Trial> getTrials(ModuleSession session, Node node, int maxResults)
public List<Object[]> findDistinctTrialPropertyNames(ModuleImpl module)
public void setSessionFactory(org.hibernate.SessionFactory sessionFactory)
Copyright © 2013. All Rights Reserved.