You are here

CategoryNode API

The CategoryNode objects returned from the classification object methods are extended from the standard JavaScript ScriptNode model.

Properties

isCategory
Returns true if this is a category node, or false otherwise. This is supported by all nodes types.
categoryMembers
Gets an array of all the members of this category at any depth
subCategories
Gets an array of all the subcategories of this category at any depth
membersAndSubCategories
Gets an array of all the subcategories and members of this category at any depth
immediateCategoryMembers
Gets an array of all the immediate members of this category (only direct members of this category and not through sub categories).
immediateSubCategories
Gets an array of all the immediate subcategories of this category (only direct subcategories of this category and not through subcategories)
immediateMembersAndSubCategories
Gets an array of all the immediate subcategories and members of this category (only direct subcategories and members of this category and not through subcategories)

Sending feedback to the Alfresco documentation team

You don't appear to have JavaScript enabled in your browser. With JavaScript enabled, you can provide feedback to us using our simple form. Here are some instructions on how to enable JavaScript in your web browser.