@Component public class DefaultDomainService extends Object implements DomainService
| Constructor and Description |
|---|
DefaultDomainService(DomainClient domainClient) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDomain(org.nhindirect.config.model.Domain domain) |
void |
deleteDomain(String domainName) |
org.nhindirect.config.model.Domain |
getDomain(String domainName) |
Collection<org.nhindirect.config.model.Domain> |
searchDomains(String domainName,
org.nhindirect.config.model.EntityStatus status) |
void |
setDomainClient(DomainClient domainClient) |
void |
updateDomain(org.nhindirect.config.model.Domain domain) |
public DefaultDomainService(DomainClient domainClient)
@Autowired public void setDomainClient(DomainClient domainClient)
public org.nhindirect.config.model.Domain getDomain(String domainName) throws org.nhindirect.common.rest.exceptions.ServiceException
getDomain in interface DomainServiceorg.nhindirect.common.rest.exceptions.ServiceExceptionpublic Collection<org.nhindirect.config.model.Domain> searchDomains(String domainName, org.nhindirect.config.model.EntityStatus status) throws org.nhindirect.common.rest.exceptions.ServiceException
searchDomains in interface DomainServiceorg.nhindirect.common.rest.exceptions.ServiceExceptionpublic void addDomain(org.nhindirect.config.model.Domain domain)
throws org.nhindirect.common.rest.exceptions.ServiceException
addDomain in interface DomainServiceorg.nhindirect.common.rest.exceptions.ServiceExceptionpublic void updateDomain(org.nhindirect.config.model.Domain domain)
throws org.nhindirect.common.rest.exceptions.ServiceException
updateDomain in interface DomainServiceorg.nhindirect.common.rest.exceptions.ServiceExceptionpublic void deleteDomain(String domainName) throws org.nhindirect.common.rest.exceptions.ServiceException
deleteDomain in interface DomainServiceorg.nhindirect.common.rest.exceptions.ServiceExceptionCopyright © 2021. All rights reserved.