public class CmsTemplateFinder extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected CmsObject |
m_cms
The cms context.
|
static java.lang.String |
MACRO_TEMPLATEPATH
Macro which is used in template.provider property to be substituted with the template path.
|
| Constructor and Description |
|---|
CmsTemplateFinder(CmsObject cms)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected CmsObject |
getCmsObject()
Gets the CMS context to use.
|
java.util.Map<java.lang.String,CmsClientTemplateBean> |
getTemplates()
Returns the available templates.
|
public static final java.lang.String MACRO_TEMPLATEPATH
public CmsTemplateFinder(CmsObject cms)
cms - the cms context to usepublic java.util.Map<java.lang.String,CmsClientTemplateBean> getTemplates() throws CmsException
CmsException - if something goes wrongprotected CmsObject getCmsObject()