Class InAppNotificationDetailView
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<T>
io.jmix.flowui.view.View<ViewLayout>
io.jmix.flowui.view.StandardView
io.jmix.flowui.view.StandardDetailView<InAppNotification>
io.jmix.notificationsflowui.view.inappnotification.InAppNotificationDetailView
- All Implemented Interfaces:
- com.vaadin.flow.component.AttachNotifier,- com.vaadin.flow.component.DetachNotifier,- com.vaadin.flow.component.HasElement,- com.vaadin.flow.component.HasStyle,- com.vaadin.flow.router.AfterNavigationObserver,- com.vaadin.flow.router.BeforeEnterObserver,- com.vaadin.flow.router.BeforeLeaveObserver,- com.vaadin.flow.router.HasDynamicTitle,- com.vaadin.flow.router.internal.AfterNavigationHandler,- com.vaadin.flow.router.internal.BeforeEnterHandler,- com.vaadin.flow.router.internal.BeforeLeaveHandler,- FragmentOwner,- ChangeTracker,- DetailView<InAppNotification>,- ReadOnlyAwareView,- Serializable
@Route(value="ntf/notifications/:id",
       layout=DefaultMainViewParent.class)
@ViewController("ntf_InAppNotification.detail")
@ViewDescriptor("in-app-notification-detail-view.xml")
@DialogMode(width="30em",
            resizable=true)
public class InAppNotificationDetailView
extends StandardDetailView<InAppNotification>
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class io.jmix.flowui.view.StandardDetailViewStandardDetailView.AfterSaveEvent, StandardDetailView.BeforeSaveEvent, StandardDetailView.InitEntityEvent<E>, StandardDetailView.SetupLockEvent, StandardDetailView.ValidationEventNested classes/interfaces inherited from class io.jmix.flowui.view.ViewView.AfterCloseEvent, View.BeforeCloseEvent, View.BeforeShowEvent, View.InitEvent, View.QueryParametersChangeEvent, View.ReadyEvent
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected EntityStatesprotected MessageToolsprotected Metadataprotected NotificationTypesRepositoryprotected NotificationDetailViewSupportprotected JmixTextAreaprotected JmixComboBox<String>protected JmixSelect<NotificationType>protected UserRepositoryprotected UserSessionNotifierFields inherited from class io.jmix.flowui.view.StandardDetailViewDEFAULT_ROUTE_PARAM, LOCKED_BEFORE_REFRESH_ATTR_NAME, MODE_PARAM, MODE_READONLY, NEW_ENTITY_ID, READ_ONLY_BEFORE_REFRESH_ATTR_NAME, reloadSaved
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidinitBodyFields(JmixTextArea plainTextBodyField) protected voidinitRecipientsField(JmixComboBox<String> recipientsField) protected voidinitTypeField(JmixSelect<NotificationType> typeField) protected voidprotected voidonBeforeShow(View.BeforeShowEvent event) protected voidonBodyFieldComponentValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.textfield.TextArea, String> event) protected voidonInit(View.InitEvent event) protected voidonRecipientsFieldFetchCallback(com.vaadin.flow.data.provider.Query<String, String> query) protected voidonTypeFieldComponentValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.select.Select<NotificationType>, NotificationType> event) protected voidMethods inherited from class io.jmix.flowui.view.StandardDetailViewaddAfterSaveListener, addBeforeSaveListener, addInitEntityListener, addValidationEventListener, beforeEnter, closeWithDiscard, closeWithSave, findEntityId, getEditedEntity, getEditedEntityContainer, getEditedEntityLoader, getEditedEntityOrNull, getLockStatus, getRouteParamName, getSaveNotificationText, hasUnsavedChanges, initExistingEntity, initNewEntity, isCrossFieldValidationEnabled, isReadOnly, isReloadEdited, isReloadSaved, isSaveActionPerformed, isShowSaveNotification, isShowValidationErrors, onDetachInternal, save, setCrossFieldValidationEnabled, setEntityToEdit, setReadOnly, setReloadEdited, setReloadSaved, setShowSaveNotification, setShowValidationErrors, setupEntityToEdit, setupEntityToEdit, setupEntityToEdit, validateViewMethods inherited from class io.jmix.flowui.view.StandardViewinitContentMethods inherited from class io.jmix.flowui.view.ViewaddAfterCloseListener, addBeforeCloseListener, addBeforeShowListener, addInitListener, addQueryParametersChangeListener, addReadyListener, afterNavigation, beforeLeave, close, close, closeWithDefaultAction, getApplicationContext, getId, getPageTitle, getReturnParameters, getViewActions, getViewAttributes, getViewData, getViewFacets, getViewSupport, isPreventBrowserTabClosing, onAttach, onDetach, removeApplicationListeners, removeViewAttributes, setAfterNavigationHandler, setApplicationContext, setId, setMeterRegistry, setPreventBrowserTabClosing, setViewActions, setViewData, setViewFacets, unregisterBackNavigationMethods inherited from class com.vaadin.flow.component.CompositegetChildren, getContent, getElementMethods inherited from class com.vaadin.flow.component.ComponentaddListener, findAncestor, fireEvent, from, get, getEventBus, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setVisibleMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifieraddAttachListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifieraddDetachListenerMethods inherited from interface com.vaadin.flow.component.HasStyleaddClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
- 
Field Details- 
notificationViewSupport
- 
userRepository
- 
notificationTypesRepository
- 
messageTools
- 
metadata
- 
userSessionNotifier
- 
plainTextBodyField
- 
typeField
- 
recipientsField
- 
entityStates
 
- 
- 
Constructor Details- 
InAppNotificationDetailViewpublic InAppNotificationDetailView()
 
- 
- 
Method Details- 
onInit
- 
onInitEntity
- 
onBeforeShow
- 
onAfterSave
- 
initRecipientsField
- 
initTypeField
- 
onTypeFieldComponentValueChangeprotected void onTypeFieldComponentValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.select.Select<NotificationType>, NotificationType> event) 
- 
initBodyFields
- 
onBodyFieldComponentValueChangeprotected void onBodyFieldComponentValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.textfield.TextArea, String> event) 
- 
setupValuesToFieldsprotected void setupValuesToFields()
- 
onRecipientsFieldFetchCallback
 
-