@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 |
catalogPrDeleteHander(DataCatalog dataCatalog,
javax.servlet.http.HttpServletRequest request) |
void |
createCatalog(DataCatalog dataCatalog,
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 |
dictionaryPreDeleteHander(DataCatalog dataCatalog,
DataDictionary dataDictionary,
javax.servlet.http.HttpServletRequest request)
数据字典的删除权限进行业务数据判断
|
protected void |
dictionaryPreHander(DataCatalog dataCatalog,
DataDictionary dataDictionary)
数据字典公共验证
|
protected void |
dictionaryPreInsertHander(DataCatalog dataCatalog,
DataDictionary dataDictionary,
javax.servlet.http.HttpServletRequest request)
数据字典的新增权限进行业务数据判断
|
protected void |
dictionaryPreUpdateHander(DataCatalog dataCatalog,
DataDictionary dataDictionary,
javax.servlet.http.HttpServletRequest request)
数据字典的编辑权限进行业务数据判断
|
org.springframework.http.ResponseEntity<byte[]> |
downloadProperties() |
void |
editDictionary(String catalogCode,
String dataCode,
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) |
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.framework.core.dao.PageDesc pageDesc,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
查询所有数据目录列表
|
void |
updateCatalog(String catalogCode,
DataCatalog dataCatalog,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
更新数据目录
|
void |
updateDictionary(String catalogCode,
DataCatalog dataCatalog,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
更新数据目录明细
|
@RequestMapping(method=GET) public void list(String[] field, com.centit.framework.core.dao.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(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,
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,
DataCatalog dataCatalog,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
catalogCode - DataCatalog主键dataCatalog - DataCatalogrequest - HttpServletRequestresponse - HttpServletResponse@RequestMapping(value="/dictionary/{catalogCode}/{dataCode}",
method={POST,PUT})
public void editDictionary(@PathVariable
String catalogCode,
@PathVariable
String dataCode,
DataDictionary dataDictionary,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
catalogCode - DataCatalog主键dataCode - DataDictionary主键dataDictionary - DataDictionaryrequest - HttpServletRequestresponse - HttpServletResponseprotected void dictionaryPreHander(DataCatalog dataCatalog, DataDictionary dataDictionary)
dataCatalog - DataCatalogdataDictionary - DataDictionaryprotected void dictionaryPreInsertHander(DataCatalog dataCatalog, DataDictionary dataDictionary, javax.servlet.http.HttpServletRequest request)
dataCatalog - DataCatalogdataDictionary - DataDictionaryrequest - HttpServletRequestprotected void dictionaryPreDeleteHander(DataCatalog dataCatalog, DataDictionary dataDictionary, javax.servlet.http.HttpServletRequest request)
request - HttpServletRequestdataCatalog - DataCatalogdataDictionary - DataDictionaryprotected void dictionaryPreUpdateHander(DataCatalog dataCatalog, DataDictionary dataDictionary, javax.servlet.http.HttpServletRequest request)
dataCatalog - DataCatalogdataDictionary - DataDictionaryrequest - HttpServletRequestprotected void catalogPrDeleteHander(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 © 2017. All rights reserved.