@Controller @VisitRefer(refer="decision-management-user") @RequestMapping(value="/{version}") public class UserResource extends java.lang.Object
构造器和说明 |
---|
UserResource() |
限定符和类型 | 方法和说明 |
---|---|
Response |
addUser(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
UserBean userBean) |
Response |
changeUserAccount(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
UserBean userBean) |
Response |
changeUserEmail(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
AccountChangeBean accountChangeBean) |
Response |
changeUserMobile(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
AccountChangeBean accountChangeBean) |
Response |
cleanupDepPostUsers(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String departmentId,
java.lang.String postId,
UserSearchBean userSearchBean) |
Response |
cleanupEachPlatformUsers(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
int platformType,
UserClearSelectAllBean userClearBean) |
Response |
cleanupRoleUsers(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String roleId,
UserClearSelectAllBean userClearBean) |
Response |
cleanupUsers(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version) |
Response |
deleteUsers(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
UserUpdateBean userUpdateBean) |
Response |
editUser(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
UserBean userBean) |
Response |
forbidUser(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
UserBean userBean) |
Response |
getAllUsers(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
boolean onlyEmail,
UserSearchBean userSearchBean) |
Response |
getAllUsers(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
int page,
int count,
java.lang.String keyword,
java.lang.String sortBy,
boolean asc) |
Response |
getDepPostUsers(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String departmentId,
java.lang.String postId,
UserSearchBean userSearchBean) |
Response |
getEachPlatformUserInfos(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version) |
Response |
getEachPlatformUsers(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
int platformType,
UserSearchBean searchBean) |
Response |
getManualDataSetConfig(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version) |
Response |
getRoleUsers(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String roleId,
UserSearchBean userSearchBean) |
Response |
getUser(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String userId) |
Response |
getUserAccount(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version) |
Response |
getUserLoginAuthenticConfig(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version) |
Response |
importUser(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
UserDataSetBean userDataSet,
int importOp) |
Response |
selectAllDepPostUsers(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String departmentId,
java.lang.String postId,
UserSearchBean userSearchBean) |
Response |
selectAllRoleUsers(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String roleId,
UserClearSelectAllBean userSelectAllBean) |
Response |
selectEachPlatformUsers(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
int platformType,
UserClearSelectAllBean userSelectAllBean) |
Response |
sendUserCaptcha(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String type,
java.lang.String receiver) |
Response |
setGlobalConfig(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
UserGlobalSetBean userGlobalSetBean) |
Response |
setUserLoginAuthenticConfig(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
PassportBean loginAuthenticBean) |
Response |
updateDepPostUsers(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String departmentId,
java.lang.String postId,
UserUpdateBean userUpdateBean) |
Response |
updateEachPlatformUsers(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
int platformType,
UserUpdateBean userUpdateBean) |
Response |
updateRoleUsers(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String roleId,
UserUpdateBean userUpdateBean) |
@RequestMapping(value="/user", method=POST) @ResponseBody public Response addUser(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @RequestBody UserBean userBean) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/dataset/users", method=POST) @ResponseBody public Response importUser(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @RequestBody UserDataSetBean userDataSet, @RequestParam(value="importOp",required=false,defaultValue="0") int importOp) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/dataset/users/config", method=GET) @ResponseBody public Response getManualDataSetConfig(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="/user", method=PUT) @ResponseBody public Response editUser(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @RequestBody UserBean userBean) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/user/forbid", method=PUT) @ResponseBody public Response forbidUser(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @RequestBody UserBean userBean) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/users", method=DELETE) @ResponseBody public Response deleteUsers(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @RequestBody UserUpdateBean userUpdateBean) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/users/all", method=DELETE) @ResponseBody public Response cleanupUsers(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="/user/{userId}", method=GET) @ResponseBody public Response getUser(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @PathVariable(value="userId") java.lang.String userId) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/users", method=GET) @ResponseBody public Response getAllUsers(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @RequestParam(value="page") int page, @RequestParam(value="count") int count, @RequestParam(value="keyword",required=false) java.lang.String keyword, @RequestParam(value="sortBy",required=false) java.lang.String sortBy, @RequestParam(value="asc",required=false) boolean asc) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/users", method=POST) @VisitRefer(required=false) @ResponseBody public Response getAllUsers(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @RequestParam(value="onlyEmail",required=false,defaultValue="false") boolean onlyEmail, @RequestBody UserSearchBean userSearchBean) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/{departmentId}/{postId}/users", method=POST) @ResponseBody public Response getDepPostUsers(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @PathVariable(value="departmentId") java.lang.String departmentId, @PathVariable(value="postId") java.lang.String postId, @RequestBody UserSearchBean userSearchBean) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/{departmentId}/{postId}/users", method=PUT) @ResponseBody public Response updateDepPostUsers(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @PathVariable(value="departmentId") java.lang.String departmentId, @PathVariable(value="postId") java.lang.String postId, @RequestBody UserUpdateBean userUpdateBean) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/{departmentId}/{postId}/users/all", method=DELETE) @ResponseBody public Response cleanupDepPostUsers(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @PathVariable(value="departmentId") java.lang.String departmentId, @PathVariable(value="postId") java.lang.String postId, @RequestBody(required=false) UserSearchBean userSearchBean) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/{departmentId}/{postId}/users/all", method=PUT) @ResponseBody public Response selectAllDepPostUsers(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @PathVariable(value="departmentId") java.lang.String departmentId, @PathVariable(value="postId") java.lang.String postId, @RequestBody(required=false) UserSearchBean userSearchBean) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/{roleId}/users", method=POST) @ResponseBody public Response getRoleUsers(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @PathVariable(value="roleId") java.lang.String roleId, @RequestBody(required=false) UserSearchBean userSearchBean) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/{roleId}/users", method=PUT) @ResponseBody public Response updateRoleUsers(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @PathVariable(value="roleId") java.lang.String roleId, @RequestBody UserUpdateBean userUpdateBean) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/{roleId}/users/all", method=DELETE) @ResponseBody public Response cleanupRoleUsers(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @PathVariable(value="roleId") java.lang.String roleId, @RequestBody(required=false) UserClearSelectAllBean userClearBean) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/{roleId}/users/all", method=PUT) @ResponseBody public Response selectAllRoleUsers(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @PathVariable(value="roleId") java.lang.String roleId, @RequestBody(required=false) UserClearSelectAllBean userSelectAllBean) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/user/infos", method=GET) @ResponseBody public Response getEachPlatformUserInfos(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="/users/{platformType}", method=POST) @ResponseBody public Response getEachPlatformUsers(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @PathVariable(value="platformType") int platformType, @RequestBody(required=true) UserSearchBean searchBean) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/users/{platformType}", method=PUT) @ResponseBody public Response updateEachPlatformUsers(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @PathVariable(value="platformType") int platformType, @RequestBody UserUpdateBean userUpdateBean) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/users/all/{platformType}", method=DELETE) @ResponseBody public Response cleanupEachPlatformUsers(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @PathVariable(value="platformType") int platformType, @RequestBody UserClearSelectAllBean userClearBean) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/users/all/{platformType}", method=PUT) @ResponseBody public Response selectEachPlatformUsers(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @PathVariable(value="platformType") int platformType, @RequestBody UserClearSelectAllBean userSelectAllBean) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/user/config", method=GET) @ResponseBody public Response getUserLoginAuthenticConfig(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="/user/config", method=PUT) @DecisionControllerLog(type="Dec-Module-User_Manager", item="Dec-Basic_Global_Settings", operate="Dec-Log_Update") @ResponseBody public Response setUserLoginAuthenticConfig(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @RequestBody PassportBean loginAuthenticBean) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/user/global", method=PUT) @DecisionControllerLog(type="Dec-Module-User_Manager", item="Dec-Basic_Global_Settings", operate="Dec-Log_Update") @ResponseBody public Response setGlobalConfig(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @RequestBody UserGlobalSetBean userGlobalSetBean) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/user/account", method=PUT) @VisitRefer(required=false) @ResponseBody public Response changeUserAccount(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @RequestBody UserBean userBean) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/user/captcha", method=GET) @VisitRefer(required=false) @ResponseBody public Response sendUserCaptcha(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @RequestParam(value="type") java.lang.String type, @RequestParam(value="receiver") java.lang.String receiver) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/user/mobile", method=PUT) @VisitRefer(required=false) @ResponseBody public Response changeUserMobile(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @RequestBody AccountChangeBean accountChangeBean) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/user/email", method=PUT) @VisitRefer(required=false) @ResponseBody public Response changeUserEmail(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @RequestBody AccountChangeBean accountChangeBean) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/user/account", method=GET) @VisitRefer(required=false) @ResponseBody public Response getUserAccount(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version) throws java.lang.Exception
java.lang.Exception