Package org.fcrepo.kernel.api.operations
Interface NonRdfSourceOperationFactory
- All Superinterfaces:
ResourceOperationFactory
Factory for constructing operations on non-rdf sources
- Author:
- bbpennel
-
Method Summary
Modifier and TypeMethodDescriptioncreateExternalBinaryBuilder(Transaction transaction, FedoraId rescId, String handling, URI contentUri) Get a builder for a external binary create operationcreateInternalBinaryBuilder(Transaction transaction, FedoraId rescId, InputStream contentStream) Get a builder for an internal binary create operationupdateExternalBinaryBuilder(Transaction transaction, FedoraId rescId, String handling, URI contentUri) Get a builder for a external binary update operationupdateHeadersBuilder(Transaction transaction, FedoraId resourceId, org.fcrepo.config.ServerManagedPropsMode serverManagedPropsMode) Get a builder for an operation to update headers of a Non-RDF resourceupdateInternalBinaryBuilder(Transaction transaction, FedoraId rescId, InputStream contentStream) Get a builder for an internal binary update operation
-
Method Details
-
updateExternalBinaryBuilder
NonRdfSourceOperationBuilder updateExternalBinaryBuilder(Transaction transaction, FedoraId rescId, String handling, URI contentUri) Get a builder for a external binary update operation- Parameters:
transaction- the transactionrescId- id of the resource targeted by the operationhandling- the type of handling to be used for the external binary contentcontentUri- the URI of the external binary content- Returns:
- a new builder
-
updateInternalBinaryBuilder
NonRdfSourceOperationBuilder updateInternalBinaryBuilder(Transaction transaction, FedoraId rescId, InputStream contentStream) Get a builder for an internal binary update operation- Parameters:
transaction- the transactionrescId- id of the resource targeted by the operationcontentStream- inputstream for the content of this binary- Returns:
- a new builder
-
createExternalBinaryBuilder
CreateNonRdfSourceOperationBuilder createExternalBinaryBuilder(Transaction transaction, FedoraId rescId, String handling, URI contentUri) Get a builder for a external binary create operation- Parameters:
transaction- the transactionrescId- id of the resource targeted by the operationhandling- the type of handling to be used for the external binary contentcontentUri- the URI of the external binary content- Returns:
- a new builder
-
createInternalBinaryBuilder
CreateNonRdfSourceOperationBuilder createInternalBinaryBuilder(Transaction transaction, FedoraId rescId, InputStream contentStream) Get a builder for an internal binary create operation- Parameters:
transaction- the transactionrescId- id of the resource targeted by the operationcontentStream- inputstream for the content of this binary- Returns:
- a new builder
-
updateHeadersBuilder
UpdateNonRdfSourceHeadersOperationBuilder updateHeadersBuilder(Transaction transaction, FedoraId resourceId, org.fcrepo.config.ServerManagedPropsMode serverManagedPropsMode) Get a builder for an operation to update headers of a Non-RDF resource- Parameters:
transaction- the transactionresourceId- id of the resource targeted by the operationserverManagedPropsMode- server managed props mode- Returns:
- new builder
-