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
    Modifier and Type
    Field
    Description
    protected String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    NeedsAppDefinitionCmd(String appDefinitionId)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    execute(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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • appDefinitionId

      protected String appDefinitionId
  • Constructor Details

    • NeedsAppDefinitionCmd

      public NeedsAppDefinitionCmd(String appDefinitionId)
  • Method Details

    • execute

      public T execute(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
      Specified by:
      execute in interface org.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.