Package com.jalios.jcms.policy
Interface UnifiedInsertPolicyFilter
-
- All Superinterfaces:
java.lang.Comparable
,PluginComponent
,PolicyFilter
- All Known Implementing Classes:
BasicUnifiedInsertPolicyFilter
,FileUnifiedInsertPolicyFilter
public interface UnifiedInsertPolicyFilter extends PolicyFilter
This class provides hooks for unified insertion.- Since:
- jcms-10.0.0 - JCMS-5321
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Set<MenuItem>
updateMenuItemSet(InsertionContext context, java.util.Set<MenuItem> items)
Hook invoked before unified insertion interface is displayed, allowing items displayed to be customized or reordered.-
Methods inherited from interface com.jalios.jcms.plugin.PluginComponent
init
-
-
-
-
Method Detail
-
updateMenuItemSet
java.util.Set<MenuItem> updateMenuItemSet(InsertionContext context, java.util.Set<MenuItem> items)
Hook invoked before unified insertion interface is displayed, allowing items displayed to be customized or reordered.- Parameters:
context
- the current InsertionContext (never null)items
- the SortedSet of items to be displayed- Returns:
- a Set of MenuItem, must not return null.
-
-