Class LicenseRemovePatchOperation
java.lang.Object
org.dspace.app.rest.submit.factory.impl.PatchOperation<T>
org.dspace.app.rest.submit.factory.impl.RemovePatchOperation<String>
org.dspace.app.rest.submit.factory.impl.LicenseRemovePatchOperation
Submission License "remove" patch operation.
To remove a previous granted license:
Example:
curl -X PATCH http://${dspace.server.url}/api/submission/workspaceitems/31599 -H "Content-Type:
application/json" -d '[{ "op": "remove", "path": "/sections/license/granted"}]'
- Author:
- Luigi Andrea Pascarelli (luigiandrea.pascarelli at 4science.it)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class org.dspace.app.rest.submit.factory.impl.RemovePatchOperation
performMethods inherited from class org.dspace.app.rest.submit.factory.impl.PatchOperation
evaluateArrayObject, evaluateSingleObject, getAbsolutePath, getStepId
-
Constructor Details
-
LicenseRemovePatchOperation
public LicenseRemovePatchOperation()
-
-
Method Details
-
getArrayClassForEvaluation
- Specified by:
getArrayClassForEvaluationin classPatchOperation<String>
-
getClassForEvaluation
- Specified by:
getClassForEvaluationin classPatchOperation<String>
-