Class AbstractResourceOperationBuilder

java.lang.Object
org.fcrepo.kernel.impl.operations.AbstractResourceOperationBuilder
All Implemented Interfaces:
org.fcrepo.kernel.api.operations.ResourceOperationBuilder
Direct Known Subclasses:
AbstractRelaxableResourceOperationBuilder, CreateVersionResourceOperationBuilderImpl, DeleteResourceOperationBuilder, PurgeResourceOperationBuilder, ReferenceOperationBuilder, ReindexResourceOperationBuilder

public abstract class AbstractResourceOperationBuilder extends Object implements org.fcrepo.kernel.api.operations.ResourceOperationBuilder
Base resource operation builder to share class fields and userPrincipal method.
Author:
whikloj
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected org.fcrepo.kernel.api.identifiers.FedoraId
     
    protected org.fcrepo.kernel.api.Transaction
     
    protected String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    AbstractResourceOperationBuilder(org.fcrepo.kernel.api.Transaction transaction, org.fcrepo.kernel.api.identifiers.FedoraId rescId)
    Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.fcrepo.kernel.api.operations.ResourceOperationBuilder
    userPrincipal(String 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
  • Field Details

    • rescId

      protected org.fcrepo.kernel.api.identifiers.FedoraId rescId
    • userPrincipal

      protected String userPrincipal
    • transaction

      protected org.fcrepo.kernel.api.Transaction transaction
  • Constructor Details

    • AbstractResourceOperationBuilder

      public AbstractResourceOperationBuilder(org.fcrepo.kernel.api.Transaction transaction, org.fcrepo.kernel.api.identifiers.FedoraId rescId)
      Constructor.
      Parameters:
      transaction - the transaction
      rescId - the resource identifier.
  • Method Details

    • userPrincipal

      public org.fcrepo.kernel.api.operations.ResourceOperationBuilder userPrincipal(String userPrincipal)
      Specified by:
      userPrincipal in interface org.fcrepo.kernel.api.operations.ResourceOperationBuilder