@Component public class DefaultDNSService extends Object implements DNSService
| Constructor and Description |
|---|
DefaultDNSService(DNSClient dnsClient) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDNSRecord(org.nhindirect.config.model.DNSRecord record) |
void |
deleteDNSRecordsByIds(Collection<Long> ids) |
Collection<org.nhindirect.config.model.DNSRecord> |
getDNSRecord(int type,
String name) |
void |
setAddressClient(DNSClient dnsClient) |
void |
updatedDNSRecord(org.nhindirect.config.model.DNSRecord record) |
public DefaultDNSService(DNSClient dnsClient)
@Autowired public void setAddressClient(DNSClient dnsClient)
public Collection<org.nhindirect.config.model.DNSRecord> getDNSRecord(int type, String name) throws org.nhindirect.common.rest.exceptions.ServiceException
getDNSRecord in interface DNSServiceorg.nhindirect.common.rest.exceptions.ServiceExceptionpublic void addDNSRecord(org.nhindirect.config.model.DNSRecord record)
throws org.nhindirect.common.rest.exceptions.ServiceException
addDNSRecord in interface DNSServiceorg.nhindirect.common.rest.exceptions.ServiceExceptionpublic void updatedDNSRecord(org.nhindirect.config.model.DNSRecord record)
throws org.nhindirect.common.rest.exceptions.ServiceException
updatedDNSRecord in interface DNSServiceorg.nhindirect.common.rest.exceptions.ServiceExceptionpublic void deleteDNSRecordsByIds(Collection<Long> ids) throws org.nhindirect.common.rest.exceptions.ServiceException
deleteDNSRecordsByIds in interface DNSServiceorg.nhindirect.common.rest.exceptions.ServiceExceptionCopyright © 2021. All rights reserved.