public interface DomainService
| Modifier and Type | Method and Description |
|---|---|
void |
addDomain(org.nhindirect.config.store.Domain domain)
Add a new Domain.
|
org.nhindirect.config.store.Domain |
getDomain(Long id)
Return a Domain matching the given ID.
|
int |
getDomainCount()
Get a count of Domains.
|
Collection<org.nhindirect.config.store.Domain> |
getDomains(Collection<String> domainNames,
org.nhindirect.config.store.EntityStatus status)
Get a collection of all Domains matching the parameters.
|
Collection<org.nhindirect.config.store.Domain> |
listDomains(String lastDomainName,
int maxResults)
Return a list of Domains matching the parameters.
|
void |
removeDomain(String domainName)
Deprecated.
Use of removeDomain(Long domainId) is preferred.
|
void |
removeDomainById(Long domainId)
Remove a Domain.
|
Collection<org.nhindirect.config.store.Domain> |
searchDomain(String domain,
org.nhindirect.config.store.EntityStatus status)
Return a collection of Domains matching the parameters.
|
void |
updateDomain(org.nhindirect.config.store.Domain domain)
Update a Domain.
|
void addDomain(org.nhindirect.config.store.Domain domain)
throws ConfigurationServiceException
domain - The Domain to add.ConfigurationServiceExceptionvoid updateDomain(org.nhindirect.config.store.Domain domain)
throws ConfigurationServiceException
domain - The Domain to update.ConfigurationServiceExceptionint getDomainCount()
throws ConfigurationServiceException
ConfigurationServiceExceptionCollection<org.nhindirect.config.store.Domain> getDomains(Collection<String> domainNames, org.nhindirect.config.store.EntityStatus status) throws ConfigurationServiceException
domainNames - A collection of domain names.status - An EntityStatus object.ConfigurationServiceException@Deprecated void removeDomain(String domainName) throws ConfigurationServiceException
domainName - The name of the Domain to remove.ConfigurationServiceExceptionvoid removeDomainById(Long domainId) throws ConfigurationServiceException
domainId - The id of the Domain to remove.ConfigurationServiceExceptionCollection<org.nhindirect.config.store.Domain> listDomains(String lastDomainName, int maxResults) throws ConfigurationServiceException
lastDomainName - The last domain name.maxResults - The maximum number of results.ConfigurationServiceExceptionCollection<org.nhindirect.config.store.Domain> searchDomain(String domain, org.nhindirect.config.store.EntityStatus status)
domain - The Domain name.status - The Domain EntityStatus.org.nhindirect.config.store.Domain getDomain(Long id)
id - The ID of the Domain.Copyright © 2015. All Rights Reserved.