@RestController(value="cuba_EntitiesMetadataController")
@RequestMapping(value="/v2/metadata",
produces="application/json;charset=UTF-8")
public class EntitiesMetadataController
extends java.lang.Object
Constructor and Description |
---|
EntitiesMetadataController() |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<MetaClassInfo> |
getAllMetaClassesInfo() |
java.lang.String |
getAllViewsForMetaClass(java.lang.String entityName) |
MetaClassInfo |
getMetaClassInfo(java.lang.String entityName) |
java.lang.String |
getView(java.lang.String entityName,
java.lang.String viewName) |
@GetMapping(value="/entities/{entityName}") public MetaClassInfo getMetaClassInfo(@PathVariable java.lang.String entityName)
@GetMapping(value="/entities") public java.util.Collection<MetaClassInfo> getAllMetaClassesInfo()
@GetMapping(value="/entities/{entityName}/views/{viewName}") public java.lang.String getView(@PathVariable java.lang.String entityName, @PathVariable java.lang.String viewName)
@GetMapping(value="/entities/{entityName}/views") public java.lang.String getAllViewsForMetaClass(@PathVariable java.lang.String entityName)