public class AddressServiceImpl extends Object implements AddressService
| Constructor and Description |
|---|
AddressServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAddress(Collection<org.nhindirect.config.store.Address> address)
Add an Address.
|
Collection<org.nhindirect.config.store.Address> |
getAddress(Collection<String> addressNames,
org.nhindirect.config.store.EntityStatus status)
Get a collection of all Addresses matching the parameters.
|
int |
getAddressCount()
Get a count of Addresses.
|
void |
init()
Initialization method.
|
Collection<org.nhindirect.config.store.Address> |
listAddresss(String lastAddressName,
int maxResults)
Return a list of Addresses matching the parameters.
|
void |
removeAddress(String addressName)
Remove an Address.
|
void |
setDao(org.nhindirect.config.store.dao.AddressDao dao)
Set the value of the AddressDao object.
|
void |
updateAddress(org.nhindirect.config.store.Address address)
Update an Address.
|
public void init()
public void addAddress(Collection<org.nhindirect.config.store.Address> address) throws ConfigurationServiceException
AddressServiceaddAddress in interface AddressServiceaddress - The Address to add.ConfigurationServiceExceptionpublic void updateAddress(org.nhindirect.config.store.Address address)
throws ConfigurationServiceException
AddressServiceupdateAddress in interface AddressServiceaddress - The Address to update.ConfigurationServiceExceptionpublic int getAddressCount()
throws ConfigurationServiceException
AddressServicegetAddressCount in interface AddressServiceConfigurationServiceExceptionpublic Collection<org.nhindirect.config.store.Address> getAddress(Collection<String> addressNames, org.nhindirect.config.store.EntityStatus status) throws ConfigurationServiceException
AddressServicegetAddress in interface AddressServiceaddressNames - A collection of address names.status - An EntityStatus object.ConfigurationServiceExceptionpublic void removeAddress(String addressName) throws ConfigurationServiceException
AddressServiceremoveAddress in interface AddressServiceaddressName - The address name.ConfigurationServiceExceptionpublic Collection<org.nhindirect.config.store.Address> listAddresss(String lastAddressName, int maxResults) throws ConfigurationServiceException
AddressServicelistAddresss in interface AddressServicelastAddressName - The last address name.maxResults - The maximum number of results.ConfigurationServiceException@Autowired public void setDao(org.nhindirect.config.store.dao.AddressDao dao)
dao - The value of the AddressDao object.Copyright © 2015. All Rights Reserved.