Class AbstractRelaxableResourceOperationBuilder
- java.lang.Object
-
- org.fcrepo.kernel.impl.operations.AbstractResourceOperationBuilder
-
- org.fcrepo.kernel.impl.operations.AbstractRelaxableResourceOperationBuilder
-
- All Implemented Interfaces:
RelaxableResourceOperationBuilder
,ResourceOperationBuilder
- Direct Known Subclasses:
AbstractRdfSourceOperationBuilder
,UpdateNonRdfSourceHeadersOperationBuilderImpl
public abstract class AbstractRelaxableResourceOperationBuilder extends AbstractResourceOperationBuilder implements RelaxableResourceOperationBuilder
Abstract builder for constructing relaxable resource operations- Author:
- bbpennel
-
-
Field Summary
Fields Modifier and Type Field Description protected String
createdBy
protected Instant
createdDate
protected String
lastModifiedBy
protected Instant
lastModifiedDate
protected ServerManagedPropsMode
serverManagedPropsMode
-
Fields inherited from class org.fcrepo.kernel.impl.operations.AbstractResourceOperationBuilder
rescId, transaction, userPrincipal
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractRelaxableResourceOperationBuilder(Transaction transaction, FedoraId rescId, ServerManagedPropsMode serverManagedPropsMode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RelaxableResourceOperationBuilder
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.AbstractResourceOperationBuilder
userPrincipal
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.fcrepo.kernel.api.operations.ResourceOperationBuilder
build, userPrincipal
-
-
-
-
Field Detail
-
lastModifiedBy
protected String lastModifiedBy
-
lastModifiedDate
protected Instant lastModifiedDate
-
createdDate
protected Instant createdDate
-
serverManagedPropsMode
protected ServerManagedPropsMode serverManagedPropsMode
-
-
Constructor Detail
-
AbstractRelaxableResourceOperationBuilder
protected AbstractRelaxableResourceOperationBuilder(Transaction transaction, FedoraId rescId, ServerManagedPropsMode serverManagedPropsMode)
-
-
Method Detail
-
relaxedProperties
public RelaxableResourceOperationBuilder 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
-
-