Package org.dspace.app.rest.utils
Class BitstreamMetadataValuePathUtils
java.lang.Object
org.dspace.app.rest.utils.BitstreamMetadataValuePathUtils
Utils class offering methods to validate patch operations for bitstream metadata in the submission
- Author:
- Mykhaylo Boychuk (mykhaylo.boychuk at 4science.it)
-
Method Summary
-
Method Details
-
validate
Method to verify that the path included in the patch operation is supported by the submission configuration of the upload section- Parameters:
stepId- the name of the upload configurationabsolutePath- the path in the json patch operation- Throws:
DCInputsReaderException- if an error occurs reading the submission configurationUnprocessableEntityException- if the path is invalid
-