Interface AccessRightValidator
-
@ConsumerType public interface AccessRightValidator
Performs an access right validation on a given resource.- Author:
- Roland Gruber
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getGroupId()
Returns the user or group to check.String
getLabel()
Returns a descriptive label for the check.org.apache.sling.api.resource.Resource
getResource()
Returns the resource to check.ValidationResult
validate(boolean simulate)
Performs the provided check.
-
-
-
Method Detail
-
validate
ValidationResult validate(boolean simulate)
Performs the provided check.- Parameters:
simulate
- turn on simulation- Returns:
- result
-
getLabel
String getLabel()
Returns a descriptive label for the check.- Returns:
- label
-
getGroupId
String getGroupId()
Returns the user or group to check.- Returns:
- user/group
-
getResource
org.apache.sling.api.resource.Resource getResource()
Returns the resource to check.- Returns:
- resource
-
-