Package com.jalios.jcms.unifiedinsert
Class UnifiedInsertManager
- java.lang.Object
-
- com.jalios.jcms.unifiedinsert.UnifiedInsertManager
-
- All Implemented Interfaces:
JPropertiesListener
public final class UnifiedInsertManager extends java.lang.Object implements JPropertiesListener
Manager providing access to all properties and behavior provided by Unified insertion.- Since:
- jcms-10.0.0 - JCMS-5321
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
MENU_ITEMS_PREFIX
Properties prefix for all insertion resources loaded as InsertItem.-
Fields inherited from interface com.jalios.util.JPropertiesListener
REVISION
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UnifiedInsertManager
getInstance()
java.util.Set<MenuItem>
getMenuItems(InsertionContext context)
Retrieve a sorted set of MenuItem for the specified insertion context.void
propertiesChange(JProperties properties)
Invoked after properties have been modified in JCMS and save on disk.
-
-
-
Field Detail
-
MENU_ITEMS_PREFIX
public static final java.lang.String MENU_ITEMS_PREFIX
Properties prefix for all insertion resources loaded as InsertItem.- See Also:
- Constant Field Values
-
-
Method Detail
-
getInstance
public static final UnifiedInsertManager getInstance()
-
propertiesChange
public void propertiesChange(JProperties properties)
Description copied from interface:JPropertiesListener
Invoked after properties have been modified in JCMS and save on disk.You cannot alter the value received in parameters.
Note that properties parameter may be null, a limited set of site properties, or all site properties.
To check that a property has been modified, reload the "current" property instead using
channel.getProperties
orchannel.getProperty
.- Specified by:
propertiesChange
in interfaceJPropertiesListener
- Parameters:
properties
- the properties which have been submitted to change
-
getMenuItems
public java.util.Set<MenuItem> getMenuItems(InsertionContext context)
Retrieve a sorted set of MenuItem for the specified insertion context.- Parameters:
context
- the context in which insertion is being performed- Returns:
- a new instance of Set, never return null
-
-