Class 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

      All Methods Instance Methods Abstract Methods Concrete Methods 
      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 Detail

      • appDefinitionId

        protected java.lang.String appDefinitionId
    • Constructor Detail

      • NeedsAppDefinitionCmd

        public NeedsAppDefinitionCmd​(java.lang.String appDefinitionId)
    • Method Detail

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