info.magnolia.module.ui
Class ModuleManagerWebUI

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

public class ModuleManagerWebUI
extends 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 String INSTALLER_PATH
           
 
Constructor Summary
ModuleManagerWebUI(ModuleManager moduleManager)
           
 
Method Summary
 boolean execute(Writer out, String command)
           
 void onStartup()
           
protected  void performInstallOrUpdate()
           
protected  void render(String templateName, Writer out)
           
 void renderTempPage(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 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(Writer out,
                       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(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(String templateName,
                      Writer out)
               throws ModuleManagementException
Throws:
ModuleManagementException


Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.