|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnl.gx.webmanager.wcb.lifecycle.WCBLifecycleManager
nl.gx.webmanager.wcb.lifecycle.WCBUninstallManager
public class WCBUninstallManager
This class implements the business logic that should be performed upon uninstallation of an OSGi bundle. It removes Siteworks objects like language labels and RBAC permissions, removed database entities like wmJellyContentType and performs all other actions that are necessary to remove all objects created during installation of the OSGi bundle. Note that this lifecycle is attached to the UNINSTALLED lifecycle of the OSGi bundle. The uninstall knows nothing about components.
| Field Summary |
|---|
| Fields inherited from class nl.gx.webmanager.wcb.lifecycle.WCBLifecycleManager |
|---|
myBundle, myBundleDefinition, myComponentManager, myIsWCB, myPreferencesService, myRepositoryService |
| Constructor Summary | |
|---|---|
WCBUninstallManager(nl.gx.webmanager.wcb.componentmanager.impl.ComponentManagerImpl componentManager,
org.osgi.framework.Bundle bundle)
Constructor of the uninstallation manager. |
|
| Method Summary | |
|---|---|
boolean |
uninstall()
Do the actual uninstallation of the component bundle. |
| Methods inherited from class nl.gx.webmanager.wcb.lifecycle.WCBLifecycleManager |
|---|
deleteBundleResources, deleteResourcesFromDisk, getBaseDirectory, getWebrootDirectory, purgePreferences, setBooleanPreference, setLanguageResources, setLastModified, startInfoMessage, stopInfoMessage, validateWCBKey, validateWCBKey |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WCBUninstallManager(nl.gx.webmanager.wcb.componentmanager.impl.ComponentManagerImpl componentManager,
org.osgi.framework.Bundle bundle)
componentManager - Component manager the lifecycle manager is created from.bundle - The bundle that needs to be uninstalled.| Method Detail |
|---|
public boolean uninstall()
true if the update succeeded, false otherwise
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||