Class EntitiesMetadataController

java.lang.Object
io.jmix.rest.impl.controller.EntitiesMetadataController

@RestController("rest_EntitiesMetadataController") @RequestMapping(value="/rest/metadata", produces="application/json;charset=UTF-8") public class EntitiesMetadataController extends Object
Controller that is used for getting entities metadata. User permissions for entities access aren't taken into account at the moment.
  • Field Details

  • Constructor Details

    • EntitiesMetadataController

      public EntitiesMetadataController()
  • Method Details

    • getMetaClassInfo

      @GetMapping("/entities/{entityName}") public MetaClassInfo getMetaClassInfo(@PathVariable String entityName)
    • getAllMetaClassesInfo

      @GetMapping("/entities") public Collection<MetaClassInfo> getAllMetaClassesInfo()
    • getView

      @GetMapping("/entities/{entityName}/views/{viewName}") public String getView(@PathVariable String entityName, @PathVariable String viewName)
    • getFetchPlan

      @GetMapping("/entities/{entityName}/fetchPlans/{fetchPlanName}") public String getFetchPlan(@PathVariable String entityName, @PathVariable String fetchPlanName)
    • getAllViewsForMetaClass

      @GetMapping("/entities/{entityName}/views") public String getAllViewsForMetaClass(@PathVariable String entityName)
    • getAllFetchPlansForMetaClass

      @GetMapping("/entities/{entityName}/fetchPlans") public String getAllFetchPlansForMetaClass(@PathVariable String entityName)