public abstract class AbstractAction
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
action |
protected java.util.Map<java.lang.String,java.lang.Object> |
actionMap
Мап акшена, он входит в dataMap, в большенстве случаев использовать его для передачи данных
|
protected java.sql.Connection |
con |
protected ActionContext |
context |
protected Contract |
contract |
protected int |
contractId |
protected java.util.Map<java.lang.String,java.lang.Object> |
dataMap
Мап запроса, используется в редких случаях на прямую
|
protected int |
moduleId |
protected ParameterMap |
moduleSetup |
protected ParameterMap |
req |
protected Setup |
setup |
protected int |
userId |
Constructor and Description |
---|
AbstractAction() |
Modifier and Type | Method and Description |
---|---|
java.util.Date |
getDate(java.lang.String key,
java.util.Date def) |
void |
setContext(ActionContext context,
Contract contract,
java.util.Map<java.lang.String,java.lang.String> requestParamsMap) |
protected int userId
protected int moduleId
protected int contractId
protected java.lang.String action
protected Contract contract
protected java.sql.Connection con
protected Setup setup
protected ParameterMap req
protected ActionContext context
protected ParameterMap moduleSetup
protected java.util.Map<java.lang.String,java.lang.Object> dataMap
protected java.util.Map<java.lang.String,java.lang.Object> actionMap
public void setContext(ActionContext context, Contract contract, java.util.Map<java.lang.String,java.lang.String> requestParamsMap)
public java.util.Date getDate(java.lang.String key, java.util.Date def)