@Controller
@RequestMapping(value="library")
public class FileLibraryInfoController
extends com.centit.framework.core.controller.BaseController
| 构造器和说明 |
|---|
FileLibraryInfoController(FileLibraryInfoManager fileLibraryInfoMag) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
createFileLibraryInfo(com.centit.fileserver.common.FileLibraryInfo fileLibraryInfo,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
新增 文件库信息
|
void |
deleteFileLibraryInfo(String libraryId)
删除单个 文件库信息
|
Object |
getFileLibraryInfo(String libraryId,
javax.servlet.http.HttpServletRequest request)
查询单个 文件库信息
|
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<com.centit.fileserver.common.FileLibraryInfo> |
list(javax.servlet.http.HttpServletRequest request)
查询所有 文件库信息 列表
|
List<com.centit.framework.model.basedata.UnitInfo> |
listUnitPathsByUserCode(javax.servlet.http.HttpServletRequest request) |
com.centit.fileserver.common.FileLibraryInfo |
mergeFileLibraryInfo(com.centit.fileserver.common.FileLibraryInfo fileLibrary) |
void |
updateFileLibraryInfo(com.centit.fileserver.common.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<com.centit.fileserver.common.FileLibraryInfo> list(javax.servlet.http.HttpServletRequest request)
request - HttpServletRequest@RequestMapping(value="/{libraryId}",
method=GET)
@WrapUpResponseBody
public Object getFileLibraryInfo(@PathVariable
String libraryId,
javax.servlet.http.HttpServletRequest request)
libraryId - library_id@RequestMapping(value="/unitpath",
method=GET)
@WrapUpResponseBody
public List<com.centit.framework.model.basedata.UnitInfo> 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
com.centit.fileserver.common.FileLibraryInfo fileLibraryInfo,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
request - HttpServletRequestresponse - HttpServletResponsefileLibraryInfo - FileLibraryInfo@RequestMapping(method=POST,
value="/addlibrary")
@WrapUpResponseBody
public com.centit.fileserver.common.FileLibraryInfo mergeFileLibraryInfo(@RequestBody
com.centit.fileserver.common.FileLibraryInfo fileLibrary)
@RequestMapping(value="/{libraryId}",
method=DELETE)
@WrapUpResponseBody
public void deleteFileLibraryInfo(@PathVariable
String libraryId)
libraryId - library_id@RequestMapping(method=PUT)
@WrapUpResponseBody
public void updateFileLibraryInfo(@RequestBody
com.centit.fileserver.common.FileLibraryInfo fileLibraryInfo,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
request - HttpServletRequestresponse - HttpServletResponsefileLibraryInfo - FileLibraryInfoCopyright © 2025 Centit Information Technical, co. Inc.. All rights reserved.