Class 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 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

      • 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 or channel.getProperty.

        Specified by:
        propertiesChange in interface JPropertiesListener
        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