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 CreateRdfSourceOperationBuilder
archivalGroup(boolean flag)
Indicates that this resource should be created as an Archival GroupCreateRdfSourceOperation
build()
Build the ResourceOperation constructed by this builderCreateRdfSourceOperationBuilder
parentId(FedoraId parentId)
Set the parent identifier of the resourceCreateRdfSourceOperationBuilder
relaxedProperties(org.apache.jena.rdf.model.Model model)
Set the relaxed managed properties for this resource if the server is in relaxed mode.CreateRdfSourceOperationBuilder
triples(RdfStream triples)
Set the triples for the operationCreateRdfSourceOperationBuilder
userPrincipal(String userPrincipal)
Set the principal for the user performing the operation
-
-
-
Method Detail
-
userPrincipal
CreateRdfSourceOperationBuilder userPrincipal(String userPrincipal)
Description copied from interface:ResourceOperationBuilder
Set the principal for the user performing the operation- Specified by:
userPrincipal
in interfaceRdfSourceOperationBuilder
- Specified by:
userPrincipal
in interfaceResourceOperationBuilder
- Parameters:
userPrincipal
- user principal- Returns:
- this builder
-
triples
CreateRdfSourceOperationBuilder triples(RdfStream triples)
Description copied from interface:RdfSourceOperationBuilder
Set the triples for the operation- Specified by:
triples
in interfaceRdfSourceOperationBuilder
- Parameters:
triples
- the resource's triples- Returns:
- this builder
-
relaxedProperties
CreateRdfSourceOperationBuilder 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 interfaceRdfSourceOperationBuilder
- Specified by:
relaxedProperties
in interfaceRelaxableResourceOperationBuilder
- Parameters:
model
- rdf of the resource- Returns:
- this builder
-
build
CreateRdfSourceOperation build()
Description copied from interface:ResourceOperationBuilder
Build the ResourceOperation constructed by this builder- Specified by:
build
in interfaceRdfSourceOperationBuilder
- Specified by:
build
in 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
-
-