public class HibernateGridDao extends HibernateCRUDDao<Grid> implements GridDao
HibernateDao.DaoBlock, HibernateDao.DaoBlockR<R>| Constructor and Description |
|---|
HibernateGridDao(HibernateDaoContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
addGrid(Grid grid) |
void |
clear() |
void |
deleteGrid(String gridId) |
Grid |
getGrid(String gridId) |
boolean |
isGridExist(String gridId) |
List<Grid> |
listAllGrids() |
add, add, clearEach, createCriteria, createDeleteQuery, delete, delete, exists, get, getOrNull, list, updatecreateDeleteQuery, createDeleteQuery, deleteEntities, getContext, getSession, logAdditionalInfo, logWhenRollbacking, transact, transactpublic HibernateGridDao(HibernateDaoContext context)
public void clear()
throws DaoException
clear in interface GridDaoclear in class HibernateCRUDDao<Grid>DaoExceptionpublic void addGrid(Grid grid) throws GridAlreadyExistsException, DaoException
addGrid in interface GridDaoGridAlreadyExistsExceptionDaoExceptionpublic void deleteGrid(String gridId) throws GridNotFoundException, DaoException
deleteGrid in interface GridDaoGridNotFoundExceptionDaoExceptionpublic Grid getGrid(String gridId) throws GridNotFoundException, DaoException
getGrid in interface GridDaoGridNotFoundExceptionDaoExceptionpublic boolean isGridExist(String gridId) throws DaoException
isGridExist in interface GridDaoDaoExceptionpublic List<Grid> listAllGrids() throws DaoException
listAllGrids in interface GridDaoDaoException