Constructor and Description |
---|
JsonicGridDao(JsonicDaoContext 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() |
public JsonicGridDao(JsonicDaoContext context)
public void clear() throws DaoException
clear
in interface GridDao
DaoException
public List<Grid> listAllGrids() throws DaoException
listAllGrids
in interface GridDao
DaoException
public void addGrid(Grid grid) throws GridAlreadyExistsException, DaoException
addGrid
in interface GridDao
GridAlreadyExistsException
DaoException
public void deleteGrid(String gridId) throws GridNotFoundException, DaoException
deleteGrid
in interface GridDao
GridNotFoundException
DaoException
public Grid getGrid(String gridId) throws GridNotFoundException, DaoException
getGrid
in interface GridDao
GridNotFoundException
DaoException
public boolean isGridExist(String gridId) throws DaoException
isGridExist
in interface GridDao
DaoException