| Modifier and Type | Method and Description |
|---|---|
static JahiaTemplatesPackage |
ContentManagerAccessCheckFilter.getCurrentSiteTemplatePackage(javax.servlet.http.HttpServletRequest request)
Returns the template package of the current site, based on the information provided when the Content Manager window was called.
|
| Modifier and Type | Method and Description |
|---|---|
List<JahiaTemplatesPackage> |
JahiaTemplatesPackage.getDependencies()
Returns a read-only list of modules which this module depends on.
|
Set<JahiaTemplatesPackage> |
JahiaTemplatesPackage.getDependentModulesWithVersion() |
Set<JahiaTemplatesPackage> |
JahiaTemplatesPackage.getModuleDependenciesWithVersion() |
| Modifier and Type | Method and Description |
|---|---|
void |
JahiaTemplatesPackage.addDependency(JahiaTemplatesPackage dep)
Add the provided module into the list of dependencies for this one.
|
| Modifier and Type | Method and Description |
|---|---|
static JahiaTemplatesPackage |
BundleUtils.getModule(org.osgi.framework.Bundle bundle)
Returns the module instance that corresponds to the provided OSGi bundle.
|
| Modifier and Type | Method and Description |
|---|---|
JahiaTemplatesPackage |
JCRSiteNode.getTemplatePackage()
Returns the corresponding template set of this virtual site.
|
| Modifier and Type | Method and Description |
|---|---|
void |
JCRNodeDecoratorDefinition.setJahiaModule(JahiaTemplatesPackage module) |
| Modifier and Type | Method and Description |
|---|---|
void |
JCRNodeValidatorDefinition.setJahiaModule(JahiaTemplatesPackage module) |
| Modifier and Type | Method and Description |
|---|---|
JahiaTemplatesPackage |
ExtendedNodeType.getTemplatePackage() |
| Modifier and Type | Method and Description |
|---|---|
void |
RulesListener.addRules(org.springframework.core.io.Resource dsrlFile,
JahiaTemplatesPackage aPackage) |
void |
RulesListener.addRulesDescriptor(org.springframework.core.io.Resource resource,
JahiaTemplatesPackage aPackage) |
void |
RulesListener.removeRules(JahiaTemplatesPackage module) |
| Modifier and Type | Method and Description |
|---|---|
JahiaTemplatesPackage |
FileSystemView.getModule()
Deprecated.
|
JahiaTemplatesPackage |
BaseView.getModule() |
JahiaTemplatesPackage |
View.getModule() |
| Constructor and Description |
|---|
BaseView(String path,
String key,
JahiaTemplatesPackage module)
Initializes an instance of this class.
|
BaseView(String path,
String key,
JahiaTemplatesPackage module,
String displayName)
Initializes an instance of this class.
|
BundleView(String resource,
String key,
JahiaTemplatesPackage module,
String displayName)
Initializes an instance of this class.
|
FileSystemView(String path,
String key,
JahiaTemplatesPackage ownerPackage,
ModuleVersion version,
String displayName)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
JahiaFlowConversionService.setJahiaModule(JahiaTemplatesPackage module) |
void |
BundleViewFactoryCreator.setJahiaModule(JahiaTemplatesPackage module) |
| Constructor and Description |
|---|
BundleMvcViewFactory(org.springframework.binding.expression.Expression viewId,
org.springframework.webflow.mvc.view.FlowViewResolver viewResolver,
org.springframework.binding.expression.ExpressionParser expressionParser,
org.springframework.binding.convert.ConversionService conversionService,
org.springframework.webflow.engine.builder.BinderConfiguration binderConfiguration,
org.springframework.validation.MessageCodesResolver messageCodesResolver,
JahiaTemplatesPackage module)
Creates a new servlet-based MVC view factory.
|
| Modifier and Type | Field and Description |
|---|---|
static Comparator<JahiaTemplatesPackage> |
TemplatePackageRegistry.TEMPLATE_PACKAGE_COMPARATOR |
static Comparator<JahiaTemplatesPackage> |
JahiaTemplateManagerService.TEMPLATE_PACKAGE_NAME_COMPARATOR |
| Modifier and Type | Method and Description |
|---|---|
JahiaTemplatesPackage |
JahiaTemplateManagerService.activateModuleVersion(String moduleId,
String version) |
JahiaTemplatesPackage |
JahiaTemplateManagerService.compileAndDeploy(String moduleId,
File sources,
JCRSessionWrapper session) |
JahiaTemplatesPackage |
ModuleBuildHelper.compileAndDeploy(String moduleId,
File sources,
JCRSessionWrapper session) |
JahiaTemplatesPackage |
JahiaTemplateManagerService.deployModule(File warFile,
JCRSessionWrapper session) |
JahiaTemplatesPackage |
TemplatePackageDeployer.deployModule(File jarFile,
JCRSessionWrapper session) |
JahiaTemplatesPackage |
JahiaTemplateManagerService.duplicateModule(String moduleName,
String moduleId,
String groupId,
String srcPath,
String scmURI,
String branchOrTag,
String srcModuleId,
String srcModuleVersion,
boolean uninstallSrcModule,
String dstPath,
boolean deleteSrcFolder,
JCRSessionWrapper session) |
JahiaTemplatesPackage |
ModuleBuildHelper.duplicateModule(String dstModuleName,
String dstModuleId,
String dstGroupId,
String srcPath,
String scmURI,
String branchOrTag,
String srcModuleId,
String srcModuleVersion,
boolean uninstallSrcModule,
String dstPath,
boolean deleteSrcFolder,
JCRSessionWrapper session) |
JahiaTemplatesPackage |
JahiaTemplateManagerService.getAnyDeployedTemplatePackage(String templatePackage) |
JahiaTemplatesPackage |
TemplatePackageRegistry.getPackageForResourceBundle(String resourceBundle) |
JahiaTemplatesPackage |
JahiaTemplateManagerService.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 |
JahiaTemplateManagerService.getTemplatePackageByFileName(String fileName)
Deprecated.
|
JahiaTemplatesPackage |
JahiaTemplateManagerService.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. |
JahiaTemplatesPackage |
TemplatePackageRegistry.lookup(String packageName)
Returns the requested template package or
null if the
package with the specified name is not registered in the repository. |
JahiaTemplatesPackage |
TemplatePackageRegistry.lookupByBundle(org.osgi.framework.Bundle osgiBundle)
Returns the template package that corresponds to the provided OSGi bundle or
null if the package is not registered. |
JahiaTemplatesPackage |
TemplatePackageRegistry.lookupByFileName(String fileName)
Deprecated.
use
TemplatePackageRegistry.lookupById(String) instead |
JahiaTemplatesPackage |
TemplatePackageRegistry.lookupByFileNameAndVersion(String fileName,
ModuleVersion moduleVersion)
Deprecated.
|
JahiaTemplatesPackage |
TemplatePackageRegistry.lookupById(String moduleId)
Returns the requested template package or
null if the
package with the specified Id is not registered in the repository. |
JahiaTemplatesPackage |
TemplatePackageRegistry.lookupByIdAndVersion(String moduleId,
ModuleVersion moduleVersion) |
JahiaTemplatesPackage |
TemplatePackageRegistry.lookupByNameAndVersion(String moduleName,
ModuleVersion moduleVersion) |
JahiaTemplatesPackage |
JahiaTemplateManagerService.stopModule(String moduleId) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,SortedMap<ModuleVersion,JahiaTemplatesPackage>> |
TemplatePackageRegistry.getAllModuleVersions() |
List<JahiaTemplatesPackage> |
TemplatePackageRegistry.getAvailablePackages()
Returns a list of all available template packages.
|
List<JahiaTemplatesPackage> |
JahiaTemplateManagerService.getAvailableTemplatePackages()
Returns a list of all available template packages.
|
List<JahiaTemplatesPackage> |
TemplatePackageRegistry.getDependantModules(JahiaTemplatesPackage module) |
List<JahiaTemplatesPackage> |
TemplatePackageRegistry.getDependantModules(JahiaTemplatesPackage module,
boolean includeNonStarted) |
List<JahiaTemplatesPackage> |
JahiaTemplateManagerService.getInstalledModulesForSite(String siteKey,
boolean includeTemplateSet,
boolean includeDirectDependencies,
boolean includeTransitiveDependencies)
get List of installed modules for a site.
|
Set<JahiaTemplatesPackage> |
JahiaTemplateManagerService.getModulesWithViewsForComponent(String componentName)
Returns a set of all available template packages having templates for a module.
|
Map<String,Set<JahiaTemplatesPackage>> |
TemplatePackageRegistry.getModulesWithViewsPerComponents() |
List<JahiaTemplatesPackage> |
JahiaTemplateManagerService.getNonSystemModulePackages() |
List<JahiaTemplatesPackage> |
JahiaTemplateManagerService.getNonSystemTemplateSetPackages() |
Map<org.osgi.framework.Bundle,JahiaTemplatesPackage> |
JahiaTemplateManagerService.getRegisteredBundles() |
Map<String,JahiaTemplatesPackage> |
TemplatePackageRegistry.getRegisteredModules() |
Map<String,JahiaTemplatesPackage> |
JahiaTemplateManagerService.getTemplatePackageByNodeName()
Returns the lookup map for template packages by the JCR node name.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TemplatePackageRegistry.addModuleWithViewsForComponent(String component,
JahiaTemplatesPackage module) |
void |
TemplatePackageRegistry.addPackageForResourceBundle(String bundle,
JahiaTemplatesPackage module) |
void |
TemplatePackageRegistry.afterInitializationForModule(JahiaTemplatesPackage pack) |
void |
JahiaTemplateManagerService.autoInstallModulesToSites(JahiaTemplatesPackage module,
JCRSessionWrapper session) |
void |
ModuleInstallationHelper.autoInstallModulesToSites(JahiaTemplatesPackage module,
JCRSessionWrapper session) |
boolean |
JahiaTemplateManagerService.checkValidSources(JahiaTemplatesPackage pack,
File sources) |
boolean |
SourceControlHelper.checkValidSources(JahiaTemplatesPackage pack,
File sources) |
void |
TemplatePackageDeployer.clearModuleNodes(JahiaTemplatesPackage pkg)
Clear all module nodes for given package
|
void |
TemplatePackageDeployer.clearModuleNodes(JahiaTemplatesPackage pkg,
JCRSessionWrapper session)
Deprecated.
|
void |
TemplatePackageDeployer.clearModuleNodesAsync(JahiaTemplatesPackage pkg)
Clear all module nodes for given package via a background job
|
boolean |
TemplatePackageRegistry.computeDependencies(JahiaTemplatesPackage pack)
Compute package dependencies
|
void |
JahiaTemplateManagerService.fireTemplatePackageRedeployedEvent(JahiaTemplatesPackage aPackage)
Fires a Spring event in core context and contexts of all modules to notify listeners about the fact that a module bundle is either
started or stopped.
|
List<JahiaTemplatesPackage> |
TemplatePackageRegistry.getDependantModules(JahiaTemplatesPackage module) |
List<JahiaTemplatesPackage> |
TemplatePackageRegistry.getDependantModules(JahiaTemplatesPackage module,
boolean includeNonStarted) |
File |
JahiaTemplateManagerService.getSources(JahiaTemplatesPackage pack,
JCRSessionWrapper session) |
File |
SourceControlHelper.getSources(JahiaTemplatesPackage pack,
JCRSessionWrapper session) |
void |
TemplatePackageDeployer.initializeModuleContent(JahiaTemplatesPackage aPackage,
JCRSessionWrapper session) |
void |
JahiaTemplateManagerService.installModule(JahiaTemplatesPackage module,
String sitePath,
JCRSessionWrapper session) |
void |
ModuleInstallationHelper.installModule(JahiaTemplatesPackage module,
String sitePath,
JCRSessionWrapper session) |
void |
JahiaTemplateManagerService.installModuleOnAllSites(JahiaTemplatesPackage module,
JCRSessionWrapper sessionWrapper,
List<JCRNodeWrapper> sites)
Install module in provided list of site
|
void |
ModuleInstallationHelper.installModuleOnAllSites(JahiaTemplatesPackage module,
JCRSessionWrapper sessionWrapper,
List<JCRNodeWrapper> sites) |
void |
JCRModuleListener.Listener.onModuleImported(JahiaTemplatesPackage pack) |
void |
TemplatePackageRegistry.register(JahiaTemplatesPackage templatePackage)
Adds the template package to the repository.
|
int |
ComponentRegistry.registerComponents(JahiaTemplatesPackage pkg,
JCRSessionWrapper session)
Performs the registration of the components from the specified module into JCR tree.
|
void |
TemplatePackageRegistry.registerPackageVersion(JahiaTemplatesPackage pack) |
File |
JahiaTemplateManagerService.releaseModule(JahiaTemplatesPackage module,
ModuleReleaseInfo releaseInfo,
File sources,
String scmUrl,
JCRSessionWrapper session) |
void |
TemplatePackageRegistry.removeModuleWithViewsForComponent(String component,
JahiaTemplatesPackage module) |
void |
JahiaModuleAware.setJahiaModule(JahiaTemplatesPackage module) |
void |
JahiaTemplateManagerService.setSourcesFolderInPackage(JahiaTemplatesPackage pack,
File sources) |
void |
SourceControlHelper.setSourcesFolderInPackage(JahiaTemplatesPackage pack,
File sources) |
void |
SourceControlHelper.setSourcesFolderInPackageAndNode(JahiaTemplatesPackage pack,
File sources,
JCRNodeWrapper node) |
void |
JahiaTemplateManagerService.undeployModule(JahiaTemplatesPackage pack) |
void |
JahiaTemplateManagerService.uninstallModule(JahiaTemplatesPackage module,
String sitePath,
JCRSessionWrapper session) |
void |
ModuleInstallationHelper.uninstallModule(JahiaTemplatesPackage module,
String sitePath,
JCRSessionWrapper session) |
void |
TemplatePackageRegistry.unregister(JahiaTemplatesPackage templatePackage) |
void |
TemplatePackageRegistry.unregisterPackageVersion(JahiaTemplatesPackage pack) |
void |
JahiaTemplateManagerService.updateDependencies(JahiaTemplatesPackage pack,
List<String> depends) |
| Modifier and Type | Method and Description |
|---|---|
void |
JahiaTemplateManagerService.installModules(List<JahiaTemplatesPackage> modules,
String sitePath,
JCRSessionWrapper session) |
void |
ModuleInstallationHelper.installModules(List<JahiaTemplatesPackage> modules,
String sitePath,
JCRSessionWrapper session) |
void |
JahiaTemplateManagerService.uninstallModules(List<JahiaTemplatesPackage> modules,
String sitePath,
JCRSessionWrapper session) |
| Constructor and Description |
|---|
JahiaModuleAwareProcessor(JahiaTemplatesPackage module) |
| Modifier and Type | Method and Description |
|---|---|
JahiaTemplatesPackage |
WorklowTypeRegistration.getModule() |
| Modifier and Type | Method and Description |
|---|---|
void |
WorklowTypeRegistration.setJahiaModule(JahiaTemplatesPackage module) |
| Modifier and Type | Method and Description |
|---|---|
static ResourceBundle |
ResourceBundles.get(JahiaTemplatesPackage pkg,
Locale locale)
Use the resource bundle lookup hierarchy of the provided template package.
|
static String |
Messages.get(JahiaTemplatesPackage pkg,
String key,
Locale locale)
Looks up the resource bundle key considering locale and current module.
|
static String |
Messages.get(JahiaTemplatesPackage pkg,
String key,
Locale locale,
String defaultValue)
Looks up the resource bundle key considering locale and current module.
|
static ResourceBundle |
ResourceBundles.get(String primaryBundleName,
JahiaTemplatesPackage pkg,
Locale locale)
Use the resource bundle lookup hierarchy of the provided template package, but first check for the specified bundle name.
|
static String |
Messages.get(String primaryBundleName,
JahiaTemplatesPackage pkg,
String key,
Locale locale)
Looks up the resource bundle key considering locale, specified bundle name and current module.
|
static String |
Messages.get(String primaryBundleName,
JahiaTemplatesPackage pkg,
String key,
Locale locale,
String defaultValue)
Looks up the resource bundle key considering locale, specified bundle name and current module.
|
static String |
Messages.interpolateResourceBundleMacro(String input,
Locale locale,
JahiaTemplatesPackage module)
Performs the interpolation (evaluation) of the resource bundle macro in the provided input.
|
void |
ModuleMessageSource.setJahiaModule(JahiaTemplatesPackage module) |
Copyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.