|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface defines the remote interface of the CustomerSearch session ejb,
Method Summary | |
Customer |
amendCustomer(java.lang.String ownerId,
java.lang.String title,
java.lang.String firstName,
java.lang.String lastName)
This method amends all the details of the specified customer. |
Address |
amendCustomerAddress(java.lang.String ownerId,
java.lang.String addressLine1,
java.lang.String addressLine2,
java.lang.String addressLine3,
java.lang.String addressLine4,
java.lang.String country,
java.lang.String postCode)
This method amends the address details of the specified customer. |
java.util.Enumeration |
findAllCustomers()
This method retrieves all Customer entities. |
java.util.Enumeration |
findCustomersByLastName(java.lang.String lastName)
This method retrieves all Customer entities with the specified last name. |
Customer |
getCustomer(java.lang.String ownerId)
This method retrieves the Customer entity for the specified ownerId. |
Address |
getCustomerAddress(java.lang.String ownerId)
This method retrieves the Address entity associated with the specified Customer. |
Method Detail |
public Customer amendCustomer(java.lang.String ownerId, java.lang.String title, java.lang.String firstName, java.lang.String lastName) throws ValidationException, ProcessingErrorException, java.rmi.RemoteException
ownerId
- title
-
ProcessingErrorException
java.rmi.RemoteException
ValidationException
public Address amendCustomerAddress(java.lang.String ownerId, java.lang.String addressLine1, java.lang.String addressLine2, java.lang.String addressLine3, java.lang.String addressLine4, java.lang.String country, java.lang.String postCode) throws ValidationException, ProcessingErrorException, java.rmi.RemoteException
addressLine1
- addressLine2
- addressLine3
- addressLine4
- country
- postCode
-
ProcessingErrorException
java.rmi.RemoteException
ValidationException
public java.util.Enumeration findAllCustomers() throws ProcessingErrorException, ValidationException, java.rmi.RemoteException
ProcessingErrorException
java.rmi.RemoteException
ValidationException
public java.util.Enumeration findCustomersByLastName(java.lang.String lastName) throws ProcessingErrorException, ValidationException, java.rmi.RemoteException
lastName
- the last name of the customers to retrieve
ProcessingErrorException
java.rmi.RemoteException
ValidationException
public Customer getCustomer(java.lang.String ownerId) throws ProcessingErrorException, ValidationException, java.rmi.RemoteException
ownerId
-
ProcessingErrorException
java.rmi.RemoteException
ValidationException
public Address getCustomerAddress(java.lang.String ownerId) throws ProcessingErrorException, ValidationException, java.rmi.RemoteException
ownerId
- the ID of the customer to retrive the address of
ProcessingErrorException
java.rmi.RemoteException
ValidationException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |