@Controller
@RequestMapping(value="/dictionary")
public class DataDictionaryController
extends com.centit.framework.core.controller.BaseController
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
F |
static String |
S |
static String |
T |
static String |
U |
logDebug, logger, OBJECT, OBJLIST, PAGE_DESC, SEARCH_ARRAY_PREFIX, SEARCH_ARRAY_PREFIX_LEN, SEARCH_NUMBER_ARRAY_PREFIX, SEARCH_NUMBER_ARRAY_PREFIX_LEN, SEARCH_NUMBER_PREFIX, SEARCH_NUMBER_PREFIX_LEN, SEARCH_STRING_PREFIX, SEARCH_STRING_PREFIX_LEN| 构造器和说明 |
|---|
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,
javax.servlet.http.HttpServletResponse response)
新增字典类别
|
void |
createDictionary(String catalogCode,
String dataCode,
@Valid com.centit.framework.system.po.DataDictionary dataDictionary,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
新增数据字典
|
void |
deleteCatalog(String catalogCode,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
删除字典目录
|
void |
deleteDictionary(String catalogCode,
String dataCode,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
删除数据字典
|
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() |
void |
editDictionary(String catalogCode,
String dataCode,
@Valid com.centit.framework.system.po.DataDictionary dataDictionary,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
更新数据字典
|
void |
getAllCatalog(javax.servlet.http.HttpServletResponse response) |
void |
getCatalog(String catalogCode,
javax.servlet.http.HttpServletResponse response)
查询单个字典目录
|
void |
getDataDictionary(String catalogCode,
javax.servlet.http.HttpServletResponse response) |
void |
getDataDictionaryDetail(String catalogCode,
javax.servlet.http.HttpServletResponse response) |
String |
getOptId() |
void |
getWholeDictionary(javax.servlet.http.HttpServletResponse response) |
void |
isNotExistsCatalogCode(String catalogCode,
javax.servlet.http.HttpServletResponse response)
catalogCode是否已存在
|
void |
isNotExistsDataCode(String catalogCode,
String dataCode,
javax.servlet.http.HttpServletResponse response)
dataCode是否已存在
|
void |
list(String[] field,
com.centit.support.database.utils.PageDesc pageDesc,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
查询所有字典目录列表
|
void |
updateCatalog(String catalogCode,
@Valid com.centit.framework.system.po.DataCatalog dataCatalog,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
更新字典类别
|
void |
updateDictionary(String catalogCode,
@Valid com.centit.framework.system.po.DataCatalog dataCatalog,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
更新字典目录明细
|
public String getOptId()
@RequestMapping(method=GET) public void list(String[] field, com.centit.support.database.utils.PageDesc pageDesc, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
field - 只需要的属性名pageDesc - 分页信息request - HttpServletRequestresponse - HttpServletResponse@RequestMapping(value="/{catalogCode}",
method=GET)
public void getCatalog(@PathVariable
String catalogCode,
javax.servlet.http.HttpServletResponse response)
catalogCode - DataCatalog主键response - HttpServletResponse@RequestMapping(value="/notexists/{catalogCode}",
method=GET)
public void isNotExistsCatalogCode(@PathVariable
String catalogCode,
javax.servlet.http.HttpServletResponse response)
catalogCode - catalogCoderesponse - HttpServletResponse@RequestMapping(value="/notexists/dictionary/{catalogCode}/{dataCode}",
method=GET)
public void isNotExistsDataCode(@PathVariable
String catalogCode,
@PathVariable
String dataCode,
javax.servlet.http.HttpServletResponse response)
catalogCode - catalogCodedataCode - dataCoderesponse - HttpServletResponse@RequestMapping(method=POST)
public void createCatalog(@Valid
@Valid com.centit.framework.system.po.DataCatalog dataCatalog,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
dataCatalog - DataCatalogrequest - HttpServletRequestresponse - HttpServletResponse@RequestMapping(value="/{catalogCode}",
method=PUT)
public void updateCatalog(@PathVariable
String catalogCode,
@Valid
@Valid com.centit.framework.system.po.DataCatalog dataCatalog,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
catalogCode - DataCatalog主键dataCatalog - DataCatalogrequest - HttpServletRequestresponse - HttpServletResponse@RequestMapping(value="update/{catalogCode}",
method=PUT)
public void updateDictionary(@PathVariable
String catalogCode,
@Valid
@Valid com.centit.framework.system.po.DataCatalog dataCatalog,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
catalogCode - DataCatalog主键dataCatalog - DataCatalogrequest - HttpServletRequestresponse - HttpServletResponse@RequestMapping(value="/dictionary/{catalogCode}/{dataCode}",
method=PUT)
public void createDictionary(@PathVariable
String catalogCode,
@PathVariable
String dataCode,
@Valid
@Valid com.centit.framework.system.po.DataDictionary dataDictionary,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
catalogCode - DataCatalog主键dataCode - DataDictionary主键dataDictionary - DataDictionaryrequest - HttpServletRequestresponse - HttpServletResponse@RequestMapping(value="/dictionary/{catalogCode}/{dataCode}",
method=POST)
public void editDictionary(@PathVariable
String catalogCode,
@PathVariable
String dataCode,
@Valid
@Valid com.centit.framework.system.po.DataDictionary dataDictionary,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
catalogCode - DataCatalog主键dataCode - DataDictionary主键dataDictionary - DataDictionaryrequest - HttpServletRequestresponse - HttpServletResponseprotected void dictionaryPreHandler(com.centit.framework.system.po.DataCatalog dataCatalog,
com.centit.framework.system.po.DataDictionary dataDictionary)
dataCatalog - DataCatalogdataDictionary - DataDictionaryprotected void dictionaryPreInsertHandler(com.centit.framework.system.po.DataCatalog dataCatalog,
com.centit.framework.system.po.DataDictionary dataDictionary,
javax.servlet.http.HttpServletRequest request)
dataCatalog - DataCatalogdataDictionary - DataDictionaryrequest - HttpServletRequestprotected void dictionaryPreDeleteHandler(com.centit.framework.system.po.DataCatalog dataCatalog,
com.centit.framework.system.po.DataDictionary dataDictionary,
javax.servlet.http.HttpServletRequest request)
request - HttpServletRequestdataCatalog - DataCatalogdataDictionary - DataDictionaryprotected void dictionaryPreUpdateHandler(com.centit.framework.system.po.DataCatalog dataCatalog,
com.centit.framework.system.po.DataDictionary dataDictionary,
javax.servlet.http.HttpServletRequest request)
dataCatalog - DataCatalogdataDictionary - DataDictionaryrequest - HttpServletRequestprotected void catalogPrDeleteHandler(com.centit.framework.system.po.DataCatalog dataCatalog,
javax.servlet.http.HttpServletRequest request)
@RequestMapping(value="/{catalogCode}",
method=DELETE)
public void deleteCatalog(@PathVariable
String catalogCode,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
catalogCode - DataCatalog主键request - HttpServletRequestresponse - HttpServletResponse@RequestMapping(value="/dictionary/{catalogCode}/{dataCode}",
method=DELETE)
public void deleteDictionary(@PathVariable
String catalogCode,
@PathVariable
String dataCode,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
catalogCode - DataCatalog主键dataCode - dataCoderequest - HttpServletRequestresponse - HttpServletResponse@RequestMapping(value="/dictionaryPiece/{catalogCode}",
method=GET)
public void getDataDictionary(@PathVariable
String catalogCode,
javax.servlet.http.HttpServletResponse response)
@RequestMapping(value="/editDictionary/{catalogCode}",
method=GET)
public void getDataDictionaryDetail(@PathVariable
String catalogCode,
javax.servlet.http.HttpServletResponse response)
@RequestMapping(value="/allCatalog",
method=GET)
public void getAllCatalog(javax.servlet.http.HttpServletResponse response)
@RequestMapping(value="/wholeDictionary",
method=GET)
public void getWholeDictionary(javax.servlet.http.HttpServletResponse response)
@RequestMapping(value="/dictionaryprop")
public org.springframework.http.ResponseEntity<byte[]> downloadProperties()
throws IOException
IOExceptionCopyright © 2018. All rights reserved.