Package org.fcrepo.kernel.api.operations
Interface ResourceOperation
- All Known Subinterfaces:
CreateRdfSourceOperation,CreateResourceOperation,CreateVersionResourceOperation,NonRdfSourceOperation,OverwriteTombstoneOperation,RdfSourceOperation,RelaxableResourceOperation,UpdateNonRdfSourceHeadersOperation
public interface ResourceOperation
Operation for manipulating a resource
- Author:
- bbpennel
-
Method Summary
Modifier and TypeMethodDescriptionId of the resourceThe transaction the operation is in.getType()Returns the type of operation represented by this requestReturns the user principal performing this operation
-
Method Details
-
getTransaction
The transaction the operation is in.- Returns:
- the transaction.
-
getResourceId
Id of the resource- Returns:
- the ID.
-
getUserPrincipal
Returns the user principal performing this operation- Returns:
- the user principal performing this operation
-
getType
Returns the type of operation represented by this request- Returns:
- operation type
-