edu.nrao.sss.dao.project
Class HibernateSchedBlockDao
java.lang.Object
edu.nrao.sss.dao.HibernateDao
edu.nrao.sss.dao.project.HibernateSchedBlockDao
- All Implemented Interfaces:
- SchedulingBlockProvider
public class HibernateSchedBlockDao
- extends HibernateDao
- implements SchedulingBlockProvider
A Hibernate
data access object for SchedulingBlock
s.
Version Info:
$Revision: 2131 $ |
$Date: 2009-03-20 10:24:37 -0600 (Fri, 20 Mar 2009) $ |
$Author: btruitt $ (last person to modify) |
- Since:
- 2008-06-11
- Author:
- David M. Harland
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 |
HibernateSchedBlockDao
public HibernateSchedBlockDao(String cfg,
org.hibernate.Interceptor i)
- Creates a new data access object for scheduling blocks
- See Also:
HibernateDao.HibernateDao(String, Interceptor)
getSchedBlocks
public List<SchedulingBlock> getSchedBlocks(SchedulingBlockFilter filter)
throws RepositoryException
- Specified by:
getSchedBlocks
in interface SchedulingBlockProvider
- Throws:
RepositoryException
getAllSchedBlocks
public List<SchedulingBlock> getAllSchedBlocks()
throws RepositoryException
- Specified by:
getAllSchedBlocks
in interface SchedulingBlockProvider
- Throws:
RepositoryException
findById
public SchedulingBlock findById(long id)
throws RepositoryException
- Returns:
- null if a SchedulingBlock with the provided id doesn't exist.
- Throws:
RepositoryException
Copyright © 2009. All Rights Reserved.