Class UpdateNonRdfSourceOperation
- java.lang.Object
-
- org.fcrepo.kernel.impl.operations.AbstractResourceOperation
-
- org.fcrepo.kernel.impl.operations.AbstractNonRdfSourceOperation
-
- org.fcrepo.kernel.impl.operations.UpdateNonRdfSourceOperation
-
- All Implemented Interfaces:
org.fcrepo.kernel.api.operations.NonRdfSourceOperation,org.fcrepo.kernel.api.operations.ResourceOperation
public class UpdateNonRdfSourceOperation extends AbstractNonRdfSourceOperation
Operation for updating a non-rdf source- Author:
- bbpennel
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedUpdateNonRdfSourceOperation(org.fcrepo.kernel.api.Transaction transaction, org.fcrepo.kernel.api.identifiers.FedoraId rescId, InputStream content)Constructor for internal binaries.protectedUpdateNonRdfSourceOperation(org.fcrepo.kernel.api.Transaction transaction, org.fcrepo.kernel.api.identifiers.FedoraId rescId, URI externalContentURI, String externalHandling)Constructor for external content.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.fcrepo.kernel.api.operations.ResourceOperationTypegetType()-
Methods inherited from class org.fcrepo.kernel.impl.operations.AbstractNonRdfSourceOperation
getContent, getContentDigests, getContentSize, getContentStream, getContentUri, getDigests, getExternalHandling, getExternalHandlingType, getExternalHandlingURI, getFilename, getMimeType, setContent, setContentSize, setDigests, setExternalHandlingType, setExternalHandlingURI, setFilename, setMimeType
-
Methods inherited from class org.fcrepo.kernel.impl.operations.AbstractResourceOperation
getResourceId, getTransaction, getUserPrincipal, setUserPrincipal
-
-
-
-
Constructor Detail
-
UpdateNonRdfSourceOperation
protected UpdateNonRdfSourceOperation(org.fcrepo.kernel.api.Transaction transaction, org.fcrepo.kernel.api.identifiers.FedoraId rescId, InputStream content)
Constructor for internal binaries.- Parameters:
rescId- the internal identifier.content- the stream of the content.
-
UpdateNonRdfSourceOperation
protected UpdateNonRdfSourceOperation(org.fcrepo.kernel.api.Transaction transaction, org.fcrepo.kernel.api.identifiers.FedoraId rescId, URI externalContentURI, String externalHandling)
Constructor for external content.- Parameters:
transaction- the transactionrescId- the internal identifier.externalContentURI- the URI of the external content.externalHandling- the type of external content handling (REDIRECT, PROXY)
-
-
Method Detail
-
getType
public org.fcrepo.kernel.api.operations.ResourceOperationType getType()
-
-