Class NonRdfSourceOperationFactoryImpl
- java.lang.Object
-
- org.fcrepo.kernel.impl.operations.NonRdfSourceOperationFactoryImpl
-
- All Implemented Interfaces:
NonRdfSourceOperationFactory,ResourceOperationFactory
@Component public class NonRdfSourceOperationFactoryImpl extends Object implements NonRdfSourceOperationFactory
Factory for operations to update non-rdf sources- Author:
- bbpennel
-
-
Constructor Summary
Constructors Constructor Description NonRdfSourceOperationFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateNonRdfSourceOperationBuildercreateExternalBinaryBuilder(Transaction transaction, FedoraId rescId, String handling, URI contentUri)Get a builder for a external binary create operationCreateNonRdfSourceOperationBuildercreateInternalBinaryBuilder(Transaction transaction, FedoraId rescId, InputStream contentStream)Get a builder for an internal binary create operationUpdateNonRdfSourceOperationBuilderupdateExternalBinaryBuilder(Transaction transaction, FedoraId rescId, String handling, URI contentUri)Get a builder for a external binary update operationUpdateNonRdfSourceOperationBuilderupdateInternalBinaryBuilder(Transaction transaction, FedoraId rescId, InputStream contentStream)Get a builder for an internal binary update operation
-
-
-
Constructor Detail
-
NonRdfSourceOperationFactoryImpl
public NonRdfSourceOperationFactoryImpl()
-
-
Method Detail
-
updateExternalBinaryBuilder
public UpdateNonRdfSourceOperationBuilder updateExternalBinaryBuilder(Transaction transaction, FedoraId rescId, String handling, URI contentUri)
Description copied from interface:NonRdfSourceOperationFactoryGet a builder for a external binary update operation- Specified by:
updateExternalBinaryBuilderin interfaceNonRdfSourceOperationFactory- 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
public UpdateNonRdfSourceOperationBuilder updateInternalBinaryBuilder(Transaction transaction, FedoraId rescId, InputStream contentStream)
Description copied from interface:NonRdfSourceOperationFactoryGet a builder for an internal binary update operation- Specified by:
updateInternalBinaryBuilderin interfaceNonRdfSourceOperationFactory- Parameters:
transaction- the transactionrescId- id of the resource targeted by the operationcontentStream- inputstream for the content of this binary- Returns:
- a new builder
-
createExternalBinaryBuilder
public CreateNonRdfSourceOperationBuilder createExternalBinaryBuilder(Transaction transaction, FedoraId rescId, String handling, URI contentUri)
Description copied from interface:NonRdfSourceOperationFactoryGet a builder for a external binary create operation- Specified by:
createExternalBinaryBuilderin interfaceNonRdfSourceOperationFactory- 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
public CreateNonRdfSourceOperationBuilder createInternalBinaryBuilder(Transaction transaction, FedoraId rescId, InputStream contentStream)
Description copied from interface:NonRdfSourceOperationFactoryGet a builder for an internal binary create operation- Specified by:
createInternalBinaryBuilderin interfaceNonRdfSourceOperationFactory- Parameters:
transaction- the transactionrescId- id of the resource targeted by the operationcontentStream- inputstream for the content of this binary- Returns:
- a new builder
-
-