Package org.opencms.gwt
Class CmsTemplateFinder
java.lang.Object
org.opencms.gwt.CmsTemplateFinder
Utility class for getting information about available templates.
- Since:
- 8.0.0
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected CmsObject
Gets the CMS context to use.Returns the available templates.
-
Field Details
-
MACRO_TEMPLATEPATH
Macro which is used in template.provider property to be substituted with the template path.- See Also:
-
m_cms
The cms context.
-
-
Constructor Details
-
CmsTemplateFinder
Creates a new instance.- Parameters:
cms
- the cms context to use
-
-
Method Details
-
getTemplates
Returns the available templates.- Returns:
- the available templates
- Throws:
CmsException
- if something goes wrong
-
getCmsObject
Gets the CMS context to use.- Returns:
- the CMS context to use
-