Package org.opencms.xml.content
Interface I_CmsXmlContentVisibilityHandler
- All Known Implementing Classes:
CmsCategoryXmlContentHandler,CmsDefaultXmlContentHandler,CmsHtmlRedirectHandler,CmsListConfigContentHandler,CmsXmlContainerPageHandler,CmsXmlDynamicFunctionHandler,CmsXmlGroupContainerHandler,CmsXmlInheritGroupContainerHandler
public interface I_CmsXmlContentVisibilityHandler
Handles the visibility of fields in the XML content editor.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanisValueVisible(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.
-
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 contextvalue- the content valueelementPath- the path to the elementparams- configuration parametersresource- the edited resourcecontentLocale- the locale being edited- Returns:
trueif the given content value field should be visible to the current user
-