Class HospitalDialog

  • All Implemented Interfaces:
    com.vaadin.flow.component.AttachNotifier, com.vaadin.flow.component.DetachNotifier, com.vaadin.flow.component.HasComponents, com.vaadin.flow.component.HasElement, com.vaadin.flow.component.HasEnabled, com.vaadin.flow.component.HasSize, java.io.Serializable

    public class HospitalDialog
    extends AbstractEntityViewDialog<org.ikasan.solr.model.IkasanSolrDocument>
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.vaadin.flow.component.dialog.Dialog

        com.vaadin.flow.component.dialog.Dialog.DialogCloseActionEvent, com.vaadin.flow.component.dialog.Dialog.DialogResizeEvent
      • Nested classes/interfaces inherited from class com.vaadin.flow.component.dialog.GeneratedVaadinDialog

        com.vaadin.flow.component.dialog.GeneratedVaadinDialog.OpenedChangeEvent<R extends com.vaadin.flow.component.dialog.GeneratedVaadinDialog<R>>
    • Constructor Summary

      Constructors 
      Constructor Description
      HospitalDialog​(org.ikasan.spec.solr.SolrGeneralService<org.ikasan.solr.model.IkasanSolrDocument,​org.ikasan.solr.model.IkasanSolrDocumentSearchResults> solrGeneralService, org.ikasan.spec.hospital.service.HospitalAuditService hospitalAuditService, org.ikasan.spec.module.client.ResubmissionService resubmissionRestService, org.ikasan.spec.metadata.ModuleMetaDataService moduleMetadataService, SolrSearchFilteringGrid searchResultsGrid)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.vaadin.flow.component.Component getEntityDetailsLayout()  
      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.
      protected void onAttach​(com.vaadin.flow.component.AttachEvent attachEvent)  
      void populate​(org.ikasan.solr.model.IkasanSolrDocument ikasanSolrDocument)  
      • Methods inherited from class com.vaadin.flow.component.dialog.Dialog

        add, addAttachListener, addComponentAtIndex, addDetachListener, addDialogCloseActionListener, addOpenedChangeListener, addResizeListener, close, getChildren, getHeight, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, isCloseOnEsc, isCloseOnOutsideClick, isDraggable, isModal, isOpened, isResizable, open, remove, removeAll, setCloseOnEsc, setCloseOnOutsideClick, setDraggable, setHeight, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setModal, setOpened, setResizable, setWidth
      • Methods inherited from class com.vaadin.flow.component.dialog.GeneratedVaadinDialog

        getAriaLabelString, isOpenedBoolean, setAriaLabel
      • Methods inherited from class com.vaadin.flow.component.Component

        addListener, fireEvent, from, get, 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.HasComponents

        add, addComponentAsFirst
      • Methods inherited from interface com.vaadin.flow.component.HasElement

        getElement
      • Methods inherited from interface com.vaadin.flow.component.HasEnabled

        isEnabled, setEnabled
      • Methods inherited from interface com.vaadin.flow.component.HasSize

        setHeightFull, setSizeFull, setSizeUndefined, setWidthFull
    • Constructor Detail

      • HospitalDialog

        public HospitalDialog​(org.ikasan.spec.solr.SolrGeneralService<org.ikasan.solr.model.IkasanSolrDocument,​org.ikasan.solr.model.IkasanSolrDocumentSearchResults> solrGeneralService,
                              org.ikasan.spec.hospital.service.HospitalAuditService hospitalAuditService,
                              org.ikasan.spec.module.client.ResubmissionService resubmissionRestService,
                              org.ikasan.spec.metadata.ModuleMetaDataService moduleMetadataService,
                              SolrSearchFilteringGrid searchResultsGrid)
    • Method Detail

      • populate

        public void populate​(org.ikasan.solr.model.IkasanSolrDocument ikasanSolrDocument)
        Specified by:
        populate in class AbstractEntityViewDialog<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:
        onAttach in class com.vaadin.flow.component.Component