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, removeChild
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addRemoteListener, getArrayRange, getModel, getRemoteListenerHandle, isLight, register, releaseRemoteListener, removeRemoteListener, setModel
public PPaymentPageBeanImpl() throws RemoteException
RemoteException
public PModelHandle createSubordPayhandle()
public void update(int reason, Object incoming) throws RemoteException
update
in class PIAComponentCollectionBean
reason
- incoming
- RemoteException
public PModelHandle getModelForSettingNextBillingStartAndEnd(Date start, Date end) throws RemoteException
getModelForSettingNextBillingStartAndEnd
in interface PPaymentPageBean
start
- begining date of the next billing cycleend
- date of the next billing cycleRemoteException
public PModelHandle readPayinfoDdObj() throws RemoteException
readPayinfoDdObj
in interface PPaymentPageBean
RemoteException
public PModelHandle readServiceObj(Poid servPoid) throws RemoteException
servPoid
- RemoteException
public void readARBillInfoObj(PModelHandle handle)
handle
- PModelHandlepublic void readARBillInfoObj(boolean isAcctCreation)
readARBillInfoObj
in interface PPaymentPageBean
public 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 PPaymentPageBean
public PModelHandle[] getBillInfo(boolean refresh, PModelHandle parentMH) throws RemoteException
getBillInfo
in interface PPaymentPageBean
refresh
- booleanparentMH
- PModelHandleRemoteException
public 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
RemoteException
public 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 billinfosException
public HashMap<String,String> getBUNameAndPaytypeParentBIMap()
public Vector<String> getDataForMoveAcctConfirmDlg(PModelHandle selectedAcctModelHandle, Vector parentBillOption) throws Exception
parentBillOption
- VectorException
public HashMap<String,String> getPaymentOptions() throws RemoteException
getPaymentOptions
in interface PPaymentPageBean
RemoteException
public 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 acctMHRemoteException
public HashMap<String,Poid> getAcctNameBUnameAndBillInfoMap()
public PModelHandle readPaymentDetails(PModelHandle payHandle) throws RemoteException
readPaymentDetails
in interface PPaymentPageBean
payHandle
- RemoteException
public void addSubordMH()
public void refreshPayMH(int payIndex, boolean isSubordinate)
refreshPayMH
in interface PPaymentPageBean
payIndex
- isSubordinate
- public void refreshPaymentMH(Vector paymentInfo)
refreshPaymentMH
in interface PPaymentPageBean
public void updatePaymentToMH(int payDefault, PModelHandle billMH, PModelHandle eventMH) throws RemoteException
updatePaymentToMH
in interface PPaymentPageBean
payDefault
- billMH
- eventMH
- RemoteException
public boolean updateBillInfoDetails(FList billInfo) throws RemoteException
updateBillInfoDetails
in interface PPaymentPageBean
billInfo
- FList, list contains payment type and bill info detailRemoteException
public boolean updateBillInfoDetails(PModelHandle billMH, int payType, int billType, boolean isSubordinate) throws RemoteException
updateBillInfoDetails
in interface PPaymentPageBean
RemoteException
public 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 childersException
public int getParentBillUnitsChildCount(String buName, Poid poid) throws Exception
buName
- String name of the bill unit from the payment billing method comboboxpoid
- Poid billinfo poidException
public PModelHandle[] getPayInfo(PModelHandle acctMh) throws RemoteException
RemoteException
public PModelHandle getDefaultPaymentInfo(PModelHandle billhandle, int[] paymentIndex) throws RemoteException
getDefaultPaymentInfo
in interface PPaymentPageBean
RemoteException
public boolean isAccountInHierarchy() throws RemoteException
isAccountInHierarchy
in interface PPaymentPageBean
RemoteException
public 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.RemoteException
public void getARBillinfo(PModelHandle billMH, int[] billIndex) throws RemoteException
getARBillinfo
in interface PPaymentPageBean
billMH
- PModelHandlebillIndex
- int[]RemoteException
public long getParentAcctNum()
getParentAcctNum
in interface PPaymentPageBean
public String getParentAccountNumber()
getParentAccountNumber
in interface PPaymentPageBean
public String getAccountNumberFromPoid(Poid acctPoid)
public List<PModelHandle> getServicesForBillInfo(PModelHandle pm, PModelHandle[] servHandle) throws RemoteException
getServicesForBillInfo
in interface PPaymentPageBean
pm
- servHandle[]
- RemoteException
public void addChilMH()
public SparseArray getBalanceGroupsAndServicesArray(Poid tempBillInfoPoid, Poid acctPoid) throws RemoteException
RemoteException
public Hashtable<Integer,PModelHandle> getPayments()
getPayments
in interface PPaymentPageBean
public Hashtable<Integer,String> getParentBills()
getParentBills
in interface PPaymentPageBean
public FList getPaymentInfo() throws RemoteException
getPaymentInfo
in interface PPaymentPageBean
RemoteException
public PModelHandle[] getPayInfo() throws RemoteException
getPayInfo
in interface PPaymentPageBean
RemoteException
public void updatePaymentOptions(String debitNo, String maskedNo)
updatePaymentOptions
in interface PPaymentPageBean
public ArrayList<PModelHandle> getServicesFromMH(PModelHandle mhandle) throws RemoteException
getServicesFromMH
in interface PPaymentPageBean
mhandle
- RemoteException
public PModelHandle getPaymentTblModel(PModelHandle arMh, boolean bIsSub, PARPaymentSearchCriteria pPmtSearchCriteria) throws RemoteException
getPaymentTblModel
in interface PPaymentPageBean
arMh
- AR account modelhandlebIsSub
- Is this a subordinate accountpPmtSearchCriteria
- Class that has the saved payment search criteria from the dialogRemoteException
public FList updatePaymentMethod(FList itemFlist) throws RemoteException
itemFlist
- FListRemoteException
public FList updateBUName(FList itemFlist) throws RemoteException
itemFlist
- FListRemoteException
public PModelHandle getExemptionsTableModel(PModelHandle exTblModel, PTaxExemptionData pTaxData, boolean bIsChanging, String vatCertificate) throws RemoteException
getExemptionsTableModel
in interface PPaymentPageBean
exTblModel
- 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 exemptionsRemoteException
public int getExemptionType(PModelHandle mh) throws RemoteException
getExemptionType
in interface PPaymentPageBean
mh
- model handle of the row selected in the exemptions tableRemoteException
public PModelHandle getAccountModel()
getAccountModel
in interface PPaymentPageBean
public boolean IsAccountDDebit()
IsAccountDDebit
in interface PPaymentPageBean
public boolean isAccountIncorporated()
isAccountIncorporated
in interface PPaymentPageBean
public com.portal.app.util.CustomerValErrorData[] save(PModelHandle act, PTaxExemptionData pTaxData, PModelHandle modl) throws RemoteException
save
in interface PPaymentPageBean
act
- toSave
- RemoteException
public void clear() throws RemoteException
clear
in interface PPaymentPageBean
RemoteException
public com.portal.app.util.CustomerValErrorData[] modifyPayInfo(PModelHandle payModel, int index) throws RemoteException
modifyPayInfo
in interface PPaymentPageBean
payModel
- index
- RemoteException
public com.portal.app.util.CustomerValErrorData[] validatePayInfo(PModelHandle payModel) throws RemoteException
validatePayInfo
in interface PPaymentPageBean
payModel
- RemoteException
public void deletePayInfo(int index) throws RemoteException
deletePayInfo
in interface PPaymentPageBean
index
- RemoteException
public com.portal.app.util.CustomerValErrorData[] deletePayInfo(PModelHandle payModel) throws RemoteException
deletePayInfo
in interface PPaymentPageBean
payModel
- RemoteException
public Poid getNewPayInfoObject()
getNewPayInfoObject
in interface PPaymentPageBean
public com.portal.app.util.CustomerValErrorData[] setPayInfo(PModelHandle accModel, PModelHandle payModel) throws RemoteException
setPayInfo
in interface PPaymentPageBean
accModel
- Account model passed to retrieve the account poid.payModel
- Payment method model to be saved.RemoteException
public Vector getPaymentMethods()
getPaymentMethods
in interface PPaymentPageBean
public PModelHandle[] setPaymentMethodArray()
public Hashtable<String,Vector> getbalGrpAndSvcFromPlanPoid(FList modelHandle) throws RemoteException
getbalGrpAndSvcFromPlanPoid
in interface PPaymentPageBean
RemoteException
public Vector<String> getDefaultBalGrp(PModelHandle modelHandle) throws RemoteException
getDefaultBalGrp
in interface PPaymentPageBean
RemoteException
public FList populateBalanceGroupInfo(PModelHandle mh, boolean isPlanOption, boolean isCollectData)
populateBalanceGroupInfo
in interface PPaymentPageBean
mh
- 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 PPaymentPageBean
RemoteException
public Hashtable<String,FList> getDetailedBillInfos(FList accFList)
getDetailedBillInfos
in interface PPaymentPageBean
public Hashtable<String,Poid> getBillInfos(FList accFList)
getBillInfos
in interface PPaymentPageBean
public SparseArray getBalanceGroupsAndServicesArray(Poid tempBillInfoPoid) throws RemoteException
getBalanceGroupsAndServicesArray
in interface PPaymentPageBean
RemoteException
public FList getPurchasedDataInfo(Poid aPoid) throws RemoteException
getPurchasedDataInfo
in interface PPaymentPageBean
RemoteException
public 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 accountException
public Object[][] getBillUnitDlgData(Poid billUnitPoid) throws RemoteException
RemoteException
public void setModelHandle(PModelHandle mHandle)
setModelHandle
in interface PPaymentPageBean
mHandle
- PModelHandlepublic PModelHandle getModelHandle()
getModelHandle
in interface PPaymentPageBean
public PModelHandle prepareModel(PModelHandle model) throws RemoteException
RemoteException
public int getPaymentIndex(String className) throws RemoteException
RemoteException
public boolean isInvoiceNameExists(FList inFlist)
isInvoiceNameExists
in interface PPaymentPageBean
inFlist
- FListpublic void removeBalInfoIndex(PModelHandle model)
removeBalInfoIndex
in interface PPaymentPageBean
model
- public void setPaymentMethods(Vector paymentMethods)
vecotr
- vector of payment methodsCopyright © 2003, 2023, Oracle and/or its affiliates.