Class ClientAction

java.lang.Object
com.almis.awe.model.entities.actions.ClientAction
All Implemented Interfaces:
Copyable, Serializable

public class ClientAction extends Object implements Copyable
ClientAction Class Used to parse the file Actions.xml with XStream Action sent to the browser to be executed at client side
Author:
Pablo GARCIA - 28/JUN/2010
See Also:
  • Constructor Details

    • ClientAction

      public ClientAction(String type)
      Client action constructor with type argument. Generates a client action
      Parameters:
      type - Client action type
  • Method Details

    • addParameter

      public ClientAction addParameter(String name, Object value)
      Adds a parameter
      Parameters:
      name - Parameter name
      value - Parameter value
      Returns:
      this
    • addParameter

      public ClientAction addParameter(String name, CellData value)
      Adds a parameter
      Parameters:
      name - Parameter name
      value - Parameter value
      Returns:
      this
    • getParameters

      public Map<String,Object> getParameters()
      Retrieve parameters map
      Returns:
      Parameters map
    • copy

      public ClientAction copy()
      Description copied from interface: Copyable
      Get a copy of this element
      Specified by:
      copy in interface Copyable
      Returns:
      element copy