Package com.jalios.jcms.policy
Class BasicUnifiedInsertPolicyFilter
- java.lang.Object
-
- com.jalios.jcms.policy.AbstractPolicyFilter
-
- com.jalios.jcms.policy.BasicUnifiedInsertPolicyFilter
-
- All Implemented Interfaces:
PluginComponent
,PolicyFilter
,UnifiedInsertPolicyFilter
,java.lang.Comparable
- Direct Known Subclasses:
FileUnifiedInsertPolicyFilter
public class BasicUnifiedInsertPolicyFilter extends AbstractPolicyFilter implements UnifiedInsertPolicyFilter
Default implementation ofUnifiedInsertPolicyFilter
- Author:
- ndossantos
-
-
Field Summary
-
Fields inherited from class com.jalios.jcms.policy.AbstractPolicyFilter
order
-
Fields inherited from interface com.jalios.jcms.plugin.PluginComponent
REVISION
-
Fields inherited from interface com.jalios.jcms.policy.UnifiedInsertPolicyFilter
REVISION
-
-
Constructor Summary
Constructors Constructor Description BasicUnifiedInsertPolicyFilter()
-
Method Summary
All Methods Instance Methods Concrete 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 class com.jalios.jcms.policy.AbstractPolicyFilter
compareTo, equals, getOrder, setOrder
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.jalios.jcms.plugin.PluginComponent
init
-
-
-
-
Method Detail
-
updateMenuItemSet
public java.util.Set<MenuItem> updateMenuItemSet(InsertionContext context, java.util.Set<MenuItem> items)
Description copied from interface:UnifiedInsertPolicyFilter
Hook invoked before unified insertion interface is displayed, allowing items displayed to be customized or reordered.- Specified by:
updateMenuItemSet
in interfaceUnifiedInsertPolicyFilter
- Parameters:
context
- the current InsertionContext (never null)items
- the SortedSet of items to be displayed- Returns:
- a Set of MenuItem, must not return null.
-
-