public class POnlinePaymentAuditBeanImpl extends PControllerImpl implements POnlinePaymentAuditBean, Serializable
POnlinePaymentAuditBeanImpl is a controller that
defines the Online Payment Audit Input Form
population and processing methods.| Modifier and Type | Field and Description |
|---|---|
ArrayList |
mAuditResults |
Date |
mEndDate |
String |
mError |
String |
mMode |
Date |
mStartDate |
mFList, mRemoteListeners, UPDATE_CLIENT, UPDATE_MODEL_CHANGE, UPDATE_NEW_MODEL, UPDATE_PROPERTY| Constructor and Description |
|---|
POnlinePaymentAuditBeanImpl()
Creates the controller for online payment audit.
|
| Modifier and Type | Method and Description |
|---|---|
List |
getAuditResults()
Gets the search results, which are returned as
an array list.
|
Date |
getEndTime()
Gets the end date to use for searching.
|
String |
getMode()
Gets the processing mode of the bean.
|
Object |
getSelectionDataFor(String dataItem,
int index)
Used only for BAS
Swing clients. |
Date |
getStartTime()
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 |
searchEvents(PModelHandle mH)
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 |
setMode(String sMode)
Sets the processing mode of the bean.
|
void |
setStartTime(Date sSdate)
Sets the start date to use for searching.
|
void |
update(int reason,
Object data)
Used only for BAS
Swing clients. |
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, unreferencedpublic String mMode
public String mError
public Date mStartDate
public Date mEndDate
public ArrayList mAuditResults
public POnlinePaymentAuditBeanImpl()
throws RemoteException
RemoteExceptionpublic void setStartTime(Date sSdate) throws RemoteException
setStartTime in interface POnlinePaymentAuditBeansSDate - the starting dateRemoteExceptionpublic void setEndTime(Date sEdate) throws RemoteException
setEndTime in interface POnlinePaymentAuditBeansEdate - the ending dateRemoteExceptionpublic void setMode(String sMode) throws RemoteException
setMode in interface POnlinePaymentAuditBeansMode - a String with the processing mode
to use:RemoteExceptionpublic String getMode() throws RemoteException
getMode in interface POnlinePaymentAuditBeanString with the processing mode
to use:RemoteExceptionpublic Date getStartTime() throws RemoteException
getStartTime in interface POnlinePaymentAuditBeanRemoteExceptionpublic Date getEndTime() throws RemoteException
getEndTime in interface POnlinePaymentAuditBeanRemoteExceptionpublic List getAuditResults() throws RemoteException
getAuditResults in interface POnlinePaymentAuditBeanRemoteExceptionpublic void update(int reason,
Object data)
Swing clients.
Default behavior in this case is to do nothing.update in class PControllerImplreason - an integer constant that indicates the reason for the update
(UPDATE_NEW_MODEL, UPDATE_PROPERTY,
UPDATE_MODEL_CHANGE, or UPDATE_CLIENT)data - the data associated with updatepublic Object getSelectionDataFor(String dataItem, int index)
Swing clients.
Default behavior in this case is to do nothing
and return null.getSelectionDataFor in interface PControllerBeandataItem - the name of a data item. Must match the name of
an item changed by sending a PViewDataChangeEvent.index - an optional index into an array data itempublic void onlinepaymentaudit(PModelHandle mH, ResourceBundle bundle) throws RemoteException
Action
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.onlinepaymentaudit in interface POnlinePaymentAuditBeanmH - the PModelHandle for the accountbundle - the resource bundleRemoteException - thrown for invalid processing modesprotected void searchEvents(PModelHandle mH) throws RemoteException
mH - the account's model handleRemoteException - thrown for null contexts and invalid field descriptionsprotected void processChargeCCEvent(PCachedContext ctx, Poid eventPoid) throws RemoteException
ctx - the context to the connection manager (CM)eventPoid - the POID for the eventRemoteExceptionprotected void processPaymentCCEvent(PCachedContext ctx, Poid eventPoid) throws RemoteException
ctx - the context to the connection manager (CM)eventPoid - the POID for the eventRemoteExceptionCopyright © 2003, 2023, Oracle and/or its affiliates.