Table of Contents

Interface IPropDefClassificationTreeDataService

Namespace
Ascon.Polynom.Web.Api.Data.Interfaces.Repository
Assembly
Ascon.Polynom.Web.Api.Data.dll

Представляет репозиторий для работы с деревьями.

public interface IPropDefClassificationTreeDataService : IDataService<ITreeNode>, IDataService

Methods

GetPropDefClassificationTreeAsync(int, int, PropDefClassificationTreeOptions, string, TreeFilterOptions, CancellationToken)

Возвращает первый уровень дерева свойств.

Task<IPaginatedList<IPropertyTreeNode>> GetPropDefClassificationTreeAsync(int pageNumber, int pageSize, PropDefClassificationTreeOptions options = PropDefClassificationTreeOptions.Default, string filterString = "", TreeFilterOptions filterOptions = TreeFilterOptions.Default, CancellationToken cancellationToken = default)

Parameters

pageNumber int

Номер страницы

pageSize int

Количество элементов на странице

options PropDefClassificationTreeOptions

Параметры отображения дерева.

filterString string

Строка фильтрации.

filterOptions TreeFilterOptions

Параметры фильтрации.

cancellationToken CancellationToken

Токен отмены.

Returns

Task<IPaginatedList<IPropertyTreeNode>>

GetPropDefClassificationTreeNodeAsync(int, IdentifiableObjectType, CancellationToken)

Возвращает указанный узел дерева свойств.

Task<IPropertyTreeNode> GetPropDefClassificationTreeNodeAsync(int objectId, IdentifiableObjectType typeId, CancellationToken cancellationToken = default)

Parameters

objectId int

Идентификатор узла дерева связей.

typeId IdentifiableObjectType

Тип узла дерева связей.

cancellationToken CancellationToken

Токен отмены.

Returns

Task<IPropertyTreeNode>

GetPropDefClassificationTreeNodeChildrenAsync(IIdentifiableObject, int, int, PropDefClassificationTreeOptions, string, TreeFilterOptions, CancellationToken)

Возвращает содержимое указанного узла дерева свойств.

Task<IPaginatedList<IPropertyTreeNode>> GetPropDefClassificationTreeNodeChildrenAsync(IIdentifiableObject nodeObject, int pageNumber, int pageSize, PropDefClassificationTreeOptions options = PropDefClassificationTreeOptions.Default, string filterString = "", TreeFilterOptions filterOptions = TreeFilterOptions.Default, CancellationToken cancellationToken = default)

Parameters

nodeObject IIdentifiableObject

Объект узла дерева свойств.

pageNumber int

Номер страницы

pageSize int

Количество элементов на странице

options PropDefClassificationTreeOptions

Параметры отображения дерева.

filterString string

Строка фильтрации.

filterOptions TreeFilterOptions

Параметры фильтрации.

cancellationToken CancellationToken

Токен отмены.

Returns

Task<IPaginatedList<IPropertyTreeNode>>