Package org.fcrepo.kernel.api.operations
Interface CreateRdfSourceOperationBuilder
-
- All Superinterfaces:
RdfSourceOperationBuilder,RelaxableResourceOperationBuilder,ResourceOperationBuilder
- All Known Implementing Classes:
CreateRdfSourceOperationBuilderImpl
public interface CreateRdfSourceOperationBuilder extends RdfSourceOperationBuilder
- Author:
- bbpennel
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateRdfSourceOperationBuilderarchivalGroup(boolean flag)Indicates that this resource should be created as an Archival GroupCreateRdfSourceOperationbuild()Build the ResourceOperation constructed by this builderCreateRdfSourceOperationBuilderparentId(FedoraId parentId)Set the parent identifier of the resourceCreateRdfSourceOperationBuilderrelaxedProperties(org.apache.jena.rdf.model.Model model)Set the relaxed managed properties for this resource if the server is in relaxed mode.CreateRdfSourceOperationBuildertriples(RdfStream triples)Set the triples for the operationCreateRdfSourceOperationBuilderuserPrincipal(String userPrincipal)Set the principal for the user performing the operation
-
-
-
Method Detail
-
userPrincipal
CreateRdfSourceOperationBuilder userPrincipal(String 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
CreateRdfSourceOperationBuilder triples(RdfStream 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
CreateRdfSourceOperationBuilder 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 interfaceRdfSourceOperationBuilder- Specified by:
relaxedPropertiesin interfaceRelaxableResourceOperationBuilder- Parameters:
model- rdf of the resource- Returns:
- this builder
-
build
CreateRdfSourceOperation 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
CreateRdfSourceOperationBuilder parentId(FedoraId parentId)
Set the parent identifier of the resource- Parameters:
parentId- parent internal identifier- Returns:
- the builder
-
archivalGroup
CreateRdfSourceOperationBuilder archivalGroup(boolean flag)
Indicates that this resource should be created as an Archival Group- Parameters:
flag- if true, create as Archival Group- Returns:
- this builder
-
-