Package com.portal.app.cc.sharing
Class PCollectionsSharingController
java.lang.Object
com.portal.app.cc.sharing.PSharingController
com.portal.app.cc.sharing.PCollectionsSharingController
This is extends
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.-
Field Summary
Fields inherited from class com.portal.app.cc.sharing.PSharingController
db, id, mGroupType, mSharingType, sharingArrayField, sharingPoidField -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor to initializemGroupType,sharingArrayFieldand -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateGroup(PGroupData gData) This method will create a group by using passedPGroupData.protected voidextractGroupSharingsFromFList(PGroupData gData, Enumeration sharingValueEnum, HashMap indexMapping, Poid accPoid) getAvailableSharingObjects(Poid servicePoid) getGroupInfo(Poid groupPoid) This method gets the group related information from the server and fills it up in to the objectPGroupDataand returns that object.getMembersInfo(Poid memberPoid) This method gets the group related information from the server and fills it up in to the objectPGroupDataand returns that object.getOwnershipData(Poid acctPoid) This method gets the ownership data of Profile Sharing group depending on sharing mode.final voidmodifyGroup(PGroupData gData) This method used to modify the group by using passedPGroupData.protected voidprepareFListforAGroupMember(FList memFList, PSharingItemData d) protected voidprepareFListforGroupInfoSharings(FList sharingFList) protected voidprepareIndexMapping(HashMap indexMapping, SparseArray sharingsArray) Methods inherited from class com.portal.app.cc.sharing.PSharingController
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
-
Constructor Details
-
PCollectionsSharingController
public PCollectionsSharingController()Default constructor to initializemGroupType,sharingArrayFieldand
-
-
Method Details
-
getMembersInfo
This method gets the group related information from the server and fills it up in to the objectPGroupDataand returns that object.- Parameters:
groupPoid- Poid the group poid- Returns:
- PGroupData the group info object
- Throws:
SharingException
-
getGroupInfo
This method gets the group related information from the server and fills it up in to the objectPGroupDataand returns that object.- Overrides:
getGroupInfoin classPSharingController- Parameters:
groupPoid- Poid the group poid- Returns:
- PGroupData the group info object
- Throws:
SharingException
-
createGroup
This method will create a group by using passedPGroupData. This will throwSharingExceptionif there is any problem while creating the group.- Overrides:
createGroupin classPSharingController- Parameters:
gData- PGroupData the group information object- Throws:
SharingException
-
modifyGroup
This method used to modify the group by using passedPGroupData. This will throwSharingExceptionwhen there is a problem while updating the group.- Overrides:
modifyGroupin classPSharingController- Parameters:
gData- PGroupData the group information object- Throws:
SharingException
-
getOwnershipData
This method gets the ownership data of Profile Sharing group depending on sharing mode. This method populates the PGroupData datastructure.- Overrides:
getOwnershipDatain classPSharingController- Parameters:
acctPoid- Poid an account poid- Returns:
- ArrayList list of groups in an account
- Throws:
SharingException
-
prepareIndexMapping
protected void prepareIndexMapping(HashMap indexMapping, SparseArray sharingsArray) throws EBufException - Specified by:
prepareIndexMappingin classPSharingController- Throws:
EBufException
-
prepareFListforGroupInfoSharings
- Specified by:
prepareFListforGroupInfoSharingsin classPSharingController
-
prepareFListforAGroupMember
- Specified by:
prepareFListforAGroupMemberin classPSharingController
-
extractGroupSharingsFromFList
protected void extractGroupSharingsFromFList(PGroupData gData, Enumeration sharingValueEnum, HashMap indexMapping, Poid accPoid) throws EBufException - Specified by:
extractGroupSharingsFromFListin classPSharingController- Throws:
EBufException
-
getAvailableSharingObjects
- Specified by:
getAvailableSharingObjectsin classPSharingController- Throws:
SharingException
-