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.String appDefinitionId  
  • Constructor Summary

    Constructors 
    Constructor Description
    NeedsAppDefinitionCmd​(java.lang.String appDefinitionId)  
  • Method Summary

    Modifier and Type Method Description
    T 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

  • Constructor Details

  • 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.