Class AbstractOperationMultiValuedProperty
- java.lang.Object
-
- org.nuxeo.ecm.automation.core.operations.document.AbstractOperationMultiValuedProperty
-
- Direct Known Subclasses:
AddEntryToMultiValuedProperty
,RemoveEntryOfMultiValuedProperty
public class AbstractOperationMultiValuedProperty extends Object
Abstract Class that exposes some useful method to manage list of values- Since:
- 5.7
- Author:
- Benjamin JALON
-
-
Constructor Summary
Constructors Constructor Description AbstractOperationMultiValuedProperty()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
checkFieldType(Type type, Object value)
Check if the given field type store a list of values and if the given value is compatible with the given type.
-
-
-
Method Detail
-
checkFieldType
protected void checkFieldType(Type type, Object value) throws OperationException
Check if the given field type store a list of values and if the given value is compatible with the given type. We assume the Type store a list of scalar values, not complex types.- Throws:
OperationException
-
-