edu.nrao.sss.dao.project
Class HibernateExecBlockDao
java.lang.Object
edu.nrao.sss.dao.HibernateDao
edu.nrao.sss.dao.project.HibernateExecBlockDao
- All Implemented Interfaces:
- ExecutionBlockProvider
public class HibernateExecBlockDao
- extends HibernateDao
- implements ExecutionBlockProvider
A Hibernate
data access object for ExecutionBlock
s.
Version Info:
$Revision$ |
$Date$ |
$Author$ (last person to modify) |
- Since:
- 2009-04-10
- Author:
- David M. Harland
Constructor Summary |
HibernateExecBlockDao(String cfg,
org.hibernate.Interceptor i)
Creates a new data access object for scheduling blocks |
Methods inherited from class edu.nrao.sss.dao.HibernateDao |
addDaoListener, beginTransaction, closeSession, commitTransaction, destroyAllFactories, destroyFactory, fireRollbackEvent, getConfigurationFileName, getInterceptor, getSession, getSessionFactory, removeDaoListeners, rollbackTransaction, setConfigurationFileName, setInterceptor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HibernateExecBlockDao
public HibernateExecBlockDao(String cfg,
org.hibernate.Interceptor i)
- Creates a new data access object for scheduling blocks
- See Also:
HibernateDao.HibernateDao(String, Interceptor)
getAllExecBlocks
public List<ExecutionBlock> getAllExecBlocks()
throws RepositoryException
- Specified by:
getAllExecBlocks
in interface ExecutionBlockProvider
- Throws:
RepositoryException
findById
public ExecutionBlock findById(long id)
throws RepositoryException
- Returns the execution block with the given ID, or null if no such
block is found.
- Throws:
RepositoryException
Copyright © 2009. All Rights Reserved.