@Controller
@RequestMapping(value="/dictionary")
public class DataDictionaryController
extends com.centit.framework.core.controller.BaseController
| 构造器和说明 |
|---|
DataDictionaryController() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
catalogPrDeleteHandler(com.centit.framework.system.po.DataCatalog dataCatalog,
javax.servlet.http.HttpServletRequest request) |
void |
createCatalog(@Valid com.centit.framework.system.po.DataCatalog dataCatalog,
javax.servlet.http.HttpServletRequest request) |
com.centit.framework.common.ResponseData |
createDictionary(String catalogCode,
String dataCode,
@Valid com.centit.framework.system.po.DataDictionary dataDictionary,
javax.servlet.http.HttpServletRequest request) |
com.centit.framework.common.ResponseData |
deleteCatalog(String catalogCode,
javax.servlet.http.HttpServletRequest request) |
com.centit.framework.common.ResponseData |
deleteDictionary(String catalogCode,
String dataCode,
javax.servlet.http.HttpServletRequest request) |
protected void |
dictionaryPreDeleteHandler(com.centit.framework.system.po.DataCatalog dataCatalog,
com.centit.framework.system.po.DataDictionary dataDictionary,
javax.servlet.http.HttpServletRequest request) |
protected void |
dictionaryPreHandler(com.centit.framework.system.po.DataCatalog dataCatalog,
com.centit.framework.system.po.DataDictionary dataDictionary) |
protected void |
dictionaryPreInsertHandler(com.centit.framework.system.po.DataCatalog dataCatalog,
com.centit.framework.system.po.DataDictionary dataDictionary,
javax.servlet.http.HttpServletRequest request) |
protected void |
dictionaryPreUpdateHandler(com.centit.framework.system.po.DataCatalog dataCatalog,
com.centit.framework.system.po.DataDictionary dataDictionary,
javax.servlet.http.HttpServletRequest request) |
org.springframework.http.ResponseEntity<byte[]> |
downloadProperties() |
com.centit.framework.common.ResponseData |
editDictionary(String catalogCode,
String dataCode,
@Valid com.centit.framework.system.po.DataDictionary dataDictionary,
javax.servlet.http.HttpServletRequest request) |
com.centit.framework.common.ResponseData |
getAllCatalog() |
com.centit.framework.system.po.DataCatalog |
getCatalog(String catalogCode) |
com.centit.framework.common.ResponseData |
getDataDictionary(String catalogCode) |
com.centit.framework.common.ResponseData |
getDataDictionaryDetail(String catalogCode) |
String |
getOptId() |
com.centit.framework.common.ResponseData |
getWholeDictionary(javax.servlet.http.HttpServletResponse response) |
int |
isExistsCatalogName(String catalogName) |
boolean |
isNotExistsCatalogCode(String catalogCode) |
boolean |
isNotExistsDataCode(String catalogCode,
String dataCode) |
com.centit.framework.core.dao.PageQueryResult<com.centit.framework.system.po.DataCatalog> |
list(String[] field,
com.centit.support.database.utils.PageDesc pageDesc,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
com.centit.framework.common.ResponseData |
updateCatalog(String catalogCode,
@Valid com.centit.framework.system.po.DataCatalog dataCatalog) |
com.centit.framework.common.ResponseData |
updateDictionary(String catalogCode,
@Valid com.centit.framework.system.po.DataCatalog dataCatalog,
javax.servlet.http.HttpServletRequest request) |
public String getOptId()
@RequestMapping(method=GET) @WrapUpResponseBody public com.centit.framework.core.dao.PageQueryResult<com.centit.framework.system.po.DataCatalog> list(String[] field, com.centit.support.database.utils.PageDesc pageDesc, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
@RequestMapping(value="/{catalogCode}",
method=GET)
@WrapUpResponseBody
public com.centit.framework.system.po.DataCatalog getCatalog(@PathVariable
String catalogCode)
@RequestMapping(value="/notexists/{catalogCode}",
method=GET)
@WrapUpResponseBody(contentType=RAW)
public boolean isNotExistsCatalogCode(@PathVariable
String catalogCode)
@RequestMapping(value="/existcatalogname/{catalogName}",
method=GET)
@WrapUpResponseBody(contentType=RAW)
public int isExistsCatalogName(@PathVariable
String catalogName)
@RequestMapping(value="/notexists/dictionary/{catalogCode}/{dataCode}",
method=GET)
@WrapUpResponseBody(contentType=RAW)
public boolean isNotExistsDataCode(@PathVariable
String catalogCode,
@PathVariable
String dataCode)
@RequestMapping(method=POST)
@WrapUpResponseBody
public void createCatalog(@Valid
@Valid com.centit.framework.system.po.DataCatalog dataCatalog,
javax.servlet.http.HttpServletRequest request)
@RequestMapping(value="/{catalogCode}",
method=PUT)
@WrapUpResponseBody
public com.centit.framework.common.ResponseData updateCatalog(@ParamName(value="catalogCode") @PathVariable
String catalogCode,
@Valid
@Valid com.centit.framework.system.po.DataCatalog dataCatalog)
@RequestMapping(value="/update/{catalogCode}",
method=PUT)
@WrapUpResponseBody
public com.centit.framework.common.ResponseData updateDictionary(@ParamName(value="catalogCode") @PathVariable
String catalogCode,
@Valid
@Valid com.centit.framework.system.po.DataCatalog dataCatalog,
javax.servlet.http.HttpServletRequest request)
@RequestMapping(value="/dictionary/{catalogCode}/{dataCode}",
method=PUT)
@WrapUpResponseBody
public com.centit.framework.common.ResponseData createDictionary(@ParamName(value="catalogCode") @PathVariable
String catalogCode,
@ParamName(value="dataCode") @PathVariable
String dataCode,
@Valid
@Valid com.centit.framework.system.po.DataDictionary dataDictionary,
javax.servlet.http.HttpServletRequest request)
@RequestMapping(value="/dictionary/{catalogCode}/{dataCode}",
method=POST)
@WrapUpResponseBody
public com.centit.framework.common.ResponseData editDictionary(@ParamName(value="catalogCode") @PathVariable
String catalogCode,
@ParamName(value="dataCode") @PathVariable
String dataCode,
@Valid
@Valid com.centit.framework.system.po.DataDictionary dataDictionary,
javax.servlet.http.HttpServletRequest request)
protected void dictionaryPreHandler(com.centit.framework.system.po.DataCatalog dataCatalog,
com.centit.framework.system.po.DataDictionary dataDictionary)
protected void dictionaryPreInsertHandler(com.centit.framework.system.po.DataCatalog dataCatalog,
com.centit.framework.system.po.DataDictionary dataDictionary,
javax.servlet.http.HttpServletRequest request)
protected void dictionaryPreDeleteHandler(com.centit.framework.system.po.DataCatalog dataCatalog,
com.centit.framework.system.po.DataDictionary dataDictionary,
javax.servlet.http.HttpServletRequest request)
protected void dictionaryPreUpdateHandler(com.centit.framework.system.po.DataCatalog dataCatalog,
com.centit.framework.system.po.DataDictionary dataDictionary,
javax.servlet.http.HttpServletRequest request)
protected void catalogPrDeleteHandler(com.centit.framework.system.po.DataCatalog dataCatalog,
javax.servlet.http.HttpServletRequest request)
@RequestMapping(value="/{catalogCode}",
method=DELETE)
@WrapUpResponseBody
public com.centit.framework.common.ResponseData deleteCatalog(@ParamName(value="catalogCode") @PathVariable
String catalogCode,
javax.servlet.http.HttpServletRequest request)
@RequestMapping(value="/dictionary/{catalogCode}/{dataCode}",
method=DELETE)
@WrapUpResponseBody
public com.centit.framework.common.ResponseData deleteDictionary(@ParamName(value="catalogCode") @PathVariable
String catalogCode,
@ParamName(value="dataCode") @PathVariable
String dataCode,
javax.servlet.http.HttpServletRequest request)
@RequestMapping(value="/dictionaryPiece/{catalogCode}",
method=GET)
@WrapUpResponseBody
public com.centit.framework.common.ResponseData getDataDictionary(@PathVariable
String catalogCode)
@RequestMapping(value="/editDictionary/{catalogCode}",
method=GET)
@WrapUpResponseBody
public com.centit.framework.common.ResponseData getDataDictionaryDetail(@PathVariable
String catalogCode)
@RequestMapping(value="/allCatalog",
method=GET)
@WrapUpResponseBody
public com.centit.framework.common.ResponseData getAllCatalog()
@RequestMapping(value="/wholeDictionary",
method=GET)
@WrapUpResponseBody
public com.centit.framework.common.ResponseData getWholeDictionary(javax.servlet.http.HttpServletResponse response)
@GetMapping(value="/dictionaryprop")
@ResponseBody
public org.springframework.http.ResponseEntity<byte[]> downloadProperties()
throws IOException
IOExceptionCopyright © 2026 Centit Information Technical, co. Inc.. All rights reserved.