Interface I_CmsXmlContentVisibilityHandler

All Known Implementing Classes:
CmsCategoryXmlContentHandler, CmsDefaultXmlContentHandler, CmsHtmlRedirectHandler, CmsListConfigContentHandler, CmsXmlContainerPageHandler, CmsXmlDynamicFunctionHandler, CmsXmlGroupContainerHandler, CmsXmlInheritGroupContainerHandler

Handles the visibility of fields in the XML content editor.

  • Method Details

    • isValueVisible

      boolean isValueVisible(CmsObject cms, I_CmsXmlSchemaType value, String elementPath, String params, CmsResource resource, Locale contentLocale)
      Returns if the given content value field should be visible to the current user.

      Parameters:
      cms - the cms context
      value - the content value
      elementPath - the path to the element
      params - configuration parameters
      resource - the edited resource
      contentLocale - the locale being edited
      Returns:
      true if the given content value field should be visible to the current user