All Implemented Interfaces:
Action, BaseAction, Component, CompositeComponent, Cloneable

public class ActionImpl extends AbstractAction implements Action
  • Constructor Details Link icon

    • ActionImpl Link icon

      public ActionImpl()
  • Method Details Link icon

    • getEndpoint Link icon

      @Nullable public @Nullable String getEndpoint()
      Description copied from interface: Action
      This REST endpoint will be called by the action. Must be defined if the action type is equal BaseAction.ActionType.SIMPLE. It can also be set on BaseAction.ActionType.CUSTOM for pre-action logic.
      Specified by:
      getEndpoint in interface Action
    • setEndpoint Link icon

      public void setEndpoint(String endpoint)
    • getAppId Link icon

      @Nullable public @Nullable String getAppId()
      Description copied from interface: Action
      The app with this id will be called by the action. Must only be defined if the action type is equal BaseAction.ActionType.CUSTOM
      Specified by:
      getAppId in interface Action
    • setAppId Link icon

      public void setAppId(String appId)
    • getPath Link icon

      @Nullable public @Nullable String getPath()
      Description copied from interface: Action
      The legacy action with this path will be called. Must only be defined if the action type is equal BaseAction.ActionType.LEGACY
      Specified by:
      getPath in interface Action
    • setPath Link icon

      public void setPath(String path)
    • setUseLabel Link icon

      public void setUseLabel(UseLabel useLabel)
    • getUseLabel Link icon

      public UseLabel getUseLabel()
      Description copied from interface: Action
      used to determine whether the label should be displayed
      Specified by:
      getUseLabel in interface Action
    • setDmsEntityModel Link icon

      public void setDmsEntityModel(String dmsEntityModel)
    • getDmsEntityModel Link icon

      public String getDmsEntityModel()
      Description copied from interface: Action
      used to determine on which dms items to display an action
      Specified by:
      getDmsEntityModel in interface Action
    • setButtonType Link icon

      public void setButtonType(ButtonType buttonType)
    • getButtonType Link icon

      public ButtonType getButtonType()
      Description copied from interface: Action
      used to decide the look of an action
      Specified by:
      getButtonType in interface Action
    • setButtonStyle Link icon

      public void setButtonStyle(BaseAction.ButtonStyle buttonStyle)
    • getButtonStyle Link icon

      public BaseAction.ButtonStyle getButtonStyle()
      Description copied from interface: Action
      used to decide the look of an action button
      Specified by:
      getButtonStyle in interface Action
    • getProperties Link icon

      public Map<String,Object> getProperties()
      Description copied from interface: Action
      The properties for the action. The value can either be of type string, boolean or number.
      Specified by:
      getProperties in interface Action
    • addProperty Link icon

      public void addProperty(String name, Object value)
    • validate Link icon

      public void validate() throws ModelBuildException
      Description copied from interface: Component
      Will be called when the form has been built completely. Can be used to validate values (and throw ModelBuildException) or the fill in default value.
      Specified by:
      validate in interface Component
      Overrides:
      validate in class AbstractCompositeComponent
      Throws:
      ModelBuildException
    • setOnlyShowOnEmptyColumn Link icon

      public void setOnlyShowOnEmptyColumn(boolean onlyShowOnEmptyColumn)
    • isOnlyShowOnEmptyColumn Link icon

      public boolean isOnlyShowOnEmptyColumn()
      Specified by:
      isOnlyShowOnEmptyColumn in interface Action
    • setConditionName Link icon

      public void setConditionName(String conditionName)
    • getConditionName Link icon

      public String getConditionName()
      Description copied from interface: Action
      Name of the action condition used to decide if action is shown
      Specified by:
      getConditionName in interface Action
    • isPlaceholder Link icon

      public boolean isPlaceholder()
      Description copied from interface: Action
      Returns true if an action is only a placeholder. A placeholder is only available during using FormInterceptors. The last FormInterceptor RemovePlaceholderInterceptor removes such placeholders. Placeholders are required to define the sorting (e.g. "after:delete"). Else during sorting sometimes errors are logged.
      Specified by:
      isPlaceholder in interface Action
    • setPlaceholder Link icon

      public void setPlaceholder(boolean isPlaceholder)