@Controller @VisitRefer(refer="decision-management-authority") @RequestMapping(value="/{version}/authority") public class AuthorityResource extends java.lang.Object
构造器和说明 |
---|
AuthorityResource() |
限定符和类型 | 方法和说明 |
---|---|
Response |
getAuthorityCarrier(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
PrivilegeOperator privilegeOperator) |
Response |
getAuthorityCarrier(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String carrierType,
java.lang.String entityId) |
Response |
getAuthorityConfig(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version) |
Response |
getAuthorityEntity(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String carrierType,
java.lang.String carrierId) |
Response |
getExternalAuthorityCarrier(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String carrierType,
java.lang.String externalType,
java.lang.String entityId) |
Response |
getExternalAuthorityEntity(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String carrierType,
java.lang.String externalType,
java.lang.String carrierId) |
Response |
getInternalAuthorityEntity(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
PrivilegeOperator privilegeOperator) |
Response |
getPreferenceConfig(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version) |
Response |
setAuthorityConfig(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
AuthorityConfigBean authorityConfigBean) |
Response |
setAuthorityReuse(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
ReuseBean reuse) |
Response |
setPreferenceConfig(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
int type,
PreferenceConfigBean preferenceConfig) |
Response |
updateAuthorityCarrier(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String carrierType,
java.lang.String entityId,
java.lang.String externalType,
PrivilegeBean privilege) |
Response |
updateAuthorityEntity(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String carrierType,
java.lang.String carrierId,
java.lang.String externalType,
PrivilegeBean privilege) |
@RequestMapping(value="/carrier/{carrierType}", method=GET) @ResponseBody public Response getAuthorityEntity(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @PathVariable(value="carrierType") java.lang.String carrierType, @RequestParam(value="carrierId") java.lang.String carrierId) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/carrier", method=POST) @ResponseBody public Response getInternalAuthorityEntity(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @RequestBody PrivilegeOperator privilegeOperator) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/carrier/{carrierType}/{externalType}", method=GET) @ResponseBody public Response getExternalAuthorityEntity(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @PathVariable(value="carrierType") java.lang.String carrierType, @PathVariable(value="externalType") java.lang.String externalType, @RequestParam(value="carrierId") java.lang.String carrierId) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/carrier/{carrierType}", method=PUT) @ResponseBody public Response updateAuthorityEntity(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @PathVariable(value="carrierType") java.lang.String carrierType, @RequestParam(value="carrierId") java.lang.String carrierId, @RequestParam(value="externalType",required=false) java.lang.String externalType, @RequestBody PrivilegeBean privilege) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/entity/{carrierType}", method=GET) @ResponseBody public Response getAuthorityCarrier(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @PathVariable(value="carrierType") java.lang.String carrierType, @RequestParam(value="entityId") java.lang.String entityId) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/entity", method=POST) @ResponseBody public Response getAuthorityCarrier(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @RequestBody PrivilegeOperator privilegeOperator) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/entity/{carrierType}/{externalType}", method=GET) @ResponseBody public Response getExternalAuthorityCarrier(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @PathVariable(value="carrierType") java.lang.String carrierType, @PathVariable(value="externalType") java.lang.String externalType, @RequestParam(value="entityId") java.lang.String entityId) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/entity/{carrierType}", method=PUT) @ResponseBody public Response updateAuthorityCarrier(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @PathVariable(value="carrierType") java.lang.String carrierType, @RequestParam(value="entityId") java.lang.String entityId, @RequestParam(value="externalType",required=false) java.lang.String externalType, @RequestBody PrivilegeBean privilege) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/reuse", method=PUT) @ResponseBody public Response setAuthorityReuse(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @RequestBody ReuseBean reuse) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/preference/config", method=GET) @ResponseBody public Response getPreferenceConfig(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="/preference/{type}/config", method=PUT) @ResponseBody public Response setPreferenceConfig(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @PathVariable(value="type") int type, @RequestBody PreferenceConfigBean preferenceConfig) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/config", method=GET) @ResponseBody public Response getAuthorityConfig(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="/config", method=PUT) @ResponseBody @DecisionControllerLog(type="Dec-Module-Privilege_Manager", item="Dec-Basic_Global_Settings", operate="Dec-Log_Update") public Response setAuthorityConfig(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @RequestBody AuthorityConfigBean authorityConfigBean) throws java.lang.Exception
java.lang.Exception