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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidThis method deletes all current shown internal messages from the databaseintThis method creates all internal messages for system and client plugin updates.voiddeleteInternalMessage(AInternalMessage message) This method deletes a choosen internal messagevoidCalled after the plugin update check has finished.getFormattedTime(AInternalMessage message) getMessageDetails(AInternalMessage message) getMessageOrigin(AInternalMessage message) getMessageSummary(AInternalMessage message) getMessageViewUri(AInternalMessage message) booleanbooleanisPluginMessage(AInternalMessage message) voidContacts PROMA and checks for available plugins updates.voidsetHighestPrio(EInternalMessagePriority highestPrio) voidvoidsetInternalMessages(List<AInternalMessage> internalMessages) voidsetMessageRead(AInternalMessage message) booleanMethods inherited from class de.xima.fc.gui.common.utils.msg.MessageUtilsaddErrorMsg, 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, msgMethods inherited from class de.xima.fc.gui.common.utils.msg.I18nUtilsgetFacesContext, getLocale, rbValue, rbValue, rbValue, rbValueOrDefault, rbValueOrDefault
- 
Constructor Details- 
InternalMessageBeanpublic InternalMessageBean()
 
- 
- 
Method Details- 
getCurrentTopbarIcon
- 
getHighestPrio
- 
setHighestPrio
- 
getInternalMessages
- 
setInternalMessages
- 
isNeedsToPerformPluginUpdateCheckpublic boolean isNeedsToPerformPluginUpdateCheck()- Returns:
- trueif we need to contact PROMA and check for available plugin updates.
 
- 
setMessageRead
- 
clearAllMessagespublic void clearAllMessages()This method deletes all current shown internal messages from the database
- 
createAllPluginInternalMessagesThis 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.
 
- 
deleteInternalMessageThis method deletes a choosen internal message- Parameters:
- message- the message which should be deleted
 
- 
showTopbarButtonpublic boolean showTopbarButton()
- 
getFormattedTime
- 
performPluginUpdateCheckpublic void performPluginUpdateCheck()Contacts PROMA and checks for available plugins updates.
- 
finishPluginUpdateCheckpublic void finishPluginUpdateCheck()Called after the plugin update check has finished.
- 
getMessageDetails
- 
getMessageOrigin
- 
getMessageSummary
- 
getMessageViewUri
- 
isPluginMessage
- 
setHighestPrioritypublic void setHighestPriority()
 
-