org.opencms.setup.xml
Class CmsSetupXmlManager

java.lang.Object
  extended byorg.opencms.setup.xml.CmsSetupXmlManager

public class CmsSetupXmlManager
extends java.lang.Object

Manages all changes to be made to xml configuration files.

Since:
6.1.8
Version:
$Revision: 1.3 $
Author:
Michael Moossen

Constructor Summary
CmsSetupXmlManager()
          Default constructor.
 
Method Summary
 void execute(CmsSetupBean setupBean)
          Executes all user selected plugins.
 java.util.Map getPlugins()
          Returns the plugins.
 java.lang.String htmlAvailablePlugins(CmsSetupBean setupBean)
          Returns html for displaying a plugin selection box.
 void setSelectedPlugins(java.lang.String value)
          Bean property setter method user from the step_5_xmlupdate.jsp.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmsSetupXmlManager

public CmsSetupXmlManager()
Default constructor.

Method Detail

execute

public void execute(CmsSetupBean setupBean)
             throws java.lang.Exception
Executes all user selected plugins.

Parameters:
setupBean - the setup bean
Throws:
java.lang.Exception - if something goes wrong

getPlugins

public java.util.Map getPlugins()
Returns the plugins.

Returns:
a map of [filenames, list of plugins]

htmlAvailablePlugins

public java.lang.String htmlAvailablePlugins(CmsSetupBean setupBean)
                                      throws java.lang.Exception
Returns html for displaying a plugin selection box.

Parameters:
setupBean - the setup bean
Returns:
html code
Throws:
java.lang.Exception - if something goes wrong

setSelectedPlugins

public void setSelectedPlugins(java.lang.String value)
Bean property setter method user from the step_5_xmlupdate.jsp.

Parameters:
value - the value to set