@RestController @RequestMapping(value="/catalog/browse") public class MapViewSchemaController extends Object
| Constructor and Description |
|---|
MapViewSchemaController() |
| Modifier and Type | Method and Description |
|---|---|
com.geoway.adf.dms.common.web.Response |
addViewSchema(String name,
Short catalogModel,
String appCatalogId,
String groupName,
String cardId,
String layerInfo,
String location,
String chartUrl,
Boolean isPublic,
String desc,
String extType,
org.springframework.web.multipart.MultipartFile picture) |
com.geoway.adf.dms.common.web.Response |
deleteViewSchema(Long id) |
com.geoway.adf.dms.common.web.Response<ViewSchemaDTO> |
getViewSchemaDetail(Long schemaId) |
com.geoway.adf.dms.common.web.Response<List<String>> |
getViewSchemaGroupList() |
com.geoway.adf.dms.common.web.Response<List<ViewSchemaDTO>> |
getViewSchemaList(String keyword,
Boolean withPicture,
Boolean containsExtType,
String extType) |
com.geoway.adf.dms.common.web.Response |
updateViewSchema(Long schemaId,
String name,
Short catalogModel,
String appCatalogId,
String cardId,
String groupName,
String layerInfo,
String location,
String chartUrl,
Boolean isPublic,
String desc,
String extType,
org.springframework.web.multipart.MultipartFile picture,
Boolean deletePicture) |
@GetMapping(value="/view/schemas") public com.geoway.adf.dms.common.web.Response<List<ViewSchemaDTO>> getViewSchemaList(@RequestParam(required=false) String keyword, @RequestParam(required=false,defaultValue="false") Boolean withPicture, @RequestParam(required=false,defaultValue="false") Boolean containsExtType, @RequestParam(required=false) String extType)
@GetMapping(value="/view/schema") public com.geoway.adf.dms.common.web.Response<ViewSchemaDTO> getViewSchemaDetail(@RequestParam Long schemaId)
@GetMapping(value="/view/schema/groups") public com.geoway.adf.dms.common.web.Response<List<String>> getViewSchemaGroupList()
@UploadFileCheck(supportedSuffixes={".png",".jpg",".svg"}) @PostMapping(value="/view/schema") public com.geoway.adf.dms.common.web.Response addViewSchema(@RequestParam String name, @RequestParam Short catalogModel, @RequestParam String appCatalogId, @RequestParam(required=false) String groupName, @RequestParam(required=false) String cardId, @RequestParam(required=false) String layerInfo, @RequestParam(required=false) String location, @RequestParam(required=false) String chartUrl, @RequestParam(required=false) Boolean isPublic, @RequestParam(required=false) String desc, @RequestParam(required=false) String extType, @RequestPart(required=false) org.springframework.web.multipart.MultipartFile picture)
@UploadFileCheck(supportedSuffixes={".png",".jpg",".svg"}) @PutMapping(value="/view/schema") public com.geoway.adf.dms.common.web.Response updateViewSchema(@RequestParam Long schemaId, @RequestParam String name, @RequestParam Short catalogModel, @RequestParam String appCatalogId, @RequestParam(required=false) String cardId, @RequestParam(required=false) String groupName, @RequestParam(required=false) String layerInfo, @RequestParam(required=false) String location, @RequestParam(required=false) String chartUrl, @RequestParam(required=false) Boolean isPublic, @RequestParam(required=false) String desc, @RequestParam(required=false) String extType, @RequestPart(required=false) org.springframework.web.multipart.MultipartFile picture, @RequestParam(required=false,defaultValue="false") Boolean deletePicture)
@DeleteMapping(value="/view/schema/{id}")
public com.geoway.adf.dms.common.web.Response deleteViewSchema(@PathVariable
Long id)
Copyright © 2025. All rights reserved.