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