|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nhindirect.config.service.impl.DomainServiceImpl
public class DomainServiceImpl
Service class for methods related to a Domain object.
| Constructor Summary | |
|---|---|
DomainServiceImpl()
|
|
| Method Summary | |
|---|---|
void |
addDomain(Domain domain)
Add a new Domain. |
Domain |
getDomain(Long id)
Return a Domain matching the given ID. |
int |
getDomainCount()
Get a count of Domains. |
Collection<Domain> |
getDomains(Collection<String> domainNames,
EntityStatus status)
Get a collection of all Domains matching the parameters. |
void |
init()
Initialization method. |
Collection<Domain> |
listDomains(String lastDomainName,
int maxResults)
Return a list of Domains matching the parameters. |
void |
removeDomain(String domainName)
Remove a Domain. |
Collection<Domain> |
searchDomain(String domain,
EntityStatus status)
Return a collection of Domains matching the parameters. |
void |
setDao(DomainDao aDao)
Set the value of the DomainDao object. |
void |
updateDomain(Domain domain)
Update a Domain. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DomainServiceImpl()
| Method Detail |
|---|
public void init()
public void addDomain(Domain domain)
throws ConfigurationServiceException
DomainService
addDomain in interface DomainServicedomain - The Domain to add.
ConfigurationServiceException
public void updateDomain(Domain domain)
throws ConfigurationServiceException
DomainService
updateDomain in interface DomainServicedomain - The Domain to update.
ConfigurationServiceException
public int getDomainCount()
throws ConfigurationServiceException
DomainService
getDomainCount in interface DomainServiceConfigurationServiceException
public Collection<Domain> getDomains(Collection<String> domainNames,
EntityStatus status)
throws ConfigurationServiceException
DomainService
getDomains in interface DomainServicedomainNames - A collection of domain names.status - An EntityStatus object.
ConfigurationServiceException
public void removeDomain(String domainName)
throws ConfigurationServiceException
DomainService
removeDomain in interface DomainServicedomainName - The name of the Domain to remove.
ConfigurationServiceException
public Collection<Domain> listDomains(String lastDomainName,
int maxResults)
throws ConfigurationServiceException
DomainService
listDomains in interface DomainServicelastDomainName - The last domain name.maxResults - The maximum number of results.
ConfigurationServiceException
public Collection<Domain> searchDomain(String domain,
EntityStatus status)
DomainService
searchDomain in interface DomainServicedomain - The Domain name.status - The Domain EntityStatus.
public Domain getDomain(Long id)
DomainService
getDomain in interface DomainServiceid - The ID of the Domain.
public void setDao(DomainDao aDao)
aDao - The value of the DomainDao object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||