Interface SpaceApplicationHandler
- All Superinterfaces:
org.exoplatform.container.component.ComponentPlugin
public interface SpaceApplicationHandler
extends org.exoplatform.container.component.ComponentPlugin
Handler for working with space applications: install, activate, deactivate,
uninstall...
- Since:
- Oct 17, 2008
- Author:
- dang.tung, hoatle (hoatlevan at gmail dot com)
-
Method Summary
Modifier and TypeMethodDescriptionvoidactivateApplication(Space space, String appId, String appName) Activates an installed application in a space.voiddeactiveApplication(Space space, String appId) Deactivates an installed application in a space.voidDe-initializes a space application.getName()Gets name.voidinitApps(Space space, SpaceTemplate spaceTemplate) Initializes home space applications and space applications.voidinstallApplication(Space space, String appId) Installs an application to a space.default voidmoveApplication(Space space, String appId, int transition) voidremoveApplication(Space space, String appId, String appName) Removes an application in a space.voidremoveApplications(Space space) Remove all applications in a space.default voidrestoreApplicationLayout(Space space, String appId) Restores a page layout to its default associated to Space TemplateMethods inherited from interface org.exoplatform.container.component.ComponentPlugin
getDescription, setDescription, setName
-
Method Details
-
initApps
Initializes home space applications and space applications.- Parameters:
space-spaceTemplate-- Throws:
SpaceException- Since:
- 1.2.0-GA
-
deInitApp
De-initializes a space application.- Parameters:
space-- Throws:
SpaceException
-
installApplication
Installs an application to a space.- Parameters:
space-appId-- Throws:
SpaceException
-
activateApplication
Activates an installed application in a space.- Parameters:
space-appId-- Throws:
SpaceException
-
deactiveApplication
Deactivates an installed application in a space.- Parameters:
space-appId-- Throws:
SpaceException
-
removeApplication
Removes an application in a space.- Parameters:
space-appId-- Throws:
SpaceException
-
removeApplications
Remove all applications in a space.- Parameters:
space-- Throws:
SpaceException
-
getName
String getName()Gets name.- Specified by:
getNamein interfaceorg.exoplatform.container.component.ComponentPlugin- Returns:
-
moveApplication
- Parameters:
space- Space to change its locationappId- application identifiertransition- positive number to move up and negative number to move down- Throws:
Exception- when error saving moved node
-
restoreApplicationLayout
Restores a page layout to its default associated to Space Template
-