public interface B2BCommerceB2BUserGroupService
| Modifier and Type | Method and Description |
|---|---|
B2BCustomerModel |
addMemberToUserGroup(java.lang.String userGroup,
java.lang.String user)
Gets updated customer, after adding customer to given user group
|
void |
disableUserGroup(java.lang.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(java.lang.String uid,
java.lang.Class<T> userGroupType)
Gets a user group for given uid and user group type
|
B2BCustomerModel |
removeMemberFromUserGroup(java.lang.String userGroup,
java.lang.String user)
Gets updated customer, after removing customer from a given user group
|
void |
removeUserGroup(java.lang.String uid)
Remove user group given its uid
|
java.util.Set<PrincipalGroupModel> |
updateUserGroups(java.util.Collection<java.lang.String> userGroups,
java.util.Collection<java.lang.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 objectsjava.util.Set<PrincipalGroupModel> updateUserGroups(java.util.Collection<java.lang.String> userGroups, java.util.Collection<java.lang.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(java.lang.String uid, java.lang.Class<T> userGroupType)
uid - A unique identifier for B2BUserGroupModeluserGroupType - User group typevoid disableUserGroup(java.lang.String uid)
uid - A unique identifier for B2BUserGroupModelvoid removeUserGroup(java.lang.String uid)
uid - A unique identifier for B2BUserGroupModelB2BCustomerModel addMemberToUserGroup(java.lang.String userGroup, java.lang.String user)
userGroup - A unique identifier for B2BUserGroupModeluser - A unique identifier for B2BCustomerModelB2BCustomerModel objectB2BCustomerModel removeMemberFromUserGroup(java.lang.String userGroup, java.lang.String user)
userGroup - A unique identifier for B2BUserGroupModeluser - A unique identifier for B2BCustomerModelB2BCustomerModel objectCopyright © 2018 SAP SE. All Rights Reserved.