Package org.fcrepo.kernel.api.operations
Interface UpdateNonRdfSourceHeadersOperationBuilder
-
- All Superinterfaces:
NonRdfSourceOperationBuilder
,RelaxableResourceOperationBuilder
,ResourceOperationBuilder
- All Known Implementing Classes:
UpdateNonRdfSourceHeadersOperationBuilderImpl
public interface UpdateNonRdfSourceHeadersOperationBuilder extends RelaxableResourceOperationBuilder, NonRdfSourceOperationBuilder
Builder for operations for updating non-RDF source resource headers- Author:
- bbpennel
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateNonRdfSourceHeadersOperation
build()
Build the ResourceOperation constructed by this builderUpdateNonRdfSourceHeadersOperationBuilder
filename(String filename)
Set the filenameUpdateNonRdfSourceHeadersOperationBuilder
mimeType(String mimetype)
Set the mimetype for content in this resourceUpdateNonRdfSourceHeadersOperationBuilder
relaxedProperties(org.apache.jena.rdf.model.Model model)
Set the relaxed managed properties for this resource if the server is in relaxed mode.-
Methods inherited from interface org.fcrepo.kernel.api.operations.NonRdfSourceOperationBuilder
contentDigests, contentSize, userPrincipal
-
-
-
-
Method Detail
-
relaxedProperties
UpdateNonRdfSourceHeadersOperationBuilder relaxedProperties(org.apache.jena.rdf.model.Model model)
Description copied from interface:RelaxableResourceOperationBuilder
Set the relaxed managed properties for this resource if the server is in relaxed mode.- Specified by:
relaxedProperties
in interfaceRelaxableResourceOperationBuilder
- Parameters:
model
- rdf of the resource- Returns:
- this builder
-
mimeType
UpdateNonRdfSourceHeadersOperationBuilder 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
UpdateNonRdfSourceHeadersOperationBuilder 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.
-
build
UpdateNonRdfSourceHeadersOperation build()
Description copied from interface:ResourceOperationBuilder
Build the ResourceOperation constructed by this builder- Specified by:
build
in interfaceNonRdfSourceOperationBuilder
- Specified by:
build
in interfaceResourceOperationBuilder
- Returns:
- the constructed operation
-
-