org.nhind.config.rest.impl
Class DefaultDomainService

java.lang.Object
  extended by org.nhindirect.common.rest.AbstractUnsecuredService
      extended by org.nhindirect.common.rest.AbstractSecuredService
          extended by org.nhind.config.rest.impl.DefaultDomainService
All Implemented Interfaces:
DomainService

public class DefaultDomainService
extends org.nhindirect.common.rest.AbstractSecuredService
implements DomainService


Constructor Summary
DefaultDomainService(java.lang.String serviceUrl, org.apache.http.client.HttpClient httpClient, org.nhindirect.common.rest.ServiceSecurityManager securityManager)
           
 
Method Summary
 void addDomain(org.nhindirect.config.model.Domain domain)
           
 void deleteDomain(java.lang.String domainName)
           
 org.nhindirect.config.model.Domain getDomain(java.lang.String domainName)
           
 java.util.Collection<org.nhindirect.config.model.Domain> searchDomains(java.lang.String domainName, org.nhindirect.config.model.EntityStatus status)
           
 void updateDomain(org.nhindirect.config.model.Domain domain)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultDomainService

public DefaultDomainService(java.lang.String serviceUrl,
                            org.apache.http.client.HttpClient httpClient,
                            org.nhindirect.common.rest.ServiceSecurityManager securityManager)
Method Detail

getDomain

public org.nhindirect.config.model.Domain getDomain(java.lang.String domainName)
                                             throws org.nhindirect.common.rest.exceptions.ServiceException
Specified by:
getDomain in interface DomainService
Throws:
org.nhindirect.common.rest.exceptions.ServiceException

searchDomains

public java.util.Collection<org.nhindirect.config.model.Domain> searchDomains(java.lang.String domainName,
                                                                              org.nhindirect.config.model.EntityStatus status)
                                                                       throws org.nhindirect.common.rest.exceptions.ServiceException
Specified by:
searchDomains in interface DomainService
Throws:
org.nhindirect.common.rest.exceptions.ServiceException

addDomain

public void addDomain(org.nhindirect.config.model.Domain domain)
               throws org.nhindirect.common.rest.exceptions.ServiceException
Specified by:
addDomain in interface DomainService
Throws:
org.nhindirect.common.rest.exceptions.ServiceException

updateDomain

public void updateDomain(org.nhindirect.config.model.Domain domain)
                  throws org.nhindirect.common.rest.exceptions.ServiceException
Specified by:
updateDomain in interface DomainService
Throws:
org.nhindirect.common.rest.exceptions.ServiceException

deleteDomain

public void deleteDomain(java.lang.String domainName)
                  throws org.nhindirect.common.rest.exceptions.ServiceException
Specified by:
deleteDomain in interface DomainService
Throws:
org.nhindirect.common.rest.exceptions.ServiceException


Copyright © 2014. All Rights Reserved.