@Component public class DefaultAddressService extends Object implements AddressService
| Constructor and Description |
|---|
DefaultAddressService(AddressClient addrClient) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAddress(org.nhindirect.config.model.Address address) |
void |
deleteAddress(String address) |
org.nhindirect.config.model.Address |
getAddress(String addressName) |
Collection<org.nhindirect.config.model.Address> |
getAddressesByDomain(String domainName) |
void |
setAddressClient(AddressClient addrClient) |
void |
updateAddress(org.nhindirect.config.model.Address address) |
public DefaultAddressService(AddressClient addrClient)
@Autowired public void setAddressClient(AddressClient addrClient)
public org.nhindirect.config.model.Address getAddress(String addressName) throws org.nhindirect.common.rest.exceptions.ServiceException
getAddress in interface AddressServiceorg.nhindirect.common.rest.exceptions.ServiceExceptionpublic Collection<org.nhindirect.config.model.Address> getAddressesByDomain(String domainName) throws org.nhindirect.common.rest.exceptions.ServiceException
getAddressesByDomain in interface AddressServiceorg.nhindirect.common.rest.exceptions.ServiceExceptionpublic void addAddress(org.nhindirect.config.model.Address address)
throws org.nhindirect.common.rest.exceptions.ServiceException
addAddress in interface AddressServiceorg.nhindirect.common.rest.exceptions.ServiceExceptionpublic void updateAddress(org.nhindirect.config.model.Address address)
throws org.nhindirect.common.rest.exceptions.ServiceException
updateAddress in interface AddressServiceorg.nhindirect.common.rest.exceptions.ServiceExceptionpublic void deleteAddress(String address) throws org.nhindirect.common.rest.exceptions.ServiceException
deleteAddress in interface AddressServiceorg.nhindirect.common.rest.exceptions.ServiceExceptionCopyright © 2021. All rights reserved.