public interface B2BUserGroupFacade
| Modifier and Type | Method and Description |
|---|---|
CustomerData |
addMemberToUserGroup(String userGroupUid,
String userUid)
Add the user with the given uid as a member of the user group.
|
void |
disableUserGroup(String userGroupUid)
Disabled a user group by removing all members from it.
|
B2BUserGroupData |
getB2BUserGroup(String userGroupUid)
Get the User Group Data with the uid
|
SearchPageData<B2BUserGroupData> |
getPagedB2BUserGroups(PageableData pageableData)
Get a paginated lists of B2B user groups.
|
SearchPageData<CustomerData> |
getPagedCustomersForUserGroup(PageableData pageableData,
String userGroupUid)
Get paginated list of customers who are members of the given B2B user group.
|
SearchPageData<CustomerData> |
getPagedUserData(PageableData pageableData)
Get a paginated list of B2B users.
|
UserGroupData |
getUserGroupDataForUid(String userGroupUid)
Get the user group data for the given uid.
|
List<String> |
getUserGroups()
A list of user group codes (roles) a b2b customer can be assigned to.
|
CustomerData |
removeMemberFromUserGroup(String userGroupUid,
String userUid)
Remove the member with the given uid from the user group.
|
void |
removeUserGroup(String userGroupUid)
Remove the user group with the given uid.
|
void |
updateUserGroup(String userGroupUid,
B2BUserGroupData userGroupData)
Updates B2B user group based on passed in data object.
|
SearchPageData<CustomerData> getPagedCustomersForUserGroup(PageableData pageableData, String userGroupUid)
pageableData - pagination information for the requestuserGroupUid - the uid of the user groupCustomerDatavoid updateUserGroup(String userGroupUid, B2BUserGroupData userGroupData)
userGroupUid - the uid of the user group to be updateduserGroupData - B2BUserGroupData containing the update informationvoid disableUserGroup(String userGroupUid)
userGroupUid - the uid of the user groupvoid removeUserGroup(String userGroupUid)
userGroupUid - the uid of the user groupSearchPageData<CustomerData> getPagedUserData(PageableData pageableData)
pageableData - pagination information for the requestCustomerDataSearchPageData<B2BUserGroupData> getPagedB2BUserGroups(PageableData pageableData)
pageableData - pagination information for the requestB2BUserGroupDataB2BUserGroupData getB2BUserGroup(String userGroupUid)
userGroupUid - the uid of the user groupB2BUserGroupDataCustomerData addMemberToUserGroup(String userGroupUid, String userUid)
userGroupUid - the uid of the user groupuserUid - the uid of the userCustomerDataCustomerData removeMemberFromUserGroup(String userGroupUid, String userUid)
userGroupUid - the uid of the user groupuserUid - the uid of the memberCustomerDataUserGroupData getUserGroupDataForUid(String userGroupUid)
userGroupUid - the uid of the user groupUserGroupDataList<String> getUserGroups()
PrincipalModel.UID a b2b customer can be assigned toCopyright © 2017 SAP SE. All Rights Reserved.