JBoss.orgCommunity Documentation
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; |
|
List<String> | Retrieve the templates node by application. |
| getTemplatesByCategory(String repository, String portletName, String category, SessionProvider sessionProvider) throws Exception; |
| List<String> | Retrieve the templates node by category. |
| getTemplateByName(String repository, String portletName, String category, String templateName, SessionProvider sessionProvider)throws Exception; |
| node | Retrieve the template by name. |
| getTemplateByPath(String repository, String templatePath, SessionProvider sessionProvider)throws Exception ; |
| node | Get the template by path. |
addTemplate(node portletTemplateHome, PortletTemplateConfig config)throws Exception; |
|
void | Add the template. |
| removeTemplate(String repository, String portletName, String catgory, String templateName, SessionProvider sessionProvider)throws Exception; |
|
void | Remove the template. |