@Controller
@RequestMapping(value="library")
public class FileLibraryInfoController
extends com.centit.framework.core.controller.BaseController
| 构造器和说明 |
|---|
FileLibraryInfoController(FileLibraryInfoManager fileLibraryInfoMag) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
createFileLibraryInfo(FileLibraryInfo fileLibraryInfo,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
新增 文件库信息
|
void |
deleteFileLibraryInfo(String libraryId)
删除单个 文件库信息
|
FileLibraryInfo |
getFileLibraryInfo(String libraryId)
查询单个 文件库信息
|
Image |
getImage(String name,
Integer size,
Integer red,
Integer green,
Integer blue,
Boolean border) |
void |
initPersonLibrary(javax.servlet.http.HttpServletRequest request) |
void |
initUnitLibrary(String unitCode,
javax.servlet.http.HttpServletRequest request) |
com.centit.framework.core.dao.PageQueryResult<FileLibraryInfo> |
list(javax.servlet.http.HttpServletRequest request)
查询所有 文件库信息 列表
|
List<com.centit.framework.model.basedata.IUnitInfo> |
listUnitPathsByUserCode(javax.servlet.http.HttpServletRequest request) |
void |
updateFileLibraryInfo(FileLibraryInfo fileLibraryInfo,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
更新 文件库信息
|
public FileLibraryInfoController(FileLibraryInfoManager fileLibraryInfoMag)
@RequestMapping(method=GET) @WrapUpResponseBody public com.centit.framework.core.dao.PageQueryResult<FileLibraryInfo> list(javax.servlet.http.HttpServletRequest request)
@RequestMapping(value="/{libraryId}",
method=GET)
@WrapUpResponseBody
public FileLibraryInfo getFileLibraryInfo(@PathVariable
String libraryId)
libraryId - library_id@RequestMapping(value="/unitpath",
method=GET)
@WrapUpResponseBody
public List<com.centit.framework.model.basedata.IUnitInfo> listUnitPathsByUserCode(javax.servlet.http.HttpServletRequest request)
@RequestMapping(value="/libraryimage/{name}",
method=GET)
@WrapUpResponseBody(contentType=IMAGE)
public Image getImage(@PathVariable
String name,
Integer size,
Integer red,
Integer green,
Integer blue,
Boolean border)
@RequestMapping(value="/initpersonlib",
method=POST)
@WrapUpResponseBody
public void initPersonLibrary(javax.servlet.http.HttpServletRequest request)
@RequestMapping(value="/initunitlib/{unitCode}",
method=POST)
@WrapUpResponseBody
public void initUnitLibrary(@PathVariable
String unitCode,
javax.servlet.http.HttpServletRequest request)
@RequestMapping(method=POST)
@WrapUpResponseBody
public void createFileLibraryInfo(@RequestBody
FileLibraryInfo fileLibraryInfo,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
fileLibraryInfo - FileLibraryInfo@RequestMapping(value="/{libraryId}",
method=DELETE)
@WrapUpResponseBody
public void deleteFileLibraryInfo(@PathVariable
String libraryId)
libraryId - library_id@RequestMapping(method=PUT)
@WrapUpResponseBody
public void updateFileLibraryInfo(@RequestBody
FileLibraryInfo fileLibraryInfo,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
fileLibraryInfo - FileLibraryInfoCopyright © 2021 Centit Information Technical, co. Inc.. All rights reserved.