Class AbstractNonRdfSourceOperationBuilder
java.lang.Object
org.fcrepo.kernel.impl.operations.AbstractNonRdfSourceOperationBuilder
- All Implemented Interfaces:
org.fcrepo.kernel.api.operations.NonRdfSourceOperationBuilder,org.fcrepo.kernel.api.operations.ResourceOperationBuilder
- Direct Known Subclasses:
CreateNonRdfSourceOperationBuilderImpl,UpdateNonRdfSourceOperationBuilder
public abstract class AbstractNonRdfSourceOperationBuilder
extends Object
implements org.fcrepo.kernel.api.operations.NonRdfSourceOperationBuilder
An abstract operation for interacting with a non-rdf source
- Author:
- bbpennel
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected InputStreamprotected longprotected Collection<URI> protected Stringprotected URIprotected Stringprotected Stringprotected org.fcrepo.kernel.api.identifiers.FedoraIdprotected org.fcrepo.kernel.api.Transactionprotected String -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractNonRdfSourceOperationBuilder(org.fcrepo.kernel.api.Transaction transaction, org.fcrepo.kernel.api.identifiers.FedoraId rescId, InputStream stream) Constructor for internal binary.protectedAbstractNonRdfSourceOperationBuilder(org.fcrepo.kernel.api.Transaction transaction, org.fcrepo.kernel.api.identifiers.FedoraId rescId, String handling, URI externalUri) Constructor for external binary. -
Method Summary
Modifier and TypeMethodDescriptionorg.fcrepo.kernel.api.operations.NonRdfSourceOperationBuildercontentDigests(Collection<URI> digests) org.fcrepo.kernel.api.operations.NonRdfSourceOperationBuildercontentSize(long size) org.fcrepo.kernel.api.operations.NonRdfSourceOperationBuilderorg.fcrepo.kernel.api.operations.NonRdfSourceOperationBuilderorg.fcrepo.kernel.api.operations.NonRdfSourceOperationBuilderuserPrincipal(String userPrincipal) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.fcrepo.kernel.api.operations.NonRdfSourceOperationBuilder
build
-
Field Details
-
resourceId
-
-
externalURI
-
externalType
-
mimeType
-
filename
-
digests
-
contentSize
-
userPrincipal
-
transaction
-
-
Constructor Details
-
AbstractNonRdfSourceOperationBuilder
protected AbstractNonRdfSourceOperationBuilder(org.fcrepo.kernel.api.Transaction transaction, org.fcrepo.kernel.api.identifiers.FedoraId rescId, String handling, URI externalUri) Constructor for external binary.- Parameters:
transaction- the transactionrescId- the internal identifierhandling- the external content handling type.externalUri- the external content URI.
-
AbstractNonRdfSourceOperationBuilder
protected AbstractNonRdfSourceOperationBuilder(org.fcrepo.kernel.api.Transaction transaction, org.fcrepo.kernel.api.identifiers.FedoraId rescId, InputStream stream) Constructor for internal binary.- Parameters:
transaction- the transactionrescId- the internal identifier.stream- the content stream.
-
-
Method Details
-
mimeType
- Specified by:
mimeTypein interfaceorg.fcrepo.kernel.api.operations.NonRdfSourceOperationBuilder
-
filename
- Specified by:
filenamein interfaceorg.fcrepo.kernel.api.operations.NonRdfSourceOperationBuilder
-
contentDigests
public org.fcrepo.kernel.api.operations.NonRdfSourceOperationBuilder contentDigests(Collection<URI> digests) - Specified by:
contentDigestsin interfaceorg.fcrepo.kernel.api.operations.NonRdfSourceOperationBuilder
-
contentSize
- Specified by:
contentSizein interfaceorg.fcrepo.kernel.api.operations.NonRdfSourceOperationBuilder
-
userPrincipal
public org.fcrepo.kernel.api.operations.NonRdfSourceOperationBuilder userPrincipal(String userPrincipal) - Specified by:
userPrincipalin interfaceorg.fcrepo.kernel.api.operations.NonRdfSourceOperationBuilder- Specified by:
userPrincipalin interfaceorg.fcrepo.kernel.api.operations.ResourceOperationBuilder
-