public abstract class AppsAbstractAction
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,java.lang.Object> |
actionMap
Мап который будет будет сохранен в dataMap с ключем запрашиваемого акшена
|
protected java.sql.Connection |
con |
protected AppsContext |
context |
protected int |
contractId |
protected java.util.Map<java.lang.String,java.lang.Object> |
dataMap
Мап который будет возвращен.
|
protected javax.servlet.http.HttpServletRequest |
request |
protected java.util.Map<java.lang.String,java.lang.String> |
requestParamsMap |
Constructor and Description |
---|
AppsAbstractAction() |
Modifier and Type | Method and Description |
---|---|
abstract void |
execute() |
java.math.BigDecimal |
getBigDecimal(java.lang.String key,
java.math.BigDecimal def) |
protected boolean |
getBoolean(java.lang.String name,
boolean defaultValue) |
protected java.util.Date |
getDateParameter(java.lang.String name,
java.lang.String pattern,
java.util.Date defaultValue) |
int |
getIntParameter(java.lang.String name,
int defaultValue) |
java.lang.String |
getParameter(java.lang.String name) |
protected Period |
getPeriod() |
protected Period |
getPeriod(java.lang.String pattern) |
void |
setContext(AppsContext appsContext) |
protected AppsContext context
protected int contractId
protected java.sql.Connection con
protected java.util.Map<java.lang.String,java.lang.Object> dataMap
protected java.util.Map<java.lang.String,java.lang.Object> actionMap
protected javax.servlet.http.HttpServletRequest request
protected java.util.Map<java.lang.String,java.lang.String> requestParamsMap
public void setContext(AppsContext appsContext)
public abstract void execute() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.lang.String getParameter(java.lang.String name)
public int getIntParameter(java.lang.String name, int defaultValue)
protected Period getPeriod()
protected Period getPeriod(java.lang.String pattern)
public java.math.BigDecimal getBigDecimal(java.lang.String key, java.math.BigDecimal def)
protected final java.util.Date getDateParameter(java.lang.String name, java.lang.String pattern, java.util.Date defaultValue)
protected boolean getBoolean(java.lang.String name, boolean defaultValue)