Constructor and Description |
---|
P2PGridBasisGridDao(GridDao dao,
DaoContext 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() |
void |
removeEntityListener() |
void |
setEntityListener() |
boolean |
updateDataSource(Data data) |
boolean |
updateDataTarget(Data data) |
public P2PGridBasisGridDao(GridDao dao, DaoContext context)
public void setEntityListener()
setEntityListener
in interface DataDao
public void removeEntityListener()
removeEntityListener
in interface DataDao
public boolean updateDataSource(Data data) throws DataDaoException, UnmatchedDataTypeException
updateDataSource
in interface DataDao
DataDaoException
UnmatchedDataTypeException
public boolean updateDataTarget(Data data) throws UnmatchedDataTypeException, DataDaoException
updateDataTarget
in interface DataDao
UnmatchedDataTypeException
DataDaoException
public void addGrid(Grid grid) throws EntityAlreadyExistsException, DaoException
addGrid
in interface GridDao
EntityAlreadyExistsException
DaoException
public void clear() throws DaoException
clear
in interface GridDao
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
public List<Grid> listAllGrids() throws DaoException
listAllGrids
in interface GridDao
DaoException