Class AbstractResourceOperation

java.lang.Object
org.fcrepo.kernel.impl.operations.AbstractResourceOperation
All Implemented Interfaces:
org.fcrepo.kernel.api.operations.ResourceOperation
Direct Known Subclasses:
AbstractNonRdfSourceOperation, AbstractRelaxableResourceOperation, CreateVersionResourceOperationImpl, DeleteResourceOperation, PurgeResourceOperation, ReferenceOperation, ReindexResourceOperationImpl

public abstract class AbstractResourceOperation extends Object implements org.fcrepo.kernel.api.operations.ResourceOperation
Abstract operation for interacting with a resource
Author:
bbpennel
  • Constructor Details

    • AbstractResourceOperation

      protected AbstractResourceOperation(org.fcrepo.kernel.api.Transaction transaction, org.fcrepo.kernel.api.identifiers.FedoraId rescId)
  • Method Details

    • getResourceId

      public org.fcrepo.kernel.api.identifiers.FedoraId getResourceId()
      Specified by:
      getResourceId in interface org.fcrepo.kernel.api.operations.ResourceOperation
    • getUserPrincipal

      Specified by:
      getUserPrincipal in interface org.fcrepo.kernel.api.operations.ResourceOperation
    • getTransaction

      public org.fcrepo.kernel.api.Transaction getTransaction()
      Specified by:
      getTransaction in interface org.fcrepo.kernel.api.operations.ResourceOperation
    • setUserPrincipal

      public void setUserPrincipal(String userPrincipal)
      Parameters:
      userPrincipal - the userPrincipal to set