Package org.fcrepo.kernel.api.operations
Interface CreateNonRdfSourceOperationBuilder
- All Superinterfaces:
NonRdfSourceOperationBuilder,ResourceOperationBuilder
Builder for operations to create non-rdf sources
- Author:
- bbpennel
-
Method Summary
Modifier and TypeMethodDescriptioncontentDigests(Collection<URI> digests) Collection of digests for content in this resourcecontentSize(long size) Set the number of bytes for the contentSet the filenameSet the mimetype for content in this resourceSet the parent identifier of the resourceuserPrincipal(String userPrincipal) Set the principal for the user performing the operationMethods inherited from interface org.fcrepo.kernel.api.operations.NonRdfSourceOperationBuilder
build
-
Method Details
-
mimeType
Description copied from interface:NonRdfSourceOperationBuilderSet the mimetype for content in this resource- Specified by:
mimeTypein interfaceNonRdfSourceOperationBuilder- Parameters:
mimetype- the mime-type.- Returns:
- the builder.
-
filename
Description copied from interface:NonRdfSourceOperationBuilderSet the filename- Specified by:
filenamein interfaceNonRdfSourceOperationBuilder- Parameters:
filename- name of the file.- Returns:
- the builder.
-
contentDigests
Description copied from interface:NonRdfSourceOperationBuilderCollection of digests for content in this resource- Specified by:
contentDigestsin interfaceNonRdfSourceOperationBuilder- Parameters:
digests- collection of digests- Returns:
- the builder.
-
contentSize
Description copied from interface:NonRdfSourceOperationBuilderSet the number of bytes for the content- Specified by:
contentSizein interfaceNonRdfSourceOperationBuilder- Parameters:
size- size of the content in bytes- Returns:
- the builder
-
parentId
Set the parent identifier of the resource- Parameters:
parentId- parent internal identifier- Returns:
- the builder
-
userPrincipal
Description copied from interface:ResourceOperationBuilderSet the principal for the user performing the operation- Specified by:
userPrincipalin interfaceNonRdfSourceOperationBuilder- Specified by:
userPrincipalin interfaceResourceOperationBuilder- Parameters:
userPrincipal- user principal- Returns:
- this builder
-