Class CreateNotificationScreen
java.lang.Object
io.jmix.ui.screen.Screen
io.jmix.notificationsui.screen.createnotification.CreateNotificationScreen
- All Implemented Interfaces:
FrameOwner
@UiController("ntf_CreateNotification.screen")
@UiDescriptor("create-notification-screen.xml")
public class CreateNotificationScreen
extends Screen
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.ui.screen.Screen
Screen.AfterCloseEvent, Screen.AfterDetachEvent, Screen.AfterInitEvent, Screen.AfterShowEvent, Screen.BeforeCloseEvent, Screen.BeforeShowEvent, Screen.InitEvent
-
Field Summary
Modifier and TypeFieldDescriptionprotected Dialogs
protected Icons
protected InAppNotificationScreenHelper
protected Messages
protected boolean
protected NotificationChannelProvider
protected NotificationManager
protected NotificationTypesRepository
protected ScreenValidation
protected UserRepository
Fields inherited from interface io.jmix.ui.screen.FrameOwner
NO_OPTIONS, WINDOW_CLOSE_ACTION, WINDOW_COMMIT_AND_CLOSE_ACTION, WINDOW_DISCARD_AND_CLOSE_ACTION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
confirm()
protected void
protected void
protected void
protected void
protected boolean
void
onAfterShow
(Screen.AfterShowEvent event) protected void
void
void
protected void
onChangeEvent
(HasValue.ValueChangeEvent<?> changeEvent) void
onOkButtonClick
(Button.ClickEvent event) protected Collection<String>
protected String
protected void
setModifiedAfterOpen
(boolean modifiedAfterOpen) protected void
protected void
Methods inherited from class io.jmix.ui.screen.Screen
addAfterCloseListener, addAfterDetachListener, addAfterInitListener, addAfterShowListener, addBeforeCloseListener, addBeforeShowListener, addInitListener, addUrlParamsChangeListener, close, close, closeWithDefaultAction, fireEvent, getApplicationContext, getEventHub, getExtensions, getId, getScreenData, getUiEventListeners, getWindow, isMultipleOpen, isSameScreen, isScreenAction, setApplicationContext, setExtensions, setId, setScreenData, setUiEventListeners, setWindow, show
-
Field Details
-
dialogs
-
notificationChannelProvider
-
notificationTypesRepository
-
userRepository
-
icons
-
notificationManager
-
screenValidation
-
messages
-
inAppNotificationScreenHelper
-
modifiedAfterOpen
protected boolean modifiedAfterOpen
-
-
Constructor Details
-
CreateNotificationScreen
public CreateNotificationScreen()
-
-
Method Details
-
onBeforeShow
-
onAfterShow
-
onOkButtonClick
-
onCancelBtnClick
-
initContentTypeField
protected void initContentTypeField() -
initTypeField
protected void initTypeField() -
initRecipientsField
protected void initRecipientsField() -
initChannelsField
protected void initChannelsField() -
setupModifiedTracking
protected void setupModifiedTracking() -
onChangeEvent
-
confirm
protected void confirm() -
showUnsavedDialog
-
onBeforeCloseEvent
-
resolveSubject
-
resolveChannelNames
-
isModifiedAfterOpen
protected boolean isModifiedAfterOpen() -
setModifiedAfterOpen
protected void setModifiedAfterOpen(boolean modifiedAfterOpen)
-