public class ComponentRegistry extends Object
| Constructor and Description |
|---|
ComponentRegistry() |
| Modifier and Type | Method and Description |
|---|---|
static Map<String,String> |
getComponentTypes(JCRNodeWrapper node,
List<String> includeTypeList,
List<String> excludeTypeList,
Locale displayLocale) |
static Map<String,String> |
getComponentTypes(JCRNodeWrapper node,
List<String> includeTypeList,
List<String> excludeTypeList,
Locale displayLocale,
boolean restrictToDependencies) |
int |
registerComponents(JahiaTemplatesPackage pkg,
JCRSessionWrapper session)
Performs the registration of the components from the specified module into JCR tree.
|
public static Map<String,String> getComponentTypes(JCRNodeWrapper node, List<String> includeTypeList, List<String> excludeTypeList, Locale displayLocale) throws javax.jcr.PathNotFoundException, javax.jcr.RepositoryException
javax.jcr.PathNotFoundExceptionjavax.jcr.RepositoryExceptionpublic static Map<String,String> getComponentTypes(JCRNodeWrapper node, List<String> includeTypeList, List<String> excludeTypeList, Locale displayLocale, boolean restrictToDependencies) throws javax.jcr.PathNotFoundException, javax.jcr.RepositoryException
javax.jcr.PathNotFoundExceptionjavax.jcr.RepositoryExceptionpublic int registerComponents(JahiaTemplatesPackage pkg, JCRSessionWrapper session) throws javax.jcr.RepositoryException
pkg - the module packagesession - current JCR sessionjavax.jcr.RepositoryException - in case of a JCR errorCopyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.