| Package | Description |
|---|---|
| org.dspace.app.rest.converter | |
| org.dspace.app.rest.repository | |
| org.dspace.app.rest.security |
| Modifier and Type | Method and Description |
|---|---|
Patch |
JsonPatchConverter.convert(com.fasterxml.jackson.databind.JsonNode jsonNode)
Constructs a
Patch object given a JsonNode. |
Patch |
PatchConverter.convert(T patchRepresentation)
Convert a patch document representation to a
Patch. |
| Modifier and Type | Method and Description |
|---|---|
T |
PatchConverter.convert(Patch patch)
Convert a
Patch to a representation object. |
com.fasterxml.jackson.databind.JsonNode |
JsonPatchConverter.convert(Patch patch)
Renders a
Patch as a JsonNode. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
DSpaceRestRepository.patch(Context context,
javax.servlet.http.HttpServletRequest request,
String apiCategory,
String model,
ID id,
Patch patch)
Method to implement to allow partial update of the REST object via JSON Patch
|
void |
WorkspaceItemRestRepository.patch(Context context,
javax.servlet.http.HttpServletRequest request,
String apiCategory,
String model,
Integer id,
Patch patch) |
void |
WorkflowItemRestRepository.patch(Context context,
javax.servlet.http.HttpServletRequest request,
String apiCategory,
String model,
Integer id,
Patch patch) |
protected void |
SiteRestRepository.patch(Context context,
javax.servlet.http.HttpServletRequest request,
String apiCategory,
String model,
UUID id,
Patch patch) |
protected void |
ItemRestRepository.patch(Context context,
javax.servlet.http.HttpServletRequest request,
String apiCategory,
String model,
UUID id,
Patch patch) |
protected void |
GroupRestRepository.patch(Context context,
javax.servlet.http.HttpServletRequest request,
String apiCategory,
String model,
UUID id,
Patch patch) |
protected void |
EPersonRestRepository.patch(Context context,
javax.servlet.http.HttpServletRequest request,
String apiCategory,
String model,
UUID uuid,
Patch patch) |
protected void |
CommunityRestRepository.patch(Context context,
javax.servlet.http.HttpServletRequest request,
String apiCategory,
String model,
UUID id,
Patch patch) |
protected void |
CollectionRestRepository.patch(Context context,
javax.servlet.http.HttpServletRequest request,
String apiCategory,
String model,
UUID id,
Patch patch) |
protected void |
BitstreamRestRepository.patch(Context context,
javax.servlet.http.HttpServletRequest request,
String apiCategory,
String model,
UUID id,
Patch patch) |
T |
DSpaceRestRepository.patch(javax.servlet.http.HttpServletRequest request,
String apiCategory,
String model,
ID id,
Patch patch)
Apply a partial update to the REST object via JSON Patch
|
protected void |
DSpaceObjectRestRepository.patchDSpaceObject(String apiCategory,
String model,
UUID id,
Patch patch)
Updates the DSpaceObject according to the given Patch.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
RestObjectPermissionEvaluatorPlugin.hasPatchPermission(org.springframework.security.core.Authentication authentication,
Serializable targetId,
String targetType,
Patch patch)
Checks permissions for
Patch requests. |
boolean |
EPersonRestPermissionEvaluatorPlugin.hasPatchPermission(org.springframework.security.core.Authentication authentication,
Serializable targetId,
String targetType,
Patch patch) |
Copyright © 2019 DuraSpace. All rights reserved.