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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClientAction(String type)
Client action constructor with type argument.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClientAction
addParameter(String name, CellData value)
Adds a parameterClientAction
addParameter(String name, Object value)
Adds a parameterClientAction
copy()
Get a copy of this elementMap<String,Object>
getParameters()
Retrieve parameters map
-
-
-
Constructor Detail
-
ClientAction
public ClientAction(String type)
Client action constructor with type argument. Generates a client action- Parameters:
type
- Client action type
-
-
Method Detail
-
addParameter
public ClientAction addParameter(String name, Object value)
Adds a parameter- Parameters:
name
- Parameter namevalue
- Parameter value- Returns:
- this
-
addParameter
public ClientAction addParameter(String name, CellData value)
Adds a parameter- Parameters:
name
- Parameter namevalue
- 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
-
-