Class BitstreamMetadataValuePathUtils


  • public class BitstreamMetadataValuePathUtils
    extends Object
    Utils class offering methods to validate patch operations for bitstream metadata in the submission
    Author:
    Mykhaylo Boychuk (mykhaylo.boychuk at 4science.it)
    • Method Detail

      • validate

        public void validate​(String absolutePath)
                      throws org.dspace.app.util.DCInputsReaderException
        Method to verify that the path included in the patch operation is supported by the submission configuration of the upload section
        Parameters:
        absolutePath - the path in the json patch operation
        Throws:
        org.dspace.app.util.DCInputsReaderException - if an error occurs reading the submission configuration
        UnprocessableEntityException - if the path is invalid