Files
alfresco-ng2-components/docs/content-services/services/category-tree-datasource.service.md
AleksanderSklorz 02dcd4fb48 [ACS-4565] add search for categories tree in admin cc (#8279)
* ACS-4565 Added possibility to search categories

* ACS-4565 Fixed unit test

* ACS-4565 Fixed lint issue

* ACS-4565 Removed extra empty line

* ACS-4565 Replaced tags label with categories label in unit tests

* ACS-4565 Replaced tags label with categories label in doc
2023-02-20 15:53:22 +00:00

1.7 KiB

Title, Added, Status, Last reviewed
Title Added Status Last reviewed
Category tree datasource service v6.0.0.0 Active 2023-01-25

Category tree datasource service

Datasource service for category tree.

Class members

Methods

  • getSubNodes(parentNodeId: string, skipCount?: number, maxItems?: number, name?: string): Observable<TreeResponse<CategoryNode>>
    Gets categories as nodes for category tree.
    • parentNodeId: string - Identifier of a parent category
    • skipCount: number - Number of top categories to skip
    • maxItems: number - Maximum number of subcategories returned from Observable
    • name: string - Optional parameter which specifies if categories should be filtered out by name or not. If not specified then returns categories without filtering.
    • Returns Observable<TreeResponse<CategoryNode>> - TreeResponse object containing pagination object and list on nodes

Details

Category tree datasource service acts as datasource for tree component utilizing category service. See the Tree component and Tree service to get more details on how datasource is used.