Package org.fcrepo.kernel.api.operations
Interface CreateRdfSourceOperationBuilder
- All Superinterfaces:
RdfSourceOperationBuilder,RelaxableResourceOperationBuilder,ResourceOperationBuilder
- Author:
- bbpennel
-
Method Summary
Modifier and TypeMethodDescriptionarchivalGroup(boolean flag) Indicates that this resource should be created as an Archival Groupbuild()Build the ResourceOperation constructed by this builderisOverwrite(boolean isOverwrite) Set the parent identifier of the resourcerelaxedProperties(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 interfaceRdfSourceOperationBuilder- Specified by:
userPrincipalin interfaceResourceOperationBuilder- Parameters:
userPrincipal- user principal- Returns:
- this builder
-
triples
Description copied from interface:RdfSourceOperationBuilderSet the triples for the operation- Specified by:
triplesin interfaceRdfSourceOperationBuilder- 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 interfaceRdfSourceOperationBuilder- Specified by:
relaxedPropertiesin interfaceRelaxableResourceOperationBuilder- Parameters:
model- rdf of the resource- Returns:
- this builder
-
build
Description copied from interface:ResourceOperationBuilderBuild the ResourceOperation constructed by this builder- Specified by:
buildin interfaceRdfSourceOperationBuilder- Specified by:
buildin interfaceResourceOperationBuilder- Returns:
- the constructed operation
-
parentId
Set the parent identifier of the resource- Parameters:
parentId- parent internal identifier- Returns:
- the builder
-
archivalGroup
Indicates that this resource should be created as an Archival Group- Parameters:
flag- if true, create as Archival Group- Returns:
- this builder
-
isOverwrite
- Parameters:
isOverwrite- flag indicating if this resource is a tombstone and is being overwritten- Returns:
- this builder
-