Constructor and Description |
---|
P2PGridBasisDomainDao(DomainDao dao,
DaoContext context) |
Modifier and Type | Method and Description |
---|---|
void |
addDomain(Domain domain) |
void |
clear() |
void |
deleteDomain(String domainId) |
Domain |
getDomain(String domainId) |
boolean |
isDomainExist(String domainId) |
List<Domain> |
listAllDomains() |
List<Domain> |
listAllDomains(String gridId) |
void |
removeEntityListener() |
void |
setEntityListener() |
boolean |
updateDataSource(Data data) |
boolean |
updateDataTarget(Data data) |
public P2PGridBasisDomainDao(DomainDao 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 clear() throws DaoException
clear
in interface DomainDao
DaoException
public List<Domain> listAllDomains() throws DaoException
listAllDomains
in interface DomainDao
DaoException
public void addDomain(Domain domain) throws DomainAlreadyExistsException, DaoException
addDomain
in interface DomainDao
DomainAlreadyExistsException
DaoException
public void deleteDomain(String domainId) throws DomainNotFoundException, DaoException
deleteDomain
in interface DomainDao
DomainNotFoundException
DaoException
public Domain getDomain(String domainId) throws DomainNotFoundException, DaoException
getDomain
in interface DomainDao
DomainNotFoundException
DaoException
public boolean isDomainExist(String domainId) throws DaoException
isDomainExist
in interface DomainDao
DaoException
public List<Domain> listAllDomains(String gridId) throws DaoException
listAllDomains
in interface DomainDao
DaoException