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:
NonRdfSourceOperation
,ResourceOperation
public class UpdateNonRdfSourceOperation extends AbstractNonRdfSourceOperation
Operation for updating a non-rdf source- Author:
- bbpennel
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
UpdateNonRdfSourceOperation(Transaction transaction, FedoraId rescId, InputStream content)
Constructor for internal binaries.protected
UpdateNonRdfSourceOperation(Transaction transaction, FedoraId rescId, URI externalContentURI, String externalHandling)
Constructor for external content.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceOperationType
getType()
Returns the type of operation represented by this request-
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
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.fcrepo.kernel.api.operations.ResourceOperation
getResourceId, getTransaction, getUserPrincipal
-
-
-
-
Constructor Detail
-
UpdateNonRdfSourceOperation
protected UpdateNonRdfSourceOperation(Transaction transaction, FedoraId rescId, InputStream content)
Constructor for internal binaries.- Parameters:
rescId
- the internal identifier.content
- the stream of the content.
-
UpdateNonRdfSourceOperation
protected UpdateNonRdfSourceOperation(Transaction transaction, 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 ResourceOperationType getType()
Description copied from interface:ResourceOperation
Returns the type of operation represented by this request- Returns:
- operation type
-
-