Class AbstractResourceOperation
- java.lang.Object
-
- org.fcrepo.kernel.impl.operations.AbstractResourceOperation
-
- All Implemented Interfaces:
org.fcrepo.kernel.api.operations.ResourceOperation
- Direct Known Subclasses:
AbstractNonRdfSourceOperation,AbstractRdfSourceOperation,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
Constructors Modifier Constructor Description protectedAbstractResourceOperation(org.fcrepo.kernel.api.Transaction transaction, org.fcrepo.kernel.api.identifiers.FedoraId rescId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.fcrepo.kernel.api.identifiers.FedoraIdgetResourceId()org.fcrepo.kernel.api.TransactiongetTransaction()StringgetUserPrincipal()voidsetUserPrincipal(String userPrincipal)
-
-
-
Constructor Detail
-
AbstractResourceOperation
protected AbstractResourceOperation(org.fcrepo.kernel.api.Transaction transaction, org.fcrepo.kernel.api.identifiers.FedoraId rescId)
-
-
Method Detail
-
getResourceId
public org.fcrepo.kernel.api.identifiers.FedoraId getResourceId()
- Specified by:
getResourceIdin interfaceorg.fcrepo.kernel.api.operations.ResourceOperation
-
getUserPrincipal
public String getUserPrincipal()
- Specified by:
getUserPrincipalin interfaceorg.fcrepo.kernel.api.operations.ResourceOperation
-
getTransaction
public org.fcrepo.kernel.api.Transaction getTransaction()
- Specified by:
getTransactionin interfaceorg.fcrepo.kernel.api.operations.ResourceOperation
-
setUserPrincipal
public void setUserPrincipal(String userPrincipal)
- Parameters:
userPrincipal- the userPrincipal to set
-
-