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
,sharingArrayField
and -
Method Summary
Modifier and TypeMethodDescriptionvoid
createGroup
(PGroupData gData) This method will create a group by using passedPGroupData
.protected void
extractGroupSharingsFromFList
(PGroupData gData, Enumeration sharingValueEnum, HashMap indexMapping, Poid accPoid) Providing empty implementations ofextractGroupSharingsFromFList
as this method is not used in Profile sharinggetAvailableSharingObjects
(Poid servicePoid) Providing empty implementations ofgetAvailableSharingObjects
as 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 objectPGroupData
and returns that object.
getMembersInfo
(Poid memberPoid) This method gets the group related information from the server and fills it up in to the objectPGroupData
and returns that object.
getOwnershipData
(Poid acctPoid) This method gets the ownership data of Profile Sharing group depending on sharing mode.final void
modifyGroup
(PGroupData gData) This method used to modify the group by using passedPGroupData
.protected void
prepareFListforAGroupMember
(FList memFList, PSharingItemData d) Providing empty implementations ofprepareFListforAGroupMember
as this method is not used in Profile sharingprotected void
prepareFListforGroupInfoSharings
(FList sharingFList) Providing empty implementations ofprepareFListforGroupInfoSharings
as this method is not used in Profile sharingprotected void
prepareIndexMapping
(HashMap indexMapping, SparseArray sharingsArray) Providing empty implementations ofprepareIndexMapping
as 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
,sharingArrayField
and
-
-
Method Details
-
extractGroupSharingsFromFList
protected void extractGroupSharingsFromFList(PGroupData gData, Enumeration sharingValueEnum, HashMap indexMapping, Poid accPoid) throws EBufException Providing empty implementations ofextractGroupSharingsFromFList
as this method is not used in Profile sharing- Specified by:
extractGroupSharingsFromFList
in classPSharingController
- Throws:
EBufException
-
getAvailableSharingObjects
Providing empty implementations ofgetAvailableSharingObjects
as this method is not used in Profile sharing- Specified by:
getAvailableSharingObjects
in classPSharingController
- Throws:
SharingException
-
prepareFListforAGroupMember
Providing empty implementations ofprepareFListforAGroupMember
as this method is not used in Profile sharing- Specified by:
prepareFListforAGroupMember
in classPSharingController
-
prepareFListforGroupInfoSharings
Providing empty implementations ofprepareFListforGroupInfoSharings
as this method is not used in Profile sharing- Specified by:
prepareFListforGroupInfoSharings
in classPSharingController
-
prepareIndexMapping
protected void prepareIndexMapping(HashMap indexMapping, SparseArray sharingsArray) throws EBufException Providing empty implementations ofprepareIndexMapping
as this method is not used in Profile sharing- Specified by:
prepareIndexMapping
in classPSharingController
- Throws:
EBufException
-
getMembersInfo
This method gets the group related information from the server and fills it up in to the objectPGroupData
and 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 objectPGroupData
and returns that object.
- Overrides:
getGroupInfo
in 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 throwSharingException
if there is any problem while creating the group.- Overrides:
createGroup
in classPSharingController
- Parameters:
gData
- PGroupData the group information object- Throws:
SharingException
-
modifyGroup
This method used to modify the group by using passedPGroupData
. This will throwSharingException
when there is a problem while updating the group.- Overrides:
modifyGroup
in 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:
getOwnershipData
in classPSharingController
- Parameters:
acctPoid
- Poid an account poid- Returns:
- ArrayList list of groups in an account
- Throws:
SharingException
-