Class EntityViewController

java.lang.Object
de.unibamberg.minf.core.web.controller.BaseNavigatingController
de.unibamberg.minf.core.web.controller.BaseTranslationController
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware

@Controller @RequestMapping("/entity") public class EntityViewController extends BaseEntityViewController
  • Constructor Details

    • EntityViewController

      public EntityViewController()
  • Method Details

    • newEntity

      @GetMapping({"/new/{entityDefinitionName}/","/new/{entityDefinitionName}/l/{layerEntityId}"}) public String newEntity(@PathVariable("entityDefinitionName") String entityDefinitionName, @PathVariable(name="layerEntityId",required=false) String layerEntityId, org.springframework.ui.Model model, Locale locale)
    • showEntity

      @GetMapping("{uniqueId}/") public String showEntity(@PathVariable("uniqueId") String uniqueId, org.springframework.ui.Model model, Locale locale, jakarta.servlet.http.HttpServletResponse response) throws IOException, URISyntaxException
      Throws:
      IOException
      URISyntaxException
    • showEntityInclude

      @GetMapping("/{uniqueId}/includes/{propertyIdentifier}") public String showEntityInclude(@PathVariable("uniqueId") String uniqueId, @PathVariable("propertyIdentifier") String propertyIdentifier, @RequestParam("path") String path, @RequestParam(name="entity",required=false) String entityId, @RequestParam(name="edit",defaultValue="false") boolean editable, org.springframework.ui.Model model, Locale locale)