public abstract class VariableSaveActivityHelper extends Object
| Constructor and Description |
|---|
VariableSaveActivityHelper() |
| Modifier and Type | Method and Description |
|---|---|
static void |
putIdVariable(org.activiti.engine.delegate.DelegateExecution execution,
com.edorasware.commons.core.entity.WorkObject<?,?,?> workObjectInScope,
com.edorasware.commons.core.entity.WorkObjectId createdWorkObjectId,
String idVariableName,
com.edorasware.gear.core.generic.GenericWorkObjectService genericWorkObjectService)
Puts variable into correct context according to idVariableName
|
public static void putIdVariable(org.activiti.engine.delegate.DelegateExecution execution,
com.edorasware.commons.core.entity.WorkObject<?,?,?> workObjectInScope,
com.edorasware.commons.core.entity.WorkObjectId createdWorkObjectId,
String idVariableName,
com.edorasware.gear.core.generic.GenericWorkObjectService genericWorkObjectService)
execution - execution in which ActivityService actsworkObjectInScope - current work object associated with executioncreatedWorkObjectId - id of the work object which was created. This is the value which we want to storeidVariableName - variable name into which createdWorkObjectId is stored. Allowed prefixes are root - top most parent case, parent - the first parent case,
without prefix - current processgenericWorkObjectService - service to use to put variableCopyright © 2010 - 2017 edorasware ag. All Rights Reserved.