DescribeDataCategoryGroupResult Class
Contains the list of the category groups associated with KnowledgeArticleVersion and Question.
The describeDataCategoryGroups method returns a Schema.DescribeDataCategoryGroupResult object containing the list of the category groups associated with the specified object.
For additional information and code examples using describeDataCategoryGroups, see Accessing All Data Categories Associated with an sObject.
The following is an example of how to instantiate a data category group describe result object:
The following are methods for DescribeDataCategoryGroupResult. All are instance methods.
-
Returns the number of visible data categories in the data category group.
-
Returns the description of the data category group.
-
Returns the label for the data category group used in the Salesforce user interface.
-
Returns the unique name used by the API to access to the data category group.
-
Returns the object name associated with the data category group.
Returns the number of visible data categories in the data category group.
public Integer getCategoryCount()
Type: Integer
Returns the description of the data category group.
public String getDescription()
Type: String
Returns the label for the data category group used in the Salesforce user interface.
public String getLabel()
Type: String
Returns the unique name used by the API to access to the data category group.
public String getName()
Type: String
Returns the object name associated with the data category group.
public String getSobject()
Type: String