Package org.dspace.app.rest.repository.patch.operation
package org.dspace.app.rest.repository.patch.operation
-
ClassesClassDescriptionA PATCH operation for removing bitstreams in bulk from the repository.This is the implementation for Bundle move patches.DSpaceObjectMetadataAddOperation<R extends DSpaceObject>Class for PATCH ADD operations on Dspace Objects' metadata Usage: (can be done on other dso than Item also): - ADD metadata (with schema.identifier.qualifier) value of a dso (here: Item) to end of list of md
curl -X PATCH http://${dspace.server.url}/api/core/items/<:id-item> -H " Content-Type: application/json" -d '[{ "op": "add", "path": " /metadata/schema.identifier.qualifier(/0|-)}", "value": "metadataValue"]'DSpaceObjectMetadataCopyOperation<R extends DSpaceObject>Class for PATCH COPY operations on Dspace Objects' metadata Usage: (can be done on other dso than Item also): - COPY metadata (with schema.identifier.qualifier) value of a dso (here: Item) from given index to end of list of mdcurl -X PATCH http://${dspace.server.url}/api/core/items/<:id-item> -H " Content-Type: application/json" -d '[{ "op": "copy", "from": "/metadata/schema.identifier.qualifier/indexToCopyFrom" "path": "/metadata/schema.identifier.qualifier/-"}]'DSpaceObjectMetadataMoveOperation<R extends DSpaceObject>Class for PATCH MOVE operations on Dspace Objects' metadata Usage: (can be done on other dso than Item also): - MOVE metadata (with schema.identifier.qualifier) value of a dso (here: Item) from given index in from to given index in pathcurl -X PATCH http://${dspace.server.url}/api/core/items/<:id-item> -H " Content-Type: application/json" -d '[{ "op": "move", "from": "/metadata/schema.identifier.qualifier/indexToCopyFrom" "path": "/metadata/schema.identifier.qualifier/indexToCopyTo"}]'Util class for shared methods between the Metadata OperationsDSpaceObjectMetadataRemoveOperation<R extends DSpaceObject>Class for PATCH REMOVE operations on Dspace Objects' metadata Usage: (can be done on other dso than Item also): - REMOVE metadata (with schema.identifier.qualifier) value of a dso (here: Item) > Without index: removes all md values of that schema.identifier.qualifier type > With index: removes only that select md valuecurl -X PATCH http://${dspace.server.url}/api/core/items/<:id-item> -H " Content-Type: application/json" -d '[{ "op": "remove", "path": "/metadata/schema.identifier.qualifier(/indexOfSpecificMdToRemove)"}]'DSpaceObjectMetadataReplaceOperation<R extends DSpaceObject>Class for PATCH REPLACE operations on Dspace Objects' metadata Usage: (can be done on other dso than Item also): - REPLACE metadata (with schema.identifier.qualifier) value of a dso (here: Item) from existing value to new given valuecurl -X PATCH http://${dspace.server.url}/api/core/items/<:id-item> -H " Content-Type: application/json" -d '[{ "op": "replace", "path": " /metadata/schema.identifier.qualifier}", "value": "newMetadataValue"]'Implementation for EPerson requires certificate patches.Implementation for EPerson password patches.Implementation for EPerson canLogin patches.Implementation for EPerson netid patches.Implementation for EPerson password patches.Value object that stores the new password to set and the current password to verify.Implementation for Group name replacement patches.This is the implementation for Item 'discoverable' patches.This is the implementation for Item 'withdrawn' patches.Implementation for NotifyService usesActorEmailId Replace patches.Base class for all resource patch operations.Replace operation related to theQAEventstatus.RegistrationEmailPatchOperation<R extends RegistrationData>Implementation for RegistrationData email patches.Implementation of the PATCH operation used to establish the ORCID connection.Implementation for ResearcherProfile ORCID disconnection.Implementation for ResearcherProfile ORCID synchronization preferences patches.Implementation for ResearcherProfile visibility patches.