LPS-38557 Create a property so that chunk size can be changed by the portal admins
LPS-38557 Do a real tree traversal so that we don't process a group more than once. Splitting up the read for each level helps with shallow but wide trees so that we don't keep all nodes in memory of the previous levels.
LPS-38557 Apply to Organizations (same logic)
LPS-38557 Remove recursion in GroupImpl.buildTreePath()
LPS-38557 Refactor GroupLocalServiceImpl.rebuildTree(long), 1) Use custom sql rather than DynamicQuery, 2) Use seeded pagination rather than offset/limit, 3) Use stack to keep traversal traces rather than recursion
LPS-38557 Regenerate
LPS-38557 Integration test
LPS-38557 Source formatting
LPS-38557 Apply to organizations
LPS-38557 Regenerate
LPS-38557 Change property name
LPS-38557 Organize it better
LPS-38557 Avoid difficult to read block
LPS-38557 SF