/** * 功能描述:获取jsonschema内容 * * @return * @author <a href="mailto:[email protected]">李伟光 </a> created on: 2015-9-1 */ public String getJsonSchema() { // System.out.println("getJsonSchema()this.actionId:" + actionId); long curUserId = getCurUserId(); if (curUserId <= 0) { setIsOk(false); setErrMsg(LOGIN_WARN_MSG); return JSON_ERROR; } boolean isOk = false; String jsonSchema = validationMgr.getJsonSchemaByActionId(actionId); isOk = true; if (isOk) { setJson("{\"isOk\":true,\"jsonSchema\":" + jsonSchema + "}"); } return SUCCESS; }