Class CreateRdfSourceOperationBuilderImpl

All Implemented Interfaces:
org.fcrepo.kernel.api.operations.CreateRdfSourceOperationBuilder, org.fcrepo.kernel.api.operations.RdfSourceOperationBuilder, org.fcrepo.kernel.api.operations.RelaxableResourceOperationBuilder, org.fcrepo.kernel.api.operations.ResourceOperationBuilder

public class CreateRdfSourceOperationBuilderImpl extends AbstractRdfSourceOperationBuilder implements org.fcrepo.kernel.api.operations.CreateRdfSourceOperationBuilder
Builder for operations to create rdf sources
Author:
bbpennel
  • Constructor Details

    • CreateRdfSourceOperationBuilderImpl

      public CreateRdfSourceOperationBuilderImpl(org.fcrepo.kernel.api.Transaction transaction, org.fcrepo.kernel.api.identifiers.FedoraId resourceId, String interactionModel, org.fcrepo.config.ServerManagedPropsMode serverManagedPropsMode)
      Constructor.
      Parameters:
      transaction - the transaction
      resourceId - the internal identifier.
      interactionModel - interaction model
      serverManagedPropsMode - server managed props mode
  • Method Details

    • build

      public org.fcrepo.kernel.api.operations.CreateRdfSourceOperation build()
      Specified by:
      build in interface org.fcrepo.kernel.api.operations.CreateRdfSourceOperationBuilder
      Specified by:
      build in interface org.fcrepo.kernel.api.operations.RdfSourceOperationBuilder
      Specified by:
      build in interface org.fcrepo.kernel.api.operations.ResourceOperationBuilder
    • userPrincipal

      public org.fcrepo.kernel.api.operations.CreateRdfSourceOperationBuilder userPrincipal(String userPrincipal)
      Specified by:
      userPrincipal in interface org.fcrepo.kernel.api.operations.CreateRdfSourceOperationBuilder
      Specified by:
      userPrincipal in interface org.fcrepo.kernel.api.operations.RdfSourceOperationBuilder
      Specified by:
      userPrincipal in interface org.fcrepo.kernel.api.operations.ResourceOperationBuilder
      Overrides:
      userPrincipal in class AbstractRdfSourceOperationBuilder
    • triples

      public org.fcrepo.kernel.api.operations.CreateRdfSourceOperationBuilder triples(org.fcrepo.kernel.api.RdfStream triples)
      Specified by:
      triples in interface org.fcrepo.kernel.api.operations.CreateRdfSourceOperationBuilder
      Specified by:
      triples in interface org.fcrepo.kernel.api.operations.RdfSourceOperationBuilder
      Overrides:
      triples in class AbstractRdfSourceOperationBuilder
    • parentId

      public org.fcrepo.kernel.api.operations.CreateRdfSourceOperationBuilder parentId(org.fcrepo.kernel.api.identifiers.FedoraId parentId)
      Specified by:
      parentId in interface org.fcrepo.kernel.api.operations.CreateRdfSourceOperationBuilder
    • relaxedProperties

      public org.fcrepo.kernel.api.operations.CreateRdfSourceOperationBuilder relaxedProperties(org.apache.jena.rdf.model.Model model)
      Specified by:
      relaxedProperties in interface org.fcrepo.kernel.api.operations.CreateRdfSourceOperationBuilder
      Specified by:
      relaxedProperties in interface org.fcrepo.kernel.api.operations.RdfSourceOperationBuilder
      Specified by:
      relaxedProperties in interface org.fcrepo.kernel.api.operations.RelaxableResourceOperationBuilder
      Overrides:
      relaxedProperties in class AbstractRdfSourceOperationBuilder
    • archivalGroup

      public org.fcrepo.kernel.api.operations.CreateRdfSourceOperationBuilder archivalGroup(boolean flag)
      Specified by:
      archivalGroup in interface org.fcrepo.kernel.api.operations.CreateRdfSourceOperationBuilder
    • isOverwrite

      public org.fcrepo.kernel.api.operations.CreateRdfSourceOperationBuilder isOverwrite(boolean isOverwrite)
      Specified by:
      isOverwrite in interface org.fcrepo.kernel.api.operations.CreateRdfSourceOperationBuilder