@Validated
@Controller
public class AppController
extends java.lang.Object
implements com.xforceplus.api.global.app.AppApi
| 构造器和说明 |
|---|
AppController(AppService appService) |
| 限定符和类型 | 方法和说明 |
|---|---|
com.xforceplus.api.common.response.ResponseEntity<com.xforceplus.entity.App> |
create(com.xforceplus.api.model.AppModel.Request.Create model) |
com.xforceplus.api.common.response.ResponseEntity<java.util.Set<java.lang.Long>> |
currentApps() |
com.xforceplus.api.common.response.ResponseEntity<java.lang.String> |
delete(long appId) |
com.xforceplus.api.common.response.ResponseEntity<com.xforceplus.entity.App> |
info(long appId) |
com.xforceplus.api.common.response.ResponseEntity<java.util.List<com.xforceplus.entity.App>> |
list() |
com.xforceplus.api.common.response.ResponseEntity<org.springframework.data.domain.Page<com.xforceplus.entity.App>> |
page(com.xforceplus.api.model.AppModel.Request.Query query,
org.springframework.data.domain.Pageable pageable) |
org.springframework.data.domain.Page<com.xforceplus.entity.App> |
page(org.springframework.web.context.request.WebRequest request,
org.springframework.data.domain.Pageable pageable)
获取应用分页列表
|
com.xforceplus.api.common.response.ResponseEntity<com.xforceplus.entity.App> |
update(long appId,
com.xforceplus.api.model.AppModel.Request.Save model) |
com.xforceplus.api.common.response.ResponseEntity<java.lang.String> |
updateStatus(long appId,
int status) |
public AppController(AppService appService)
@ResponseBody
@RequestMapping(name="\u5e94\u7528\u5206\u9875\u5217\u8868\u67e5\u8be2",
value="/api/global/apps/query",
method=GET)
public org.springframework.data.domain.Page<com.xforceplus.entity.App> page(org.springframework.web.context.request.WebRequest request,
org.springframework.data.domain.Pageable pageable)
request - pageable - public com.xforceplus.api.common.response.ResponseEntity<org.springframework.data.domain.Page<com.xforceplus.entity.App>> page(com.xforceplus.api.model.AppModel.Request.Query query,
org.springframework.data.domain.Pageable pageable)
page 在接口中 com.xforceplus.api.global.app.AppApi@ResponseBody
@RequestMapping(name="\u5e94\u7528\u5217\u8868",
value="${xforce.tenant.service.url.prefix:/api}/global${xforce.tenant.service.version:}/apps/list",
method=GET)
public com.xforceplus.api.common.response.ResponseEntity<java.util.List<com.xforceplus.entity.App>> list()
public com.xforceplus.api.common.response.ResponseEntity<com.xforceplus.entity.App> create(com.xforceplus.api.model.AppModel.Request.Create model)
create 在接口中 com.xforceplus.api.global.app.AppApipublic com.xforceplus.api.common.response.ResponseEntity<com.xforceplus.entity.App> update(long appId,
com.xforceplus.api.model.AppModel.Request.Save model)
update 在接口中 com.xforceplus.api.global.app.AppApipublic com.xforceplus.api.common.response.ResponseEntity<java.lang.String> updateStatus(long appId,
int status)
updateStatus 在接口中 com.xforceplus.api.global.app.AppApipublic com.xforceplus.api.common.response.ResponseEntity<com.xforceplus.entity.App> info(long appId)
info 在接口中 com.xforceplus.api.global.app.AppApipublic com.xforceplus.api.common.response.ResponseEntity<java.lang.String> delete(long appId)
delete 在接口中 com.xforceplus.api.global.app.AppApi@ResponseBody
@RequestMapping(name="\u83b7\u53d6\u5f53\u524d\u7528\u6237\u53ef\u7ba1\u7406app\u96c6\u5408",
value="${xforce.tenant.service.url.prefix:/api}/current${xforce.tenant.service.version:}/apps",
method=GET)
public com.xforceplus.api.common.response.ResponseEntity<java.util.Set<java.lang.Long>> currentApps()