java.lang.Object
com.almis.awe.model.entities.Element
com.almis.awe.model.entities.screen.component.action.AbstractAction
All Implemented Interfaces:
Copyable, XMLNode, Serializable
Direct Known Subclasses:
ButtonAction, DependencyAction, Option

public abstract class AbstractAction extends Element
AbstractAction Class Used to parse screen actions with XStream Parent class for ButtonAction, Menu and Option classes
Author:
Pablo GARCIA - 28/JUN/2010
See Also:
  • Constructor Details

    • AbstractAction

      public AbstractAction()
  • Method Details

    • getTemplate

      public String getTemplate()
      Description copied from class: Element
      Retrieve element template (To be overwritten)
      Overrides:
      getTemplate in class Element
      Returns:
      Element template
    • isAsync

      public boolean isAsync()
      Returns if is async
      Returns:
      Is async
    • isSilent

      public boolean isSilent()
      Returns if is silent
      Returns:
      Is silent
    • getActionValues

      public ActionParameters getActionValues()
      Return the value list serialized in JSON
      Returns:
      value list string
    • getServerActionConverter

      public String getServerActionConverter()
      Returns the default action for JSON serialization
      Returns:
      Default Action
    • getElementKey

      public String getElementKey()
      Specified by:
      getElementKey in interface XMLNode
      Overrides:
      getElementKey in class Element
      Returns:
      the elementKey