|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The interface of an object passed into WorkflowApplication implementations that provides a handle for various system resources, and a window into the state of the case.
Field Summary | |
static java.lang.String |
code_id
This is only public so that it can be contained in an interface. |
static java.lang.String |
VAR_CASE_TERMINATED
Deprecated. Use WFProcess.VAR_CASE_TERMINATED |
Method Summary | |
com.waveset.security.authz.AccessPolicy |
getAccessPolicy()
Return an access policy object, used for checking authorization. |
WFCase.Result |
getActionResult()
Return the Result object in the WFCase that corresponds to the the Action in the WFProcess. |
java.lang.Object |
getArgument(java.lang.String name)
Return the value of an action argument. |
java.util.Map |
getArguments()
Return a map of all arguments available to the application. |
ObjectCache |
getCache()
Obtain an object cache. |
WavesetResult |
getCaseResult()
Obtain the global result being maintained by this case. |
ExState |
getExpressionState()
Return the ExState encapsulating all of the workflow variables so that it can be used in rules evaluated by the application. |
LighthouseContext |
getLighthouseContext()
Obtain the lighthouse context. |
LighthouseContext |
getLighthouseContext(java.lang.String user)
Obtain the lighthouse context, configured for access by a particular user. |
com.waveset.repository.Repository |
getRepository()
Obtain a repository. |
Subject |
getSubject()
Return the Subject of the user executing this case. |
TaskInstance |
getTask()
Obtain the TaskInstance that contains the executing case. |
java.lang.String |
getUser()
Return the name of the effective user executing the case. |
java.lang.Object |
getVariable(java.lang.String name)
Return the value of a case variable. |
java.util.Map |
getVariables()
Return a map of all of the case variables |
boolean |
isTerminateRequested()
Test the terminate request flag. |
void |
setVariable(java.lang.String name,
java.lang.Object value)
Set a case variable. |
Methods inherited from interface com.waveset.util.VariableResolver |
resolveVariable |
Field Detail |
public static final java.lang.String code_id
public static final java.lang.String VAR_CASE_TERMINATED
Method Detail |
public LighthouseContext getLighthouseContext()
public LighthouseContext getLighthouseContext(java.lang.String user)
public ObjectCache getCache()
Some applications we call, might want to find their own objects. To keep repository connectivity flexible, we supply this, rather than making build their own.
public com.waveset.repository.Repository getRepository()
Some applications we call, might need direct access to the repository.
public com.waveset.security.authz.AccessPolicy getAccessPolicy() throws WavesetException
WavesetException
public java.lang.String getUser() throws WavesetException
WavesetException
public Subject getSubject() throws WavesetException
WavesetException
public java.lang.Object getVariable(java.lang.String name) throws WavesetException
May throw if the variable value is derived by evaluating an expression.
WavesetException
public java.util.Map getVariables() throws WavesetException
WavesetException
public void setVariable(java.lang.String name, java.lang.Object value) throws WavesetException
WavesetException
public java.lang.Object getArgument(java.lang.String name) throws WavesetException
May throw if the argument value is derived by evaluating an expression.
WavesetException
public java.util.Map getArguments() throws WavesetException
Used by things that want to pass all the arguments to something else that knows what to look for.
WavesetException
public WavesetResult getCaseResult() throws WavesetException
WavesetException
public TaskInstance getTask() throws WavesetException
With this we don't really need getCaseResult, but since this may go away, keep both.
WavesetException
public boolean isTerminateRequested()
public WFCase.Result getActionResult()
public ExState getExpressionState()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |