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 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 operationUpdateNonRdfSourceOperationBuilder
updateExternalBinaryBuilder(Transaction transaction, FedoraId rescId, String handling, URI contentUri)
Get a builder for a external binary update operationUpdateNonRdfSourceOperationBuilder
updateInternalBinaryBuilder(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:NonRdfSourceOperationFactory
Get a builder for a external binary update operation- Specified by:
updateExternalBinaryBuilder
in 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:NonRdfSourceOperationFactory
Get a builder for an internal binary update operation- Specified by:
updateInternalBinaryBuilder
in 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:NonRdfSourceOperationFactory
Get a builder for a external binary create operation- Specified by:
createExternalBinaryBuilder
in 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:NonRdfSourceOperationFactory
Get a builder for an internal binary create operation- Specified by:
createInternalBinaryBuilder
in interfaceNonRdfSourceOperationFactory
- Parameters:
transaction
- the transactionrescId
- id of the resource targeted by the operationcontentStream
- inputstream for the content of this binary- Returns:
- a new builder
-
-