public class PCollectionsSharingController extends PSharingController
PCollectionsSharingController
class, which
carries all the business logic related to data for collection 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 |
---|
PCollectionsSharingController()
Default constructor to initialize
mGroupType ,
sharingArrayField and |
Modifier and Type | Method and Description |
---|---|
void |
createGroup(PGroupData gData)
This method will create a group by using passed
PGroupData . |
protected void |
extractGroupSharingsFromFList(PGroupData gData,
Enumeration sharingValueEnum,
HashMap indexMapping,
Poid accPoid) |
ArrayList |
getAvailableSharingObjects(Poid servicePoid) |
PGroupData |
getGroupInfo(Poid groupPoid)
This method gets the group related information from the server and fills
it up in to the object
PGroupData |
ArrayList |
getMembersInfo(Poid memberPoid)
This method gets the group related information from the server and fills
it up in to the object
PGroupData |
ArrayList |
getOwnershipData(Poid acctPoid)
This method gets the ownership data of Profile Sharing group depending on
sharing mode.
|
void |
modifyGroup(PGroupData gData)
This method used to modify the group by using passed
PGroupData . |
protected void |
prepareFListforAGroupMember(FList memFList,
PSharingItemData d) |
protected void |
prepareFListforGroupInfoSharings(FList sharingFList) |
protected void |
prepareIndexMapping(HashMap indexMapping,
SparseArray sharingsArray) |
acceptParticipation, addMembersToCollectionGroup, addMembersToGroup, deleteCollectionMembers, deleteGroups, deleteMembers, deleteMembersFromGroup, fillBillinfoData, fillPayinfoData, getAllMemberServices, getAllServices, getCollectionsGroupMembers, getCurrentAccountNo, getGlobalCSGMemberServices, getGroupMembers, getGroupMembersInfoArray, getGroupType, getMemberData, getParticipatingGroups, getServiceLoginAndType, isAccountHavingDiscounts, isAccountPoidTypeOnly, isGlobalCSG, isServicePoidTypeOnly, search, search, searchWithInOperator, setPriorities
public PCollectionsSharingController()
mGroupType
,
sharingArrayField
andpublic ArrayList getMembersInfo(Poid memberPoid) throws SharingException
PGroupData
and returns that object.
groupPoid
- Poid the group poidSharingException
public PGroupData getGroupInfo(Poid groupPoid) throws SharingException
PGroupData
and returns that object.
getGroupInfo
in class PSharingController
groupPoid
- Poid the group poidSharingException
public void createGroup(PGroupData gData) throws SharingException
PGroupData
. This will throw SharingException
if there
is any problem while creating the group.createGroup
in class PSharingController
gData
- PGroupData the group information objectSharingException
public final void modifyGroup(PGroupData gData) throws SharingException
PGroupData
. This will throw SharingException
when there is a problem while updating the group.modifyGroup
in class PSharingController
gData
- PGroupData the group information objectSharingException
public ArrayList getOwnershipData(Poid acctPoid) throws SharingException
getOwnershipData
in class PSharingController
acctPoid
- Poid an account poidSharingException
protected void prepareIndexMapping(HashMap indexMapping, SparseArray sharingsArray) throws EBufException
prepareIndexMapping
in class PSharingController
EBufException
protected void prepareFListforGroupInfoSharings(FList sharingFList)
prepareFListforGroupInfoSharings
in class PSharingController
protected void prepareFListforAGroupMember(FList memFList, PSharingItemData d)
prepareFListforAGroupMember
in class PSharingController
protected void extractGroupSharingsFromFList(PGroupData gData, Enumeration sharingValueEnum, HashMap indexMapping, Poid accPoid) throws EBufException
extractGroupSharingsFromFList
in class PSharingController
EBufException
public ArrayList getAvailableSharingObjects(Poid servicePoid) throws SharingException
getAvailableSharingObjects
in class PSharingController
SharingException
Copyright © 2003, 2023, Oracle and/or its affiliates.