info.magnolia.module.ui
Class ModuleManagerWebUI

java.lang.Object
  extended by info.magnolia.module.ui.ModuleManagerWebUI
All Implemented Interfaces:
ModuleManagerUI

public class ModuleManagerWebUI
extends java.lang.Object
implements ModuleManagerUI

An implementation of ModuleManagerWebUI which is meant to be used through a web interface, with human interaction.

Version:
$Revision: $ ($Author: $)
Author:
gjoseph

Field Summary
static java.lang.String INSTALLER_PATH
           
 
Constructor Summary
ModuleManagerWebUI(ModuleManager moduleManager)
           
 
Method Summary
 boolean execute(java.io.Writer out, java.lang.String command)
           
 void onStartup()
           
protected  void performInstallOrUpdate()
           
protected  void render(java.lang.String templateName, java.io.Writer out)
           
 void renderTempPage(java.io.Writer out)
          Not used anymore since 4.4 - but keeping this around; in the future, we might re-use this, as the page shown to regular users while the Magnolia instance is being updated by an admin; only admin(s) would have access to the update status pages.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTALLER_PATH

public static final java.lang.String INSTALLER_PATH
See Also:
Constant Field Values
Constructor Detail

ModuleManagerWebUI

public ModuleManagerWebUI(ModuleManager moduleManager)
Method Detail

onStartup

public void onStartup()
Specified by:
onStartup in interface ModuleManagerUI

execute

public boolean execute(java.io.Writer out,
                       java.lang.String command)
                throws ModuleManagementException
Specified by:
execute in interface ModuleManagerUI
Returns:
a boolean indicating if the request should go through or pause until next user action.
Throws:
ModuleManagementException

renderTempPage

public void renderTempPage(java.io.Writer out)
                    throws ModuleManagementException
Description copied from interface: ModuleManagerUI
Not used anymore since 4.4 - but keeping this around; in the future, we might re-use this, as the page shown to regular users while the Magnolia instance is being updated by an admin; only admin(s) would have access to the update status pages.

Specified by:
renderTempPage in interface ModuleManagerUI
Throws:
ModuleManagementException

performInstallOrUpdate

protected void performInstallOrUpdate()

render

protected void render(java.lang.String templateName,
                      java.io.Writer out)
               throws ModuleManagementException
Throws:
ModuleManagementException


Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.