Package org.fcrepo.kernel.api.operations
Interface NonRdfSourceOperationFactory
-
- All Superinterfaces:
ResourceOperationFactory
- All Known Implementing Classes:
NonRdfSourceOperationFactoryImpl
public interface NonRdfSourceOperationFactory extends ResourceOperationFactory
Factory for constructing operations on non-rdf sources- Author:
- bbpennel
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateNonRdfSourceOperationBuilder
createExternalBinaryBuilder(Transaction transaction, FedoraId rescId, String handling, URI contentUri)
Get a builder for a external binary create operationCreateNonRdfSourceOperationBuilder
createInternalBinaryBuilder(Transaction transaction, FedoraId rescId, InputStream contentStream)
Get a builder for an internal binary create operationNonRdfSourceOperationBuilder
updateExternalBinaryBuilder(Transaction transaction, FedoraId rescId, String handling, URI contentUri)
Get a builder for a external binary update operationUpdateNonRdfSourceHeadersOperationBuilder
updateHeadersBuilder(Transaction transaction, FedoraId resourceId, ServerManagedPropsMode serverManagedPropsMode)
Get a builder for an operation to update headers of a Non-RDF resourceNonRdfSourceOperationBuilder
updateInternalBinaryBuilder(Transaction transaction, FedoraId rescId, InputStream contentStream)
Get a builder for an internal binary update operation
-
-
-
Method Detail
-
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, 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
-
-