org.nhind.config.rest.impl
Class DefaultAddressService
java.lang.Object
org.nhindirect.common.rest.AbstractUnsecuredService
org.nhindirect.common.rest.AbstractSecuredService
org.nhind.config.rest.impl.DefaultAddressService
- All Implemented Interfaces:
- AddressService
public class DefaultAddressService
- extends org.nhindirect.common.rest.AbstractSecuredService
- implements AddressService
|
Constructor Summary |
DefaultAddressService(java.lang.String serviceUrl,
org.apache.http.client.HttpClient httpClient,
org.nhindirect.common.rest.ServiceSecurityManager securityManager)
|
|
Method Summary |
void |
addAddress(org.nhindirect.config.model.Address address)
|
void |
deleteAddress(java.lang.String address)
|
org.nhindirect.config.model.Address |
getAddress(java.lang.String addressName)
|
java.util.Collection<org.nhindirect.config.model.Address> |
getAddressesByDomain(java.lang.String domainName)
|
void |
updateAddress(org.nhindirect.config.model.Address address)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultAddressService
public DefaultAddressService(java.lang.String serviceUrl,
org.apache.http.client.HttpClient httpClient,
org.nhindirect.common.rest.ServiceSecurityManager securityManager)
getAddress
public org.nhindirect.config.model.Address getAddress(java.lang.String addressName)
throws org.nhindirect.common.rest.exceptions.ServiceException
- Specified by:
getAddress in interface AddressService
- Throws:
org.nhindirect.common.rest.exceptions.ServiceException
getAddressesByDomain
public java.util.Collection<org.nhindirect.config.model.Address> getAddressesByDomain(java.lang.String domainName)
throws org.nhindirect.common.rest.exceptions.ServiceException
- Specified by:
getAddressesByDomain in interface AddressService
- Throws:
org.nhindirect.common.rest.exceptions.ServiceException
addAddress
public void addAddress(org.nhindirect.config.model.Address address)
throws org.nhindirect.common.rest.exceptions.ServiceException
- Specified by:
addAddress in interface AddressService
- Throws:
org.nhindirect.common.rest.exceptions.ServiceException
updateAddress
public void updateAddress(org.nhindirect.config.model.Address address)
throws org.nhindirect.common.rest.exceptions.ServiceException
- Specified by:
updateAddress in interface AddressService
- Throws:
org.nhindirect.common.rest.exceptions.ServiceException
deleteAddress
public void deleteAddress(java.lang.String address)
throws org.nhindirect.common.rest.exceptions.ServiceException
- Specified by:
deleteAddress in interface AddressService
- Throws:
org.nhindirect.common.rest.exceptions.ServiceException
Copyright © 2014. All Rights Reserved.