Class CreateNotificationAction

All Implemented Interfaces:
ExecutableAction, TargetAction<View<?>>, Action, HasShortcutCombination

@ActionType("ntf_createNotification") public class CreateNotificationAction extends ViewAction<CreateNotificationAction,View<?>>
Action opens create notification dialog.

Action uses NotificationsCreateDialogContext specific permission to enable/disable its state.

See Also:
  • Field Details

    • ID

      public static final String ID
      See Also:
    • notificationDialogOpener

      protected NotificationDialogs notificationDialogOpener
    • isPermittedBySpecificPermission

      protected boolean isPermittedBySpecificPermission
  • Constructor Details

    • CreateNotificationAction

      public CreateNotificationAction()
    • CreateNotificationAction

      public CreateNotificationAction(String id)
  • Method Details

    • setMessages

      @Autowired protected void setMessages(Messages messages)
    • setIcons

      @Autowired protected void setIcons(Icons icons)
    • setAccessManager

      @Autowired protected void setAccessManager(AccessManager accessManager)
    • setNotificationDialogOpener

      @Autowired protected void setNotificationDialogOpener(NotificationDialogs notificationDialogOpener)
    • isEnabledBySpecificUiPermission

      protected boolean isEnabledBySpecificUiPermission()
    • setEnabledInternal

      protected void setEnabledInternal(boolean enabled)
      Overrides:
      setEnabledInternal in class BaseAction<CreateNotificationAction>
    • execute

      public void execute()
      Description copied from interface: ExecutableAction
      Executes the Action