Class AppModuleRemovalMessageProvider
java.lang.Object
org.eblocker.server.common.data.messagecenter.provider.AbstractMessageProvider
org.eblocker.server.common.data.messagecenter.provider.AppModuleRemovalMessageProvider
- All Implemented Interfaces:
MessageProvider
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRemovedAppModules(Set<String> names) protected voiddoUpdate(Map<Integer, MessageContainer> messageContainers) booleanexecuteAction(int messageId) Called when the user clicks the action button of a message.Methods inherited from class org.eblocker.server.common.data.messagecenter.provider.AbstractMessageProvider
createMessage, createMessage, isResponsibleFor, update
-
Field Details
-
MESSAGE_APP_MODULE_REMOVAL_TITLE
- See Also:
-
MESSAGE_APP_MODULE_REMOVAL_CONTENT
- See Also:
-
MESSAGE_APP_MODULE_REMOVAL_LABEL
- See Also:
-
MESSAGE_APP_MODULE_REMOVAL_URL
- See Also:
-
-
Constructor Details
-
AppModuleRemovalMessageProvider
@Inject public AppModuleRemovalMessageProvider()
-
-
Method Details
-
getMessageIds
- Specified by:
getMessageIdsin classAbstractMessageProvider
-
doUpdate
- Specified by:
doUpdatein classAbstractMessageProvider
-
executeAction
public boolean executeAction(int messageId) Description copied from interface:MessageProviderCalled when the user clicks the action button of a message.- Specified by:
executeActionin interfaceMessageProvider- Overrides:
executeActionin classAbstractMessageProvider- Returns:
- Return true if the message should be hidden for the current device
-
addRemovedAppModules
-