Interface SecureTreeQuery.Builder
- Enclosing interface:
- SecureTreeQuery
public static interface SecureTreeQuery.Builder
A builder that combines some conditional tree with conditions from the ACL.
- 
Method SummaryModifier and TypeMethodDescriptionpermission(Permission permission) Set the permission to be used to select the rules that should be built into the query.@Nullable NodetoTree(boolean grantPerDefault) Return the resulting conditional tree that combines the conditions from the original query with the conditions from the ACL.
- 
Method Details- 
permissionSet 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`
 
- 
toTreeReturn 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.
 
 
-