Uses of Class
org.opencms.module.CmsModule
Package
Description
OpenCms modules provide a powerful, standardized way to extend
the core OpenCms functionality.
Contains classes of the cache admin app.
Contains classes of the module manager app.
Contains classes of the module manager app used to edit modules.
The base classes for the OpenCms Workplace
(standard dialog, tab dialog, report based dialog)
and the Workplace configuration classes are located here.
-
Uses of CmsModule in org.opencms.module
Modifier and TypeMethodDescriptionCmsModule.clone()
Clones a CmsModule which is not set to frozen.CmsModuleImportData.getModule()
Gets the module metadata from the import zip.Returns the module with the given module name, ornull
if no module with the given name is configured.CmsModuleXmlHandler.getModule()
Returns the generated module.CmsReplaceModuleInfo.getModule()
Gets the module.static CmsModule
CmsModuleImportExportHandler.readModuleFromImport
(String importResource) Reads a module object from an external file source.static CmsModule
CmsModuleImportExportHandler.readModuleFromManifest
(byte[] manifest) Reads a module object from an external file source.Modifier and TypeMethodDescriptionCmsModuleManager.getAllInstalledModules()
Returns a list of installed modules.CmsModuleManager.getAllModulesFromPath
(String rfsAbsPath) Returns a map of modules found in the given RFS absolute path.Modifier and TypeMethodDescriptionvoid
Adds a new module to the module manager.CmsModule.calculateModuleResourceNames
(CmsObject cms, CmsModule module) Calculates the resources belonging to the module, taking excluded resources and readability of resources into account, and returns site paths of the module resources.static List<CmsResource>
CmsModule.calculateModuleResources
(CmsObject cms, CmsModule module) Calculates and returns the resources belonging to the module, taking excluded resources and readability of resources into account.static boolean
CmsModuleUpdater.checkCompatibleModuleResources
(CmsModule installedModule, CmsModule newModule) Checks whether the module resources and sites of the two module versions are suitable for updating.CmsModuleManager.checkDependencies
(CmsModule module, int mode) Checks if a modules dependencies are fulfilled.CmsModule.checkDependency
(CmsModule module) Checks if this module depends on another given module, will return the dependency, ornull
if no dependency was found.int
protected CmsProject
CmsModuleUpdater.createAndSetModuleImportProject
(CmsObject cms, CmsModule module) Creates the project used to import module resources and sets it on the CmsObject.protected void
CmsModuleUpdater.deleteConflictingResources
(CmsObject cms, CmsModule module, Map<CmsUUID, CmsUUID> conflictingIds) Deletes and publishes resources with ID conflicts.static org.dom4j.Element
CmsModuleXmlHandler.generateXml
(CmsModule module, CmsModuleXmlHandler.XmlWriteMode writeMode) Generates a detached XML element for a module.static CmsModuleImportExportHandler
CmsModuleImportExportHandler.getExportHandler
(CmsObject cms, CmsModule module, String handlerDescription) Gets the module export handler containing all resources used in the module export.void
A_CmsModuleAction.initialize
(CmsObject adminCms, CmsConfigurationManager configurationManager, CmsModule module) void
I_CmsModuleAction.initialize
(CmsObject adminCms, CmsConfigurationManager configurationManager, CmsModule module) Will be called by the OpenCms system during server startup.boolean
CmsModule.isIdentical
(CmsModule other) Checks if this module is identical with another module.void
A_CmsModuleAction.moduleUninstall
(CmsModule module) void
I_CmsModuleAction.moduleUninstall
(CmsModule module) Will be called if a module is uninstalled from an OpenCms system.void
A_CmsModuleAction.moduleUpdate
(CmsModule module) void
I_CmsModuleAction.moduleUpdate
(CmsModule module) Will be called if the module this action instance belongs to is updated.protected void
CmsModuleUpdater.runImportScript
(CmsObject cms, CmsModule module) Runs the module import script.void
Sets the module metadata.void
void
Will be called by the OpenCms system during server shutdown.void
CmsModuleManager.updateModule
(CmsObject cms, CmsModule module) Updates a already configured module with new values.ModifierConstructorDescriptionCmsReplaceModuleInfo
(CmsModule module, boolean usedUpdater) Creates a new instance.ModifierConstructorDescriptionCmsModuleManager
(List<CmsModule> configuredModules) Basic constructor. -
Uses of CmsModule in org.opencms.ui.apps.dbmanager
-
Uses of CmsModule in org.opencms.ui.apps.modules
Modifier and TypeMethodDescriptionCmsModuleImportFile.getModule()
Gets the module data.CmsModuleRow.getModule()
Gets the module.Modifier and TypeMethodDescriptionstatic void
CmsModuleApp.editModule
(CmsModule module, boolean isNew, String caption, Runnable callback) Opens the module editor for the given module.void
CmsModuleInfoDialog.initialize
(CmsModule module) Fills the widget content.ModifierConstructorDescriptionCmsModuleImportThread
(CmsObject cms, CmsModule module, String path) Creates a new instance.CmsModuleRow
(CmsModule module) Creates a new instance. -
Uses of CmsModule in org.opencms.ui.apps.modules.edit
ModifierConstructorDescriptionCmsEditModuleForm
(CmsModule module, boolean newModule, Runnable updateCallback) Creates a new instance. -
Uses of CmsModule in org.opencms.workplace
Modifier and TypeMethodDescriptionvoid
CmsWorkplaceManager.addExplorerTypeSettings
(CmsModule module) Adds the list of explorer type settings from the given module.void
CmsWorkplaceManager.removeExplorerTypeSettings
(CmsModule module) Removes the list of explorer type settings from the given module.