Liferay 6.2-ce-ga5

com.liferay.portlet.dynamicdatalists.template
Class DDLTemplateHandler

java.lang.Object
  extended by com.liferay.portal.kernel.template.BaseTemplateHandler
      extended by com.liferay.portlet.dynamicdatamapping.template.BaseDDMTemplateHandler
          extended by com.liferay.portlet.dynamicdatalists.template.DDLTemplateHandler
All Implemented Interfaces:
TemplateHandler

public class DDLTemplateHandler
extends BaseDDMTemplateHandler


Constructor Summary
DDLTemplateHandler()
           
 
Method Summary
 String getClassName()
          Returns the class name of the template handler.
protected  TemplateVariableGroup getDDLVariablesTemplateVariableGroups()
           
protected  Class<?> getFieldVariableClass()
           
 String getName(Locale locale)
          Returns the name of the template handler.
 String getResourceName()
          Returns the name of the resource the template is associated with.
protected  TemplateVariableCodeHandler getTemplateVariableCodeHandler()
           
 Map<String,TemplateVariableGroup> getTemplateVariableGroups(long classPK, String language, Locale locale)
           
 
Methods inherited from class com.liferay.portlet.dynamicdatamapping.template.BaseDDMTemplateHandler
addTemplateVariableGroup, getGeneralVariablesTemplateVariableGroup, getStructureFieldsTemplateVariableGroup, getUtilTemplateVariableGroup
 
Methods inherited from class com.liferay.portal.kernel.template.BaseTemplateHandler
getDefaultTemplateElements, getRestrictedVariables, getTemplatesConfigPath, getTemplatesHelpPath, getTemplatesHelpPropertyKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DDLTemplateHandler

public DDLTemplateHandler()
Method Detail

getClassName

public String getClassName()
Description copied from interface: TemplateHandler
Returns the class name of the template handler.

Returns:
the class name of the template handler

getName

public String getName(Locale locale)
Description copied from interface: TemplateHandler
Returns the name of the template handler.

Parameters:
locale - the locale of the template handler name to get
Returns:
the name of the template handler

getResourceName

public String getResourceName()
Description copied from interface: TemplateHandler
Returns the name of the resource the template is associated with. Permissions on the resource are checked when adding a new template.

Returns:
the name of the resource

getTemplateVariableGroups

public Map<String,TemplateVariableGroup> getTemplateVariableGroups(long classPK,
                                                                   String language,
                                                                   Locale locale)
                                                            throws Exception
Specified by:
getTemplateVariableGroups in interface TemplateHandler
Overrides:
getTemplateVariableGroups in class BaseDDMTemplateHandler
Throws:
Exception

getDDLVariablesTemplateVariableGroups

protected TemplateVariableGroup getDDLVariablesTemplateVariableGroups()

getFieldVariableClass

protected Class<?> getFieldVariableClass()
Overrides:
getFieldVariableClass in class BaseDDMTemplateHandler

getTemplateVariableCodeHandler

protected TemplateVariableCodeHandler getTemplateVariableCodeHandler()
Specified by:
getTemplateVariableCodeHandler in class BaseDDMTemplateHandler

Liferay 6.2-ce-ga5