Class CmsDynamicCategoryFieldList

java.lang.Object
org.opencms.ade.contenteditor.CmsDynamicCategoryFieldList

public class CmsDynamicCategoryFieldList extends Object
Class used to keep track of optional dynamic category fields for a content.
  • Constructor Details

  • Method Details

    • add

      public void add(String path)
      Adds a path.
      Parameters:
      path - the path to add
    • ensureFields

      public void ensureFields(CmsObject cms, CmsXmlContent content)
      Tries to add the collected fields to all locales of the given content.
      Parameters:
      cms - the CMS context
      content - the content which the fields should be added to
    • ensureFields

      public void ensureFields(CmsObject cms, CmsXmlContent content, Locale locale)
      Tries to add the collected fields to one locale of the given content.
      Parameters:
      cms - the CMS context
      content - the content to add the fields to
      locale - the locale