Interface ContentLabelService.Validator
-
- Enclosing interface:
- ContentLabelService
public static interface ContentLabelService.ValidatorProvides methods for validating actions on the ContentLabelService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ValidationResultvalidateAddLabels(ContentId contentId, Label... labels)Validates that the list of labels can be added to the given content
-
-
-
Method Detail
-
validateAddLabels
ValidationResult validateAddLabels(ContentId contentId, Label... labels)
Validates that the list of labels can be added to the given content- Parameters:
labels- the list of labels to validate- Returns:
- a validation result indicating if the action can be performed
-
-