Interface ExecutableMediaManagementItem
- All Superinterfaces:
ExecutablePluginItem<MediaManagementContext>
,Item<MediaManagementContext>
,MediaManagementItem
,WebeditExecutablePluginItem<MediaManagementContext>
public interface ExecutableMediaManagementItem
extends MediaManagementItem, WebeditExecutablePluginItem<MediaManagementContext>
Definition of an item targeting media managing providing an executable operation.
- Since:
- 5.2.33
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(@NotNull MediaManagementContext context) Executes an operation associated with this item considering the given context.boolean
isEnabled
(@NotNull MediaManagementContext context) Indicates the visibility of this item wrt. the given context.boolean
isVisible
(@NotNull MediaManagementContext context) Indicates, whether this item is enabled wrt. the given context.Methods inherited from interface de.espirit.firstspirit.client.plugin.ExecutablePluginItem
getLabel
Methods inherited from interface de.espirit.firstspirit.client.plugin.WebeditExecutablePluginItem
getIconPath
-
Method Details
-
isEnabled
Indicates the visibility of this item wrt. the given context.- Specified by:
isEnabled
in interfaceItem<MediaManagementContext>
- Specified by:
isEnabled
in interfaceMediaManagementItem
- Parameters:
context
- The context to be considered for deciding upon visibility.- Returns:
true
, if visible,false
, else.- Since:
- 5.2.33
-
isVisible
Indicates, whether this item is enabled wrt. the given context.- Specified by:
isVisible
in interfaceItem<MediaManagementContext>
- Specified by:
isVisible
in interfaceMediaManagementItem
- Parameters:
context
- The context to be considered for deciding upon the item being enabled.- Returns:
true
, if enabled,false
, else.- Since:
- 5.2.33
-
execute
Executes an operation associated with this item considering the given context.- Specified by:
execute
in interfaceExecutablePluginItem<MediaManagementContext>
- Parameters:
context
- The context operating in.- Since:
- 5.2.33
-