Package com.portal.app.ccare.comp
Class PPaymentPageBeanImpl
java.lang.Object
com.portal.bas.PControllerImpl
com.portal.bas.comp.PIAComponentCollectionBean
com.portal.app.ccare.comp.PPaymentPageBeanImpl
- All Implemented Interfaces:
PPaymentPageBean
,PIACollectionBean
,PControllerBean
,Serializable
,Remote
,Unreferenced
Controller class for obtaining payment related information
Opcodes used
PortalOp.AR_GET_ACCT_ACTION_ITEMS
PortalOp.CUST_SET_TAXINFO
- Author:
- subhendhu, savitha, ramaprasad, manjunatha l
- See Also:
-
Field Summary
Fields inherited from class com.portal.bas.PControllerImpl
mFList, mRemoteListeners, UPDATE_CLIENT, UPDATE_MODEL_CHANGE, UPDATE_NEW_MODEL, UPDATE_PROPERTY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
clear()
put your documentation comment herevoid
deletePayInfo
(int index) put your documentation comment herecom.portal.app.util.CustomerValErrorData[]
deletePayInfo
(PModelHandle payModel) put your documentation comment hereObject[][]
getAccountBillUnits
(PModelHandle acctMH, Vector parentBillUnitsV) gets the bill unit details of the accountReturns the model handle of the account.getAccountNumberFromPoid
(Poid acctPoid) Returns the account number, i.e., contents of PIN_FLD_ACCOUNT_NO of /account objectReturns the HashMap containing the Account Name,Poid and Bill Unit Name as key, BillInfo Poid as the Value.getArBillinfo
(Poid arPoid) void
getARBillinfo
(PModelHandle billMH, int[] billIndex) returns the parents bill info model handlegetBalanceGroupsAndServicesArray
(Poid tempBillInfoPoid) getBalanceGroupsAndServicesArray
(Poid tempBillInfoPoid, Poid acctPoid) getbalGrpAndSvcFromPlanPoid
(FList modelHandle) getBillInfo
(boolean refresh, PModelHandle parentMH) gets the billinfo of the current accountgetBillInfos
(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.returns the bill unit name and pay type-parent bill unit option map for the current accountreturns the childs of the current account model handle arraygetDataForMoveAcctConfirmDlg
(PModelHandle selectedAcctModelHandle, Vector parentBillOption) returns the data structure for move account confirmation dialoggetDataForTable
(Vector parentBillOption) returns the data for table in payments page.getDefaultBalGrp
(PModelHandle modelHandle) getDefaultPaymentInfo
(PModelHandle billhandle, int[] paymentIndex) getDetailedBillInfos
(FList accFList) getExemptionsTableModel
(PModelHandle exTblModel, PTaxExemptionData pTaxData, boolean bIsChanging, String vatCertificate) Gets the Model Handle of the exemption tableint
Gets the exemption type of a row selected in the exemption table.getModelForSettingNextBillingStartAndEnd
(Date start, Date end) Returns the model containing the fields for next billing start and end datesget the model handle.Returns Newly created payment info object detailsint
returns the bill info count for the current active account.getOpenBIlls
(FList balInfoList) returns true if there is any open bill amount else falseReturns the parent account number, i.e., contents of PIN_FLD_ACCOUNT_NO of /account objectreturns the parent account poid of the current accountlong
returns the parent account number of the current account.put your documentation comment hereput your documentation comment hereint
getParentBillUnitsChildCount
(String buName, Poid poid) for the given bill unit name and bill info poid this method returns the child countreturns the parents bill unit and ar bill info object mapreturns the parent model handle which was set using setParentModelHandle() methodgetPayInfo
(PModelHandle acctMh) getPayInfoObj
(int payTYPE, String payMethod, FList payMet) this method gets the Pay info object poid for the selected pay methodint
getPaymentIndex
(String className) Gives the payment index for the given payment classput your documentation comment hereput your documentation comment heregetPaymentTblModel
(PModelHandle arMh, boolean bIsSub, PARPaymentSearchCriteria pPmtSearchCriteria) Gets the model handle of the payment tabledoes 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] 256getPurchasedDataInfo
(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.getServicesForBillInfo
(PModelHandle pm, PModelHandle[] servHandle) put your documentation comment heregetServicesFromMH
(PModelHandle mhandle) put your documentation comment hereObject[][]
getShowAllParentsBillUnits
(Vector parentMhV) returns the data of all the parents which are there in currenct account hierarchyboolean
The payment type of this accountboolean
Determines if this account is incorporated inside a cityboolean
this finds if the current account is in hierarchy or notboolean
isAccountInHierarchy
(PModelHandle acctHandle) this method finds if the account is in hierarchy or not for account poid given in the acctHandleboolean
isInvoiceNameExists
(FList inFlist) returns true if the invoice name mentioned in the inFlist already existscom.portal.app.util.CustomerValErrorData[]
modifyPayInfo
(PModelHandle payModel, int index) This validates the payinfo and stores, not committing to serverpopulateBalanceGroupInfo
(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 handleprepareModel
(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 handlereads the parents bill unit name and the corresponding billinfo poidreadParentBillInfoObj
(PModelHandle handle) reads billinfo object for the given account in the model handleReads the /payinfo/dd objectreadPaymentDetails
(PModelHandle payHandle) reads the payment details of the model and forms the model handle of the payment details and sends backreadServiceObj
(Poid servPoid) put your documentation comment herevoid
refreshPaymentMH
(Vector paymentInfo) void
refreshPayMH
(int payIndex, boolean isSubordinate) put your documentation comment herevoid
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 flistcom.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 accountvoid
setParentAccountPoid
(PModelHandle parentMH) sets the parent account poidvoid
setParentModelHandle
(PModelHandle mAccountHandle) sets the parent model handlecom.portal.app.util.CustomerValErrorData[]
setPayInfo
(PModelHandle accModel, PModelHandle payModel) This method calls the CUST_SET_PAYINFO opcode to create/modify the payment methods.put your documentation comment herevoid
setPaymentMethods
(Vector paymentMethods) Set the payment methodsvoid
put your documentation comment hereboolean
updateBillInfoDetails
(PModelHandle billMH, int payType, int billType, boolean isSubordinate) boolean
updateBillInfoDetails
(FList billInfo) updates the payment and billinfo details, it calls CUST_SET_BILLINFO opcodes to perform the sameupdateBUName
(FList itemFlist) reads the bill info id by passing bill info poid and updates the billinfo id to the FList passed.updatePaymentMethod
(FList itemFlist) This method adds the PayType and sets it to 0, if it is not found in the FListvoid
updatePaymentOptions
(String debitNo, String maskedNo) This method will keep the hashmap updated with the actual debitNo and the masked debit Novoid
updatePaymentToMH
(int payDefault, PModelHandle billMH, PModelHandle eventMH) put your documentation comment herecom.portal.app.util.CustomerValErrorData[]
validatePayInfo
(PModelHandle payModel) put your documentation comment hereMethods inherited from class com.portal.bas.comp.PIAComponentCollectionBean
addChild, getCollectedData, getSelectionDataFor, removeChild
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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.portal.bas.PControllerBean
addRemoteListener, getArrayRange, getModel, getRemoteListenerHandle, isLight, register, releaseRemoteListener, removeRemoteListener, setModel
-
Constructor Details
-
PPaymentPageBeanImpl
put your documentation comment here- Throws:
RemoteException
-
-
Method Details
-
createSubordPayhandle
put your documentation comment here- Returns:
-
update
put your documentation comment here- Overrides:
update
in classPIAComponentCollectionBean
- Parameters:
reason
-incoming
-- Throws:
RemoteException
-
getModelForSettingNextBillingStartAndEnd
public PModelHandle getModelForSettingNextBillingStartAndEnd(Date start, Date end) throws RemoteException Returns the model containing the fields for next billing start and end dates- Specified by:
getModelForSettingNextBillingStartAndEnd
in interfacePPaymentPageBean
- Parameters:
start
- begining date of the next billing cycleend
- date of the next billing cycle- Returns:
- model handle containing FldNextBillT and FldActgFutureT
- Throws:
RemoteException
-
readPayinfoDdObj
Reads the /payinfo/dd object- Specified by:
readPayinfoDdObj
in interfacePPaymentPageBean
- Returns:
- model handle for the /payinfo/dd object
- Throws:
RemoteException
-
readServiceObj
put your documentation comment here- Parameters:
servPoid
-- Returns:
- Throws:
RemoteException
-
readARBillInfoObj
reads the ar bill info for the given account given in the model handle- Parameters:
handle
- PModelHandle
-
readARBillInfoObj
public void readARBillInfoObj(boolean isAcctCreation) - Specified by:
readARBillInfoObj
in interfacePPaymentPageBean
-
readParentBillInfoObj
reads billinfo object for the given account in the model handle- Parameters:
handle
- PModelHandle, contains the acccount poid- Returns:
- HashMap, returns the billinfo name and billinfo poid map
-
setParentModelHandle
sets the parent model handle- Parameters:
mAccountHandle
- PModelHandle
-
getParentModelHandle
returns the parent model handle which was set using setParentModelHandle() method- Returns:
- PModelHandle
-
getParentBillInfo
put your documentation comment here- Specified by:
getParentBillInfo
in interfacePPaymentPageBean
- Returns:
-
getBillInfo
gets the billinfo of the current account- Specified by:
getBillInfo
in interfacePPaymentPageBean
- Parameters:
refresh
- booleanparentMH
- PModelHandle- Returns:
- PModelHandle[]
- Throws:
RemoteException
-
getChildsModelHandle
returns the childs of the current account model handle array -
getShowAllParentsBillUnits
returns the data of all the parents which are there in currenct account hierarchy- Parameters:
parentMhV
- Vector, list of parents which are in the current account hierarchy.- Returns:
- Object[][]
-
getParentAccountPoid
returns the parent account poid of the current account- Returns:
- Poid, parent account poid
- Throws:
RemoteException
-
getParentBUARBillInfoObjMap
returns the parents bill unit and ar bill info object map- Returns:
- HashMap
-
readParentBillInfoObj
reads the parents bill unit name and the corresponding billinfo poid- Returns:
- HashMap
-
setParentAccountPoid
sets the parent account poid- Parameters:
parentMH
- PModelHandle this is parent account's model handle
-
setNoOfBU
public void setNoOfBU(int size) sets the bill info count for the current selected account- Parameters:
size
- int
-
getNoOfBU
public int getNoOfBU()returns the bill info count for the current active account.- Returns:
- int
-
getDataForTable
returns the data for table in payments page. retrieves the data depending and on if the account is in hierarchy or not- Parameters:
parentBillOption
- Vector, parents billinfos- Returns:
- Vector
- Throws:
Exception
-
getBUNameAndPaytypeParentBIMap
returns the bill unit name and pay type-parent bill unit option map for the current account- Returns:
- HashMap
-
getDataForMoveAcctConfirmDlg
public Vector<String> getDataForMoveAcctConfirmDlg(PModelHandle selectedAcctModelHandle, Vector parentBillOption) throws Exception returns the data structure for move account confirmation dialog- Parameters:
parentBillOption
- Vector- Returns:
- Vector
- Throws:
Exception
-
getPaymentOptions
put your documentation comment here- Specified by:
getPaymentOptions
in interfacePPaymentPageBean
- Returns:
- Throws:
RemoteException
-
getAccountBillUnits
public Object[][] getAccountBillUnits(PModelHandle acctMH, Vector parentBillUnitsV) throws RemoteException gets the bill unit details of the account- Parameters:
acctMH
- PModelHandle, contains the account poid to which details have to be gotparentBillUnitsV
- Vector, parents billinfo of the account poid which is sent acctMH- Returns:
- Object[][], data structure for view BU hierarchy table
- Throws:
RemoteException
-
getAcctNameBUnameAndBillInfoMap
Returns the HashMap containing the Account Name,Poid and Bill Unit Name as key, BillInfo Poid as the Value.- Returns:
- HashMap
-
readPaymentDetails
reads the payment details of the model and forms the model handle of the payment details and sends back- Specified by:
readPaymentDetails
in interfacePPaymentPageBean
- Parameters:
payHandle
-- Returns:
- Throws:
RemoteException
-
addSubordMH
public void addSubordMH() -
refreshPayMH
public void refreshPayMH(int payIndex, boolean isSubordinate) put your documentation comment here- Specified by:
refreshPayMH
in interfacePPaymentPageBean
- Parameters:
payIndex
-isSubordinate
-
-
refreshPaymentMH
- Specified by:
refreshPaymentMH
in interfacePPaymentPageBean
-
updatePaymentToMH
public void updatePaymentToMH(int payDefault, PModelHandle billMH, PModelHandle eventMH) throws RemoteException put your documentation comment here- Specified by:
updatePaymentToMH
in interfacePPaymentPageBean
- Parameters:
payDefault
-billMH
-eventMH
-- Throws:
RemoteException
-
updateBillInfoDetails
updates the payment and billinfo details, it calls CUST_SET_BILLINFO opcodes to perform the same- Specified by:
updateBillInfoDetails
in interfacePPaymentPageBean
- Parameters:
billInfo
- FList, list contains payment type and bill info detail- Returns:
- boolean
- Throws:
RemoteException
-
updateBillInfoDetails
public boolean updateBillInfoDetails(PModelHandle billMH, int payType, int billType, boolean isSubordinate) throws RemoteException - Specified by:
updateBillInfoDetails
in interfacePPaymentPageBean
- Throws:
RemoteException
-
getResponsibleForOtherAcctCount
uses search to return the count of child bill units to which this current accounts bill unit pays directly.- Parameters:
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 childers- Returns:
- int
- Throws:
Exception
-
getParentBillUnitsChildCount
for the given bill unit name and bill info poid this method returns the child count- Parameters:
buName
- String name of the bill unit from the payment billing method comboboxpoid
- Poid billinfo poid- Returns:
- int child count of the billinfo poid
- Throws:
Exception
-
getPayInfo
- Throws:
RemoteException
-
getDefaultPaymentInfo
public PModelHandle getDefaultPaymentInfo(PModelHandle billhandle, int[] paymentIndex) throws RemoteException - Specified by:
getDefaultPaymentInfo
in interfacePPaymentPageBean
- Throws:
RemoteException
-
isAccountInHierarchy
this finds if the current account is in hierarchy or not- Specified by:
isAccountInHierarchy
in interfacePPaymentPageBean
- Returns:
- boolean
- Throws:
RemoteException
-
isAccountInHierarchy
this method finds if the account is in hierarchy or not for account poid given in the acctHandle- Parameters:
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.- Returns:
- boolean
- Throws:
RemoteException
-
getARBillinfo
returns the parents bill info model handle- Specified by:
getARBillinfo
in interfacePPaymentPageBean
- Parameters:
billMH
- PModelHandlebillIndex
- int[]- Throws:
RemoteException
-
getParentAcctNum
public long getParentAcctNum()returns the parent account number of the current account.- Specified by:
getParentAcctNum
in interfacePPaymentPageBean
- Returns:
- long
-
getParentAccountNumber
Returns the parent account number, i.e., contents of PIN_FLD_ACCOUNT_NO of /account object- Specified by:
getParentAccountNumber
in interfacePPaymentPageBean
- Returns:
- String parent account number
-
getAccountNumberFromPoid
Returns the account number, i.e., contents of PIN_FLD_ACCOUNT_NO of /account object- Returns:
- String parent account number
-
getServicesForBillInfo
public List<PModelHandle> getServicesForBillInfo(PModelHandle pm, PModelHandle[] servHandle) throws RemoteException put your documentation comment here- Specified by:
getServicesForBillInfo
in interfacePPaymentPageBean
- Parameters:
pm
-servHandle
- []- Returns:
- Throws:
RemoteException
-
addChilMH
public void addChilMH() -
getbillUnitPoidHash
-
getBalanceGroupsAndServicesArray
public SparseArray getBalanceGroupsAndServicesArray(Poid tempBillInfoPoid, Poid acctPoid) throws RemoteException - Throws:
RemoteException
-
getPayments
- Specified by:
getPayments
in interfacePPaymentPageBean
-
getParentBills
put your documentation comment here- Specified by:
getParentBills
in interfacePPaymentPageBean
- Returns:
-
getPaymentInfo
- Specified by:
getPaymentInfo
in interfacePPaymentPageBean
- Throws:
RemoteException
-
getPayInfo
- Specified by:
getPayInfo
in interfacePPaymentPageBean
- Throws:
RemoteException
-
updatePaymentOptions
This method will keep the hashmap updated with the actual debitNo and the masked debit No- Specified by:
updatePaymentOptions
in interfacePPaymentPageBean
-
getServicesFromMH
put your documentation comment here- Specified by:
getServicesFromMH
in interfacePPaymentPageBean
- Parameters:
mhandle
-- Returns:
- Throws:
RemoteException
-
getPaymentTblModel
public PModelHandle getPaymentTblModel(PModelHandle arMh, boolean bIsSub, PARPaymentSearchCriteria pPmtSearchCriteria) throws RemoteException Gets the model handle of the payment table- Specified by:
getPaymentTblModel
in interfacePPaymentPageBean
- Parameters:
arMh
- AR account modelhandlebIsSub
- Is this a subordinate accountpPmtSearchCriteria
- Class that has the saved payment search criteria from the dialog- Returns:
- PModelHandle Model Handle of the table.
- Throws:
RemoteException
-
updatePaymentMethod
This method adds the PayType and sets it to 0, if it is not found in the FList- Parameters:
itemFlist
- FList- Returns:
- FList
- Throws:
RemoteException
-
updateBUName
reads the bill info id by passing bill info poid and updates the billinfo id to the FList passed.- Parameters:
itemFlist
- FList- Returns:
- FList
- Throws:
RemoteException
-
getExemptionsTableModel
public PModelHandle getExemptionsTableModel(PModelHandle exTblModel, PTaxExemptionData pTaxData, boolean bIsChanging, String vatCertificate) throws RemoteException Gets the Model Handle of the exemption table- Specified by:
getExemptionsTableModel
in interfacePPaymentPageBean
- Parameters:
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 exemptions- Returns:
- mAcctModel The account model for updating the panel
- Throws:
RemoteException
-
getExemptionType
Gets the exemption type of a row selected in the exemption table.- Specified by:
getExemptionType
in interfacePPaymentPageBean
- Parameters:
mh
- model handle of the row selected in the exemptions table- Returns:
- Returns the exemption type of the row selected in the exemption table. The values can be between 0-6
- Throws:
RemoteException
-
getAccountModel
Returns the model handle of the account.- Specified by:
getAccountModel
in interfacePPaymentPageBean
- Returns:
- model handle of the account
-
IsAccountDDebit
public boolean IsAccountDDebit()The payment type of this account- Specified by:
IsAccountDDebit
in interfacePPaymentPageBean
- Returns:
- true if the payment type is direct debit, false otherwise
-
isAccountIncorporated
public boolean isAccountIncorporated()Determines if this account is incorporated inside a city- Specified by:
isAccountIncorporated
in interfacePPaymentPageBean
- Returns:
- true if account is incorporated
-
save
public com.portal.app.util.CustomerValErrorData[] save(PModelHandle act, PTaxExemptionData pTaxData, PModelHandle modl) throws RemoteException This saves the Billing cycle related info and Taxsetup related info.- Specified by:
save
in interfacePPaymentPageBean
- Parameters:
act
-pTaxData
- Tax Data that needs to be updated.toSave
-- Returns:
- CustomerValErrorData[]
- Throws:
RemoteException
-
clear
- Specified by:
clear
in interfacePPaymentPageBean
- Throws:
RemoteException
-
modifyPayInfo
public com.portal.app.util.CustomerValErrorData[] modifyPayInfo(PModelHandle payModel, int index) throws RemoteException This validates the payinfo and stores, not committing to server- Specified by:
modifyPayInfo
in interfacePPaymentPageBean
- Parameters:
payModel
-index
-- Returns:
- Throws:
RemoteException
-
validatePayInfo
public com.portal.app.util.CustomerValErrorData[] validatePayInfo(PModelHandle payModel) throws RemoteException put your documentation comment here- Specified by:
validatePayInfo
in interfacePPaymentPageBean
- Parameters:
payModel
-- Returns:
- Throws:
RemoteException
-
deletePayInfo
put your documentation comment here- Specified by:
deletePayInfo
in interfacePPaymentPageBean
- Parameters:
index
-- Throws:
RemoteException
-
deletePayInfo
public com.portal.app.util.CustomerValErrorData[] deletePayInfo(PModelHandle payModel) throws RemoteException put your documentation comment here- Specified by:
deletePayInfo
in interfacePPaymentPageBean
- Parameters:
payModel
-- Returns:
- Throws:
RemoteException
-
getNewPayInfoObject
Returns Newly created payment info object details- Specified by:
getNewPayInfoObject
in interfacePPaymentPageBean
- Returns:
- Poid
-
setPayInfo
public com.portal.app.util.CustomerValErrorData[] setPayInfo(PModelHandle accModel, PModelHandle payModel) throws RemoteException This method calls the CUST_SET_PAYINFO opcode to create/modify the payment methods.- Specified by:
setPayInfo
in interfacePPaymentPageBean
- Parameters:
accModel
- Account model passed to retrieve the account poid.payModel
- Payment method model to be saved.- Returns:
- CustomerValErrorData If any errors found then CustomerValErrorData will be returned otherwise null.
- Throws:
RemoteException
-
getPaymentMethods
put your documentation comment here- Specified by:
getPaymentMethods
in interfacePPaymentPageBean
- Returns:
-
setPaymentMethodArray
put your documentation comment here- Returns:
-
getbalGrpAndSvcFromPlanPoid
public Hashtable<String,Vector> getbalGrpAndSvcFromPlanPoid(FList modelHandle) throws RemoteException - Specified by:
getbalGrpAndSvcFromPlanPoid
in interfacePPaymentPageBean
- Throws:
RemoteException
-
getDefaultBalGrp
- Specified by:
getDefaultBalGrp
in interfacePPaymentPageBean
- Throws:
RemoteException
-
populateBalanceGroupInfo
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- Specified by:
populateBalanceGroupInfo
in interfacePPaymentPageBean
- Parameters:
mh
- plan modelhandleisPlanOption
- flag to indicate if the selected plan is plan with optionisCollectData
- flag to indicate if method is called during collectData- Returns:
- new FList after populating the Balance Group information
-
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- Returns:
-
getDefaultBillInfo
- Specified by:
getDefaultBillInfo
in interfacePPaymentPageBean
- Throws:
RemoteException
-
getDetailedBillInfos
- Specified by:
getDetailedBillInfos
in interfacePPaymentPageBean
-
getBillInfos
- Specified by:
getBillInfos
in interfacePPaymentPageBean
-
getArBillinfo
-
getBalanceGroupsAndServicesArray
- Specified by:
getBalanceGroupsAndServicesArray
in interfacePPaymentPageBean
- Throws:
RemoteException
-
getPurchasedDataInfo
- Specified by:
getPurchasedDataInfo
in interfacePPaymentPageBean
- Throws:
RemoteException
-
getOpenBIlls
returns true if there is any open bill amount else false- Parameters:
balInfoList
- FList- Returns:
- Object
-
getPayInfoObj
this method gets the Pay info object poid for the selected pay method- Parameters:
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 account- Returns:
- Poid
- Throws:
Exception
-
getBillUnitDlgData
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.- Returns:
- Object[][]
- Throws:
RemoteException
-
setModelHandle
to set the model handle.- Specified by:
setModelHandle
in interfacePPaymentPageBean
- Parameters:
mHandle
- PModelHandle
-
getModelHandle
get the model handle.- Specified by:
getModelHandle
in interfacePPaymentPageBean
- Returns:
- PModelHandle
-
prepareModel
Removes FldInheritedInfo from the model handle. This is used for display purpose.- Returns:
- model handle
- Throws:
RemoteException
-
getPaymentIndex
Gives the payment index for the given payment class- Returns:
- payment index
- Throws:
RemoteException
-
isInvoiceNameExists
returns true if the invoice name mentioned in the inFlist already exists- Specified by:
isInvoiceNameExists
in interfacePPaymentPageBean
- Parameters:
inFlist
- FList- Returns:
- boolean
-
removeBalInfoIndex
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- Specified by:
removeBalInfoIndex
in interfacePPaymentPageBean
- Parameters:
model
-
-
setPaymentMethods
Set the payment methods- Parameters:
vecotr
- vector of payment methods
-