Class SetPropertiesValidation
- java.lang.Object
-
- org.nuxeo.ecm.core.bulk.AbstractBulkActionValidation
-
- org.nuxeo.ecm.core.bulk.validation.SetPropertiesValidation
-
- All Implemented Interfaces:
BulkActionValidation
public class SetPropertiesValidation extends AbstractBulkActionValidation
- Since:
- 10.10
-
-
Constructor Summary
Constructors Constructor Description SetPropertiesValidation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<String>
getParametersToValidate()
Returns the list of parameters to validate.void
validate(BulkCommand command)
Checks if action parameters are valid.protected void
validateCommand(BulkCommand command)
Validates the command.-
Methods inherited from class org.nuxeo.ecm.core.bulk.AbstractBulkActionValidation
invalidParameterMessage, unknownParameterMessage, validateBoolean, validateList, validateMap, validateSchema, validateString, validateStringValue, validateXpath
-
-
-
-
Method Detail
-
validate
public void validate(BulkCommand command) throws IllegalArgumentException
Description copied from interface:BulkActionValidation
Checks if action parameters are valid.- Specified by:
validate
in interfaceBulkActionValidation
- Overrides:
validate
in classAbstractBulkActionValidation
- Throws:
IllegalArgumentException
- if some action parameters are invalid.
-
getParametersToValidate
protected List<String> getParametersToValidate()
Description copied from class:AbstractBulkActionValidation
Returns the list of parameters to validate.- Specified by:
getParametersToValidate
in classAbstractBulkActionValidation
-
validateCommand
protected void validateCommand(BulkCommand command) throws IllegalArgumentException
Description copied from class:AbstractBulkActionValidation
Validates the command.- Specified by:
validateCommand
in classAbstractBulkActionValidation
- Throws:
IllegalArgumentException
-
-