CatDisplayCategoryTable.isDescendantOfPerNSL Method
Indicates whether the record is a descendant of the given parentCategoryFromDB record.
Syntax
public boolean isDescendantOfPerNSL(CatDisplayCategoryTable _parentCategoryFromDB)
Run On
Called
Parameters
- _parentCategoryFromDB
Type: CatDisplayCategoryTable Table
The record as the candidate parent of this record.
Return Value
Type: boolean
true if the record is a descendant of the given parentCategoryFromDB record; otherwise, false.
Remarks
The ParentCategory field on the record must not be used to check because it might have been changed.
The TreeLevel, NestedSetLeft and NestedSetRight fields on the record still have valid values and can be used for checking.