Package com.portal.app.cc.sharing
Class PProfileSharingController
java.lang.Object
com.portal.app.cc.sharing.PSharingController
com.portal.app.cc.sharing.PProfileSharingController
This is extends
PProfileSharingController class, which carries all
the business logic related to data for profile 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,mSharingType,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) Providing empty implementations ofextractGroupSharingsFromFListas this method is not used in Profile sharinggetAvailableSharingObjects(Poid servicePoid) Providing empty implementations ofgetAvailableSharingObjectsas this method is not used in Profile sharinggetGroupInfo(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) Providing empty implementations ofprepareFListforAGroupMemberas this method is not used in Profile sharingprotected voidprepareFListforGroupInfoSharings(FList sharingFList) Providing empty implementations ofprepareFListforGroupInfoSharingsas this method is not used in Profile sharingprotected voidprepareIndexMapping(HashMap indexMapping, SparseArray sharingsArray) Providing empty implementations ofprepareIndexMappingas this method is not used in Profile sharingMethods 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
-
PProfileSharingController
public PProfileSharingController()Default constructor to initializemGroupType,mSharingType,sharingArrayFieldand
-
-
Method Details
-
extractGroupSharingsFromFList
protected void extractGroupSharingsFromFList(PGroupData gData, Enumeration sharingValueEnum, HashMap indexMapping, Poid accPoid) throws EBufException Providing empty implementations ofextractGroupSharingsFromFListas this method is not used in Profile sharing- Specified by:
extractGroupSharingsFromFListin classPSharingController- Throws:
EBufException
-
getAvailableSharingObjects
Providing empty implementations ofgetAvailableSharingObjectsas this method is not used in Profile sharing- Specified by:
getAvailableSharingObjectsin classPSharingController- Throws:
SharingException
-
prepareFListforAGroupMember
Providing empty implementations ofprepareFListforAGroupMemberas this method is not used in Profile sharing- Specified by:
prepareFListforAGroupMemberin classPSharingController
-
prepareFListforGroupInfoSharings
Providing empty implementations ofprepareFListforGroupInfoSharingsas this method is not used in Profile sharing- Specified by:
prepareFListforGroupInfoSharingsin classPSharingController
-
prepareIndexMapping
protected void prepareIndexMapping(HashMap indexMapping, SparseArray sharingsArray) throws EBufException Providing empty implementations ofprepareIndexMappingas this method is not used in Profile sharing- Specified by:
prepareIndexMappingin classPSharingController- Throws:
EBufException
-
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
-