Package com.flowable.app.engine.impl.cmd
Class NeedsAppDefinitionCmd<T>
java.lang.Object
com.flowable.app.engine.impl.cmd.NeedsAppDefinitionCmd<T>
- All Implemented Interfaces:
Serializable
,org.flowable.common.engine.impl.interceptor.Command<T>
- Direct Known Subclasses:
AddIdentityLinkCmd
,DeleteIdentityLinkCmd
public abstract class NeedsAppDefinitionCmd<T>
extends Object
implements org.flowable.common.engine.impl.interceptor.Command<T>, 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:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute
(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) 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.
-
Field Details
-
appDefinitionId
-
-
Constructor Details
-
NeedsAppDefinitionCmd
-
-
Method Details
-
execute
- Specified by:
execute
in 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.
-