public class TemplatePlugin
extends org.exoplatform.container.component.BaseComponentPlugin
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_DIALOG |
static String |
DEFAULT_DIALOGS_PATH |
static String |
DEFAULT_VIEW |
static String |
DEFAULT_VIEWS_PATH |
static String |
DIALOGS |
static String |
DOCUMENT_TEMPLATE_PROP |
static String[] |
EXO_ROLES_DEFAULT |
static String |
NT_UNSTRUCTURED |
static String |
SKINS |
static String |
TEMPLATE_LABEL |
static String |
VIEWS |
| Constructor and Description |
|---|
TemplatePlugin(org.exoplatform.container.xml.InitParams params,
org.exoplatform.services.jcr.RepositoryService jcrService,
org.exoplatform.container.configuration.ConfigurationManager configManager,
org.exoplatform.services.jcr.ext.hierarchy.NodeHierarchyCreator nodeHierarchyCreator,
DMSConfiguration dmsConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
String |
buildDialogForm(javax.jcr.nodetype.NodeType nodeType)
Build string of dialog form template base on properties of nodetype
|
String |
buildStyleSheet(javax.jcr.nodetype.NodeType nodeType)
Build default style sheet
|
String |
buildViewForm(javax.jcr.nodetype.NodeType nodeType)
Build string of view template form base on properties of nodetype
|
Set<String> |
getAllConfiguredNodeTypes() |
void |
init() |
void |
setBasePath(String basePath) |
public static final String DIALOGS
public static final String VIEWS
public static final String SKINS
public static final String DEFAULT_DIALOG
public static final String DEFAULT_VIEW
public static final String DEFAULT_DIALOGS_PATH
public static final String DEFAULT_VIEWS_PATH
public static final String NT_UNSTRUCTURED
public static final String DOCUMENT_TEMPLATE_PROP
public static final String TEMPLATE_LABEL
public static final String[] EXO_ROLES_DEFAULT
public TemplatePlugin(org.exoplatform.container.xml.InitParams params,
org.exoplatform.services.jcr.RepositoryService jcrService,
org.exoplatform.container.configuration.ConfigurationManager configManager,
org.exoplatform.services.jcr.ext.hierarchy.NodeHierarchyCreator nodeHierarchyCreator,
DMSConfiguration dmsConfiguration)
throws Exception
Exceptionpublic void setBasePath(String basePath)
public String buildStyleSheet(javax.jcr.nodetype.NodeType nodeType)
nodeType - public String buildDialogForm(javax.jcr.nodetype.NodeType nodeType) throws javax.jcr.ValueFormatException, javax.jcr.RepositoryException
nodeType - javax.jcr.ValueFormatExceptionjavax.jcr.RepositoryExceptionpublic String buildViewForm(javax.jcr.nodetype.NodeType nodeType)
nodeType - Copyright © 2003–2019 eXo Platform SAS. All rights reserved.