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, unreferenced
public String mMode
public String mError
public Date mStartDate
public Date mEndDate
public ArrayList mAuditResults
public POnlinePaymentAuditBeanImpl() throws RemoteException
RemoteException
public void setStartTime(Date sSdate) throws RemoteException
setStartTime
in interface POnlinePaymentAuditBean
sSDate
- the starting dateRemoteException
public void setEndTime(Date sEdate) throws RemoteException
setEndTime
in interface POnlinePaymentAuditBean
sEdate
- the ending dateRemoteException
public void setMode(String sMode) throws RemoteException
setMode
in interface POnlinePaymentAuditBean
sMode
- a String
with the processing mode
to use:RemoteException
public String getMode() throws RemoteException
getMode
in interface POnlinePaymentAuditBean
String
with the processing mode
to use:RemoteException
public Date getStartTime() throws RemoteException
getStartTime
in interface POnlinePaymentAuditBean
RemoteException
public Date getEndTime() throws RemoteException
getEndTime
in interface POnlinePaymentAuditBean
RemoteException
public List getAuditResults() throws RemoteException
getAuditResults
in interface POnlinePaymentAuditBean
RemoteException
public void update(int reason, Object data)
Swing
clients.
Default behavior in this case is to do nothing.update
in class PControllerImpl
reason
- 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 update
public Object getSelectionDataFor(String dataItem, int index)
Swing
clients.
Default behavior in this case is to do nothing
and return null.getSelectionDataFor
in interface PControllerBean
dataItem
- 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 POnlinePaymentAuditBean
mH
- 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 eventRemoteException
protected void processPaymentCCEvent(PCachedContext ctx, Poid eventPoid) throws RemoteException
ctx
- the context to the connection manager (CM)eventPoid
- the POID for the eventRemoteException
Copyright © 2003, 2023, Oracle and/or its affiliates.