public class PPaymentPageBeanImpl extends PIAComponentCollectionBean implements PPaymentPageBean
mFList, mRemoteListeners, UPDATE_CLIENT, UPDATE_MODEL_CHANGE, UPDATE_NEW_MODEL, UPDATE_PROPERTY| Constructor and Description |
|---|
PPaymentPageBeanImpl()
put your documentation comment here
|
| Modifier and Type | Method and Description |
|---|---|
void |
addChilMH() |
void |
addSubordMH() |
void |
clear() |
PModelHandle |
createSubordPayhandle()
put your documentation comment here
|
void |
deletePayInfo(int index)
put your documentation comment here
|
com.portal.app.util.CustomerValErrorData[] |
deletePayInfo(PModelHandle payModel)
put your documentation comment here
|
Object[][] |
getAccountBillUnits(PModelHandle acctMH,
Vector parentBillUnitsV)
gets the bill unit details of the account
|
PModelHandle |
getAccountModel()
Returns the model handle of the account.
|
String |
getAccountNumberFromPoid(Poid acctPoid)
Returns the account number, i.e., contents of PIN_FLD_ACCOUNT_NO of /account object
|
HashMap<String,Poid> |
getAcctNameBUnameAndBillInfoMap()
Returns the HashMap containing the Account Name,Poid and Bill Unit Name as
key, BillInfo Poid as the Value.
|
void |
getARBillinfo(PModelHandle billMH,
int[] billIndex)
returns the parents bill info model handle
|
FList |
getArBillinfo(Poid arPoid) |
SparseArray |
getBalanceGroupsAndServicesArray(Poid tempBillInfoPoid) |
SparseArray |
getBalanceGroupsAndServicesArray(Poid tempBillInfoPoid,
Poid acctPoid) |
Hashtable<String,Vector> |
getbalGrpAndSvcFromPlanPoid(FList modelHandle) |
PModelHandle[] |
getBillInfo(boolean refresh,
PModelHandle parentMH)
gets the billinfo of the current account
|
Hashtable<String,Poid> |
getBillInfos(FList accFList) |
Object[][] |
getBillUnitDlgData(Poid billUnitPoid)
Returns the Object array containing the Child Account Name,Child Account Number and
Bill Unit Name to populate the table for concerned bill unit clicked in BillUnitDialog.
|
Hashtable<Poid,Vector> |
getbillUnitPoidHash() |
HashMap<String,String> |
getBUNameAndPaytypeParentBIMap()
returns the bill unit name and pay type-parent bill unit option map for the current account
|
PModelHandle[] |
getChildsModelHandle(FList in)
returns the childs of the current account model handle array
|
Vector<String> |
getDataForMoveAcctConfirmDlg(PModelHandle selectedAcctModelHandle,
Vector parentBillOption)
returns the data structure for move account confirmation dialog
|
Vector<String> |
getDataForTable(Vector parentBillOption)
returns the data for table in payments page.
|
Vector<String> |
getDefaultBalGrp(PModelHandle modelHandle) |
String |
getDefaultBillInfo() |
PModelHandle |
getDefaultPaymentInfo(PModelHandle billhandle,
int[] paymentIndex) |
Hashtable<String,FList> |
getDetailedBillInfos(FList accFList) |
PModelHandle |
getExemptionsTableModel(PModelHandle exTblModel,
PTaxExemptionData pTaxData,
boolean bIsChanging,
String vatCertificate)
Gets the Model Handle of the exemption table
|
int |
getExemptionType(PModelHandle mh)
Gets the exemption type of a row selected in the exemption table.
|
PModelHandle |
getModelForSettingNextBillingStartAndEnd(Date start,
Date end)
Returns the model containing the fields for next billing start and end
dates
|
PModelHandle |
getModelHandle()
get the model handle.
|
Poid |
getNewPayInfoObject()
Returns Newly created payment info object details
|
int |
getNoOfBU()
returns the bill info count for the current active account.
|
Object |
getOpenBIlls(FList balInfoList)
returns true if there is any open bill amount else false
|
String |
getParentAccountNumber()
Returns the parent account number, i.e., contents of PIN_FLD_ACCOUNT_NO of /account object
|
Poid |
getParentAccountPoid()
returns the parent account poid of the current account
|
long |
getParentAcctNum()
returns the parent account number of the current account.
|
PModelHandle[] |
getParentBillInfo()
put your documentation comment here
|
Hashtable<Integer,String> |
getParentBills()
put your documentation comment here
|
int |
getParentBillUnitsChildCount(String buName,
Poid poid)
for the given bill unit name and bill info poid this method returns the child count
|
HashMap<String,Poid> |
getParentBUARBillInfoObjMap()
returns the parents bill unit and ar bill info object map
|
PModelHandle |
getParentModelHandle()
returns the parent model handle which was set using setParentModelHandle() method
|
PModelHandle[] |
getPayInfo() |
PModelHandle[] |
getPayInfo(PModelHandle acctMh) |
Poid |
getPayInfoObj(int payTYPE,
String payMethod,
FList payMet)
this method gets the Pay info object poid for the selected pay method
|
int |
getPaymentIndex(String className)
Gives the payment index for the given payment class
|
FList |
getPaymentInfo() |
Vector |
getPaymentMethods()
put your documentation comment here
|
HashMap<String,String> |
getPaymentOptions()
put your documentation comment here
|
Hashtable<Integer,PModelHandle> |
getPayments() |
PModelHandle |
getPaymentTblModel(PModelHandle arMh,
boolean bIsSub,
PARPaymentSearchCriteria pPmtSearchCriteria)
Gets the model handle of the payment table
|
HashMap<Integer,String> |
getPaytypesPayinfoMap()
does search in /config/payment object and forms paytype and payinfo type
as key and value maps
serch template :
0 PIN_FLD_RESULTS ARRAY [*] allocated 1, used 1
1 PIN_FLD_PAY_TYPES ARRAY [*] allocated 1, used 1
2 PIN_FLD_PAYINFO_TYPE STR [0] NULL
0 PIN_FLD_POID POID [0] 0.0.0.1 /search -1 0
0 PIN_FLD_ARGS ARRAY [1] allocated 1, used 1
1 PIN_FLD_POID POID [0] 0.0.0.1 /config/payment -1 0
0 PIN_FLD_TEMPLATE STR [0] "select X from /config/payment where F1 like V1 "
0 PIN_FLD_FLAGS INT [0] 256
|
FList |
getPurchasedDataInfo(Poid aPoid) |
int |
getResponsibleForOtherAcctCount(FList billUnitFList)
uses search to return the count of child bill units to which this current accounts bill unit pays directly.
|
List<PModelHandle> |
getServicesForBillInfo(PModelHandle pm,
PModelHandle[] servHandle)
put your documentation comment here
|
ArrayList<PModelHandle> |
getServicesFromMH(PModelHandle mhandle)
put your documentation comment here
|
Object[][] |
getShowAllParentsBillUnits(Vector parentMhV)
returns the data of all the parents which are there in currenct account hierarchy
|
boolean |
IsAccountDDebit()
The payment type of this account
|
boolean |
isAccountIncorporated()
Determines if this account is incorporated inside a city
|
boolean |
isAccountInHierarchy()
this finds if the current account is in hierarchy or not
|
boolean |
isAccountInHierarchy(PModelHandle acctHandle)
this method finds if the account is in hierarchy or not for account poid given in the acctHandle
|
boolean |
isInvoiceNameExists(FList inFlist)
returns true if the invoice name mentioned in the inFlist already exists
|
com.portal.app.util.CustomerValErrorData[] |
modifyPayInfo(PModelHandle payModel,
int index)
This validates the payinfo and stores, not committing to server
|
FList |
populateBalanceGroupInfo(PModelHandle mh,
boolean isPlanOption,
boolean isCollectData)
method used to populate PIN_FLD_BALINFO array to the plan model handle,
if isPlanOption is true then it will remove non-purchased deals from the original model handle
|
PModelHandle |
prepareModel(PModelHandle model)
Removes FldInheritedInfo from the model handle.
|
void |
readARBillInfoObj(boolean isAcctCreation) |
void |
readARBillInfoObj(PModelHandle handle)
reads the ar bill info for the given account given in the model handle
|
HashMap<String,Poid> |
readParentBillInfoObj()
reads the parents bill unit name and the corresponding billinfo poid
|
HashMap<String,Poid> |
readParentBillInfoObj(PModelHandle handle)
reads billinfo object for the given account in the model handle
|
PModelHandle |
readPayinfoDdObj()
Reads the /payinfo/dd object
|
PModelHandle |
readPaymentDetails(PModelHandle payHandle)
reads the payment details of the model and forms the model handle of the payment details and sends back
|
PModelHandle |
readServiceObj(Poid servPoid)
put your documentation comment here
|
void |
refreshPaymentMH(Vector paymentInfo) |
void |
refreshPayMH(int payIndex,
boolean isSubordinate)
put your documentation comment here
|
void |
removeBalInfoIndex(PModelHandle model)
This method will remove 'PIN_FLD_BAL_INFO_INDEX' under Services FList during Plan Purchase
If there are multiple services,get the index of PIN_FLD_BAL_INFO_INDEX in each service,search for an balinfo
array at that index in the main flist and if it does not exist remove the PIN_FLD_BAL_INFO_INDEX from the services flist
If there is only one service array and if it contains PIN_FLD_BAL_INFO_INDEX and if the main flist does not contain
the balinfo array,then also remove the PIN_FLD_BAL_INFO_INDEX from the service flist
|
com.portal.app.util.CustomerValErrorData[] |
save(PModelHandle act,
PTaxExemptionData pTaxData,
PModelHandle modl)
This saves the Billing cycle related info and Taxsetup related info.
|
void |
setModelHandle(PModelHandle mHandle)
to set the model handle.
|
void |
setNoOfBU(int size)
sets the bill info count for the current selected account
|
void |
setParentAccountPoid(PModelHandle parentMH)
sets the parent account poid
|
void |
setParentModelHandle(PModelHandle mAccountHandle)
sets the parent model handle
|
com.portal.app.util.CustomerValErrorData[] |
setPayInfo(PModelHandle accModel,
PModelHandle payModel)
This method calls the CUST_SET_PAYINFO opcode to create/modify the payment methods.
|
PModelHandle[] |
setPaymentMethodArray()
put your documentation comment here
|
void |
setPaymentMethods(Vector paymentMethods)
Set the payment methods
|
void |
update(int reason,
Object incoming)
put your documentation comment here
|
boolean |
updateBillInfoDetails(FList billInfo)
updates the payment and billinfo details, it calls CUST_SET_BILLINFO opcodes to perform the same
|
boolean |
updateBillInfoDetails(PModelHandle billMH,
int payType,
int billType,
boolean isSubordinate) |
FList |
updateBUName(FList itemFlist)
reads the bill info id by passing bill info poid and updates the billinfo id to the FList passed.
|
FList |
updatePaymentMethod(FList itemFlist)
This method adds the PayType and sets it to 0, if it is not found in the FList
|
void |
updatePaymentOptions(String debitNo,
String maskedNo)
This method will keep the hashmap updated with the actual debitNo and the masked debit No
|
void |
updatePaymentToMH(int payDefault,
PModelHandle billMH,
PModelHandle eventMH)
put your documentation comment here
|
com.portal.app.util.CustomerValErrorData[] |
validatePayInfo(PModelHandle payModel)
put your documentation comment here
|
addChild, getCollectedData, getSelectionDataFor, removeChildaddRemoteListener, 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, unreferencedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddRemoteListener, getArrayRange, getModel, getRemoteListenerHandle, isLight, register, releaseRemoteListener, removeRemoteListener, setModelpublic PPaymentPageBeanImpl()
throws RemoteException
RemoteExceptionpublic PModelHandle createSubordPayhandle()
public void update(int reason,
Object incoming)
throws RemoteException
update in class PIAComponentCollectionBeanreason - incoming - RemoteExceptionpublic PModelHandle getModelForSettingNextBillingStartAndEnd(Date start, Date end) throws RemoteException
getModelForSettingNextBillingStartAndEnd in interface PPaymentPageBeanstart - begining date of the next billing cycleend - date of the next billing cycleRemoteExceptionpublic PModelHandle readPayinfoDdObj() throws RemoteException
readPayinfoDdObj in interface PPaymentPageBeanRemoteExceptionpublic PModelHandle readServiceObj(Poid servPoid) throws RemoteException
servPoid - RemoteExceptionpublic void readARBillInfoObj(PModelHandle handle)
handle - PModelHandlepublic void readARBillInfoObj(boolean isAcctCreation)
readARBillInfoObj in interface PPaymentPageBeanpublic HashMap<String,Poid> readParentBillInfoObj(PModelHandle handle)
handle - PModelHandle, contains the acccount poidpublic void setParentModelHandle(PModelHandle mAccountHandle)
mAccountHandle - PModelHandlepublic PModelHandle getParentModelHandle()
public PModelHandle[] getParentBillInfo()
getParentBillInfo in interface PPaymentPageBeanpublic PModelHandle[] getBillInfo(boolean refresh, PModelHandle parentMH) throws RemoteException
getBillInfo in interface PPaymentPageBeanrefresh - booleanparentMH - PModelHandleRemoteExceptionpublic PModelHandle[] getChildsModelHandle(FList in)
public Object[][] getShowAllParentsBillUnits(Vector parentMhV)
parentMhV - Vector, list of parents which are in the current account hierarchy.public Poid getParentAccountPoid() throws RemoteException
RemoteExceptionpublic HashMap<String,Poid> getParentBUARBillInfoObjMap()
public HashMap<String,Poid> readParentBillInfoObj()
public void setParentAccountPoid(PModelHandle parentMH)
parentMH - PModelHandle this is parent account's model handlepublic void setNoOfBU(int size)
size - intpublic int getNoOfBU()
public Vector<String> getDataForTable(Vector parentBillOption) throws Exception
parentBillOption - Vector, parents billinfosExceptionpublic HashMap<String,String> getBUNameAndPaytypeParentBIMap()
public Vector<String> getDataForMoveAcctConfirmDlg(PModelHandle selectedAcctModelHandle, Vector parentBillOption) throws Exception
parentBillOption - VectorExceptionpublic HashMap<String,String> getPaymentOptions() throws RemoteException
getPaymentOptions in interface PPaymentPageBeanRemoteExceptionpublic Object[][] getAccountBillUnits(PModelHandle acctMH, Vector parentBillUnitsV) throws RemoteException
acctMH - PModelHandle, contains the account poid to which details have to be gotparentBillUnitsV - Vector, parents billinfo of the account poid which is sent acctMHRemoteExceptionpublic HashMap<String,Poid> getAcctNameBUnameAndBillInfoMap()
public PModelHandle readPaymentDetails(PModelHandle payHandle) throws RemoteException
readPaymentDetails in interface PPaymentPageBeanpayHandle - RemoteExceptionpublic void addSubordMH()
public void refreshPayMH(int payIndex,
boolean isSubordinate)
refreshPayMH in interface PPaymentPageBeanpayIndex - isSubordinate - public void refreshPaymentMH(Vector paymentInfo)
refreshPaymentMH in interface PPaymentPageBeanpublic void updatePaymentToMH(int payDefault,
PModelHandle billMH,
PModelHandle eventMH)
throws RemoteException
updatePaymentToMH in interface PPaymentPageBeanpayDefault - billMH - eventMH - RemoteExceptionpublic boolean updateBillInfoDetails(FList billInfo) throws RemoteException
updateBillInfoDetails in interface PPaymentPageBeanbillInfo - FList, list contains payment type and bill info detailRemoteExceptionpublic boolean updateBillInfoDetails(PModelHandle billMH, int payType, int billType, boolean isSubordinate) throws RemoteException
updateBillInfoDetails in interface PPaymentPageBeanRemoteExceptionpublic int getResponsibleForOtherAcctCount(FList billUnitFList) throws Exception
billUnitFList - FList, contains the ar bill info object and payment type information of the current
accounts bill unit to which the method has to find the direct childersExceptionpublic int getParentBillUnitsChildCount(String buName, Poid poid) throws Exception
buName - String name of the bill unit from the payment billing method comboboxpoid - Poid billinfo poidExceptionpublic PModelHandle[] getPayInfo(PModelHandle acctMh) throws RemoteException
RemoteExceptionpublic PModelHandle getDefaultPaymentInfo(PModelHandle billhandle, int[] paymentIndex) throws RemoteException
getDefaultPaymentInfo in interface PPaymentPageBeanRemoteExceptionpublic boolean isAccountInHierarchy()
throws RemoteException
isAccountInHierarchy in interface PPaymentPageBeanRemoteExceptionpublic boolean isAccountInHierarchy(PModelHandle acctHandle) throws RemoteException
acctHandle - PModelHandle, contains the account poid to which the method has to check if account is
in hierarchy or not. This method uses BILL_GROUP_GET_PARENT opcode do the same.RemoteExceptionpublic void getARBillinfo(PModelHandle billMH, int[] billIndex) throws RemoteException
getARBillinfo in interface PPaymentPageBeanbillMH - PModelHandlebillIndex - int[]RemoteExceptionpublic long getParentAcctNum()
getParentAcctNum in interface PPaymentPageBeanpublic String getParentAccountNumber()
getParentAccountNumber in interface PPaymentPageBeanpublic String getAccountNumberFromPoid(Poid acctPoid)
public List<PModelHandle> getServicesForBillInfo(PModelHandle pm, PModelHandle[] servHandle) throws RemoteException
getServicesForBillInfo in interface PPaymentPageBeanpm - servHandle[] - RemoteExceptionpublic void addChilMH()
public SparseArray getBalanceGroupsAndServicesArray(Poid tempBillInfoPoid, Poid acctPoid) throws RemoteException
RemoteExceptionpublic Hashtable<Integer,PModelHandle> getPayments()
getPayments in interface PPaymentPageBeanpublic Hashtable<Integer,String> getParentBills()
getParentBills in interface PPaymentPageBeanpublic FList getPaymentInfo() throws RemoteException
getPaymentInfo in interface PPaymentPageBeanRemoteExceptionpublic PModelHandle[] getPayInfo() throws RemoteException
getPayInfo in interface PPaymentPageBeanRemoteExceptionpublic void updatePaymentOptions(String debitNo, String maskedNo)
updatePaymentOptions in interface PPaymentPageBeanpublic ArrayList<PModelHandle> getServicesFromMH(PModelHandle mhandle) throws RemoteException
getServicesFromMH in interface PPaymentPageBeanmhandle - RemoteExceptionpublic PModelHandle getPaymentTblModel(PModelHandle arMh, boolean bIsSub, PARPaymentSearchCriteria pPmtSearchCriteria) throws RemoteException
getPaymentTblModel in interface PPaymentPageBeanarMh - AR account modelhandlebIsSub - Is this a subordinate accountpPmtSearchCriteria - Class that has the saved payment search criteria from the dialogRemoteExceptionpublic FList updatePaymentMethod(FList itemFlist) throws RemoteException
itemFlist - FListRemoteExceptionpublic FList updateBUName(FList itemFlist) throws RemoteException
itemFlist - FListRemoteExceptionpublic PModelHandle getExemptionsTableModel(PModelHandle exTblModel, PTaxExemptionData pTaxData, boolean bIsChanging, String vatCertificate) throws RemoteException
getExemptionsTableModel in interface PPaymentPageBeanexTblModel - Model Handle of the tablepTaxData - Tax Exemption Data that needs to be added.
Will be ignored if changing or deleting exemptions.bIsChanging - True if changing or deleting. False if adding exemptionsRemoteExceptionpublic int getExemptionType(PModelHandle mh) throws RemoteException
getExemptionType in interface PPaymentPageBeanmh - model handle of the row selected in the exemptions tableRemoteExceptionpublic PModelHandle getAccountModel()
getAccountModel in interface PPaymentPageBeanpublic boolean IsAccountDDebit()
IsAccountDDebit in interface PPaymentPageBeanpublic boolean isAccountIncorporated()
isAccountIncorporated in interface PPaymentPageBeanpublic com.portal.app.util.CustomerValErrorData[] save(PModelHandle act, PTaxExemptionData pTaxData, PModelHandle modl) throws RemoteException
save in interface PPaymentPageBeanact - toSave - RemoteExceptionpublic void clear()
throws RemoteException
clear in interface PPaymentPageBeanRemoteExceptionpublic com.portal.app.util.CustomerValErrorData[] modifyPayInfo(PModelHandle payModel, int index) throws RemoteException
modifyPayInfo in interface PPaymentPageBeanpayModel - index - RemoteExceptionpublic com.portal.app.util.CustomerValErrorData[] validatePayInfo(PModelHandle payModel) throws RemoteException
validatePayInfo in interface PPaymentPageBeanpayModel - RemoteExceptionpublic void deletePayInfo(int index)
throws RemoteException
deletePayInfo in interface PPaymentPageBeanindex - RemoteExceptionpublic com.portal.app.util.CustomerValErrorData[] deletePayInfo(PModelHandle payModel) throws RemoteException
deletePayInfo in interface PPaymentPageBeanpayModel - RemoteExceptionpublic Poid getNewPayInfoObject()
getNewPayInfoObject in interface PPaymentPageBeanpublic com.portal.app.util.CustomerValErrorData[] setPayInfo(PModelHandle accModel, PModelHandle payModel) throws RemoteException
setPayInfo in interface PPaymentPageBeanaccModel - Account model passed to retrieve the account poid.payModel - Payment method model to be saved.RemoteExceptionpublic Vector getPaymentMethods()
getPaymentMethods in interface PPaymentPageBeanpublic PModelHandle[] setPaymentMethodArray()
public Hashtable<String,Vector> getbalGrpAndSvcFromPlanPoid(FList modelHandle) throws RemoteException
getbalGrpAndSvcFromPlanPoid in interface PPaymentPageBeanRemoteExceptionpublic Vector<String> getDefaultBalGrp(PModelHandle modelHandle) throws RemoteException
getDefaultBalGrp in interface PPaymentPageBeanRemoteExceptionpublic FList populateBalanceGroupInfo(PModelHandle mh, boolean isPlanOption, boolean isCollectData)
populateBalanceGroupInfo in interface PPaymentPageBeanmh - plan modelhandleisPlanOption - flag to indicate if the selected plan is plan with optionisCollectData - flag to indicate if method is called during collectDatapublic HashMap<Integer,String> getPaytypesPayinfoMap()
public String getDefaultBillInfo() throws RemoteException
getDefaultBillInfo in interface PPaymentPageBeanRemoteExceptionpublic Hashtable<String,FList> getDetailedBillInfos(FList accFList)
getDetailedBillInfos in interface PPaymentPageBeanpublic Hashtable<String,Poid> getBillInfos(FList accFList)
getBillInfos in interface PPaymentPageBeanpublic SparseArray getBalanceGroupsAndServicesArray(Poid tempBillInfoPoid) throws RemoteException
getBalanceGroupsAndServicesArray in interface PPaymentPageBeanRemoteExceptionpublic FList getPurchasedDataInfo(Poid aPoid) throws RemoteException
getPurchasedDataInfo in interface PPaymentPageBeanRemoteExceptionpublic Object getOpenBIlls(FList balInfoList)
balInfoList - FListpublic Poid getPayInfoObj(int payTYPE, String payMethod, FList payMet) throws Exception
payTYPE - int actual pay type number for the selected pay method, this will help in deciding the pay info strings.
like if payTYPE is 10001 then the pay info is going to be "/payinfo/invoicepayMethod - String selected payment method from payment method column combobox, this would help in getting the billinfo poid.payMet - FList is the payment infromation of the current accountExceptionpublic Object[][] getBillUnitDlgData(Poid billUnitPoid) throws RemoteException
RemoteExceptionpublic void setModelHandle(PModelHandle mHandle)
setModelHandle in interface PPaymentPageBeanmHandle - PModelHandlepublic PModelHandle getModelHandle()
getModelHandle in interface PPaymentPageBeanpublic PModelHandle prepareModel(PModelHandle model) throws RemoteException
RemoteExceptionpublic int getPaymentIndex(String className) throws RemoteException
RemoteExceptionpublic boolean isInvoiceNameExists(FList inFlist)
isInvoiceNameExists in interface PPaymentPageBeaninFlist - FListpublic void removeBalInfoIndex(PModelHandle model)
removeBalInfoIndex in interface PPaymentPageBeanmodel - public void setPaymentMethods(Vector paymentMethods)
vecotr - vector of payment methodsCopyright © 2003, 2023, Oracle and/or its affiliates.