Package org.fcrepo.kernel.api.operations
Interface CreateNonRdfSourceOperationBuilder
-
- All Superinterfaces:
NonRdfSourceOperationBuilder,ResourceOperationBuilder
public interface CreateNonRdfSourceOperationBuilder extends NonRdfSourceOperationBuilder
Builder for operations to create non-rdf sources- Author:
- bbpennel
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateNonRdfSourceOperationBuildercontentDigests(Collection<URI> digests)Collection of digests for content in this resourceCreateNonRdfSourceOperationBuildercontentSize(long size)Set the number of bytes for the contentCreateNonRdfSourceOperationBuilderfilename(String filename)Set the filenameCreateNonRdfSourceOperationBuildermimeType(String mimetype)Set the mimetype for content in this resourceCreateNonRdfSourceOperationBuilderparentId(FedoraId parentId)Set the parent identifier of the resourceCreateNonRdfSourceOperationBuilderuserPrincipal(String userPrincipal)Set the principal for the user performing the operation-
Methods inherited from interface org.fcrepo.kernel.api.operations.NonRdfSourceOperationBuilder
build
-
-
-
-
Method Detail
-
mimeType
CreateNonRdfSourceOperationBuilder mimeType(String 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
CreateNonRdfSourceOperationBuilder filename(String filename)
Description copied from interface:NonRdfSourceOperationBuilderSet the filename- Specified by:
filenamein interfaceNonRdfSourceOperationBuilder- Parameters:
filename- name of the file.- Returns:
- the builder.
-
contentDigests
CreateNonRdfSourceOperationBuilder contentDigests(Collection<URI> digests)
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
CreateNonRdfSourceOperationBuilder contentSize(long size)
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
CreateNonRdfSourceOperationBuilder parentId(FedoraId parentId)
Set the parent identifier of the resource- Parameters:
parentId- parent internal identifier- Returns:
- the builder
-
userPrincipal
CreateNonRdfSourceOperationBuilder userPrincipal(String 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
-
-