|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DomainService
Service class for methods related to a Domain object.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
void addDomain(org.nhindirect.config.store.Domain domain)
throws ConfigurationServiceException
domain - The Domain to add.
ConfigurationServiceException
void updateDomain(org.nhindirect.config.store.Domain domain)
throws ConfigurationServiceException
domain - The Domain to update.
ConfigurationServiceException
int getDomainCount()
throws ConfigurationServiceException
ConfigurationServiceException
Collection<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.
ConfigurationServiceException
void removeDomainById(Long domainId)
throws ConfigurationServiceException
domainId - The id of the Domain to remove.
ConfigurationServiceException
Collection<org.nhindirect.config.store.Domain> listDomains(String lastDomainName,
int maxResults)
throws ConfigurationServiceException
lastDomainName - The last domain name.maxResults - The maximum number of results.
ConfigurationServiceException
Collection<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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||