org.nhind.config.rest.impl
Class DefaultDNSService

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

public class DefaultDNSService
extends org.nhindirect.common.rest.AbstractSecuredService
implements DNSService


Constructor Summary
DefaultDNSService(java.lang.String serviceUrl, org.apache.http.client.HttpClient httpClient, org.nhindirect.common.rest.ServiceSecurityManager securityManager)
           
 
Method Summary
 void addDNSRecord(org.nhindirect.config.model.DNSRecord record)
           
 void deleteDNSRecordsByIds(java.util.Collection<java.lang.Long> ids)
           
 java.util.Collection<org.nhindirect.config.model.DNSRecord> getDNSRecord(int type, java.lang.String name)
           
 void updatedDNSRecord(org.nhindirect.config.model.DNSRecord record)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultDNSService

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

getDNSRecord

public java.util.Collection<org.nhindirect.config.model.DNSRecord> getDNSRecord(int type,
                                                                                java.lang.String name)
                                                                         throws org.nhindirect.common.rest.exceptions.ServiceException
Specified by:
getDNSRecord in interface DNSService
Throws:
org.nhindirect.common.rest.exceptions.ServiceException

addDNSRecord

public void addDNSRecord(org.nhindirect.config.model.DNSRecord record)
                  throws org.nhindirect.common.rest.exceptions.ServiceException
Specified by:
addDNSRecord in interface DNSService
Throws:
org.nhindirect.common.rest.exceptions.ServiceException

updatedDNSRecord

public void updatedDNSRecord(org.nhindirect.config.model.DNSRecord record)
                      throws org.nhindirect.common.rest.exceptions.ServiceException
Specified by:
updatedDNSRecord in interface DNSService
Throws:
org.nhindirect.common.rest.exceptions.ServiceException

deleteDNSRecordsByIds

public void deleteDNSRecordsByIds(java.util.Collection<java.lang.Long> ids)
                           throws org.nhindirect.common.rest.exceptions.ServiceException
Specified by:
deleteDNSRecordsByIds in interface DNSService
Throws:
org.nhindirect.common.rest.exceptions.ServiceException


Copyright © 2014. All Rights Reserved.