public class HibernateDomainDao extends HibernateCRUDDao<Domain> implements DomainDao
HibernateDao.DaoBlock, HibernateDao.DaoBlockR<R>| Constructor and Description |
|---|
HibernateDomainDao(HibernateDaoContext 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) |
add, add, clearEach, createCriteria, createDeleteQuery, delete, delete, exists, get, getOrNull, list, updatecreateDeleteQuery, createDeleteQuery, deleteEntities, getContext, getSession, logAdditionalInfo, logWhenRollbacking, transact, transactpublic HibernateDomainDao(HibernateDaoContext context)
public void clear()
throws DaoException
clear in interface DomainDaoclear in class HibernateCRUDDao<Domain>DaoExceptionpublic void addDomain(Domain domain) throws DomainAlreadyExistsException, DaoException
addDomain in interface DomainDaoDomainAlreadyExistsExceptionDaoExceptionpublic void deleteDomain(String domainId) throws DomainNotFoundException, DaoException
deleteDomain in interface DomainDaoDomainNotFoundExceptionDaoExceptionpublic Domain getDomain(String domainId) throws DomainNotFoundException, DaoException
getDomain in interface DomainDaoDomainNotFoundExceptionDaoExceptionpublic boolean isDomainExist(String domainId) throws DaoException
isDomainExist in interface DomainDaoDaoExceptionpublic List<Domain> listAllDomains() throws DaoException
listAllDomains in interface DomainDaoDaoExceptionpublic List<Domain> listAllDomains(String gridId) throws DaoException
listAllDomains in interface DomainDaoDaoException