Class CreateRdfSourceOperationImpl

All Implemented Interfaces:
org.fcrepo.kernel.api.operations.CreateRdfSourceOperation, org.fcrepo.kernel.api.operations.CreateResourceOperation, org.fcrepo.kernel.api.operations.RdfSourceOperation, org.fcrepo.kernel.api.operations.RelaxableResourceOperation, org.fcrepo.kernel.api.operations.ResourceOperation
Direct Known Subclasses:
OverwriteRdfTombstoneOperation

public class CreateRdfSourceOperationImpl extends AbstractRdfSourceOperation implements org.fcrepo.kernel.api.operations.CreateRdfSourceOperation
Operation to create an RDF source.
Author:
bbpennel
  • Constructor Details

    • CreateRdfSourceOperationImpl

      protected CreateRdfSourceOperationImpl(org.fcrepo.kernel.api.Transaction transaction, org.fcrepo.kernel.api.identifiers.FedoraId rescId, String interactionModel, org.fcrepo.kernel.api.RdfStream triples)
      Constructor for creation operation
      Parameters:
      transaction - the transaction
      rescId - the internal identifier.
      interactionModel - interaction model for the resource
      triples - triples stream for the resource
  • Method Details

    • getInteractionModel

      Specified by:
      getInteractionModel in interface org.fcrepo.kernel.api.operations.CreateResourceOperation
    • isArchivalGroup

      public boolean isArchivalGroup()
      Specified by:
      isArchivalGroup in interface org.fcrepo.kernel.api.operations.CreateResourceOperation
    • getParentId

      public org.fcrepo.kernel.api.identifiers.FedoraId getParentId()
      Specified by:
      getParentId in interface org.fcrepo.kernel.api.operations.CreateResourceOperation
    • setParentId

      public void setParentId(org.fcrepo.kernel.api.identifiers.FedoraId parentId)
      Parameters:
      parentId - the parentId to set
    • setArchivalGroup

      public void setArchivalGroup(boolean flag)
      Parameters:
      flag - flag indicating whether resource is an Archival Group