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