public class DeleteCacheEntryAction extends AbstractMultiItemAction<DeleteCacheEntryActionDefinition>
CacheEndpoint.delete(String, String)
to remove selected cache entry.Constructor and Description |
---|
DeleteCacheEntryAction(DeleteCacheEntryActionDefinition definition,
com.vaadin.v7.data.Item relatedItem,
info.magnolia.ui.api.context.UiContext uiContext,
info.magnolia.i18nsystem.SimpleTranslator i18n,
info.magnolia.event.EventBus admincentralEventBus) |
DeleteCacheEntryAction(DeleteCacheEntryActionDefinition definition,
List<com.vaadin.v7.data.Item> relatedItems,
info.magnolia.ui.api.context.UiContext uiContext,
info.magnolia.i18nsystem.SimpleTranslator i18n,
info.magnolia.event.EventBus admincentralEventBus) |
Modifier and Type | Method and Description |
---|---|
protected void |
executeOnItem(com.vaadin.v7.data.Item item) |
protected String |
getFailureMessageKey() |
protected String |
getSuccessMessageKey() |
protected String |
itemToString(com.vaadin.v7.data.Item item) |
execute, formatFailedItemsForMessage, getDefinition, getItems, getTranslator, getUiContext
public DeleteCacheEntryAction(DeleteCacheEntryActionDefinition definition, com.vaadin.v7.data.Item relatedItem, info.magnolia.ui.api.context.UiContext uiContext, info.magnolia.i18nsystem.SimpleTranslator i18n, @Named(value="admincentral") info.magnolia.event.EventBus admincentralEventBus)
public DeleteCacheEntryAction(DeleteCacheEntryActionDefinition definition, List<com.vaadin.v7.data.Item> relatedItems, info.magnolia.ui.api.context.UiContext uiContext, info.magnolia.i18nsystem.SimpleTranslator i18n, @Named(value="admincentral") info.magnolia.event.EventBus admincentralEventBus)
protected void executeOnItem(com.vaadin.v7.data.Item item) throws Exception
executeOnItem
in class AbstractMultiItemAction<DeleteCacheEntryActionDefinition>
Exception
protected String getSuccessMessageKey()
getSuccessMessageKey
in class AbstractMultiItemAction<DeleteCacheEntryActionDefinition>
protected String getFailureMessageKey()
getFailureMessageKey
in class AbstractMultiItemAction<DeleteCacheEntryActionDefinition>
protected String itemToString(com.vaadin.v7.data.Item item)
itemToString
in class AbstractMultiItemAction<DeleteCacheEntryActionDefinition>
Copyright © 2020 Magnolia International Ltd.. All rights reserved.