Package org.opencms.jsp.util
Class CmsContainerTypeInfoWrapper
- java.lang.Object
-
- org.opencms.jsp.util.CmsContainerTypeInfoWrapper
-
public class CmsContainerTypeInfoWrapper extends java.lang.Object
Wrapper bean for querying information related to a container type in JSPs.
-
-
Constructor Summary
Constructors Constructor Description CmsContainerTypeInfoWrapper(CmsJspStandardContextBean context, CmsObject cms, CmsADEConfigData config, java.lang.String type)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<I_CmsFormatterInfo>
getAllowedElements()
Gets the combined list of both resource types which have matching formatter for this container type, and functions which match this container type.java.util.List<CmsFormatterInfoWrapper>
getAllowedFunctions()
Gets the list of active functions which match this container type.-java.util.List<I_CmsFormatterInfo>
getAllowedResourceTypes()
Gets the list of resource types which have active formatters matching this container type.
-
-
-
Constructor Detail
-
CmsContainerTypeInfoWrapper
public CmsContainerTypeInfoWrapper(CmsJspStandardContextBean context, CmsObject cms, CmsADEConfigData config, java.lang.String type)
Creates a new instance.- Parameters:
context
- the standard context beancms
- the CMS contextconfig
- the sitemap configurationtype
- the container type to wrap
-
-
Method Detail
-
getAllowedElements
public java.util.List<I_CmsFormatterInfo> 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
public java.util.List<CmsFormatterInfoWrapper> getAllowedFunctions()
Gets the list of active functions which match this container type.-- Returns:
- the list of matching functions for the container type
-
getAllowedResourceTypes
public java.util.List<I_CmsFormatterInfo> 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
-
-