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 BASSwing
clients.Gets the start date to use for searching.void
onlinepaymentaudit
(PModelHandle mH, ResourceBundle bundle) Starts the online payment process.protected void
processChargeCCEvent
(PCachedContext ctx, Poid eventPoid) Reads the /event/billing/charge/cc/event object, gets the relevant fields, and populates the resulting array.protected void
processPaymentCCEvent
(PCachedContext ctx, Poid eventPoid) Reads the /event/billing/payment/cc/event object, gets the relevant fields, and populates the resulting array.protected void
Searches for the online payment audit events, and populates the result in a array list that is suitable for the JSP to display.void
setEndTime
(Date sEdate) Sets the end date to use for searching.void
Sets the processing mode of the bean.void
setStartTime
(Date sSdate) Sets the start date to use for searching.void
Used only for BASSwing
clients.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:
setStartTime
in interfacePOnlinePaymentAuditBean
- Parameters:
sSDate
- the starting date- Throws:
RemoteException
-
setEndTime
Sets the end date to use for searching.- Specified by:
setEndTime
in interfacePOnlinePaymentAuditBean
- Parameters:
sEdate
- the ending date- Throws:
RemoteException
-
setMode
Sets the processing mode of the bean.- Specified by:
setMode
in interfacePOnlinePaymentAuditBean
- Parameters:
sMode
- aString
with 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:
getMode
in interfacePOnlinePaymentAuditBean
- Returns:
- A
String
with 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:
getStartTime
in interfacePOnlinePaymentAuditBean
- Returns:
- The starting date.
- Throws:
RemoteException
-
getEndTime
Gets the end date to use for searching.- Specified by:
getEndTime
in 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:
getAuditResults
in interfacePOnlinePaymentAuditBean
- Throws:
RemoteException
-
update
Used only for BASSwing
clients. Default behavior in this case is to do nothing.- Specified by:
update
in 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 BASSwing
clients. Default behavior in this case is to do nothing and return null.- Specified by:
getSelectionDataFor
in 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 anAction
method 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:
onlinepaymentaudit
in interfacePOnlinePaymentAuditBean
- Parameters:
mH
- thePModelHandle
for 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
-