public interface TemplateHandler
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getClassName()
Returns the class name of the template handler.
|
java.util.List<Element> |
getDefaultTemplateElements()
Returns a list of elements containing the information of the portlet
display templates to be installed by default.
|
java.lang.String |
getName(java.util.Locale locale)
Returns the name of the template handler.
|
java.lang.String |
getResourceName()
Returns the name of the resource the template is associated with.
|
java.lang.String[] |
getRestrictedVariables(java.lang.String language) |
java.lang.String |
getTemplatesHelpPath(java.lang.String language)
Returns the path to the help template.
|
java.lang.String |
getTemplatesHelpPropertyKey()
Returns the name of the property in portal.properties that defines the
path to the help of template.
|
java.util.Map<java.lang.String,TemplateVariableGroup> |
getTemplateVariableGroups(long classPK,
java.lang.String language,
java.util.Locale locale) |
java.lang.String getClassName()
java.util.List<Element> getDefaultTemplateElements() throws java.lang.Exception
java.lang.Exception - if an exception occurred assembling the default
template elementsjava.lang.String getName(java.util.Locale locale)
locale - the locale of the template handler name to getjava.lang.String getResourceName()
java.lang.String[] getRestrictedVariables(java.lang.String language)
java.lang.String getTemplatesHelpPath(java.lang.String language)
language - the language of the templatejava.lang.String getTemplatesHelpPropertyKey()
java.util.Map<java.lang.String,TemplateVariableGroup> getTemplateVariableGroups(long classPK, java.lang.String language, java.util.Locale locale) throws java.lang.Exception
java.lang.Exception