Interface SecureTreeQuery.Builder
- Enclosing interface:
SecureTreeQuery
public static interface SecureTreeQuery.Builder
A builder that combines some conditional tree with conditions from the ACL.
-
Method Summary
Modifier and TypeMethodDescriptionpermission
(Permission permission) Set the permission to be used to select the rules that should be built into the query.@Nullable Node
toTree
(boolean grantPerDefault) Return the resulting conditional tree that combines the conditions from the original query with the conditions from the ACL.
-
Method Details
-
permission
Set the permission to be used to select the rules that should be built into the query.- Parameters:
permission
- The permission used to select the rules.- Returns:
- `this`
-
toTree
Return the resulting conditional tree that combines the conditions from the original query with the conditions from the ACL.- Returns:
- The decorated conditional tree.
- Throws:
PersistException
- If an error occurs.
-