@FeignClient(name="${app.services.resource-core:resource-core}")
@RequestMapping(value="/resource")
public interface ResourceClient
| 限定符和类型 | 方法和说明 |
|---|---|
org.springframework.data.domain.Page<ResourceApply> |
applyIChecked(String keyword,
org.springframework.data.domain.Pageable pageable)
我的审批(已审批)
|
org.springframework.data.domain.Page<ResourceApply> |
applyINeedCheck(String keyword,
org.springframework.data.domain.Pageable pageable)
我的审批(未审批)
|
org.springframework.data.domain.Page<ResourceApply> |
applyIsendAndChecked(String keyword,
org.springframework.data.domain.Pageable pageable)
我的申请(已审核)
|
org.springframework.data.domain.Page<ResourceApply> |
applyIsendAndUnCheck(String keyword,
org.springframework.data.domain.Pageable pageable)
我的申请(未审核)AuthorityClient.java
|
Boolean |
applyResource(ResourceApply resourceApply)
创建申请资源流程
|
org.springframework.data.domain.Page<ResourceApply> |
applyTurnBack(String keyword,
org.springframework.data.domain.Pageable pageable)
我的申请(已审核,未通过)
|
Boolean |
backApply(ResourceApply resourceApply)
驳回
|
Boolean |
backAthority(String id) |
Boolean |
checkApply(ResourceApply resourceApply)
审核资源申请
|
List<ResourceView> |
condition2(String catalogId,
String type,
String regionCode)
根据资源目录和行政区查询资源
|
Boolean |
deleteResource(String id)
删除resource
|
Boolean |
deleteResourceCapables(String id)
删除资源能力
|
Map |
deleteResourceRef(String id)
删除关联resource
|
boolean |
delManageMatadata(String ids)
根据id删除元数据管理信息
|
List<MIMEType> |
findAllCapableType()
查询所有capable
|
List<ManageMatadata> |
findAllManagemataData()
获取所有元数据信息
|
List<CapableView> |
findCapableByResId(String id) |
MIMEType |
findCapableType(String name)
根据类型名称查询capable
|
org.springframework.data.domain.Page<ResourceView> |
findCatalogResources(String catalogId,
org.springframework.data.domain.Pageable pageable)
查询目录资源
|
org.springframework.data.domain.Page<ResourceView> |
findResources(org.springframework.data.domain.Pageable pageable)
分页查询资源
|
CapableView |
getCapableById(String id) |
ResourceView |
getProcessPage(org.springframework.data.domain.Pageable pageable)
查询资源
|
int |
getRateById(String id) |
ResourceView |
getResourceByCapable(String id) |
List<ResourceRefView> |
getResourceRef(String id)
获取关联资源
|
Boolean |
getRightsByResource(String id)
查询用戶是否有權限
|
SpatialCoverageRef |
getSpatialCoverageRefByWkid(int wkid)
获取坐标系对象
|
List<SpatialCoverageRef> |
getSpatialCoverageRefList() |
Boolean |
grantAthority(String user,
String role,
String departments,
String resourceId,
String capable) |
ResourceApply |
queryApply(String taskId)
查询申请信息
|
ResourceApply |
queryApplyById(String id)
查询申请信息
|
ResourceApply |
queryApplyByKey(String businessKey)
查询申请信息
|
Geojson |
queryByServiceId(String serviceId) |
List<ManageMatadata> |
queryManageMatadatas(String condition)
根据查询条件查询元数据信息
|
org.springframework.data.domain.Page<ResourceLayer> |
queryMapResourceByCondition(String keyword,
String catalogId,
String type,
org.springframework.data.domain.Pageable pageable) |
org.springframework.data.domain.Page<ResourceView> |
queryPageResourceByCondition2(String catalogId,
String type,
String regionCode,
String keyword,
Integer wkid,
String fwlx,
org.springframework.data.domain.Pageable pageable)
query Page Resource By Condition
|
org.springframework.data.domain.Page<ResourceView> |
queryPageResourceByCondition3(String catalogId,
String type,
String regionCode,
String keyword,
Integer wkid,
String fwlx,
org.springframework.data.domain.Pageable pageable)
query Page Resource By Condition
|
org.springframework.data.domain.Page<ResourceView> |
queryPageResourceByCondition4(String catalogId,
String departmentId,
String type,
String regionCode,
String keyword,
Integer wkid,
String fwlx,
String dataResource,
org.springframework.data.domain.Pageable pageable)
query Page Resource By Condition
|
List<HistoricTaskDesc> |
queryProcessHistory(String processId)
根据流程的ID获取历史任务及其局部的属性
|
List<Resource> |
queryResByIds(String ids) |
org.springframework.data.domain.Page<ResourceView> |
queryResourceByCondition(String keyword,
String title,
Date start,
Date end,
org.springframework.data.domain.Pageable pageable)
模糊查询资源
|
ResourceView |
queryResourceById(String id)
根据id查询资源
|
org.springframework.data.domain.Page<ResourceView> |
queryResourceByPublisher(String keyword,
org.springframework.data.domain.Pageable pageable)
根据发布者查询资源
|
List<ResourceView> |
queryResourceByTitle(String title)
模糊查询资源
|
List<CapableView> |
queryResourceCapables(String id)
查询capables
|
List<Capable> |
queryResourceCapablesOriginal(String id)
查询capables original
|
String |
queryResourceCapableUrls(String id,
String capableType)
查询capable url
|
List<ResourceView> |
queryResourcesBySpatialCoverage(SpatialCoverageProperty spatialCoverage)
根据控件覆盖范围查询资源
|
org.springframework.data.domain.Page<ResourceView> |
queryResourcesByType(String type,
org.springframework.data.domain.Pageable pageable)
根据类型查询资源
|
String |
register()
注册资源
|
Map |
saveGeoJson(Map params) |
boolean |
saveManageMatadata(ManageMatadata manageMatadata)
保存元数据管理信息
|
String |
saveMultiResource(ResourceView resourceView)
批量保存resource
|
String |
saveResLogParam(Map params) |
String |
saveResource(ResourceView resourceView)
保存resource
|
List<Boolean> |
synIsResgisteredByUrl(String urls)
查询资源是否注册
|
List<CatalogView> |
synResources(ResourceView[] resourceViews)
资源同步
|
String |
transferProcess(String taskId,
ResourceApply resourceApply)
转发资源申请
|
boolean |
updateMatadata(ManageMatadata manageMatadata)
更新元数据管理信息
|
String |
updateResource(ResourceView resourceView)
更新resource
|
@RequestMapping(value="/register") String register()
@PostMapping(value="/save") String saveResource(@RequestBody ResourceView resourceView)
resourceView - @PostMapping(value="/saveMultiResource") String saveMultiResource(@RequestBody ResourceView resourceView)
resourceView - @PostMapping(value="/update") String updateResource(@RequestBody ResourceView resourceView)
resourceView - @RequestMapping(value="/deleteResource/{id}")
Boolean deleteResource(@PathVariable(name="id")
String id)
id - @RequestMapping(value="/deleteResourceRef/{id}")
Map deleteResourceRef(@PathVariable(name="id")
String id)
id - @RequestMapping(value="/deleteResourceCapables/{id}")
Boolean deleteResourceCapables(@PathVariable(name="id")
String id)
id - @PostMapping(value="/apply") Boolean applyResource(ResourceApply resourceApply)
resourceApply - @RequestMapping(value="/transfer/task/{taskId}")
String transferProcess(@PathVariable(name="taskId")
String taskId,
@RequestBody
ResourceApply resourceApply)
taskId - resourceApply - @RequestMapping(value="/query/applyData/{taskId}")
ResourceApply queryApply(@PathVariable(name="taskId")
String taskId)
taskId - @GetMapping(value="/query/applyData/key/{businessKey}")
ResourceApply queryApplyByKey(@PathVariable(name="businessKey")
String businessKey)
businessKey - @PostMapping(value="/check/apply") Boolean checkApply(ResourceApply resourceApply)
resourceApply - @PostMapping(value="/back/apply") Boolean backApply(ResourceApply resourceApply)
resourceApply - @RequestMapping(value="/find/history/processHistory/{processId}")
List<HistoricTaskDesc> queryProcessHistory(@PathVariable(name="processId")
String processId)
@RequestMapping(value="/catalog/resources/{catalogId}")
org.springframework.data.domain.Page<ResourceView> findCatalogResources(@PathVariable(name="catalogId")
String catalogId,
org.springframework.data.domain.Pageable pageable)
catalogId - pageable - @RequestMapping(value="/getProcessPage") ResourceView getProcessPage(org.springframework.data.domain.Pageable pageable)
@RequestMapping(value="/id/{id}")
ResourceView queryResourceById(@PathVariable(name="id")
String id)
id - @RequestMapping(value="/getSpatialCoverageRefByWkid/{wkid}")
SpatialCoverageRef getSpatialCoverageRefByWkid(@PathVariable(name="wkid")
int wkid)
wkid - @RequestMapping(value="/{id}/capables")
List<CapableView> queryResourceCapables(@PathVariable(name="id")
String id)
id - @RequestMapping(value="/{id}/getCapableById")
CapableView getCapableById(@PathVariable(name="id")
String id)
@RequestMapping(value="/{id}/getResourceByCapable")
ResourceView getResourceByCapable(@PathVariable(name="id")
String id)
@RequestMapping(value="/{id}/ResourceRights")
Boolean getRightsByResource(@PathVariable(name="id")
String id)
id - @RequestMapping(value="/{id}/getRateById")
int getRateById(@PathVariable(name="id")
String id)
@RequestMapping(value="/{id}/getResourceRef")
List<ResourceRefView> getResourceRef(@PathVariable(name="id")
String id)
id - @RequestMapping(value="/{id}/capables/original")
List<Capable> queryResourceCapablesOriginal(@PathVariable(name="id")
String id)
id - @RequestMapping(value="/px/{id}/{capableType}/url")
String queryResourceCapableUrls(@PathVariable(name="id")
String id,
@PathVariable(name="capableType")
String capableType)
id - capableType - @RequestMapping(value="/query/publisher") org.springframework.data.domain.Page<ResourceView> queryResourceByPublisher(@RequestParam(name="keyword",required=false) String keyword, org.springframework.data.domain.Pageable pageable)
pageable - @RequestMapping(value="/query/type/{type}")
org.springframework.data.domain.Page<ResourceView> queryResourcesByType(@PathVariable(name="type")
String type,
org.springframework.data.domain.Pageable pageable)
type - @RequestMapping(value="/query/spatialCoverage") List<ResourceView> queryResourcesBySpatialCoverage(@RequestBody SpatialCoverageProperty spatialCoverage)
spatialCoverage - @PostMapping(value="/query/condition") org.springframework.data.domain.Page<ResourceView> queryResourceByCondition(@RequestParam(name="keyword",required=false) String keyword, @RequestParam(name="title",required=false) String title, @RequestParam(name="start",required=false) Date start, @RequestParam(name="end",required=false) Date end, org.springframework.data.domain.Pageable pageable)
keyword - title - start - end - pageable - @PostMapping(value="/query/queryResourceByTitle") List<ResourceView> queryResourceByTitle(@RequestParam(name="title",required=false) String title)
title - @RequestMapping(value="/query/all") org.springframework.data.domain.Page<ResourceView> findResources(org.springframework.data.domain.Pageable pageable)
pageable - @RequestMapping(value="capable/all") List<MIMEType> findAllCapableType()
@RequestMapping(value="capable/{name}")
MIMEType findCapableType(@PathVariable(name="name")
String name)
name - @GetMapping(value="/query/queryApplyById/{id}")
ResourceApply queryApplyById(@PathVariable(name="id")
String id)
id - @RequestMapping(value="/query/condition2") List<ResourceView> condition2(@RequestParam(name="catalog",required=false) String catalogId, @RequestParam(name="type",required=false) String type, @RequestParam(name="region",required=false) String regionCode)
@RequestMapping(value="/history/process/unchecked") org.springframework.data.domain.Page<ResourceApply> applyIsendAndUnCheck(@RequestParam(name="keyword",required=false) String keyword, org.springframework.data.domain.Pageable pageable)
pageable - @RequestMapping(value="/history/process/checked") org.springframework.data.domain.Page<ResourceApply> applyIsendAndChecked(@RequestParam(name="keyword",required=false) String keyword, org.springframework.data.domain.Pageable pageable)
pageable - @RequestMapping(value="/history/process/turnBack") org.springframework.data.domain.Page<ResourceApply> applyTurnBack(@RequestParam(name="keyword",required=false) String keyword, org.springframework.data.domain.Pageable pageable)
pageable - @RequestMapping(value="/query/active/tasks/undo") org.springframework.data.domain.Page<ResourceApply> applyINeedCheck(@RequestParam(name="keyword",required=false) String keyword, org.springframework.data.domain.Pageable pageable)
pageable - @RequestMapping(value="/query/active/tasks") org.springframework.data.domain.Page<ResourceApply> applyIChecked(@RequestParam(name="keyword",required=false) String keyword, org.springframework.data.domain.Pageable pageable)
pageable - @PostMapping(value="/query/condition2/pageable") org.springframework.data.domain.Page<ResourceView> queryPageResourceByCondition2(@RequestParam(name="catalog",required=false) String catalogId, @RequestParam(name="type",required=false) String type, @RequestParam(name="region",required=false) String regionCode, @RequestParam(name="keyword",required=false) String keyword, @RequestParam(name="wkid",required=false) Integer wkid, @RequestParam(name="fwlx",required=false) String fwlx, org.springframework.data.domain.Pageable pageable)
catalogId - type - regionCode - pageable - @PostMapping(value="/query/condition3/pageable") org.springframework.data.domain.Page<ResourceView> queryPageResourceByCondition3(@RequestParam(name="catalog",required=false) String catalogId, @RequestParam(name="type",required=false) String type, @RequestParam(name="region",required=false) String regionCode, @RequestParam(name="keyword",required=false) String keyword, @RequestParam(name="wkid",required=false) Integer wkid, @RequestParam(name="fwlx",required=false) String fwlx, org.springframework.data.domain.Pageable pageable)
catalogId - type - regionCode - pageable - @PostMapping(value="/query/condition4/pageable") org.springframework.data.domain.Page<ResourceView> queryPageResourceByCondition4(@RequestParam(name="catalog",required=false) String catalogId, @RequestParam(name="department",required=false) String departmentId, @RequestParam(name="type",required=false) String type, @RequestParam(name="region",required=false) String regionCode, @RequestParam(name="keyword",required=false) String keyword, @RequestParam(name="wkid",required=false) Integer wkid, @RequestParam(name="fwlx",required=false) String fwlx, @RequestParam(name="dataResource",required=false) String dataResource, org.springframework.data.domain.Pageable pageable)
catalogId - type - regionCode - pageable - @RequestMapping(value="/grantAthority") Boolean grantAthority(@RequestParam(name="user",required=false) String user, @RequestParam(name="role",required=false) String role, @RequestParam(name="departments",required=false) String departments, @RequestParam(name="resourceId",required=false) String resourceId, @RequestParam(name="capable",required=false) String capable)
@RequestMapping(value="/backAthority") Boolean backAthority(@RequestParam(name="id",required=false) String id)
@RequestMapping(value="/query/getSpatialCoverageRefList") List<SpatialCoverageRef> getSpatialCoverageRefList()
@PostMapping(value="/query/queryMapResourceByCondition") org.springframework.data.domain.Page<ResourceLayer> queryMapResourceByCondition(@RequestParam(name="keyword",required=false) String keyword, @RequestParam(name="catalogId",required=false) String catalogId, @RequestParam(name="type",required=false) String type, org.springframework.data.domain.Pageable pageable)
@RequestMapping(value="/findCapableByResId") List<CapableView> findCapableByResId(@RequestParam(name="id") String id)
@GetMapping(value="/query/synIsResgisteredByUrl") List<Boolean> synIsResgisteredByUrl(@RequestParam(name="urls") String urls)
urls - @PostMapping(value="/synResources") List<CatalogView> synResources(@RequestBody ResourceView[] resourceViews)
resourceViews - @PostMapping(value="/save/manageMatadata")
boolean saveManageMatadata(@RequestBody
ManageMatadata manageMatadata)
manageMatadata - @PostMapping(value="/update/manageMatadata")
boolean updateMatadata(@RequestBody
ManageMatadata manageMatadata)
manageMatadata - @RequestMapping(value="/del/manageMatadata")
boolean delManageMatadata(@RequestParam(name="ids",required=true)
String ids)
ids - @GetMapping(value="/query/manageMatadatas") List<ManageMatadata> queryManageMatadatas(@RequestParam(name="condition",required=true) String condition)
condition - @GetMapping(value="/queryResByIds") List<Resource> queryResByIds(@RequestParam(name="ids") String ids)
@GetMapping(value="/findAll/manageMatadatas") List<ManageMatadata> findAllManagemataData()
@PostMapping(value="/saveResLogParam") String saveResLogParam(@RequestBody Map params)
Copyright © 2020 GTMAP. All rights reserved.