Class LabelledContentSpaceValidator
java.lang.Object
com.atlassian.confluence.api.impl.service.content.LabelledContentSpaceValidator
This class is responsible for validating content label permission for a space
- Since:
- 9.2.5
-
Constructor Summary
ConstructorsConstructorDescriptionLabelledContentSpaceValidator
(@NonNull LabelManager labelManager, @NonNull PermissionManager permissionManager, int batchSize) -
Method Summary
-
Constructor Details
-
LabelledContentSpaceValidator
public LabelledContentSpaceValidator(@NonNull LabelManager labelManager, @NonNull PermissionManager permissionManager, int batchSize)
-
-
Method Details
-
validate
- Parameters:
space
- Space with contentlabels
- content labels- Returns:
- true if no labels defined or if user has permissions to view any content labelled by all provided labels. false otherwise - there is no visible content which has all provided labels.
-