public class ExplorerNodeCheckRightsCondition extends CheckRightsCondition
__CONTEXT_KEY, __DEFAULT_CONTEXT, __RIGHT_KEY, _rightManager, FORCE
_logger, _manager, CONTEXT_PARAMETERS_KEY, FAIL_CONDITIONS_KEY, RESULT_MAP_KEY, WORKFLOW_ERRORS_KEY, WORKFLOW_WARNS_KEY
Constructor and Description |
---|
ExplorerNodeCheckRightsCondition() |
Modifier and Type | Method and Description |
---|---|
protected Object |
_computeContext(Map transientVars,
Map args,
UserIdentity user,
String right)
Compute the context to use.
Default implementation uses standard context "/cms" . |
protected ExplorerNode |
getExplorerNode(Map transientVars)
Retrieve the resource associated with the workflow.
|
_checkRights, checkMultipleAndRights, checkMultipleOrRights, dispose, hasRight, initialize, passesCondition
addWorkflowError, addWorkflowWarning, enableLogging, getConditionFailures, getContextParameters, getResultsMap, getUser, service
public ExplorerNodeCheckRightsCondition()
protected Object _computeContext(Map transientVars, Map args, UserIdentity user, String right) throws com.opensymphony.workflow.WorkflowException
CheckRightsCondition
"/cms"
._computeContext
in class CheckRightsCondition
transientVars
- variables that will not be persisted.args
- the properties for this function invocation.user
- the current user.right
- the needed right.com.opensymphony.workflow.WorkflowException
- if an error occurs.protected ExplorerNode getExplorerNode(Map transientVars) throws com.opensymphony.workflow.WorkflowException
transientVars
- the parameters from the call.com.opensymphony.workflow.WorkflowException
- if the resource is not found.