|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nhindirect.config.service.impl.AddressServiceImpl
public class AddressServiceImpl
Service class for methods related to an Address object.
| Constructor Summary | |
|---|---|
AddressServiceImpl()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AddressServiceImpl()
| Method Detail |
|---|
public void init()
public void addAddress(Collection<org.nhindirect.config.store.Address> address)
throws ConfigurationServiceException
AddressService
addAddress in interface AddressServiceaddress - The Address to add.
ConfigurationServiceException
public void updateAddress(org.nhindirect.config.store.Address address)
throws ConfigurationServiceException
AddressService
updateAddress in interface AddressServiceaddress - The Address to update.
ConfigurationServiceException
public int getAddressCount()
throws ConfigurationServiceException
AddressService
getAddressCount in interface AddressServiceConfigurationServiceException
public Collection<org.nhindirect.config.store.Address> getAddress(Collection<String> addressNames,
org.nhindirect.config.store.EntityStatus status)
throws ConfigurationServiceException
AddressService
getAddress in interface AddressServiceaddressNames - A collection of address names.status - An EntityStatus object.
ConfigurationServiceException
public void removeAddress(String addressName)
throws ConfigurationServiceException
AddressService
removeAddress in interface AddressServiceaddressName - The address name.
ConfigurationServiceException
public Collection<org.nhindirect.config.store.Address> listAddresss(String lastAddressName,
int maxResults)
throws ConfigurationServiceException
AddressService
listAddresss 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||