public interface

DataCategorySummary

implements Serializable
com.salesforce.android.knowledge.core.model.DataCategorySummary

Class Overview

A data category groups together multiple related articles under a common heading.

Data categories can be retrieved using a DataCategoriesRequest.

You can fetch the articles that exist within a data category using an ArticleListRequest and specifying the dataCategory(String, String) option.

Summary

Public Methods
abstract String getLabel()
The human-readable label for the category.
abstract String getName()
The API name for the data category.
abstract int getNumSubCategories()
The number of direct child sub categories that exist within this category.

Public Methods

public abstract String getLabel ()

The human-readable label for the category.

Returns
  • The category label.

public abstract String getName ()

The API name for the data category. This name is unique in the organization. Use getLabel() to retrieve a version of the name suitable for display to the end user.

Returns
  • The API name for the data category.

public abstract int getNumSubCategories ()

The number of direct child sub categories that exist within this category. This count does not include any potential descendant categories that are not direct children.

Returns
  • The number of sub categories.