public class CommonCommitdbAction extends MaliCommonAction
| Modifier and Type | Field and Description |
|---|---|
boolean |
isMethodset |
ProcessRequest |
theProcessRequest |
| Constructor and Description |
|---|
CommonCommitdbAction() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
commit(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
java.lang.String |
dbconvert(java.lang.String fieldvalue,
SqlProcess[] alldatas)
foreward 時變數為db 變數,由此進行轉換
|
MaliActionTarget |
doReturnContextNullErrorTarget(MaliActionParameter para,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
回傳逾時
|
BaseTable[] |
getBaseTableAllData(javax.servlet.http.HttpServletRequest request) |
BaseTable[] |
getBaseTableData(javax.servlet.http.HttpServletRequest request) |
java.lang.reflect.Method |
getMethod(java.lang.reflect.Method[] inmethods,
java.lang.String fieldname) |
java.lang.Object |
getMethodValue(java.lang.reflect.Method[] inmethods,
java.lang.String fieldname,
java.lang.String fieldvalue) |
ProcessRequest |
getProcessRequest()
取得處理結果
|
ProcessRequestbean |
getProcessRequestbean() |
java.lang.String |
paraconvert(java.lang.String fieldvalue,
javax.servlet.http.HttpServletRequest request)
foreward 時變數為 parameter 變數,由此進行轉換
|
BaseTable[] |
parserBaseTables(int scriptint,
java.util.Vector scriptno,
java.util.Vector allParameter) |
MaliActionTarget |
run(MaliActionParameter arg0,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
setOnlyMethodSetBaseTable(boolean is)
只有 method 的 欄位才做 set , 設false 則只要是 $ 均做set再由servlet 自行處理, 預設true
|
void |
setProcessRequest(ProcessRequest in) |
createAJAXMESGObject, getTarget, outputHtml, outputJson, outputXML, outputXML, setTargetpublic ProcessRequest theProcessRequest
public boolean isMethodset
public MaliActionTarget run(MaliActionParameter arg0, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException, javax.servlet.ServletException
run in class MaliCommonActionjava.io.IOExceptionjavax.servlet.ServletExceptionpublic ProcessRequest getProcessRequest()
public void setProcessRequest(ProcessRequest in)
public void setOnlyMethodSetBaseTable(boolean is)
is - public ProcessRequestbean getProcessRequestbean()
public boolean commit(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
java.lang.Exceptionpublic BaseTable[] getBaseTableData(javax.servlet.http.HttpServletRequest request)
public BaseTable[] parserBaseTables(int scriptint, java.util.Vector scriptno, java.util.Vector allParameter)
public BaseTable[] getBaseTableAllData(javax.servlet.http.HttpServletRequest request)
public java.lang.reflect.Method getMethod(java.lang.reflect.Method[] inmethods,
java.lang.String fieldname)
public java.lang.Object getMethodValue(java.lang.reflect.Method[] inmethods,
java.lang.String fieldname,
java.lang.String fieldvalue)
public java.lang.String dbconvert(java.lang.String fieldvalue,
SqlProcess[] alldatas)
fieldvalue - alldatas - public java.lang.String paraconvert(java.lang.String fieldvalue,
javax.servlet.http.HttpServletRequest request)
fieldvalue - request - public MaliActionTarget doReturnContextNullErrorTarget(MaliActionParameter para, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException
para - request - response - java.lang.Exceptionjava.io.IOException