Class InAppNotificationEdit
java.lang.Object
io.jmix.ui.screen.Screen
io.jmix.ui.screen.StandardEditor<InAppNotification>
io.jmix.notificationsui.screen.inappnotification.InAppNotificationEdit
- All Implemented Interfaces:
ChangeTracker
,EditorScreen<InAppNotification>
,FrameOwner
,ReadOnlyAwareScreen
@UiController("ntf_InAppNotification.edit")
@UiDescriptor("in-app-notification-edit.xml")
public class InAppNotificationEdit
extends StandardEditor<InAppNotification>
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.ui.screen.StandardEditor
StandardEditor.AfterCommitChangesEvent, StandardEditor.BeforeCommitChangesEvent, StandardEditor.InitEntityEvent<E>, StandardEditor.ValidationEvent
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 RadioButtonGroup<ContentType>
protected Dialogs
protected Icons
protected InAppNotificationScreenHelper
protected Messages
protected MetadataTools
protected NotificationTypesRepository
protected SuggestionField<org.springframework.security.core.userdetails.UserDetails>
protected RichTextArea
protected ComboBox<NotificationType>
protected UserRepository
protected UserSessionNotifier
Fields inherited from class io.jmix.ui.screen.StandardEditor
commitActionPerformed, showEnableEditingBtn, showSaveNotification
Fields inherited from interface io.jmix.ui.screen.EditorScreen
ENABLE_EDITING, WINDOW_CLOSE, WINDOW_COMMIT, WINDOW_COMMIT_AND_CLOSE
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
protected void
protected void
protected void
void
void
void
Methods inherited from class io.jmix.ui.screen.StandardEditor
addAfterCommitChangesListener, addBeforeCommitChangesListener, addDefaultCloseAction, addDefaultCommitAction, addDefaultCommitAndCloseAction, addDefaultEnableEditingAction, addInitEntityListener, addValidationEventListener, cancel, closeWithCommit, closeWithDiscard, commit, commitAndClose, commitChanges, disableCommitActions, doNotReloadEditedEntity, enableEditing, getEditedEntity, getEditedEntityContainer, getEditedEntityLoader, getSaveNotificationCaption, getWindowActionOptional, hasUnsavedChanges, initActions, isCrossFieldValidate, isEntityModifiedInParentContext, isEntityModifiedRecursive, isLocked, isModifiedAfterOpen, isReadOnly, isReadOnlyDueToLock, isShowSaveNotification, onChangeEvent, onPostCommitEvent, preventUnsavedChanges, releaseLock, setCrossFieldValidate, setEntityToEdit, setModifiedAfterOpen, setReadOnly, setShowSaveNotification, setupEntityToEdit, setupLock, setupModifiedTracking, showSaveNotification, validateAdditionalRules, validateScreen, validateUiComponents
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, setApplicationContext, setExtensions, setId, setScreenData, setUiEventListeners, setWindow, show
-
Field Details
-
userSessionNotifier
-
notificationTypesRepository
-
userRepository
-
messages
-
metadataTools
-
icons
-
dialogs
-
inAppNotificationScreenHelper
-
typeField
-
recipientField
@Autowired protected SuggestionField<org.springframework.security.core.userdetails.UserDetails> recipientField -
contentTypeField
-
plainTextBodyField
-
richTextBodyField
-
-
Constructor Details
-
InAppNotificationEdit
public InAppNotificationEdit()
-
-
Method Details
-
onInAppNotificationDlPostLoad
@Subscribe(id="inAppNotificationDl", target=DATA_LOADER) public void onInAppNotificationDlPostLoad(InstanceLoader.PostLoadEvent<InAppNotification> event) -
onBeforeCommitChanges
-
onAfterCommitChanges
-
initNotificationTypeField
protected void initNotificationTypeField() -
initRecipientField
protected void initRecipientField() -
initContentTypeField
protected void initContentTypeField() -
initBodyFields
protected void initBodyFields()
-