Package org.fcrepo.kernel.api.operations
Interface NonRdfSourceOperationFactory
-
- All Superinterfaces:
ResourceOperationFactory
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 CreateNonRdfSourceOperationBuildercreateExternalBinaryBuilder(FedoraId rescId, String handling, URI contentUri)Get a builder for a external binary create operationCreateNonRdfSourceOperationBuildercreateInternalBinaryBuilder(FedoraId rescId, InputStream contentStream)Get a builder for an internal binary create operationNonRdfSourceOperationBuilderupdateExternalBinaryBuilder(FedoraId rescId, String handling, URI contentUri)Get a builder for a external binary update operationNonRdfSourceOperationBuilderupdateInternalBinaryBuilder(FedoraId rescId, InputStream contentStream)Get a builder for an internal binary update operation
-
-
-
Method Detail
-
updateExternalBinaryBuilder
NonRdfSourceOperationBuilder updateExternalBinaryBuilder(FedoraId rescId, String handling, URI contentUri)
Get a builder for a external binary update operation- Parameters:
rescId- 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(FedoraId rescId, InputStream contentStream)
Get a builder for an internal binary update operation- Parameters:
rescId- id of the resource targeted by the operationcontentStream- inputstream for the content of this binary- Returns:
- a new builder
-
createExternalBinaryBuilder
CreateNonRdfSourceOperationBuilder createExternalBinaryBuilder(FedoraId rescId, String handling, URI contentUri)
Get a builder for a external binary create operation- Parameters:
rescId- 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(FedoraId rescId, InputStream contentStream)
Get a builder for an internal binary create operation- Parameters:
rescId- id of the resource targeted by the operationcontentStream- inputstream for the content of this binary- Returns:
- a new builder
-
-