|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bankframe.examples.bp.customersearch.CustomerSearchBean
This class defines the business logic of the CustomerSearch Session
Constructor Summary | |
CustomerSearchBean()
Default Constructor. |
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 |
findCustomersByFirstName(java.lang.String firstName)
This method retrieves all Customer entities with the specified first name. |
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. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CustomerSearchBean()
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
ownerId
- addressLine1
- addressLine2
- addressLine3
- addressLine4
- country
-
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
- the ID of the customer to retrieve
ProcessingErrorException
java.rmi.RemoteException
ValidationException
public Address getCustomerAddress(java.lang.String ownerId) throws ProcessingErrorException, ValidationException, java.rmi.RemoteException
ownerId
- the ID of the customer
ProcessingErrorException
java.rmi.RemoteException
ValidationException
public java.util.Enumeration findCustomersByFirstName(java.lang.String firstName) throws ProcessingErrorException, ValidationException, java.rmi.RemoteException
firstName
- the first name of the customers to retrieve
ProcessingErrorException
java.rmi.RemoteException
ValidationException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |