Class AbstractRdfSourceOperationBuilder
- java.lang.Object
-
- org.fcrepo.kernel.impl.operations.AbstractRdfSourceOperationBuilder
-
- All Implemented Interfaces:
org.fcrepo.kernel.api.operations.RdfSourceOperationBuilder,org.fcrepo.kernel.api.operations.ResourceOperationBuilder
- Direct Known Subclasses:
CreateRdfSourceOperationBuilderImpl,UpdateRdfSourceOperationBuilder
public abstract class AbstractRdfSourceOperationBuilder extends Object implements org.fcrepo.kernel.api.operations.RdfSourceOperationBuilder
Abstract builder for interacting with an Rdf Source Operation Builder- Author:
- bseeger
-
-
Field Summary
Fields Modifier and Type Field Description protected StringcreatedByprotected InstantcreatedDateprotected StringinteractionModelThe interaction model of this resource, null in case of update.protected StringlastModifiedByprotected InstantlastModifiedDateprotected org.fcrepo.kernel.api.identifiers.FedoraIdresourceIdString of the resource ID.protected org.fcrepo.config.ServerManagedPropsModeserverManagedPropsModeprotected org.fcrepo.kernel.api.Transactiontransactionprotected org.fcrepo.kernel.api.RdfStreamtripleStreamHolds the stream of user's triples.protected StringuserPrincipalPrincipal of the user performing the operation
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractRdfSourceOperationBuilder(org.fcrepo.kernel.api.Transaction transaction, org.fcrepo.kernel.api.identifiers.FedoraId rescId, String model, org.fcrepo.config.ServerManagedPropsMode serverManagedPropsMode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.fcrepo.kernel.api.operations.RdfSourceOperationBuilderrelaxedProperties(org.apache.jena.rdf.model.Model model)org.fcrepo.kernel.api.operations.RdfSourceOperationBuildertriples(org.fcrepo.kernel.api.RdfStream triples)org.fcrepo.kernel.api.operations.RdfSourceOperationBuilderuserPrincipal(String userPrincipal)
-
-
-
Field Detail
-
tripleStream
protected org.fcrepo.kernel.api.RdfStream tripleStream
Holds the stream of user's triples.
-
resourceId
protected final org.fcrepo.kernel.api.identifiers.FedoraId resourceId
String of the resource ID.
-
interactionModel
protected final String interactionModel
The interaction model of this resource, null in case of update.
-
userPrincipal
protected String userPrincipal
Principal of the user performing the operation
-
lastModifiedBy
protected String lastModifiedBy
-
lastModifiedDate
protected Instant lastModifiedDate
-
createdDate
protected Instant createdDate
-
serverManagedPropsMode
protected org.fcrepo.config.ServerManagedPropsMode serverManagedPropsMode
-
transaction
protected org.fcrepo.kernel.api.Transaction transaction
-
-
Constructor Detail
-
AbstractRdfSourceOperationBuilder
protected AbstractRdfSourceOperationBuilder(org.fcrepo.kernel.api.Transaction transaction, org.fcrepo.kernel.api.identifiers.FedoraId rescId, String model, org.fcrepo.config.ServerManagedPropsMode serverManagedPropsMode)
-
-
Method Detail
-
userPrincipal
public org.fcrepo.kernel.api.operations.RdfSourceOperationBuilder userPrincipal(String userPrincipal)
- Specified by:
userPrincipalin interfaceorg.fcrepo.kernel.api.operations.RdfSourceOperationBuilder- Specified by:
userPrincipalin interfaceorg.fcrepo.kernel.api.operations.ResourceOperationBuilder
-
triples
public org.fcrepo.kernel.api.operations.RdfSourceOperationBuilder triples(org.fcrepo.kernel.api.RdfStream triples)
- Specified by:
triplesin interfaceorg.fcrepo.kernel.api.operations.RdfSourceOperationBuilder
-
relaxedProperties
public org.fcrepo.kernel.api.operations.RdfSourceOperationBuilder relaxedProperties(org.apache.jena.rdf.model.Model model)
- Specified by:
relaxedPropertiesin interfaceorg.fcrepo.kernel.api.operations.RdfSourceOperationBuilder
-
-