public interface JahiaTemplateManagerService
| Modifier and Type | Method and Description |
|---|---|
JahiaTemplatesPackage |
getAnyDeployedTemplatePackage(String templatePackage) |
List<JahiaTemplatesPackage> |
getAvailableTemplatePackages()
Returns a list of all available template packages.
|
int |
getAvailableTemplatePackagesCount()
Returns the number of available template packages in the registry.
|
List<JahiaTemplatesPackage> |
getInstalledModulesForSite(String siteKey,
boolean includeTemplateSet,
boolean includeDirectDependencies,
boolean includeTransitiveDependencies)
get List of installed modules for a site.
|
Set<JahiaTemplatesPackage> |
getModulesWithViewsForComponent(String componentName)
Returns a set of all available template packages having templates for a module.
|
List<String> |
getNonManageableModules() |
List<JahiaTemplatesPackage> |
getNonSystemModulePackages() |
List<JahiaTemplatesPackage> |
getNonSystemTemplateSetPackages() |
Map<org.osgi.framework.Bundle,JahiaTemplatesPackage> |
getRegisteredBundles() |
JahiaTemplatesPackage |
getTemplatePackage(String packageName)
Returns the requested template package for the specified site or
null if the package with the specified name is not
registered in the repository. |
JahiaTemplatesPackage |
getTemplatePackageById(String moduleId)
Returns the requested template package for the specified site or
null if the package with the specified Id is not
registered in the repository. |
Map<String,JahiaTemplatesPackage> |
getTemplatePackageByNodeName()
Returns the lookup map for template packages by the JCR node name.
|
TemplatePackageRegistry |
getTemplatePackageRegistry() |
Set<String> |
getTemplateSetNames()
Returns a set of existing template sets that are available for site creation.
|
TemplatePackageRegistry getTemplatePackageRegistry()
List<JahiaTemplatesPackage> getInstalledModulesForSite(String siteKey, boolean includeTemplateSet, boolean includeDirectDependencies, boolean includeTransitiveDependencies) throws JahiaException
siteKey - key of the siteincludeTemplateSet - if true (default is false) include dependencies of the template setincludeDirectDependencies - if true (default is false) include dependencies of dependenciesincludeTransitiveDependencies - if true (default is false) include all dependenciesJahiaExceptionList<JahiaTemplatesPackage> getAvailableTemplatePackages()
List<JahiaTemplatesPackage> getNonSystemTemplateSetPackages()
List<JahiaTemplatesPackage> getNonSystemModulePackages()
int getAvailableTemplatePackagesCount()
JahiaTemplatesPackage getTemplatePackageById(String moduleId)
null if the package with the specified Id is not
registered in the repository.moduleId - the template package Id to search fornull if the
package with the specified Id is not registered in the
repositorySet<JahiaTemplatesPackage> getModulesWithViewsForComponent(String componentName)
JahiaTemplatesPackage getTemplatePackage(String packageName)
null if the package with the specified name is not
registered in the repository.packageName - the template package name to search fornull if the
package with the specified name is not registered in the
repositoryMap<String,JahiaTemplatesPackage> getTemplatePackageByNodeName()
JahiaTemplatesPackage getAnyDeployedTemplatePackage(String templatePackage)
Set<String> getTemplateSetNames()
Map<org.osgi.framework.Bundle,JahiaTemplatesPackage> getRegisteredBundles()
Copyright © 2004–2021 Jahia Solutions Group SA. All rights reserved.