Package com.portal.web.comp
Class POnlinePaymentAuditBeanImpl
java.lang.Object
com.portal.bas.PControllerImpl
com.portal.web.comp.POnlinePaymentAuditBeanImpl
- All Implemented Interfaces:
PControllerBean,POnlinePaymentAuditBean,Serializable,Remote,Unreferenced
public class POnlinePaymentAuditBeanImpl
extends PControllerImpl
implements POnlinePaymentAuditBean, Serializable
POnlinePaymentAuditBeanImpl is a controller that
defines the Online Payment Audit Input Form
population and processing methods.- Version:
- %version: 10 % %date_modified: Mon Jan 21 16:46:22 2002 %
- Author:
- Senthil Vaiyapuri
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionFields inherited from class com.portal.bas.PControllerImpl
mFList, mRemoteListeners, UPDATE_CLIENT, UPDATE_MODEL_CHANGE, UPDATE_NEW_MODEL, UPDATE_PROPERTY -
Constructor Summary
ConstructorsConstructorDescriptionCreates the controller for online payment audit. -
Method Summary
Modifier and TypeMethodDescriptionGets the search results, which are returned as an array list.Gets the end date to use for searching.getMode()Gets the processing mode of the bean.getSelectionDataFor(String dataItem, int index) Used only for BASSwingclients.Gets the start date to use for searching.voidonlinepaymentaudit(PModelHandle mH, ResourceBundle bundle) Starts the online payment process.protected voidprocessChargeCCEvent(PCachedContext ctx, Poid eventPoid) Reads the /event/billing/charge/cc/event object, gets the relevant fields, and populates the resulting array.protected voidprocessPaymentCCEvent(PCachedContext ctx, Poid eventPoid) Reads the /event/billing/payment/cc/event object, gets the relevant fields, and populates the resulting array.protected voidSearches for the online payment audit events, and populates the result in a array list that is suitable for the JSP to display.voidsetEndTime(Date sEdate) Sets the end date to use for searching.voidSets the processing mode of the bean.voidsetStartTime(Date sSdate) Sets the start date to use for searching.voidUsed only for BASSwingclients.Methods inherited from class com.portal.bas.PControllerImpl
addRemoteListener, closeSecContext, createClientException, distributeEventToListeners, fireModelChangeEvent, getAppController, getArrayRange, getContext, getField, getField, getField, getFieldWithRestriction, getFieldWithRestriction, getFieldWithRestriction, getModel, getRemoteListenerHandle, getSecContext, handleDistributeToListener, isLight, register, releaseContext, releaseRemoteListener, removeRemoteListener, setField, setField, setModel, unreferenced
-
Field Details
-
mMode
-
mError
-
mStartDate
-
mEndDate
-
mAuditResults
-
-
Constructor Details
-
POnlinePaymentAuditBeanImpl
Creates the controller for online payment audit.- Throws:
RemoteException
-
-
Method Details
-
setStartTime
Sets the start date to use for searching.- Specified by:
setStartTimein interfacePOnlinePaymentAuditBean- Parameters:
sSDate- the starting date- Throws:
RemoteException
-
setEndTime
Sets the end date to use for searching.- Specified by:
setEndTimein interfacePOnlinePaymentAuditBean- Parameters:
sEdate- the ending date- Throws:
RemoteException
-
setMode
Sets the processing mode of the bean.- Specified by:
setModein interfacePOnlinePaymentAuditBean- Parameters:
sMode- aStringwith the processing mode to use:- "init" populates the form with default values
- "show" searches for audit events and shows the results
- Throws:
RemoteException
-
getMode
Gets the processing mode of the bean.- Specified by:
getModein interfacePOnlinePaymentAuditBean- Returns:
- A
Stringwith the processing mode to use:- "init" populates the form with default values
- "show" searches for audit events and shows the results
- Throws:
RemoteException
-
getStartTime
Gets the start date to use for searching.- Specified by:
getStartTimein interfacePOnlinePaymentAuditBean- Returns:
- The starting date.
- Throws:
RemoteException
-
getEndTime
Gets the end date to use for searching.- Specified by:
getEndTimein interfacePOnlinePaymentAuditBean- Returns:
- The ending date.
- Throws:
RemoteException
-
getAuditResults
Gets the search results, which are returned as an array list. Each array in the array list contains information to construct one table row in HTML.- Specified by:
getAuditResultsin interfacePOnlinePaymentAuditBean- Throws:
RemoteException
-
update
Used only for BASSwingclients. Default behavior in this case is to do nothing.- Specified by:
updatein classPControllerImpl- Parameters:
reason- an integer constant that indicates the reason for the update (UPDATE_NEW_MODEL,UPDATE_PROPERTY,UPDATE_MODEL_CHANGE, orUPDATE_CLIENT)data- the data associated withupdate
-
getSelectionDataFor
Used only for BASSwingclients. Default behavior in this case is to do nothing and return null.- Specified by:
getSelectionDataForin interfacePControllerBean- Parameters:
dataItem- the name of a data item. Must match the name of an item changed by sending aPViewDataChangeEvent.index- an optional index into an array data item- Returns:
- Usually, a model handle or array of model handles.
-
onlinepaymentaudit
Starts the online payment process. This is anActionmethod called by the Infranet Servlet. Depending on the processing mode, this method either populates the form with default values or takes in the form input and searches for online payment audit events and populates the result set.- Specified by:
onlinepaymentauditin interfacePOnlinePaymentAuditBean- Parameters:
mH- thePModelHandlefor the accountbundle- the resource bundle- Throws:
RemoteException- thrown for invalid processing modes
-
searchEvents
Searches for the online payment audit events, and populates the result in a array list that is suitable for the JSP to display.- Parameters:
mH- the account's model handle- Throws:
RemoteException- thrown for null contexts and invalid field descriptions
-
processChargeCCEvent
Reads the /event/billing/charge/cc/event object, gets the relevant fields, and populates the resulting array.- Parameters:
ctx- the context to the connection manager (CM)eventPoid- the POID for the event- Throws:
RemoteException
-
processPaymentCCEvent
Reads the /event/billing/payment/cc/event object, gets the relevant fields, and populates the resulting array.- Parameters:
ctx- the context to the connection manager (CM)eventPoid- the POID for the event- Throws:
RemoteException
-