构造器和说明 |
---|
ServiceJavaBase() |
限定符和类型 | 方法和说明 |
---|---|
java.lang.String[] |
before(net.sf.json.JSONArray array)
最先执行,可以用于权限判断
|
java.lang.String[] |
execute(net.sf.json.JSONArray array)
服务执行自定义逻辑
|
java.lang.String |
responseData(net.sf.json.JSONObject ret)
返回数据
|
getComponentValue, getComponentValueString, getContextValue, getDatastore, getDatastoreDouble, getDatastoreInt, getDatastoreObject, getDatastoreString, getDatastoreString, getDatastoreTimestamp, getDsInfo, getErrorMsg, getJsMap, getJsValue, getParam, getParam, getRequestParameterValue, getRowNo, putJsValue, setDataCenterInit, setErrorMsg, setModuleContext, setModuleContext, setParamList
public java.lang.String[] before(net.sf.json.JSONArray array) throws java.lang.Exception
array
- JSONArrayjava.lang.Exception
- Exceptionpublic java.lang.String[] execute(net.sf.json.JSONArray array) throws java.lang.Exception
array
- JSONArrayjava.lang.Exception
- Exceptionpublic java.lang.String responseData(net.sf.json.JSONObject ret) throws java.lang.Exception
ret
- 格式:{msgType:"success",msgStr:"","count":0,data:[]}java.lang.Exception
- Exception