public class Module extends Object
Plugin and represents some functionality: model, view, field, etc. Modules are instantiated by
ModuleFactory.plugins and modules lifecycle| Constructor and Description |
|---|
Module() |
| Modifier and Type | Method and Description |
|---|---|
void |
disable()
Callback invoke when plugin change its state from
PluginState.ENABLED. |
void |
disableOnStartup()
Callback invoke once on application startup, if plugin isn't or won't be enabled - neither
PluginState.ENABLED nor
PluginState.ENABLING. |
void |
enable()
Callback invoke when plugin change its state to
PluginState.ENABLED. |
void |
enableOnStartup()
Callback invoke once on application startup, if plugin is enabled - in state
PluginState.ENABLED. |
void |
init()
Callback invoke once on application startup.
|
void |
multiTenantDisable()
Version of
disable() for multi-tenant environments. |
void |
multiTenantDisableOnStartup()
Version of
disableOnStartup() for multi-tenant environments. |
void |
multiTenantEnable()
Version of
enable() for multi-tenant environments. |
void |
multiTenantEnableOnStartup()
Version of
enableOnStartup() for multi-tenant environments. |
public void disable()
PluginState.ENABLED.public void disableOnStartup()
PluginState.ENABLED nor
PluginState.ENABLING.public void enable()
PluginState.ENABLED.public void enableOnStartup()
PluginState.ENABLED.public void init()
public void multiTenantDisable()
disable() for multi-tenant environments. Will be invoke for every tenant once. If there is no
tenant it won't be invoke.public void multiTenantDisableOnStartup()
disableOnStartup() for multi-tenant environments. Will be invoke for every tenant once. If there
is no tenant it won't be invoke.public void multiTenantEnable()
enable() for multi-tenant environments. Will be invoke for every tenant once. If there is no
tenant it won't be invoke.public void multiTenantEnableOnStartup()
enableOnStartup() for multi-tenant environments. Will be invoke for every tenant once. If there
is no tenant it won't be invoke.Copyright © 2010-2025 Qcadoo Limited