当前页面:
在线文档首页 >
JBoss JBPM 3.0.4 identity management component 英文版文档
ExpressionAssignmentHandler (jbpm-identity-3.0.4) - JBoss JBPM 3.0.4 identity management component 英文版文档
org.jbpm.identity.assignment
Class ExpressionAssignmentHandler
java.lang.Object
org.jbpm.identity.assignment.ExpressionAssignmentHandler
- All Implemented Interfaces:
- org.jbpm.taskmgmt.def.AssignmentHandler, java.io.Serializable
- public class ExpressionAssignmentHandler
- extends java.lang.Object
- implements org.jbpm.taskmgmt.def.AssignmentHandler
implements an expression language for assigning actors to tasks based
on this identity component.
syntax : first-term --> next-term --> next-term --> ... --> next-term
first-term ::= previous |
swimlane(swimlane-name) |
variable(variable-name) |
user(user-name) |
group(group-name)
next-term ::= group(group-type) |
member(role-name)
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
expression
protected java.lang.String expression
executionContext
protected org.jbpm.graph.exe.ExecutionContext executionContext
expressionSession
protected ExpressionSession expressionSession
tokenizer
protected TermTokenizer tokenizer
entity
protected Entity entity
ExpressionAssignmentHandler
public ExpressionAssignmentHandler()
assign
public void assign(org.jbpm.taskmgmt.exe.Assignable assignable,
org.jbpm.graph.exe.ExecutionContext executionContext)
- Specified by:
assign
in interface org.jbpm.taskmgmt.def.AssignmentHandler
getExpressionSession
protected ExpressionSession getExpressionSession()
- serves as a hook for customizing the way the identity session is retrieved.
overload this method to reuse this expression assignment handler for your
user data store.
resolveFirstTerm
protected Entity resolveFirstTerm(java.lang.String term)
resolveNextTerm
protected Entity resolveNextTerm(java.lang.String term)
getVariable
protected java.lang.Object getVariable(java.lang.String variableName)
getGroupByName
protected Entity getGroupByName(java.lang.String groupName)
getUserByName
protected Entity getUserByName(java.lang.String userName)
getSwimlaneActorId
protected java.lang.String getSwimlaneActorId(java.lang.String swimlaneName)
Version : jbpm-identity-3.0.4