Interface PermissionsQuery.EitherStage
-
- Enclosing interface:
- PermissionsQuery
public static interface PermissionsQuery.EitherStage
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PermissionsQuery.EitherStagehasContext(ContextDefinition<?> definition)PermissionsQuery.EitherStagehasContext(ContextValue<?> context)PermissionsQuery.EitherStagehasPermission(String permission)Has a permission that evaluates to truePermissionsQuery.EitherStagehasPermissionSet(String permission)Has a permission that may or may not evaluate to truePermissionsQuery.EitherStageisChildOf(SubjectRef<?> parent)PermissionsQuery.SegmentsStagesegments()PermissionsQuery.SubjectStagesubjects()PermissionsQuery.EitherStagewithOption(String option, String value)
-
-
-
Method Detail
-
hasContext
PermissionsQuery.EitherStage hasContext(ContextDefinition<?> definition)
-
hasContext
PermissionsQuery.EitherStage hasContext(ContextValue<?> context)
-
hasPermissionSet
PermissionsQuery.EitherStage hasPermissionSet(String permission)
Has a permission that may or may not evaluate to true- Parameters:
permission-- Returns:
-
hasPermission
PermissionsQuery.EitherStage hasPermission(String permission)
Has a permission that evaluates to true- Parameters:
permission-- Returns:
-
withOption
PermissionsQuery.EitherStage withOption(String option, String value)
-
isChildOf
PermissionsQuery.EitherStage isChildOf(SubjectRef<?> parent)
-
subjects
PermissionsQuery.SubjectStage subjects()
-
segments
PermissionsQuery.SegmentsStage segments()
-
-