Class HospitalDialog
- java.lang.Object
-
- com.vaadin.flow.component.Component
-
- com.vaadin.flow.component.dialog.GeneratedVaadinDialog<com.vaadin.flow.component.dialog.Dialog>
-
- com.vaadin.flow.component.dialog.Dialog
-
- org.ikasan.dashboard.ui.general.component.AbstractCloseableResizableDialog
-
- org.ikasan.dashboard.ui.general.component.AbstractEntityViewDialog<org.ikasan.solr.model.IkasanSolrDocument>
-
- org.ikasan.dashboard.ui.general.component.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
-
-
Field Summary
-
Fields inherited from class org.ikasan.dashboard.ui.general.component.AbstractEntityViewDialog
aceEditor, content, documentBuilder, initialised, transformer
-
Fields inherited from class org.ikasan.dashboard.ui.general.component.AbstractCloseableResizableDialog
DOCK, FULLSCREEN, title
-
-
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.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)-
Methods inherited from class org.ikasan.dashboard.ui.general.component.AbstractEntityViewDialog
formatXml, init, initialiseEditor, open
-
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
-
-
-
-
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
-
getEntityDetailsLayout
public com.vaadin.flow.component.Component getEntityDetailsLayout()
- Specified by:
getEntityDetailsLayoutin classAbstractEntityViewDialog<org.ikasan.solr.model.IkasanSolrDocument>
-
populate
public void populate(org.ikasan.solr.model.IkasanSolrDocument ikasanSolrDocument)
- Specified by:
populatein classAbstractEntityViewDialog<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
-
-