public interface

DataCategoryTree

com.salesforce.android.knowledge.core.model.DataCategoryTree

Class Overview

A tree of data categories, which allows navigating the parent/child relationships between categories.

Instances of this class may be retrieved by fetching a DataCategoryGroup and iterating its top categories.

Summary

Public Methods
abstract Set<DataCategoryTree> getChildDataCategories()
The direct children sub categories.
abstract DataCategorySummary getDataCategory()
Retrieve the data category summary for this node of the tree.
abstract DataCategoryTree getParentDataCategory()
The parent node of the tree, if any.

Public Methods

public abstract Set<DataCategoryTree> getChildDataCategories ()

The direct children sub categories. May be an empty set if there are no child categories.

Returns
  • The set of child categories.

public abstract DataCategorySummary getDataCategory ()

Retrieve the data category summary for this node of the tree.

Returns
  • The data category summary.

public abstract DataCategoryTree getParentDataCategory ()

The parent node of the tree, if any.

Returns
  • The parent category node, or null if this is a top-level category.