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
FieldsModifier and TypeFieldDescriptionprotected org.fcrepo.kernel.api.identifiers.FedoraIdprotected org.fcrepo.kernel.api.Transactionprotected String -
Constructor Summary
ConstructorsConstructorDescriptionAbstractResourceOperationBuilder(org.fcrepo.kernel.api.Transaction transaction, org.fcrepo.kernel.api.identifiers.FedoraId rescId) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionorg.fcrepo.kernel.api.operations.ResourceOperationBuilderuserPrincipal(String userPrincipal) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.fcrepo.kernel.api.operations.ResourceOperationBuilder
build
-
Field Details
-
rescId
-
userPrincipal
-
transaction
-
-
Constructor Details
-
AbstractResourceOperationBuilder
public AbstractResourceOperationBuilder(org.fcrepo.kernel.api.Transaction transaction, org.fcrepo.kernel.api.identifiers.FedoraId rescId) Constructor.- Parameters:
transaction- the transactionrescId- the resource identifier.
-
-
Method Details
-
userPrincipal
public org.fcrepo.kernel.api.operations.ResourceOperationBuilder userPrincipal(String userPrincipal) - Specified by:
userPrincipalin interfaceorg.fcrepo.kernel.api.operations.ResourceOperationBuilder
-