public class PChargeSharingController extends PSharingController
PSharingController class,
which carries all the business logic related to data
for charge sharing. The opcode calls are done in this
class. The controller separation logic is implemented
in this controller so that this controller can be customized.db, id, mGroupType, mSharingType, sharingArrayField, sharingPoidField| Constructor and Description |
|---|
PChargeSharingController()
Default constructor to initialize
mGroupType,
mSharingType, sharingArrayField
and sharingPoidField. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
extractGroupSharingsFromFList(PGroupData gData,
Enumeration sharingValueEnum,
HashMap indexMapping,
Poid accPoid)
This method will extract the sponsors from the output flist
and stored the sponsors into
PGroupData object
as PSharingItemData object. |
ArrayList |
getAvailableSharingObjects(Poid servicePoid)
This method returns available sponsor(s) of the given service poid.
|
protected void |
prepareFListforAGroupMember(FList memFList,
PSharingItemData d)
This method prepares the input flist for sponsors which are
becoming members of the group.
|
protected void |
prepareFListforGroupInfoSharings(FList sharingFList)
This will prepare an input flist for sponsors
while getting the group information.
|
protected void |
prepareIndexMapping(HashMap indexMapping,
SparseArray sharingsArray)
This method will prepare the indexes hashmap for each
and every sponsor which is available.
|
acceptParticipation, addMembersToCollectionGroup, addMembersToGroup, createGroup, deleteCollectionMembers, deleteGroups, deleteMembers, deleteMembersFromGroup, fillBillinfoData, fillPayinfoData, getAllMemberServices, getAllServices, getCollectionsGroupMembers, getCurrentAccountNo, getGlobalCSGMemberServices, getGroupInfo, getGroupMembers, getGroupMembersInfoArray, getGroupType, getMemberData, getOwnershipData, getParticipatingGroups, getServiceLoginAndType, isAccountHavingDiscounts, isAccountPoidTypeOnly, isGlobalCSG, isServicePoidTypeOnly, modifyGroup, search, search, searchWithInOperator, setPrioritiespublic PChargeSharingController()
mGroupType,
mSharingType, sharingArrayField
and sharingPoidField.protected void prepareIndexMapping(HashMap indexMapping, SparseArray sharingsArray) throws EBufException
prepareIndexMapping in class PSharingControllerindexMapping - HashMapsharingsArray - SparseArray: The part of group output flist
having the sponsors as group members.EBufExceptionprotected void prepareFListforGroupInfoSharings(FList sharingFList)
prepareFListforGroupInfoSharings in class PSharingControllersharingFList - FList the input flist.protected void prepareFListforAGroupMember(FList memFList, PSharingItemData d)
prepareFListforAGroupMember in class PSharingControllermemFList - FList the input flist.sid - PSharingItemData the sponsors objects information
which becomming the member of a group.protected void extractGroupSharingsFromFList(PGroupData gData, Enumeration sharingValueEnum, HashMap indexMapping, Poid accPoid) throws EBufException
PGroupData object
as PSharingItemData object.extractGroupSharingsFromFList in class PSharingControllergData - PGroupData the group data which contains
all the info related to sharing groupsharingValueEnum - Enumeration the partial output flistindexMapping - HashMap the indexed map to get the each
and every sponsor index in sharing group with respect to the
node locationaccPoid - Poid the account poid.EBufExceptionpublic ArrayList getAvailableSharingObjects(Poid servicePoid) throws SharingException
getAvailableSharingObjects in class PSharingControllerSharingExceptionCopyright © 2003, 2023, Oracle and/or its affiliates.