Class BusinessStreamVisualisation
- java.lang.Object
-
- com.vaadin.flow.component.Component
-
- com.vaadin.flow.component.orderedlayout.VerticalLayout
-
- org.ikasan.dashboard.ui.visualisation.component.BusinessStreamVisualisation
-
- 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.BeforeEnterObserver,com.vaadin.flow.router.internal.BeforeEnterHandler,java.io.Serializable
public class BusinessStreamVisualisation extends com.vaadin.flow.component.orderedlayout.VerticalLayout implements com.vaadin.flow.router.BeforeEnterObserver- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BusinessStreamVisualisation(org.ikasan.spec.module.client.ModuleControlService moduleControlRestService, org.ikasan.spec.module.client.ConfigurationService configurationRestService, org.ikasan.spec.module.client.TriggerService triggerRestService, org.ikasan.spec.metadata.ModuleMetaDataService moduleMetaDataService, org.ikasan.spec.metadata.ConfigurationMetaDataService configurationMetadataService, org.ikasan.spec.solr.SolrGeneralService<org.ikasan.solr.model.IkasanSolrDocument,org.ikasan.solr.model.IkasanSolrDocumentSearchResults> solrSearchService, org.ikasan.spec.hospital.service.HospitalAuditService hospitalAuditService, org.ikasan.spec.module.client.ResubmissionService resubmissionRestService, org.ikasan.spec.module.client.ReplayService replayRestService, org.ikasan.spec.metadata.ModuleMetaDataService moduleMetadataService, org.ikasan.spec.persistence.BatchInsert replayAuditService, org.ikasan.spec.module.client.MetaDataService metaDataApplicationRestService, org.ikasan.spec.persistence.BatchInsert<org.ikasan.spec.metadata.ModuleMetaData> moduleMetaDataBatchInsert)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbeforeEnter(com.vaadin.flow.router.BeforeEnterEvent beforeEnterEvent)voidcreateBusinessStreamGraphGraph(org.ikasan.spec.metadata.BusinessStreamMetaData businessStreamMetaData)protected voiddrawFlowStatus(com.vaadin.flow.component.UI ui, FlowState flowState)voiddrawFoundStatus(java.util.HashMap<java.lang.String,java.lang.Boolean> errorMap, java.util.HashMap<java.lang.String,java.lang.Boolean> wiretapMap, java.util.HashMap<java.lang.String,java.lang.Boolean> exclusionMap, java.util.HashMap<java.lang.String,java.lang.Boolean> replayMap)BusinessStreamgetBusinessStream()protected voidonAttach(com.vaadin.flow.component.AttachEvent attachEvent)protected voidonDetach(com.vaadin.flow.component.DetachEvent detachEvent)voidredraw()voidsearch(java.util.List<java.lang.String> entityTypes, java.lang.String searchTerm, long startTime, long endTime)protected voidupdateNetworkDiagram(java.util.List<org.ikasan.vaadin.visjs.network.Node> nodes, java.util.List<org.ikasan.vaadin.visjs.network.Edge> edges)Method to update the network diagram with the node and edge lists.-
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, 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
-
BusinessStreamVisualisation
public BusinessStreamVisualisation(org.ikasan.spec.module.client.ModuleControlService moduleControlRestService, org.ikasan.spec.module.client.ConfigurationService configurationRestService, org.ikasan.spec.module.client.TriggerService triggerRestService, org.ikasan.spec.metadata.ModuleMetaDataService moduleMetaDataService, org.ikasan.spec.metadata.ConfigurationMetaDataService configurationMetadataService, org.ikasan.spec.solr.SolrGeneralService<org.ikasan.solr.model.IkasanSolrDocument,org.ikasan.solr.model.IkasanSolrDocumentSearchResults> solrSearchService, org.ikasan.spec.hospital.service.HospitalAuditService hospitalAuditService, org.ikasan.spec.module.client.ResubmissionService resubmissionRestService, org.ikasan.spec.module.client.ReplayService replayRestService, org.ikasan.spec.metadata.ModuleMetaDataService moduleMetadataService, org.ikasan.spec.persistence.BatchInsert replayAuditService, org.ikasan.spec.module.client.MetaDataService metaDataApplicationRestService, org.ikasan.spec.persistence.BatchInsert<org.ikasan.spec.metadata.ModuleMetaData> moduleMetaDataBatchInsert)
-
-
Method Detail
-
createBusinessStreamGraphGraph
public void createBusinessStreamGraphGraph(org.ikasan.spec.metadata.BusinessStreamMetaData businessStreamMetaData) throws java.io.IOException- Parameters:
businessStreamMetaData-- Throws:
java.io.IOException
-
updateNetworkDiagram
protected void updateNetworkDiagram(java.util.List<org.ikasan.vaadin.visjs.network.Node> nodes, java.util.List<org.ikasan.vaadin.visjs.network.Edge> edges)Method to update the network diagram with the node and edge lists.- Parameters:
nodes- a list containing all network nodes.edges- a list containing all the network edges.
-
search
public void search(java.util.List<java.lang.String> entityTypes, java.lang.String searchTerm, long startTime, long endTime)
-
drawFoundStatus
public void drawFoundStatus(java.util.HashMap<java.lang.String,java.lang.Boolean> errorMap, java.util.HashMap<java.lang.String,java.lang.Boolean> wiretapMap, java.util.HashMap<java.lang.String,java.lang.Boolean> exclusionMap, java.util.HashMap<java.lang.String,java.lang.Boolean> replayMap)
-
beforeEnter
public void beforeEnter(com.vaadin.flow.router.BeforeEnterEvent beforeEnterEvent)
- Specified by:
beforeEnterin interfacecom.vaadin.flow.router.internal.BeforeEnterHandler
-
redraw
public void redraw()
-
onAttach
protected void onAttach(com.vaadin.flow.component.AttachEvent attachEvent)
- Overrides:
onAttachin classcom.vaadin.flow.component.Component
-
onDetach
protected void onDetach(com.vaadin.flow.component.DetachEvent detachEvent)
- Overrides:
onDetachin classcom.vaadin.flow.component.Component
-
drawFlowStatus
protected void drawFlowStatus(com.vaadin.flow.component.UI ui, FlowState flowState)
-
getBusinessStream
public BusinessStream getBusinessStream()
-
-