Class AddIdentityLinkCmd
- java.lang.Object
-
- org.flowable.cmmn.engine.impl.cmd.NeedsActiveTaskCmd<Void>
-
- org.flowable.cmmn.engine.impl.cmd.AddIdentityLinkCmd
-
- All Implemented Interfaces:
Serializable,Command<Void>
public class AddIdentityLinkCmd extends NeedsActiveTaskCmd<Void>
- Author:
- Tijs Rademakers
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intIDENTITY_GROUPstatic intIDENTITY_USERprotected StringidentityIdprotected intidentityIdTypeprotected StringidentityType-
Fields inherited from class org.flowable.cmmn.engine.impl.cmd.NeedsActiveTaskCmd
taskId
-
-
Constructor Summary
Constructors Constructor Description AddIdentityLinkCmd(String taskId, String identityId, int identityIdType, String identityType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Voidexecute(CommandContext commandContext, TaskEntity task)Subclasses must implement in this method their normal command logic.protected voidvalidateParams(String taskId, String identityId, int identityIdType, String identityType)-
Methods inherited from class org.flowable.cmmn.engine.impl.cmd.NeedsActiveTaskCmd
execute, getSuspendedTaskException
-
-
-
-
Field Detail
-
IDENTITY_USER
public static final int IDENTITY_USER
- See Also:
- Constant Field Values
-
IDENTITY_GROUP
public static final int IDENTITY_GROUP
- See Also:
- Constant Field Values
-
identityId
protected String identityId
-
identityIdType
protected int identityIdType
-
identityType
protected String identityType
-
-
Method Detail
-
validateParams
protected void validateParams(String taskId, String identityId, int identityIdType, String identityType)
-
execute
protected Void execute(CommandContext commandContext, TaskEntity task)
Description copied from class:NeedsActiveTaskCmdSubclasses must implement in this method their normal command logic. The provided task is ensured to be active.- Specified by:
executein classNeedsActiveTaskCmd<Void>
-
-