|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bankframe.examples.bp.customersearch.CustomerSearchBean
com.bankframe.examples.bp.impl.customersearch.CustomerSearchBean
public class CustomerSearchBean
This class marshalls methods calls and responses to/from DataPackets.
| Field Summary |
|---|
| Fields inherited from interface com.bankframe.ejb.ESession |
|---|
serialVersionUID |
| Constructor Summary | |
|---|---|
CustomerSearchBean()
Default Constructor. |
|
| Method Summary | |
|---|---|
Vector |
amendCustomer(DataPacket data)
This method amends all the details of the specified customer. |
Vector |
amendCustomerAddress(DataPacket data)
This method amends the address details of the specified customer. |
void |
ejbCreate()
This method initialises a CustomerSearch instance. |
Vector |
findCustomersByFirstName(DataPacket data)
This method retrieves all Customer entities with the specified first name. |
Vector |
findCustomersByLastName(DataPacket data)
This method retrieves all Customer entities with the specified last name. |
Vector |
getAllCustomers()
This method retrieves all Customer entities. |
Vector |
getCustomer(DataPacket data)
This method retrieves the Customer entity for the specified ownerId. |
Vector |
getCustomerAddress(DataPacket data)
This method retrieves the Address entity associated with the specified Customer |
Vector |
processDataPacket(DataPacket data)
This method processes a request DataPacket and delegates it to the appropriate method. |
Vector |
processDataPackets(Vector data)
This method processes multiple DataPacket requests. |
Vector |
txnHandlerBrokerAmendCustomer(DataPacket data)
This method amends all the details of the specified customer using TxnHandlerBroker. |
| Methods inherited from class com.bankframe.examples.bp.customersearch.CustomerSearchBean |
|---|
amendCustomer, amendCustomerAddress, findAllCustomers, findCustomersByFirstName, findCustomersByLastName, getCustomer, getCustomerAddress |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CustomerSearchBean()
| Method Detail |
|---|
public Vector amendCustomer(DataPacket data)
throws ValidationException,
ProcessingErrorException,
RemoteException
data - a DataPacket containing customer data
ProcessingErrorException
RemoteException
ValidationException
public Vector txnHandlerBrokerAmendCustomer(DataPacket data)
throws ValidationException,
ProcessingErrorException,
RemoteException
data - a DataPacket containing customer data
ProcessingErrorException
RemoteException
ValidationException
public Vector amendCustomerAddress(DataPacket data)
throws ValidationException,
ProcessingErrorException,
RemoteException
data - a DataPacket that contains ammendments
ProcessingErrorException
RemoteException
ValidationException
public void ejbCreate()
throws CreateException
CreateException
public Vector findCustomersByLastName(DataPacket data)
throws ProcessingErrorException,
ValidationException,
RemoteException
data - a DataPacket containing the last name to check for
ProcessingErrorException
RemoteException
ValidationException
public Vector getAllCustomers()
throws ProcessingErrorException,
ValidationException,
RemoteException
ProcessingErrorException
RemoteException
ValidationException
public Vector getCustomer(DataPacket data)
throws ProcessingErrorException,
ValidationException,
RemoteException
data - a DataPacket representing the ownerId
ProcessingErrorException
RemoteException
ValidationException
public Vector getCustomerAddress(DataPacket data)
throws ProcessingErrorException,
ValidationException,
RemoteException
data - a DataPacket representing the ownerId
ProcessingErrorException
RemoteException
ValidationException
public Vector processDataPacket(DataPacket data)
throws ProcessingErrorException,
RemoteException
processDataPacket in interface ESessiondata - a request Datapacket
ProcessingErrorException
RemoteException
public Vector processDataPackets(Vector data)
throws ProcessingErrorException,
RemoteException
processDataPackets in interface ESessiondata - a DataPacket representing the request
ProcessingErrorException
RemoteException
ValidationException
public Vector findCustomersByFirstName(DataPacket data)
throws ProcessingErrorException,
ValidationException,
RemoteException
data - a DataPacket containing the first name to check for
ProcessingErrorException
RemoteException
ValidationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||