Package org.opencms.jsp.util
Class CmsContainerTypeInfoWrapper
java.lang.Object
org.opencms.jsp.util.CmsContainerTypeInfoWrapper
Wrapper bean for querying information related to a container type in JSPs.
-
Constructor Summary
ConstructorDescriptionCmsContainerTypeInfoWrapper
(CmsJspStandardContextBean context, CmsObject cms, CmsADEConfigData config, String type) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionGets the combined list of both resource types which have matching formatter for this container type, and functions which match this container type.Gets the list of active functions which match this container type.-Gets the list of resource types which have active formatters matching this container type.
-
Constructor Details
-
CmsContainerTypeInfoWrapper
public CmsContainerTypeInfoWrapper(CmsJspStandardContextBean context, CmsObject cms, CmsADEConfigData config, String type) Creates a new instance.- Parameters:
context
- the standard context beancms
- the CMS contextconfig
- the sitemap configurationtype
- the container type to wrap
-
-
Method Details
-
getAllowedElements
Gets the combined list of both resource types which have matching formatter for this container type, and functions which match this container type.- Returns:
- the combined list of resource types and functions for this container type
-
getAllowedFunctions
Gets the list of active functions which match this container type.-- Returns:
- the list of matching functions for the container type
-
getAllowedResourceTypes
Gets the list of resource types which have active formatters matching this container type.- Returns:
- the list of resource types matching this container type
-