Package com.jalios.jcms.unifiedinsert
Class FileUnifiedInsertPolicyFilter
- java.lang.Object
-
- com.jalios.jcms.policy.AbstractPolicyFilter
-
- com.jalios.jcms.policy.BasicUnifiedInsertPolicyFilter
-
- com.jalios.jcms.unifiedinsert.FileUnifiedInsertPolicyFilter
-
- All Implemented Interfaces:
PluginComponent
,PolicyFilter
,UnifiedInsertPolicyFilter
,java.lang.Comparable
public class FileUnifiedInsertPolicyFilter extends BasicUnifiedInsertPolicyFilter
Unified insertion policy filter to hide file entry to non authorized user.- Since:
- jcms-10.0.3 / JCMS-7394
-
-
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 FileUnifiedInsertPolicyFilter()
-
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
- Overrides:
updateMenuItemSet
in classBasicUnifiedInsertPolicyFilter
- Parameters:
context
- the current InsertionContext (never null)items
- the SortedSet of items to be displayed- Returns:
- a Set of MenuItem, must not return null.
-
-