Class ServiceManagerUI
- java.lang.Object
-
- com.vaadin.flow.component.Component
-
- com.vaadin.flow.component.orderedlayout.VerticalLayout
-
- org.neotropic.kuwaiba.modules.optional.serviceman.ServiceManagerUI
-
- 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.HasDynamicTitle
,Serializable
,AbstractUI
,ActionCompletedListener
,PropertySheet.IPropertyValueChangedListener
@Route(value="serviceman", layout=ServiceManagerLayout.class) public class ServiceManagerUI extends com.vaadin.flow.component.orderedlayout.VerticalLayout implements ActionCompletedListener, PropertySheet.IPropertyValueChangedListener, com.vaadin.flow.router.HasDynamicTitle, AbstractUI
Main for the service manager module. This class manages how the pages corresponding to different functionalities are presented in a single place.- Author:
- Charles Edward Bedon Cortazar <charles.bedon@kuwaiba.org>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
ServiceManagerUI.CustomerSearchResultCallback
static interface
ServiceManagerUI.SearchResultCallback<T>
Functional interface intended to be used to create the content that will be placed in the page when a search result is clicked.class
ServiceManagerUI.ServiceSearchResultCallback
-
Nested classes/interfaces inherited from interface org.neotropic.kuwaiba.core.apis.integration.modules.actions.ActionCompletedListener
ActionCompletedListener.ActionCompletedEvent
-
-
Field Summary
Fields Modifier and Type Field Description static String
PARAMETER_BUSINESS_OBJECT
Parameter business object.
-
Constructor Summary
Constructors Constructor Description ServiceManagerUI()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionCompleted(ActionCompletedListener.ActionCompletedEvent ev)
Notifies that a module action has been completed.void
createLeftMenuAction()
Creates the menu action for root elementsString
getPageTitle()
void
initContent()
The code to initialize the content should be place here, not in theonAttach
method, or worse, in the class constructor.void
onDetach(com.vaadin.flow.component.DetachEvent ev)
void
replaceContent(com.vaadin.flow.component.Component newContent)
void
updatePropertyChanged(AbstractProperty<? extends Object> property)
-
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, onAttach, 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
-
-
-
-
Field Detail
-
PARAMETER_BUSINESS_OBJECT
public static String PARAMETER_BUSINESS_OBJECT
Parameter business object.
-
-
Method Detail
-
onDetach
public void onDetach(com.vaadin.flow.component.DetachEvent ev)
- Overrides:
onDetach
in classcom.vaadin.flow.component.Component
-
actionCompleted
public void actionCompleted(ActionCompletedListener.ActionCompletedEvent ev)
Description copied from interface:ActionCompletedListener
Notifies that a module action has been completed.- Specified by:
actionCompleted
in interfaceActionCompletedListener
-
replaceContent
public void replaceContent(com.vaadin.flow.component.Component newContent)
-
getPageTitle
public String getPageTitle()
- Specified by:
getPageTitle
in interfacecom.vaadin.flow.router.HasDynamicTitle
-
initContent
public void initContent()
Description copied from interface:AbstractUI
The code to initialize the content should be place here, not in theonAttach
method, or worse, in the class constructor.- Specified by:
initContent
in interfaceAbstractUI
-
createLeftMenuAction
public void createLeftMenuAction()
Creates the menu action for root elements
-
updatePropertyChanged
public void updatePropertyChanged(AbstractProperty<? extends Object> property)
- Specified by:
updatePropertyChanged
in interfacePropertySheet.IPropertyValueChangedListener
-
-