Class DefaultB2BCommerceB2BUserGroupFacade

    • Constructor Detail

      • DefaultB2BCommerceB2BUserGroupFacade

        public DefaultB2BCommerceB2BUserGroupFacade()
        Deprecated, for removal: This API element is subject to removal in a future version.
    • Method Detail

      • getPagedCustomersForUserGroup

        public SearchPageData<CustomerData> getPagedCustomersForUserGroup​(PageableData pageableData,
                                                                          java.lang.String usergroupUID)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: B2BUserGroupFacade
        Get paginated list of customers who are members of the given B2B user group.
        Specified by:
        getPagedCustomersForUserGroup in interface B2BUserGroupFacade
        Parameters:
        pageableData - pagination information for the request
        usergroupUID - the uid of the user group
        Returns:
        a paginated list of CustomerData
      • addPermissionToUserGroup

        public B2BSelectionData addPermissionToUserGroup​(java.lang.String userGroupUid,
                                                         java.lang.String permission)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: B2BCommerceB2BUserGroupFacade
        Add a permission to a B2BUserGroupModel
        Specified by:
        addPermissionToUserGroup in interface B2BCommerceB2BUserGroupFacade
        Parameters:
        userGroupUid - A uid of a UserGroupModel
        permission - A permission code of B2BPermissionModel
        Returns:
        A data object with information about the selected permission
      • updateUserGroup

        public void updateUserGroup​(java.lang.String userGroupUid,
                                    B2BUserGroupData userGroupData)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: B2BUserGroupFacade
        Updates B2B user group based on passed in data object. If no user group exists for the given uid a new user group is created.
        Specified by:
        updateUserGroup in interface B2BUserGroupFacade
        Parameters:
        userGroupUid - the uid of the user group to be updated
        userGroupData - B2BUserGroupData containing the update information
      • disableUserGroup

        public void disableUserGroup​(java.lang.String userGroupUid)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: B2BUserGroupFacade
        Disabled a user group by removing all members from it.
        Specified by:
        disableUserGroup in interface B2BUserGroupFacade
        Parameters:
        userGroupUid - the uid of the user group
      • removeUserGroup

        public void removeUserGroup​(java.lang.String userGroupUid)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: B2BUserGroupFacade
        Remove the user group with the given uid.
        Specified by:
        removeUserGroup in interface B2BUserGroupFacade
        Parameters:
        userGroupUid - the uid of the user group
      • addMemberToUserGroup

        public CustomerData addMemberToUserGroup​(java.lang.String usergroup,
                                                 java.lang.String user)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: B2BUserGroupFacade
        Add the user with the given uid as a member of the user group.
        Specified by:
        addMemberToUserGroup in interface B2BUserGroupFacade
        Parameters:
        usergroup - the uid of the user group
        user - the uid of the user
        Returns:
        CustomerData
      • removeMemberFromUserGroup

        public CustomerData removeMemberFromUserGroup​(java.lang.String usergroup,
                                                      java.lang.String user)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: B2BUserGroupFacade
        Remove the member with the given uid from the user group.
        Specified by:
        removeMemberFromUserGroup in interface B2BUserGroupFacade
        Parameters:
        usergroup - the uid of the user group
        user - the uid of the member
        Returns:
        CustomerData