Package de.xima.fc.plugin.lifecycle
Class DefaultPluginLifecycleData
- java.lang.Object
 - 
- de.xima.fc.plugin.lifecycle.DefaultPluginLifecycleData
 
 
- 
- All Implemented Interfaces:
 IPluginDefaultLifecycleData,IPluginInitializeBeanData,IPluginInitializeData,IPluginInstallData,IPluginShutdownData,IPluginUninstallData
- Direct Known Subclasses:
 DefaultPluginValidationData
public class DefaultPluginLifecycleData extends Object implements IPluginInitializeData, IPluginInitializeBeanData, IPluginShutdownData, IPluginInstallData, IPluginUninstallData
- Author:
 - XIMA MEDIA GmbH
 
 
- 
- 
Field Summary
- 
Fields inherited from interface de.xima.fc.interfaces.plugin.lifecycle.IPluginDefaultLifecycleData
SYSTEM_SCOPE_KEY 
 - 
 
- 
Constructor Summary
Constructors Constructor Description DefaultPluginLifecycleData(PluginRuntime runtime) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MandantgetClient()Gets the client where the plugin is installed ornullif it is installed in system-scopeIPluginFileHelpergetFileHelper()Gets the helper-class for working with plugin-filesFrontendServergetFrontendServer()Gets the frontend-server where the plugin is installed ornullif it is installed on an master-serverIPluginManifestgetManifest()Gets the manifest of the plugin.PropertiesgetProperties()Returns the properties of the pluginIPluginResourceHelpergetResourceHelper()Gets the helper-class for working with resourcesStringgetRuntimeKey()Returns the plugin-runtime-keyStringgetScopeKey()Returns the plugin scope-key: Could be theIPluginDefaultLifecycleData.SYSTEM_SCOPE_KEYor the uuid of the client 
 - 
 
- 
- 
Constructor Detail
- 
DefaultPluginLifecycleData
public DefaultPluginLifecycleData(PluginRuntime runtime)
 
 - 
 
- 
Method Detail
- 
getScopeKey
public String getScopeKey()
Description copied from interface:IPluginDefaultLifecycleDataReturns the plugin scope-key: Could be theIPluginDefaultLifecycleData.SYSTEM_SCOPE_KEYor the uuid of the client- Specified by:
 getScopeKeyin interfaceIPluginDefaultLifecycleData- Returns:
 Stringuuid orIPluginDefaultLifecycleData.SYSTEM_SCOPE_KEY
 
- 
getManifest
public IPluginManifest getManifest()
Description copied from interface:IPluginDefaultLifecycleDataGets the manifest of the plugin.- Specified by:
 getManifestin interfaceIPluginDefaultLifecycleData- Returns:
 - The manifest of the plugin.
 
 
- 
getRuntimeKey
public String getRuntimeKey()
Description copied from interface:IPluginDefaultLifecycleDataReturns the plugin-runtime-key- Specified by:
 getRuntimeKeyin interfaceIPluginDefaultLifecycleData- Returns:
 Stringthe plugin-runtime-key
 
- 
getClient
public Mandant getClient()
Description copied from interface:IPluginDefaultLifecycleDataGets the client where the plugin is installed ornullif it is installed in system-scope- Specified by:
 getClientin interfaceIPluginDefaultLifecycleData- Returns:
 Mandantornull if the plugin is installed in system-scope
 
- 
getFrontendServer
public FrontendServer getFrontendServer()
Description copied from interface:IPluginDefaultLifecycleDataGets the frontend-server where the plugin is installed ornullif it is installed on an master-server- Specified by:
 getFrontendServerin interfaceIPluginDefaultLifecycleData- Returns:
 FrontendServerornull if the plugin is installed in on an master-server
 
- 
getProperties
public Properties getProperties()
Description copied from interface:IPluginDefaultLifecycleDataReturns the properties of the plugin- Specified by:
 getPropertiesin interfaceIPluginDefaultLifecycleData- Returns:
 Properties
 
- 
getFileHelper
public IPluginFileHelper getFileHelper()
Description copied from interface:IPluginDefaultLifecycleDataGets the helper-class for working with plugin-files- Specified by:
 getFileHelperin interfaceIPluginDefaultLifecycleData- Returns:
 IPluginFileHelper
 
- 
getResourceHelper
public IPluginResourceHelper getResourceHelper()
Description copied from interface:IPluginDefaultLifecycleDataGets the helper-class for working with resources- Specified by:
 getResourceHelperin interfaceIPluginDefaultLifecycleData- Returns:
 IPluginResourceHelper
 
 - 
 
 -