@Scope(value="prototype") @Path(value="/{path: .*}/fcr:import") @Deprecated public class FedoraImport extends FedoraBaseResource
Modifier and Type | Field and Description |
---|---|
protected SerializerUtil |
serializers
Deprecated.
|
idTranslator, session
binaryService, containerService, defaultPidMinter, eventBus, headers, nodeService, pidMinter, sessions, uriInfo, versionService
Constructor and Description |
---|
FedoraImport()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
importObject(String externalPath,
String format,
InputStream requestBodyStream)
Deprecated.
Deserialize a serialized object at the current path POST
/fcr:import?format=jcr/xml (with a JCR/XML payload)
|
asNode, getBaseUrlProperty, getResourceFromPath, session, setUpJMSInfo, translator
toPath
@Autowired protected SerializerUtil serializers
public FedoraImport()
@POST public javax.ws.rs.core.Response importObject(@PathParam(value="path") String externalPath, @QueryParam(value="format") @DefaultValue(value="jcr/xml") String format, InputStream requestBodyStream) throws IOException, InvalidChecksumException, URISyntaxException
externalPath
- the external pathformat
- the formatrequestBodyStream
- the request body streamIOException
- if IO exception occurredInvalidChecksumException
- if invalid checksum exception occurredURISyntaxException
- if uri syntax exceptionCopyright © 2013–2016 DuraSpace, Inc.. All rights reserved.