Interface B2BCommerceUserFacade

    • Method Detail

      • getPagedApproversForCustomer

        SearchPageData<CustomerData> getPagedApproversForCustomer​(PageableData pageableData,
                                                                  java.lang.String uid)
        Deprecated.
        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.
        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.
        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.
        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.
        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.
        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
        B2BSelectionData removeB2BUserGroupFromCustomer​(java.lang.String user,
                                                        java.lang.String usergroup)
        Deprecated.
        Since 6.0. Use deselectB2BUserGroupFromCustomer(String user, String usergroup) or removeB2BUserGroupFromCustomerGroups(String user, String usergroup) instead.
        Parameters:
        user -
        usergroup -
        Returns:
        returns a B2BSelectionData.