Interface MediaManagementItem
- All Superinterfaces:
Item<MediaManagementContext>
- All Known Subinterfaces:
ClientScriptProvidingMediaManagementItem
,ExecutableMediaManagementItem
Definition of an item targeting media managing.
- Since:
- 5.2.33
-
Method Summary
Modifier and TypeMethodDescriptionboolean
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.
-
Method Details
-
isEnabled
Indicates the visibility of this item wrt. the given context.- Specified by:
isEnabled
in interfaceItem<MediaManagementContext>
- 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>
- Parameters:
context
- The context to be considered for deciding upon the item being enabled.- Returns:
true
, if enabled,false
, else.- Since:
- 5.2.33
-