JBoss.orgCommunity Documentation

ApplicationTemplateManager

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

portletName

provider: The provider.

List<String> Retrieve the templates node by application.
getTemplatesByCategory(String repository, String portletName, String category, SessionProvider sessionProvider) throws Exception;

repository

portletName

category

sessionProvider

List<String> Retrieve the templates node by category.
getTemplateByName(String repository, String portletName, String category, String templateName, SessionProvider sessionProvider)throws Exception;

repository

portletName

category

templateName

sessionProvider

node Retrieve the template by name.
getTemplateByPath(String repository, String templatePath, SessionProvider sessionProvider)throws Exception ;

repository

templatePath

sessionProvider

node Get the template by path.
addTemplate(node portletTemplateHome, PortletTemplateConfig config)throws Exception;

portletTemplateHome

config

void Add the template.
removeTemplate(String repository, String portletName, String catgory, String templateName, SessionProvider sessionProvider)throws Exception;

repository

portletName

catgory

templateName

sessionProvider

void Remove the template.