com.ibm.workplace.wcm.api.extensions.operation
Interface OperationContext

All Known Subinterfaces:
CreateOperationContext

public interface OperationContext

Contextual information on the operation being performed.

Since:
8.5 CF9

Method Summary
 User currentUser()
          The the user that triggered the operation.
 OperationCheckPlugin.Operation getOperation()
          Returns the identifier for the operation being performed.
 OperationCheckResult map(OperationMapper mapper)
          Convenience method to call the appropriate type method in the handler.
 

Method Detail

getOperation

OperationCheckPlugin.Operation getOperation()
Returns the identifier for the operation being performed.

Returns:
Operation being performed

currentUser

User currentUser()
The the user that triggered the operation.

Returns:
the user that triggered the operation.

map

OperationCheckResult map(OperationMapper mapper)
Convenience method to call the appropriate type method in the handler.

Parameters:
mapper - the operation handler
Returns:
the check result