Package com.flowable.app.engine.impl.cmd
Class NeedsAppDefinitionCmd<T>
java.lang.Object
com.flowable.app.engine.impl.cmd.NeedsAppDefinitionCmd<T>
- All Implemented Interfaces:
java.io.Serializable,org.flowable.common.engine.impl.interceptor.Command<T>
- Direct Known Subclasses:
AddIdentityLinkCmd,DeleteIdentityLinkCmd
public abstract class NeedsAppDefinitionCmd<T>
extends java.lang.Object
implements org.flowable.common.engine.impl.interceptor.Command<T>, java.io.Serializable
An abstract superclass for
Command implementations that want to verify the provided app is always active (ie. not suspended).- Author:
- Tijs Rademakers
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringappDefinitionId -
Constructor Summary
Constructors Constructor Description NeedsAppDefinitionCmd(java.lang.String appDefinitionId) -
Method Summary
Modifier and Type Method Description Texecute(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)protected abstract Texecute(org.flowable.common.engine.impl.interceptor.CommandContext commandContext, org.flowable.app.api.repository.AppDefinition appDefinition)Subclasses must implement in this method their normal command logic.
-
Field Details
-
appDefinitionId
protected java.lang.String appDefinitionId
-
-
Constructor Details
-
NeedsAppDefinitionCmd
public NeedsAppDefinitionCmd(java.lang.String appDefinitionId)
-
-
Method Details
-
execute
- Specified by:
executein interfaceorg.flowable.common.engine.impl.interceptor.Command<T>
-
execute
protected abstract T execute(org.flowable.common.engine.impl.interceptor.CommandContext commandContext, org.flowable.app.api.repository.AppDefinition appDefinition)Subclasses must implement in this method their normal command logic.
-