This class is used to manage dynamic groovy templates for WCM-based products.

Package org.exoplatform.services.cms.views.ApplicationTemplateManager;

|| *Method* ||*Param*|| *Return* ||  *Description* ||
| *addPlugin*(PortletTemplatePlugin portletTemplatePlugin) throws Exception |{{portletTemplatePlugin}} |{{void}} | Add the plugin..|
| *getAllManagedPortletName*(String repository) throws Exception|{{repository}} | {{ List<String> }}  | Retrieve all the portlet names that have dynamic groovy templates managed by service.|
| *getTemplatesByApplication*(String repository, String portletName, SessionProvider provider)throws Exception; |{{repository}}{example}{example}{{portletName}}{example}{example}{{ provider}}: The provider. |{{ List<String> }}  |Retrieve the templates node by application. |
| *getTemplatesByCategory*(String repository, String portletName, String category, SessionProvider sessionProvider) throws Exception; |{{repository}}{example}{example}{{portletName}}{example}{example}{{category}}{example}{example}{{sessionProvider}} | {{ List<String> }}  | Retrieve the templates node by category.|
| *getTemplateByName*(String repository, String portletName, String category, String templateName, SessionProvider sessionProvider)throws Exception; |{{repository}}{example}{example}{{portletName}}{example}{example}{{category}}{example}{example}{{templateName}}{example}{example}{{sessionProvider}}| {{node}} | Retrieve the template by name.|
| *getTemplateByPath*(String repository, String templatePath, SessionProvider sessionProvider)throws Exception ; | {{repository}}{example}{example}{{templatePath}}{example}{example}{{sessionProvider}} | {{node}} | Get the template by path.|
| *addTemplate*({{node}} portletTemplateHome, PortletTemplateConfig config)throws Exception; |{{portletTemplateHome}}{example}{example}{{config}} |{{void}} | Add the template.|
| *removeTemplate*(String repository, String portletName, String catgory, String templateName, SessionProvider sessionProvider)throws Exception; | {{repository}}{example}{example}{{portletName}}{example}{example}{{catgory}}{example}{example}{{templateName}}{example}{example}{{sessionProvider}}  |{{void}} |Remove the template.|


