|
|||||||||||
| 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
|
+--com.bankframe.examples.bp.impl.customersearch.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 | |
java.util.Vector |
amendCustomer(DataPacket data)
This method amends all the details of the specified customer. |
java.util.Vector |
amendCustomerAddress(DataPacket data)
This method amends the address details of the specified customer. |
void |
ejbCreate()
This method initialises a CustomerSearch instance. |
java.util.Vector |
findCustomersByFirstName(DataPacket data)
This method retrieves all Customer entities with the specified first name. |
java.util.Vector |
findCustomersByLastName(DataPacket data)
This method retrieves all Customer entities with the specified last name. |
java.util.Vector |
getAllCustomers()
This method retrieves all Customer entities. |
java.util.Vector |
getCustomer(DataPacket data)
This method retrieves the Customer entity for the specified ownerId. |
java.util.Vector |
getCustomerAddress(DataPacket data)
This method retrieves the Address entity associated with the specified Customer |
java.util.Vector |
processDataPacket(DataPacket data)
This method processes a request DataPacket and delegates it to the appropriate method. |
java.util.Vector |
processDataPackets(java.util.Vector data)
This method processes multiple DataPacket requests. |
java.util.Vector |
txnHandlerBrokerAmendCustomer(DataPacket data)
This method amends all the details of the specified customer using TxnHandlerBroker. |
java.util.Vector |
txnHandlerBrokerAmendCustomerAddress(DataPacket data)
This method amends the address details of the specified customer using TxnHandlerBroker If TxnHandlerBroker.amend() returns a Vector with DataPacket attribute STATUS = OK then return the amended datapacket values. |
| 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 java.util.Vector amendCustomer(DataPacket data)
throws ValidationException,
ProcessingErrorException,
java.rmi.RemoteException
data - a DataPacket containing customer data
ProcessingErrorException
java.rmi.RemoteException
ValidationException
public java.util.Vector txnHandlerBrokerAmendCustomer(DataPacket data)
throws ValidationException,
ProcessingErrorException,
java.rmi.RemoteException
data - a DataPacket containing customer data
ProcessingErrorException
java.rmi.RemoteException
ValidationException
public java.util.Vector txnHandlerBrokerAmendCustomerAddress(DataPacket data)
throws ValidationException,
ProcessingErrorException,
java.rmi.RemoteException
data - a DataPacket that contains ammendments
ProcessingErrorException
java.rmi.RemoteException
ValidationException
public java.util.Vector amendCustomerAddress(DataPacket data)
throws ValidationException,
ProcessingErrorException,
java.rmi.RemoteException
data - a DataPacket that contains ammendments
ProcessingErrorException
java.rmi.RemoteException
ValidationException
public void ejbCreate()
throws javax.ejb.CreateException
javax.ejb.CreateException
public java.util.Vector findCustomersByLastName(DataPacket data)
throws ProcessingErrorException,
ValidationException,
java.rmi.RemoteException
data - a DataPacket containing the last name to check for
ProcessingErrorException
java.rmi.RemoteException
ValidationException
public java.util.Vector getAllCustomers()
throws ProcessingErrorException,
ValidationException,
java.rmi.RemoteException
ProcessingErrorException
java.rmi.RemoteException
ValidationException
public java.util.Vector getCustomer(DataPacket data)
throws ProcessingErrorException,
ValidationException,
java.rmi.RemoteException
data - a DataPacket representing the ownerId
ProcessingErrorException
java.rmi.RemoteException
ValidationException
public java.util.Vector getCustomerAddress(DataPacket data)
throws ProcessingErrorException,
ValidationException,
java.rmi.RemoteException
data - a DataPacket representing the ownerId
ProcessingErrorException
java.rmi.RemoteException
ValidationException
public java.util.Vector processDataPacket(DataPacket data)
throws ProcessingErrorException,
java.rmi.RemoteException
processDataPacket in interface ESessiondata - a request Datapacket
ProcessingErrorException
java.rmi.RemoteException
public java.util.Vector processDataPackets(java.util.Vector data)
throws ProcessingErrorException,
java.rmi.RemoteException
processDataPackets in interface ESessiondata - a DataPacket representing the request
ProcessingErrorException
java.rmi.RemoteException
ValidationException
public java.util.Vector findCustomersByFirstName(DataPacket data)
throws ProcessingErrorException,
ValidationException,
java.rmi.RemoteException
data - a DataPacket containing the first name to check for
ProcessingErrorException
java.rmi.RemoteException
ValidationException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||