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, setPriorities
public 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 PSharingController
EBufException
public ArrayList getAvailableSharingObjects(Poid servicePoid) throws SharingException
getAvailableSharingObjects
as this method is not used in Profile sharinggetAvailableSharingObjects
in class PSharingController
SharingException
protected void prepareFListforAGroupMember(FList memFList, PSharingItemData d)
prepareFListforAGroupMember
as this method is not used in Profile sharingprepareFListforAGroupMember
in class PSharingController
protected void prepareFListforGroupInfoSharings(FList sharingFList)
prepareFListforGroupInfoSharings
as this method is not used in Profile sharingprepareFListforGroupInfoSharings
in class PSharingController
protected void prepareIndexMapping(HashMap indexMapping, SparseArray sharingsArray) throws EBufException
prepareIndexMapping
as this method is not used in Profile sharingprepareIndexMapping
in class PSharingController
EBufException
public ArrayList getMembersInfo(Poid memberPoid) throws SharingException
PGroupData
and returns that object.
groupPoid
- Poid the group poidSharingException
public PGroupData getGroupInfo(Poid groupPoid) throws SharingException
PGroupData
and returns that object.
getGroupInfo
in class PSharingController
groupPoid
- Poid the group poidSharingException
public void createGroup(PGroupData gData) throws SharingException
PGroupData
.
This will throw SharingException
if there is
any problem while creating the group.createGroup
in class PSharingController
gData
- PGroupData the group information objectSharingException
public final void modifyGroup(PGroupData gData) throws SharingException
PGroupData
. This will throw
SharingException
when there is a problem
while updating the group.modifyGroup
in class PSharingController
gData
- PGroupData the group information objectSharingException
public ArrayList getOwnershipData(Poid acctPoid) throws SharingException
getOwnershipData
in class PSharingController
acctPoid
- Poid an account poidSharingException
Copyright © 2003, 2023, Oracle and/or its affiliates.