Interface ActionModel

All Known Subinterfaces:
ActionGroupModel, SeparatorModel
All Known Implementing Classes:
ActionGroupModelImpl, ActionModelImpl, SeparatorModelImpl

@Deprecated public interface ActionModel
Deprecated.
  • Method Details

    • getId

      String getId()
      Deprecated.
      A *non-unique* id of the action. This id is used to map the serverside action representation (button) to the clientside action (perform method).

      For example the export actions (about 5 buttons) share the same action id, and have different properties. They are all handled by the same clientside action (perform).

      In xml this attribute is called 'path' for historical reasons.

      The id is also used for the netuiactions security.

      The id may also used for the jabsorb action in the BackportAction.js (legacy code).

    • deepCopy

      ActionModel deepCopy()
      Deprecated.
    • getName

      String getName()
      Deprecated.
      Used for the text-resource key for the label.
      Returns:
      The label key.
    • setName

      void setName(String name)
      Deprecated.
    • getShortDescription

      @Nullable @Nullable String getShortDescription()
      Deprecated.
    • setShortDescription

      void setShortDescription(@Nullable @Nullable String descr)
      Deprecated.
    • setEnabled

      void setEnabled(boolean flag)
      Deprecated.
    • isEnabled

      boolean isEnabled()
      Deprecated.
    • setToggle

      void setToggle(boolean flag)
      Deprecated.
    • isToggle

      boolean isToggle()
      Deprecated.
    • getIcon

      @Nullable @Nullable String getIcon()
      Deprecated.
    • setIcon

      void setIcon(@Nullable @Nullable String icon)
      Deprecated.
    • getPosition

      @Nullable @Nullable Integer getPosition()
      Deprecated.
    • setPosition

      void setPosition(@Nullable @Nullable Integer position)
      Deprecated.
    • setRelativePosition

      void setRelativePosition(@Nullable @Nullable String relativePosition, String propertyName)
      Deprecated.
      Set the relative position of this action model, it will be placed before or after another action model with the given property-value for this property.
      Parameters:
      relativePosition - a string in the form "[BEFORE|AFTER]:[property-value]"
      propertyName - the property name, can be any of the java beans property of the action model or one of the properties in the property map
    • getRelativePositionProperty

      String getRelativePositionProperty()
      Deprecated.
    • getRelativePosition

      String getRelativePosition()
      Deprecated.
    • getProperty

      @Nullable @Nullable Object getProperty(String key)
      Deprecated.
    • setProperty

      void setProperty(String key, @Nullable @Nullable Object value)
      Deprecated.