Package org.fcrepo.kernel.api.operations
Interface CreateNonRdfSourceOperationBuilder
-
- All Superinterfaces:
NonRdfSourceOperationBuilder
,ResourceOperationBuilder
- All Known Implementing Classes:
CreateNonRdfSourceOperationBuilderImpl
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 CreateNonRdfSourceOperationBuilder
contentDigests(Collection<URI> digests)
Collection of digests for content in this resourceCreateNonRdfSourceOperationBuilder
contentSize(long size)
Set the number of bytes for the contentCreateNonRdfSourceOperationBuilder
filename(String filename)
Set the filenameCreateNonRdfSourceOperationBuilder
mimeType(String mimetype)
Set the mimetype for content in this resourceCreateNonRdfSourceOperationBuilder
parentId(FedoraId parentId)
Set the parent identifier of the resourceCreateNonRdfSourceOperationBuilder
userPrincipal(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:NonRdfSourceOperationBuilder
Set the mimetype for content in this resource- Specified by:
mimeType
in interfaceNonRdfSourceOperationBuilder
- Parameters:
mimetype
- the mime-type.- Returns:
- the builder.
-
filename
CreateNonRdfSourceOperationBuilder filename(String filename)
Description copied from interface:NonRdfSourceOperationBuilder
Set the filename- Specified by:
filename
in interfaceNonRdfSourceOperationBuilder
- Parameters:
filename
- name of the file.- Returns:
- the builder.
-
contentDigests
CreateNonRdfSourceOperationBuilder contentDigests(Collection<URI> digests)
Description copied from interface:NonRdfSourceOperationBuilder
Collection of digests for content in this resource- Specified by:
contentDigests
in interfaceNonRdfSourceOperationBuilder
- Parameters:
digests
- collection of digests- Returns:
- the builder.
-
contentSize
CreateNonRdfSourceOperationBuilder contentSize(long size)
Description copied from interface:NonRdfSourceOperationBuilder
Set the number of bytes for the content- Specified by:
contentSize
in 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:ResourceOperationBuilder
Set the principal for the user performing the operation- Specified by:
userPrincipal
in interfaceNonRdfSourceOperationBuilder
- Specified by:
userPrincipal
in interfaceResourceOperationBuilder
- Parameters:
userPrincipal
- user principal- Returns:
- this builder
-
-