Package org.fcrepo.kernel.api.operations
Interface RdfSourceOperationBuilder
- All Superinterfaces:
RelaxableResourceOperationBuilder,ResourceOperationBuilder
- All Known Subinterfaces:
CreateRdfSourceOperationBuilder
Builder for constructing an RdfSourceOperation
- Author:
- bbpennel
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Build the ResourceOperation constructed by this builderrelaxedProperties(org.apache.jena.rdf.model.Model model) Set the relaxed managed properties for this resource if the server is in relaxed mode.Set the triples for the operationuserPrincipal(String userPrincipal) Set the principal for the user performing the operation
-
Method Details
-
userPrincipal
Description copied from interface:ResourceOperationBuilderSet the principal for the user performing the operation- Specified by:
userPrincipalin interfaceResourceOperationBuilder- Parameters:
userPrincipal- user principal- Returns:
- this builder
-
build
Description copied from interface:ResourceOperationBuilderBuild the ResourceOperation constructed by this builder- Specified by:
buildin interfaceResourceOperationBuilder- Returns:
- the constructed operation
-
triples
Set the triples for the operation- Parameters:
triples- the resource's triples- Returns:
- this builder
-
relaxedProperties
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
-