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 Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractResourceOperation(org.fcrepo.kernel.api.Transaction transaction, org.fcrepo.kernel.api.identifiers.FedoraId rescId) -
Method Summary
Modifier and TypeMethodDescriptionorg.fcrepo.kernel.api.identifiers.FedoraIdorg.fcrepo.kernel.api.TransactionvoidsetUserPrincipal(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.ResourceOperation
getType
-
Constructor Details
-
AbstractResourceOperation
protected AbstractResourceOperation(org.fcrepo.kernel.api.Transaction transaction, org.fcrepo.kernel.api.identifiers.FedoraId rescId)
-
-
Method Details
-
getResourceId
- Specified by:
getResourceIdin interfaceorg.fcrepo.kernel.api.operations.ResourceOperation
-
getUserPrincipal
- Specified by:
getUserPrincipalin interfaceorg.fcrepo.kernel.api.operations.ResourceOperation
-
getTransaction
- Specified by:
getTransactionin interfaceorg.fcrepo.kernel.api.operations.ResourceOperation
-
setUserPrincipal
- Parameters:
userPrincipal- the userPrincipal to set
-