Package com.jalios.jcms.unifiedinsert
Class UnifiedInsertManager
java.lang.Object
com.jalios.jcms.unifiedinsert.UnifiedInsertManager
- All Implemented Interfaces:
JPropertiesListener
Manager providing access to all properties and behavior provided by Unified insertion.
- Since:
- jcms-10.0.0 - JCMS-5321
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringProperties prefix for all insertion resources loaded as InsertItem. -
Method Summary
Modifier and TypeMethodDescriptionstatic final UnifiedInsertManagergetMenuItems(InsertionContext context) Retrieve a sorted set of MenuItem for the specified insertion context.voidpropertiesChange(JProperties properties) Invoked after properties have been modified in JCMS and save on disk.
-
Field Details
-
MENU_ITEMS_PREFIX
Properties prefix for all insertion resources loaded as InsertItem.- See Also:
-
-
Method Details
-
getInstance
-
propertiesChange
Description copied from interface:JPropertiesListenerInvoked 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.getPropertiesorchannel.getProperty.- Specified by:
propertiesChangein interfaceJPropertiesListener- Parameters:
properties- the properties which have been submitted to change
-
getMenuItems
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
-