Interface B2BCommerceUserFacade

  • All Superinterfaces:
    B2BUserFacade
    All Known Implementing Classes:
    DefaultB2BCommerceUserFacade

    @Deprecated(since="6.0",
                forRemoval=true)
    public interface B2BCommerceUserFacade
    extends B2BUserFacade
    Deprecated, for removal: This API element is subject to removal in a future version.
    Since 6.0. Use B2BUserFacade instead.
    A facade for user management within b2b commerce Interface kept for backwards compatibility reasons.
    • Method Detail

      • getPagedApproversForCustomer

        SearchPageData<CustomerData> getPagedApproversForCustomer​(PageableData pageableData,
                                                                  java.lang.String uid)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Gets the list of approvers for the customers
        Parameters:
        pageableData - pagination data
        uid - of customer
        Returns:
        get paginated list found approvers
      • addApproverForCustomer

        B2BSelectionData addApproverForCustomer​(java.lang.String user,
                                                java.lang.String approver)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Add an approver to the customer
        Parameters:
        user - the uid of the customer
        approver - the approver uid
        Returns:
        returns the B2BSelectionData
      • removeApproverFromCustomer

        B2BSelectionData removeApproverFromCustomer​(java.lang.String user,
                                                    java.lang.String approver)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Remove an existing approver to the customer
        Parameters:
        user - the uid of the customer
        approver - the approver uid
        Returns:
        returns the B2BSelectionData
      • getPagedPermissionsForCustomer

        SearchPageData<B2BPermissionData> getPagedPermissionsForCustomer​(PageableData pageableData,
                                                                         java.lang.String uid)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Gets the list of permissions of the customers
        Parameters:
        pageableData - pagination data
        uid - the uid of the customer
        Returns:
        returns the SearchPageData
      • addPermissionToCustomer

        B2BSelectionData addPermissionToCustomer​(java.lang.String user,
                                                 java.lang.String permission)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Add a permission to a customer
        Parameters:
        user - the uid of the customer
        permission - the code of the permission
        Returns:
        returns the B2BSelectionData
      • removePermissionFromCustomer

        B2BSelectionData removePermissionFromCustomer​(java.lang.String user,
                                                      java.lang.String permission)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Remove a permission from a customer
        Parameters:
        user - the uid of the customer
        permission - the code of the permission
        Returns:
        returns the B2BSelectionData
      • removeB2BUserGroupFromCustomer

        @Deprecated(since="6.0",
                    forRemoval=true)
        B2BSelectionData removeB2BUserGroupFromCustomer​(java.lang.String user,
                                                        java.lang.String usergroup)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Since 6.0. Use deselectB2BUserGroupFromCustomer(String user, String usergroup) or removeB2BUserGroupFromCustomerGroups(String user, String usergroup) instead.
        Parameters:
        user -
        usergroup -
        Returns:
        returns a B2BSelectionData.