Class HospitalView
- java.lang.Object
-
- com.vaadin.flow.component.Component
-
- com.vaadin.flow.component.orderedlayout.VerticalLayout
-
- org.ikasan.dashboard.ui.general.component.AbstractEntityView<org.ikasan.solr.model.IkasanSolrDocument>
-
- org.ikasan.dashboard.ui.general.component.HospitalView
-
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier,com.vaadin.flow.component.ClickNotifier<com.vaadin.flow.component.orderedlayout.VerticalLayout>,com.vaadin.flow.component.DetachNotifier,com.vaadin.flow.component.HasComponents,com.vaadin.flow.component.HasElement,com.vaadin.flow.component.HasEnabled,com.vaadin.flow.component.HasOrderedComponents<com.vaadin.flow.component.orderedlayout.VerticalLayout>,com.vaadin.flow.component.HasSize,com.vaadin.flow.component.HasStyle,com.vaadin.flow.component.orderedlayout.FlexComponent<com.vaadin.flow.component.orderedlayout.VerticalLayout>,com.vaadin.flow.component.orderedlayout.ThemableLayout,com.vaadin.flow.router.HasUrlParameter<java.lang.String>,java.io.Serializable
@HtmlImport("frontend://styles/shared-styles.html") @HtmlImport("frontend://bower_components/vaadin-lumo-styles/presets/compact.html") @Viewport("width=device-width, minimum-scale=1.0, initial-scale=1.0, user-scalable=yes") @Theme(com.vaadin.flow.theme.material.Material.class) @PreserveOnRefresh @Route("exclusion") @UIScope @Component public class HospitalView extends AbstractEntityView<org.ikasan.solr.model.IkasanSolrDocument> implements com.vaadin.flow.router.HasUrlParameter<java.lang.String>- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.ikasan.dashboard.ui.general.component.AbstractEntityView
aceEditor, documentBuilder, initialised, layout, transformer
-
-
Constructor Summary
Constructors Constructor Description HospitalView(org.ikasan.spec.hospital.service.HospitalAuditService hospitalAuditService, org.ikasan.spec.module.client.ResubmissionService resubmissionRestService, org.ikasan.spec.metadata.ModuleMetaDataService moduleMetadataService, org.ikasan.spec.solr.SolrGeneralService solrGeneralService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.vaadin.flow.component.ComponentgetEntityDetailsLayout()protected org.ikasan.spec.hospital.model.ExclusionEventActiongetExclusionEventAction(java.lang.String comment, java.lang.String action, org.ikasan.solr.model.IkasanSolrDocument document, java.lang.String user)Helper method to get an initialised exclusion event action.protected voidonAttach(com.vaadin.flow.component.AttachEvent attachEvent)voidpopulate(org.ikasan.solr.model.IkasanSolrDocument ikasanSolrDocument)voidsetParameter(com.vaadin.flow.router.BeforeEvent beforeEvent, java.lang.String parameter)-
Methods inherited from class org.ikasan.dashboard.ui.general.component.AbstractEntityView
formatXml, initialiseEditor, open
-
Methods inherited from class com.vaadin.flow.component.orderedlayout.VerticalLayout
addAndExpand, getAlignItems, getAlignSelf, getDefaultHorizontalComponentAlignment, getHorizontalComponentAlignment, setAlignItems, setAlignSelf, setDefaultHorizontalComponentAlignment, setHorizontalComponentAlignment, setPadding, setSpacing
-
Methods inherited from class com.vaadin.flow.component.Component
addListener, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getUI, hasListener, isTemplateMapped, isVisible, onDetach, onEnabledStateChanged, set, setElement, setId, setVisible
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.vaadin.flow.component.ClickNotifier
addClickListener, addClickShortcut
-
Methods inherited from interface com.vaadin.flow.component.orderedlayout.FlexComponent
expand, getFlexGrow, getJustifyContentMode, replace, setFlexGrow, setJustifyContentMode
-
Methods inherited from interface com.vaadin.flow.component.HasComponents
add, add, addComponentAsFirst, addComponentAtIndex, remove, removeAll
-
Methods inherited from interface com.vaadin.flow.component.HasOrderedComponents
getChildren, getComponentAt, getComponentCount, indexOf
-
Methods inherited from interface com.vaadin.flow.component.HasSize
getHeight, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, setHeight, setHeightFull, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidthFull
-
-
-
-
Constructor Detail
-
HospitalView
public HospitalView(org.ikasan.spec.hospital.service.HospitalAuditService hospitalAuditService, org.ikasan.spec.module.client.ResubmissionService resubmissionRestService, org.ikasan.spec.metadata.ModuleMetaDataService moduleMetadataService, org.ikasan.spec.solr.SolrGeneralService solrGeneralService)
-
-
Method Detail
-
getEntityDetailsLayout
public com.vaadin.flow.component.Component getEntityDetailsLayout()
- Specified by:
getEntityDetailsLayoutin classAbstractEntityView<org.ikasan.solr.model.IkasanSolrDocument>
-
populate
public void populate(org.ikasan.solr.model.IkasanSolrDocument ikasanSolrDocument)
- Specified by:
populatein classAbstractEntityView<org.ikasan.solr.model.IkasanSolrDocument>
-
getExclusionEventAction
protected org.ikasan.spec.hospital.model.ExclusionEventAction getExclusionEventAction(java.lang.String comment, java.lang.String action, org.ikasan.solr.model.IkasanSolrDocument document, java.lang.String user)Helper method to get an initialised exclusion event action.- Parameters:
comment-action-document-user-- Returns:
-
onAttach
protected void onAttach(com.vaadin.flow.component.AttachEvent attachEvent)
- Overrides:
onAttachin classcom.vaadin.flow.component.Component
-
setParameter
public void setParameter(com.vaadin.flow.router.BeforeEvent beforeEvent, java.lang.String parameter)- Specified by:
setParameterin interfacecom.vaadin.flow.router.HasUrlParameter<java.lang.String>
-
-