org.axonframework.examples.addressbook.web.impl
Class AddressServiceImpl

java.lang.Object
  extended by org.axonframework.examples.addressbook.web.impl.AddressServiceImpl
All Implemented Interfaces:
AddressService

@Service(value="addressService")
@RemotingDestination(channels="my-amf")
public class AddressServiceImpl
extends java.lang.Object
implements AddressService

Author:
Jettro Coenradie

Constructor Summary
AddressServiceImpl(ContactRepository repository)
           
 
Method Summary
 java.util.List<ContactDTO> obtainAllContacts()
           
 java.util.List<AddressDTO> obtainContactAddresses(java.lang.String contactIdentifier)
           
 java.util.List<AddressDTO> searchAddresses(AddressDTO searchAddress)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddressServiceImpl

public AddressServiceImpl(ContactRepository repository)
Method Detail

searchAddresses

@RemotingInclude
public java.util.List<AddressDTO> searchAddresses(AddressDTO searchAddress)
Specified by:
searchAddresses in interface AddressService

obtainAllContacts

@RemotingInclude
public java.util.List<ContactDTO> obtainAllContacts()
Specified by:
obtainAllContacts in interface AddressService

obtainContactAddresses

@RemotingInclude
public java.util.List<AddressDTO> obtainContactAddresses(java.lang.String contactIdentifier)
Specified by:
obtainContactAddresses in interface AddressService


Copyright © 2010. All Rights Reserved.