Class UpdateRdfSourceOperationBuilder
- java.lang.Object
-
- org.fcrepo.kernel.impl.operations.AbstractResourceOperationBuilder
-
- org.fcrepo.kernel.impl.operations.AbstractRelaxableResourceOperationBuilder
-
- org.fcrepo.kernel.impl.operations.AbstractRdfSourceOperationBuilder
-
- org.fcrepo.kernel.impl.operations.UpdateRdfSourceOperationBuilder
-
- All Implemented Interfaces:
RdfSourceOperationBuilder
,RelaxableResourceOperationBuilder
,ResourceOperationBuilder
public class UpdateRdfSourceOperationBuilder extends AbstractRdfSourceOperationBuilder
Builder for operations to update rdf sources- Since:
- 11/2019
- Author:
- bbpennel
-
-
Field Summary
-
Fields inherited from class org.fcrepo.kernel.impl.operations.AbstractRdfSourceOperationBuilder
interactionModel, tripleStream, userPrincipal
-
Fields inherited from class org.fcrepo.kernel.impl.operations.AbstractRelaxableResourceOperationBuilder
createdBy, createdDate, lastModifiedBy, lastModifiedDate, serverManagedPropsMode
-
Fields inherited from class org.fcrepo.kernel.impl.operations.AbstractResourceOperationBuilder
rescId, transaction
-
-
Constructor Summary
Constructors Constructor Description UpdateRdfSourceOperationBuilder(Transaction transaction, FedoraId resourceId, ServerManagedPropsMode serverManagedPropsMode)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RdfSourceOperation
build()
Build the ResourceOperation constructed by this builderUpdateRdfSourceOperationBuilder
relaxedProperties(org.apache.jena.rdf.model.Model model)
Set the relaxed managed properties for this resource if the server is in relaxed mode.-
Methods inherited from class org.fcrepo.kernel.impl.operations.AbstractRdfSourceOperationBuilder
triples, userPrincipal
-
-
-
-
Constructor Detail
-
UpdateRdfSourceOperationBuilder
public UpdateRdfSourceOperationBuilder(Transaction transaction, FedoraId resourceId, ServerManagedPropsMode serverManagedPropsMode)
Constructor.- Parameters:
transaction
- the transaction/resourceId
- the internal identifier.serverManagedPropsMode
- server managed properties mode
-
-
Method Detail
-
build
public RdfSourceOperation build()
Description copied from interface:ResourceOperationBuilder
Build the ResourceOperation constructed by this builder- Returns:
- the constructed operation
-
relaxedProperties
public UpdateRdfSourceOperationBuilder 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
- Overrides:
relaxedProperties
in classAbstractRdfSourceOperationBuilder
- Parameters:
model
- rdf of the resource- Returns:
- this builder
-
-