Package org.fcrepo.kernel.api.operations
Interface ResourceOperation
-
- All Known Subinterfaces:
CreateRdfSourceOperation
,CreateResourceOperation
,CreateVersionResourceOperation
,NonRdfSourceOperation
,RdfSourceOperation
,RelaxableResourceOperation
,UpdateNonRdfSourceHeadersOperation
- All Known Implementing Classes:
AbstractNonRdfSourceOperation
,AbstractRdfSourceOperation
,AbstractRelaxableResourceOperation
,AbstractResourceOperation
,CreateNonRdfSourceOperation
,CreateRdfSourceOperationImpl
,CreateVersionResourceOperationImpl
,DeleteResourceOperation
,PurgeResourceOperation
,ReferenceOperation
,ReindexResourceOperationImpl
,UpdateNonRdfSourceHeadersOperationImpl
,UpdateNonRdfSourceOperation
,UpdateRdfSourceOperation
public interface ResourceOperation
Operation for manipulating a resource- Author:
- bbpennel
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FedoraId
getResourceId()
Id of the resourceTransaction
getTransaction()
The transaction the operation is in.ResourceOperationType
getType()
Returns the type of operation represented by this requestString
getUserPrincipal()
Returns the user principal performing this operation
-
-
-
Method Detail
-
getTransaction
Transaction getTransaction()
The transaction the operation is in.- Returns:
- the transaction.
-
getResourceId
FedoraId getResourceId()
Id of the resource- Returns:
- the ID.
-
getUserPrincipal
String getUserPrincipal()
Returns the user principal performing this operation- Returns:
- the user principal performing this operation
-
getType
ResourceOperationType getType()
Returns the type of operation represented by this request- Returns:
- operation type
-
-