Share via


EcoResCategory::isDescendant Method

Determines whether the specified category is a descendant node of the given category.

Syntax

server public static boolean isDescendant(
    RecId descendentCategoryId, 
    RecId ancestorCategoryId, 
    boolean checkIsActive)

Run On

Server

Parameters

  • checkIsActive
    Type: boolean
    Determines whether the check on the IsActive field is required or not on the descendent category.

Return Value

Type: boolean
true if the specified category is a descendant or the two nodes are the same; otherwise, false.

See Also

Reference

EcoResCategory Table