public interface B2BCommerceB2BUserGroupService
| Modifier and Type | Method and Description |
|---|---|
B2BCustomerModel |
addMemberToUserGroup(String userGroup,
String user)
Gets updated customer, after adding customer to given user group
|
void |
disableUserGroup(String uid)
Disable a user group given its uid
|
SearchPageData<B2BUserGroupModel> |
getPagedB2BUserGroups(PageableData pageableData)
Gets list of
SearchPageData for pagination given the required pagination parameters with
PageableData |
<T extends UserGroupModel> |
getUserGroupForUID(String uid,
Class<T> userGroupType)
Gets a user group for given uid and user group type
|
B2BCustomerModel |
removeMemberFromUserGroup(String userGroup,
String user)
Gets updated customer, after removing customer from a given user group
|
void |
removeUserGroup(String uid)
Remove user group given its uid
|
Set<PrincipalGroupModel> |
updateUserGroups(Collection<String> userGroups,
Collection<String> roles,
B2BCustomerModel customerModel)
Gets updated collection of user groups
|
SearchPageData<B2BUserGroupModel> getPagedB2BUserGroups(PageableData pageableData)
SearchPageData for pagination given the required pagination parameters with
PageableDatapageableData - Pagination informationB2BUserGroupModel objectsSet<PrincipalGroupModel> updateUserGroups(Collection<String> userGroups, Collection<String> roles, B2BCustomerModel customerModel)
userGroups - Collection of user groups that has to be updated customerroles - Collection of rolescustomerModel - Customer object for which the user group has to be updatedPrincipalGroupModel object with given user groups.<T extends UserGroupModel> T getUserGroupForUID(String uid, Class<T> userGroupType)
uid - A unique identifier for B2BUserGroupModeluserGroupType - User group typevoid disableUserGroup(String uid)
uid - A unique identifier for B2BUserGroupModelvoid removeUserGroup(String uid)
uid - A unique identifier for B2BUserGroupModelB2BCustomerModel addMemberToUserGroup(String userGroup, String user)
userGroup - A unique identifier for B2BUserGroupModeluser - A unique identifier for B2BCustomerModelB2BCustomerModel objectB2BCustomerModel removeMemberFromUserGroup(String userGroup, String user)
userGroup - A unique identifier for B2BUserGroupModeluser - A unique identifier for B2BCustomerModelB2BCustomerModel objectCopyright © 2017 SAP SE. All Rights Reserved.