@Component public class EPersonPasswordReplaceOperation extends ReplacePatchOperation<EPersonRest,String>
curl -X PATCH http://${dspace.url}/api/epersons/eperson/<:id-eperson> -H "
Content-Type: application/json" -d '[{ "op": "replace", "path": "
/password", "value": "newpassword"]'
| Constructor and Description |
|---|
EPersonPasswordReplaceOperation() |
| Modifier and Type | Method and Description |
|---|---|
protected Class<String[]> |
getArrayClassForEvaluation()
This method should return the typed array to be used in the
LateObjectEvaluator evaluation of json arrays.
|
protected Class<String> |
getClassForEvaluation()
This method should return the object type to be used in the
LateObjectEvaluator evaluation of json objects.
|
performprotected Class<String[]> getArrayClassForEvaluation()
PatchOperationgetArrayClassForEvaluation in class PatchOperation<EPersonRest,String>protected Class<String> getClassForEvaluation()
PatchOperationgetClassForEvaluation in class PatchOperation<EPersonRest,String>Copyright © 2019 DuraSpace. All rights reserved.