@Controller @VisitRefer(refer="decision-management-directory") @RequestMapping(value="/{version}") @FunctionSupport(function=FsBI) public class EntryResource extends java.lang.Object
构造器和说明 |
---|
EntryResource() |
限定符和类型 | 方法和说明 |
---|---|
Response |
deleteEntries(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
EntryUpdateBean entryUpdateBean) |
Response |
getAllEntries(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version) |
Response |
getEntryById(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String entryId) |
Response |
getEntryRootNodes(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version) |
Response |
getEntryTreeNodes(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String directoryId) |
Response |
getEntryTreeNodes(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String directoryId,
int privilegeType) |
Response |
moveEntries(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
EntryMoveBean entryMoveBean) |
Response |
moveEntry(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
EntryMoveBean entryMoveBean) |
Response |
searchEntryListNodes(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String keyword) |
Response |
searchEntryTreeNodes(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String keyword) |
void |
showEntry(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String entryId,
boolean preview) |
@RequestMapping(value="/entry/roots", method=GET) @VisitRefer(required=false) @ResponseBody public Response getEntryRootNodes(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/{directoryId}/entries/{privilegeType}", method=GET) @VisitRefer(required=false) @ResponseBody public Response getEntryTreeNodes(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @PathVariable(value="directoryId") java.lang.String directoryId, @PathVariable(value="privilegeType") int privilegeType) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/entries/all", method=GET) @VisitRefer(required=false) @ResponseBody public Response getAllEntries(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/{directoryId}/entries", method=GET) @VisitRefer(required=false) @ResponseBody public Response getEntryTreeNodes(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @PathVariable(value="directoryId") java.lang.String directoryId) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/entry/tree", method=GET) @VisitRefer(required=false) @ResponseBody public Response searchEntryTreeNodes(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @RequestParam(value="keyword") java.lang.String keyword) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/entry", method=GET) @VisitRefer(required=false) @ResponseBody public Response getEntryById(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @RequestParam(value="entryId") java.lang.String entryId) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/entry/list", method=GET) @VisitRefer(required=false) @ResponseBody public Response searchEntryListNodes(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @RequestParam(value="keyword") java.lang.String keyword) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/entries", method=DELETE) @ResponseBody public Response deleteEntries(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @RequestBody EntryUpdateBean entryUpdateBean) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/entry", method=PUT) @ResponseBody public Response moveEntry(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @RequestBody EntryMoveBean entryMoveBean) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/entries", method=PUT) @ResponseBody public Response moveEntries(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @RequestBody EntryMoveBean entryMoveBean) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/entry/access/{entryId}", method=GET, produces="text/html") @VisitRefer(required=false) @LoginStatusChecker(tokenResource=COOKIE) public void showEntry(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @PathVariable(value="entryId") java.lang.String entryId, @RequestParam(value="preview",required=false) boolean preview) throws java.lang.Exception
java.lang.Exception