Class DefaultB2BCommerceUserFacade

    • Constructor Detail

      • DefaultB2BCommerceUserFacade

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

      • getPagedCustomers

        public SearchPageData<CustomerData> getPagedCustomers​(PageableData pageableData)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: B2BUserFacade
        Get Paginated list of customers.
        Specified by:
        getPagedCustomers in interface B2BUserFacade
        Parameters:
        pageableData - Pagination Data
        Returns:
        A paginated list of customers
      • addApproverForCustomer

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

        public B2BSelectionData removeApproverFromCustomer​(java.lang.String user,
                                                           java.lang.String approver)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: B2BCommerceUserFacade
        Remove an existing approver to the customer
        Specified by:
        removeApproverFromCustomer in interface B2BCommerceUserFacade
        Parameters:
        user - the uid of the customer
        approver - the approver uid
        Returns:
        returns the B2BSelectionData
      • resetCustomerPassword

        public void resetCustomerPassword​(java.lang.String uid,
                                          java.lang.String updatedPassword)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: B2BUserFacade
        Reset the customer password.
        Specified by:
        resetCustomerPassword in interface B2BUserFacade
        Parameters:
        uid - the uid of the customer
      • disableCustomer

        public void disableCustomer​(java.lang.String uid)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: B2BUserFacade
        Disable a customer.
        Specified by:
        disableCustomer in interface B2BUserFacade
        Parameters:
        uid - the uid of the customer
      • enableCustomer

        public void enableCustomer​(java.lang.String uid)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: B2BUserFacade
        Enable a customer.
        Specified by:
        enableCustomer in interface B2BUserFacade
        Parameters:
        uid - the uid of the customer
      • removeUserRole

        public B2BSelectionData removeUserRole​(java.lang.String user,
                                               java.lang.String role)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: B2BUserFacade
        Remove the role from a user.
        Specified by:
        removeUserRole in interface B2BUserFacade
        Parameters:
        user - the uid of the user
        role - the uid of the role to be removed
        Returns:
        Returns the B2BSelectionData
      • addUserRole

        public B2BSelectionData addUserRole​(java.lang.String user,
                                            java.lang.String role)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: B2BUserFacade
        Adds a role to a user.
        Specified by:
        addUserRole in interface B2BUserFacade
        Parameters:
        user - the uid of the user
        role - the uid of the role to be removed
        Returns:
        Returns the B2BSelectionData
      • addPermissionToCustomer

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

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

        public B2BSelectionData addB2BUserGroupToCustomer​(java.lang.String user,
                                                          java.lang.String usergroup)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: B2BUserFacade
        Add b2b user group to a customer.
        Specified by:
        addB2BUserGroupToCustomer in interface B2BUserFacade
        Parameters:
        user - the uid of the customer
        usergroup - the uid od the user group
        Returns:
        Returns B2BSelectionData
      • removeB2BUserGroupFromCustomerGroups

        public void removeB2BUserGroupFromCustomerGroups​(java.lang.String user,
                                                         java.lang.String usergroup)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: B2BUserFacade
        Remove b2b user group from a customer.
        Specified by:
        removeB2BUserGroupFromCustomerGroups in interface B2BUserFacade
        Parameters:
        user - the uid of the customer
        usergroup - the uid od the user group
      • deselectB2BUserGroupFromCustomer

        public B2BSelectionData deselectB2BUserGroupFromCustomer​(java.lang.String user,
                                                                 java.lang.String usergroup)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: B2BUserFacade
        Deselects b2b user group from a customer.
        Specified by:
        deselectB2BUserGroupFromCustomer in interface B2BUserFacade
        Parameters:
        user - the uid of the customer
        usergroup - the uid od the user group
        Returns:
        Returns B2BSelectionData