Class EntityViewController
java.lang.Object
de.unibamberg.minf.core.web.controller.BaseNavigatingController
de.unibamberg.minf.core.web.controller.BaseTranslationController
de.uniba.minf.registry.view.controller.BaseViewController
de.uniba.minf.registry.view.controller.base.BaseEntityViewController
de.uniba.minf.registry.view.controller.EntityViewController
- 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
-
Field Summary
Fields inherited from class de.uniba.minf.registry.view.controller.base.BaseEntityViewController
compositingService, entityService, propertyViewItemCombiner, webConfigFields inherited from class de.uniba.minf.registry.view.controller.BaseViewController
authInfoHelper, baseUrl, entityDefinitionRepository, entityDefinitionService, entityRepository, vocabularyDefinitionRepositoryFields inherited from class de.unibamberg.minf.core.web.controller.BaseTranslationController
messageSource, objectMapperFields inherited from class de.unibamberg.minf.core.web.controller.BaseNavigatingController
appContext, logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnewEntity(String entityDefinitionName, String layerEntityId, org.springframework.ui.Model model, Locale locale) showEntity(String uniqueId, org.springframework.ui.Model model, Locale locale, jakarta.servlet.http.HttpServletResponse response) showEntityInclude(String uniqueId, String propertyIdentifier, String path, String entityId, boolean editable, org.springframework.ui.Model model, Locale locale) Methods inherited from class de.uniba.minf.registry.view.controller.base.BaseEntityViewController
editEntity, getLayerHierarchyItemMethods inherited from class de.uniba.minf.registry.view.controller.BaseViewController
getDraftCount, getNotes, getPrimaryEntityDefinitions, getPrimaryEntityDefinitionsOrAll, getSecondaryEntityDefinitions, getSecondaryEntityDefinitionsOrEmpty, getSystemEntityDefinitions, getSystemVocabularyDefinitions, getVocabularyDefinitions, handleRuntimeExceptionMethods inherited from class de.unibamberg.minf.core.web.controller.BaseTranslationController
getActionResult, getJsonErrorList, getTranslationsMethods inherited from class de.unibamberg.minf.core.web.controller.BaseNavigatingController
afterPropertiesSet, getBuildProperties, getLoginUrl, getLogoutUrl, getNavigation, getNuance, getRefreshViews, overrideNavItem, setApplicationContext
-
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:
IOExceptionURISyntaxException
-
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)
-