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
-
public class LicenseRemovePatchOperation extends RemovePatchOperation<String>
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 Constructor Description LicenseRemovePatchOperation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Class<String[]>getArrayClassForEvaluation()protected Class<String>getClassForEvaluation()-
Methods inherited from class org.dspace.app.rest.submit.factory.impl.RemovePatchOperation
perform
-
Methods inherited from class org.dspace.app.rest.submit.factory.impl.PatchOperation
evaluateArrayObject, evaluateSingleObject, getAbsolutePath
-
-
-
-
Method Detail
-
getArrayClassForEvaluation
protected Class<String[]> getArrayClassForEvaluation()
- Specified by:
getArrayClassForEvaluationin classPatchOperation<String>
-
getClassForEvaluation
protected Class<String> getClassForEvaluation()
- Specified by:
getClassForEvaluationin classPatchOperation<String>
-
-