public class PProfileSharingController extends PSharingController
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.db, id, mGroupType, mSharingType, sharingArrayField, sharingPoidField| Constructor and Description |
|---|
PProfileSharingController()
Default constructor to initialize
mGroupType,
mSharingType, 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)
Providing empty implementations of
extractGroupSharingsFromFList as this method is not used in Profile sharing |
ArrayList |
getAvailableSharingObjects(Poid servicePoid)
Providing empty implementations of
getAvailableSharingObjects as this method is not used in Profile sharing |
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)
Providing empty implementations of
prepareFListforAGroupMember as this method is not used in Profile sharing |
protected void |
prepareFListforGroupInfoSharings(FList sharingFList)
Providing empty implementations of
prepareFListforGroupInfoSharings as this method is not used in Profile sharing |
protected void |
prepareIndexMapping(HashMap indexMapping,
SparseArray sharingsArray)
Providing empty implementations of
prepareIndexMapping as this method is not used in Profile sharing |
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 PProfileSharingController()
mGroupType,
mSharingType, sharingArrayField andprotected void extractGroupSharingsFromFList(PGroupData gData, Enumeration sharingValueEnum, HashMap indexMapping, Poid accPoid) throws EBufException
extractGroupSharingsFromFList as this method is not used in Profile sharingextractGroupSharingsFromFList in class PSharingControllerEBufExceptionpublic ArrayList getAvailableSharingObjects(Poid servicePoid) throws SharingException
getAvailableSharingObjects as this method is not used in Profile sharinggetAvailableSharingObjects in class PSharingControllerSharingExceptionprotected void prepareFListforAGroupMember(FList memFList, PSharingItemData d)
prepareFListforAGroupMember as this method is not used in Profile sharingprepareFListforAGroupMember in class PSharingControllerprotected void prepareFListforGroupInfoSharings(FList sharingFList)
prepareFListforGroupInfoSharings as this method is not used in Profile sharingprepareFListforGroupInfoSharings in class PSharingControllerprotected void prepareIndexMapping(HashMap indexMapping, SparseArray sharingsArray) throws EBufException
prepareIndexMapping as this method is not used in Profile sharingprepareIndexMapping in class PSharingControllerEBufExceptionpublic 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 poidSharingExceptionCopyright © 2003, 2023, Oracle and/or its affiliates.