Class InternalMessageBean

    • Constructor Detail

      • InternalMessageBean

        public InternalMessageBean()
    • Method Detail

      • getCurrentTopbarIcon

        public String getCurrentTopbarIcon()
      • setInternalMessages

        public void setInternalMessages​(List<AInternalMessage> internalMessages)
      • isNeedsToPerformPluginUpdateCheck

        public boolean isNeedsToPerformPluginUpdateCheck()
        Returns:
        true if we need to contact PROMA and check for available plugin updates.
      • clearAllMessages

        public void clearAllMessages()
        This method deletes all current shown internal messages from the database
      • createAllPluginInternalMessages

        public int createAllPluginInternalMessages​(IEntityContext ec)
        This method creates all internal messages for system and client plugin updates.
        Parameters:
        ec - Entity context to use for accessing the database.
        Returns:
        The number of created messages.
      • deleteInternalMessage

        public void deleteInternalMessage​(AInternalMessage message)
        This method deletes a choosen internal message
        Parameters:
        message - the message which should be deleted
      • showTopbarButton

        public boolean showTopbarButton()
      • performPluginUpdateCheck

        public void performPluginUpdateCheck()
        Contacts PROMA and checks for available plugins updates.
      • finishPluginUpdateCheck

        public void finishPluginUpdateCheck()
        Called after the plugin update check has finished.
      • isPluginMessage

        public boolean isPluginMessage​(AInternalMessage message)
      • setHighestPriority

        public void setHighestPriority()