Package de.xima.fc.gui.bean
Class InternalMessageBean
java.lang.Object
de.xima.fc.gui.common.utils.msg.I18nUtils
de.xima.fc.gui.common.utils.msg.MessageUtils
de.xima.fc.gui.common.utils.msg.AMessaging
de.xima.fc.gui.bean.InternalMessageBean
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
This method deletes all current shown internal messages from the databaseint
This method creates all internal messages for system and client plugin updates.void
deleteInternalMessage
(AInternalMessage message) This method deletes a choosen internal messagevoid
Called after the plugin update check has finished.getFormattedTime
(AInternalMessage message) getMessageDetails
(AInternalMessage message) getMessageOrigin
(AInternalMessage message) getMessageSummary
(AInternalMessage message) getMessageViewUri
(AInternalMessage message) boolean
boolean
isPluginMessage
(AInternalMessage message) void
Contacts PROMA and checks for available plugins updates.void
setHighestPrio
(EInternalMessagePriority highestPrio) void
void
setInternalMessages
(List<AInternalMessage> internalMessages) void
setMessageRead
(AInternalMessage message) boolean
Methods inherited from class de.xima.fc.gui.common.utils.msg.MessageUtils
addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsgFromString, addErrorMsgFromString, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addInfoMsg, addInfoMsg, addInfoMsg, addInfoMsg, addInfoMsgFromString, addInfoMsgFromString, addInfoMsgToComponent, addInfoMsgToComponent, addInfoMsgToComponent, addInfoMsgToComponent, addMsg, addMsg, addMsg, addMsg, addMsgs, addMsgs, addMsgToComponent, addMsgToComponent, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsgFromString, addWarnMsgFromString, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, cleanErrorMsg, errorMsg, errorMsg, getErrorMessage, getNewErrorMsg, getNewErrorMsg, getNewErrorMsg, getNewInfoMsg, getNewInfoMsg, getNewMsg, getNewWarnMsg, getNewWarnMsg, msg
Methods inherited from class de.xima.fc.gui.common.utils.msg.I18nUtils
getFacesContext, getLocale, rbValue, rbValue, rbValue, rbValueOrDefault, rbValueOrDefault
-
Constructor Details
-
InternalMessageBean
public InternalMessageBean()
-
-
Method Details
-
getCurrentTopbarIcon
-
getHighestPrio
-
setHighestPrio
-
getInternalMessages
-
setInternalMessages
-
isNeedsToPerformPluginUpdateCheck
public boolean isNeedsToPerformPluginUpdateCheck()- Returns:
true
if we need to contact PROMA and check for available plugin updates.
-
setMessageRead
-
clearAllMessages
public void clearAllMessages()This method deletes all current shown internal messages from the database -
createAllPluginInternalMessages
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
This method deletes a choosen internal message- Parameters:
message
- the message which should be deleted
-
showTopbarButton
public boolean showTopbarButton() -
getFormattedTime
-
performPluginUpdateCheck
public void performPluginUpdateCheck()Contacts PROMA and checks for available plugins updates. -
finishPluginUpdateCheck
public void finishPluginUpdateCheck()Called after the plugin update check has finished. -
getMessageDetails
-
getMessageOrigin
-
getMessageSummary
-
getMessageViewUri
-
isPluginMessage
-
setHighestPriority
public void setHighestPriority()
-