public class DeleteCacheEntryAction extends AbstractMultiItemAction<DeleteCacheEntryActionDefinition>
CacheEndpoint.delete(String, String)
to remove selected cache entry.Constructor and Description |
---|
DeleteCacheEntryAction(DeleteCacheEntryActionDefinition definition,
com.vaadin.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.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.data.Item item) |
protected String |
getFailureMessageKey() |
protected String |
getSuccessMessageKey() |
protected String |
itemToString(com.vaadin.data.Item item) |
execute, formatFailedItemsForMessage, getDefinition, getItems, getTranslator, getUiContext
public DeleteCacheEntryAction(DeleteCacheEntryActionDefinition definition, com.vaadin.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.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.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.data.Item item)
itemToString
in class AbstractMultiItemAction<DeleteCacheEntryActionDefinition>
Copyright © 2015 Magnolia International Ltd.. All rights reserved.