Package org.fcrepo.kernel.api.operations
Interface UpdateNonRdfSourceHeadersOperationBuilder
-
- All Superinterfaces:
NonRdfSourceOperationBuilder,RelaxableResourceOperationBuilder,ResourceOperationBuilder
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 UpdateNonRdfSourceHeadersOperationbuild()Build the ResourceOperation constructed by this builderUpdateNonRdfSourceHeadersOperationBuilderfilename(String filename)Set the filenameUpdateNonRdfSourceHeadersOperationBuildermimeType(String mimetype)Set the mimetype for content in this resourceUpdateNonRdfSourceHeadersOperationBuilderrelaxedProperties(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:RelaxableResourceOperationBuilderSet the relaxed managed properties for this resource if the server is in relaxed mode.- Specified by:
relaxedPropertiesin interfaceRelaxableResourceOperationBuilder- Parameters:
model- rdf of the resource- Returns:
- this builder
-
mimeType
UpdateNonRdfSourceHeadersOperationBuilder 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
UpdateNonRdfSourceHeadersOperationBuilder filename(String filename)
Description copied from interface:NonRdfSourceOperationBuilderSet the filename- Specified by:
filenamein interfaceNonRdfSourceOperationBuilder- Parameters:
filename- name of the file.- Returns:
- the builder.
-
build
UpdateNonRdfSourceHeadersOperation build()
Description copied from interface:ResourceOperationBuilderBuild the ResourceOperation constructed by this builder- Specified by:
buildin interfaceNonRdfSourceOperationBuilder- Specified by:
buildin interfaceResourceOperationBuilder- Returns:
- the constructed operation
-
-