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, setPrioritiespublic PCollectionsSharingController()
mGroupType,
sharingArrayField andpublic ArrayList getMembersInfo(Poid memberPoid) throws SharingException
PGroupData
and returns that object.groupPoid - Poid the group poidSharingExceptionpublic PGroupData getGroupInfo(Poid groupPoid) throws SharingException
PGroupData
and returns that object.getGroupInfo in class PSharingControllergroupPoid - Poid the group poidSharingExceptionpublic void createGroup(PGroupData gData) throws SharingException
PGroupData. This will throw SharingException if there
is any problem while creating the group.createGroup in class PSharingControllergData - PGroupData the group information objectSharingExceptionpublic final void modifyGroup(PGroupData gData) throws SharingException
PGroupData. This will throw SharingException
when there is a problem while updating the group.modifyGroup in class PSharingControllergData - PGroupData the group information objectSharingExceptionpublic ArrayList getOwnershipData(Poid acctPoid) throws SharingException
getOwnershipData in class PSharingControlleracctPoid - Poid an account poidSharingExceptionprotected void prepareIndexMapping(HashMap indexMapping, SparseArray sharingsArray) throws EBufException
prepareIndexMapping in class PSharingControllerEBufExceptionprotected void prepareFListforGroupInfoSharings(FList sharingFList)
prepareFListforGroupInfoSharings in class PSharingControllerprotected void prepareFListforAGroupMember(FList memFList, PSharingItemData d)
prepareFListforAGroupMember in class PSharingControllerprotected void extractGroupSharingsFromFList(PGroupData gData, Enumeration sharingValueEnum, HashMap indexMapping, Poid accPoid) throws EBufException
extractGroupSharingsFromFList in class PSharingControllerEBufExceptionpublic ArrayList getAvailableSharingObjects(Poid servicePoid) throws SharingException
getAvailableSharingObjects in class PSharingControllerSharingExceptionCopyright © 2003, 2023, Oracle and/or its affiliates.