public class CustomizeViewPlugin
extends org.exoplatform.services.cms.views.impl.ManageViewPlugin
| Modifier and Type | Field and Description |
|---|---|
protected Set<String> |
configuredTemplate |
protected Set<String> |
configuredViews |
protected org.exoplatform.container.configuration.ConfigurationManager |
cservice |
protected org.exoplatform.services.cms.impl.DMSConfiguration |
dmsConfiguration |
protected org.exoplatform.services.jcr.ext.hierarchy.NodeHierarchyCreator |
nodeHierarchyCreator |
protected org.exoplatform.container.xml.InitParams |
params |
protected org.exoplatform.services.jcr.RepositoryService |
repositoryService |
protected org.exoplatform.services.cms.templates.TemplateService |
templateService |
| Constructor and Description |
|---|
CustomizeViewPlugin(org.exoplatform.services.jcr.RepositoryService repositoryService,
org.exoplatform.container.xml.InitParams params,
org.exoplatform.container.configuration.ConfigurationManager cservice,
org.exoplatform.services.jcr.ext.hierarchy.NodeHierarchyCreator nodeHierarchyCreator,
org.exoplatform.services.cms.impl.DMSConfiguration dmsConfiguration,
org.exoplatform.services.cms.templates.TemplateService templateService) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
customizeTab(javax.jcr.Node view,
String tabName,
String buttons) |
protected javax.jcr.Node |
customizeView(javax.jcr.Node viewManager,
String viewName,
String permissions,
Boolean hideExplorerPanel,
String template) |
Set<String> |
getConfiguredTemplates() |
Set<String> |
getConfiguredViews() |
void |
init() |
protected String |
mergeButtons(String buttons,
Set<String> addButtons)
Read all buttons from given node, in buttons property, to given string builder.
|
protected final org.exoplatform.container.xml.InitParams params
protected final org.exoplatform.services.jcr.RepositoryService repositoryService
protected final org.exoplatform.services.jcr.ext.hierarchy.NodeHierarchyCreator nodeHierarchyCreator
protected final org.exoplatform.container.configuration.ConfigurationManager cservice
protected final org.exoplatform.services.cms.impl.DMSConfiguration dmsConfiguration
protected final org.exoplatform.services.cms.templates.TemplateService templateService
public CustomizeViewPlugin(org.exoplatform.services.jcr.RepositoryService repositoryService,
org.exoplatform.container.xml.InitParams params,
org.exoplatform.container.configuration.ConfigurationManager cservice,
org.exoplatform.services.jcr.ext.hierarchy.NodeHierarchyCreator nodeHierarchyCreator,
org.exoplatform.services.cms.impl.DMSConfiguration dmsConfiguration,
org.exoplatform.services.cms.templates.TemplateService templateService)
throws Exception
repositoryService - params - cservice - nodeHierarchyCreator - dmsConfiguration - Exceptionpublic Set<String> getConfiguredTemplates()
getConfiguredTemplates in class org.exoplatform.services.cms.views.impl.ManageViewPluginpublic Set<String> getConfiguredViews()
getConfiguredViews in class org.exoplatform.services.cms.views.impl.ManageViewPluginpublic void init()
throws Exception
init in class org.exoplatform.services.cms.views.impl.ManageViewPluginExceptionprotected javax.jcr.Node customizeView(javax.jcr.Node viewManager,
String viewName,
String permissions,
Boolean hideExplorerPanel,
String template)
throws Exception
Exceptionprotected void customizeTab(javax.jcr.Node view,
String tabName,
String buttons)
throws Exception
ExceptionCopyright © 2003–2016 eXo Platform SAS. All rights reserved.