Package org.fcrepo.kernel.api.operations
Interface RdfSourceOperationBuilder
-
- All Superinterfaces:
ResourceOperationBuilder
- All Known Subinterfaces:
CreateRdfSourceOperationBuilder
public interface RdfSourceOperationBuilder extends ResourceOperationBuilder
Builder for constructing an RdfSourceOperation- Author:
- bbpennel
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RdfSourceOperationbuild()Build the ResourceOperation constructed by this builderRdfSourceOperationBuilderrelaxedProperties(org.apache.jena.rdf.model.Model model)Set the relaxed managed properties for this resource if the server is in relaxed mode.RdfSourceOperationBuildertriples(RdfStream triples)Set the triples for the operationRdfSourceOperationBuilderuserPrincipal(String userPrincipal)Set the principal for the user performing the operation
-
-
-
Method Detail
-
userPrincipal
RdfSourceOperationBuilder userPrincipal(String 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
RdfSourceOperation build()
Description copied from interface:ResourceOperationBuilderBuild the ResourceOperation constructed by this builder- Specified by:
buildin interfaceResourceOperationBuilder- Returns:
- the constructed operation
-
triples
RdfSourceOperationBuilder triples(RdfStream triples)
Set the triples for the operation- Parameters:
triples- the resource's triples- Returns:
- this builder
-
relaxedProperties
RdfSourceOperationBuilder relaxedProperties(org.apache.jena.rdf.model.Model model)
Set the relaxed managed properties for this resource if the server is in relaxed mode.- Parameters:
model- rdf of the resource- Returns:
- this builder
-
-