info.magnolia.module.exchangesimple.pages
Class ActivationPage

java.lang.Object
  extended by info.magnolia.cms.servlets.MVCServletHandlerImpl
      extended by info.magnolia.cms.servlets.CommandBasedMVCServletHandler
          extended by info.magnolia.module.admininterface.PageMVCHandler
              extended by info.magnolia.module.admininterface.TemplatedMVCHandler
                  extended by info.magnolia.module.exchangesimple.pages.ActivationPage
All Implemented Interfaces:
info.magnolia.cms.servlets.MVCServletHandler

public class ActivationPage
extends info.magnolia.module.admininterface.TemplatedMVCHandler

Activation UI.

Version:
$Id$

Field Summary
 
Fields inherited from class info.magnolia.module.admininterface.PageMVCHandler
COMMAND_PARAMETER_NAME, COMMAND_SHOW, VIEW_SHOW
 
Fields inherited from class info.magnolia.cms.servlets.MVCServletHandlerImpl
exception, request, response, VIEW_ERROR, VIEW_SUCCESS
 
Fields inherited from interface info.magnolia.cms.servlets.MVCServletHandler
VIEW_NOTHING
 
Constructor Summary
ActivationPage(String name, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Method Summary
protected  boolean checkPermissions(javax.servlet.http.HttpServletRequest request, String repository, String basePath, long permissionType)
          Uses access manager to authorize this request.
 String generateKeys()
          Actually perform backup.
 String getCommand()
           
 String getCurrentPublicKey()
           
 int getKeyLength()
           
 info.magnolia.cms.i18n.Messages getMessages()
           
 boolean isGenerateKeys()
           
 boolean isSuccess()
           
 void setGenerateKeys(boolean generateKeys)
           
 void setKeyLength(int keyLength)
           
 void setSuccess(boolean success)
           
 
Methods inherited from class info.magnolia.module.admininterface.TemplatedMVCHandler
getTemplateName, renderHtml
 
Methods inherited from class info.magnolia.module.admininterface.PageMVCHandler
getForm, getI18nBasename, getMsgs, getParams, init, setForm, setI18nBasename, setMsgs, setParams, show
 
Methods inherited from class info.magnolia.cms.servlets.CommandBasedMVCServletHandler
execute, findCommand, getCatalogueName, getCommandContext, getViewNameAfterExecution, setCatalogueName
 
Methods inherited from class info.magnolia.cms.servlets.MVCServletHandlerImpl
getException, getExceptionStackTrace, getName, getRequest, getResponse, populateFromRequest, setCommand, setRequest, setResponse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActivationPage

public ActivationPage(String name,
                      javax.servlet.http.HttpServletRequest request,
                      javax.servlet.http.HttpServletResponse response)
Parameters:
name -
request -
response -
Method Detail

getCommand

public String getCommand()
Specified by:
getCommand in interface info.magnolia.cms.servlets.MVCServletHandler
Overrides:
getCommand in class info.magnolia.cms.servlets.MVCServletHandlerImpl
See Also:
MVCServletHandlerImpl.getCommand()

generateKeys

public String generateKeys()
                    throws Exception
Actually perform backup.

Throws:
Exception

getCurrentPublicKey

public String getCurrentPublicKey()

checkPermissions

protected boolean checkPermissions(javax.servlet.http.HttpServletRequest request,
                                   String repository,
                                   String basePath,
                                   long permissionType)
Uses access manager to authorize this request.

Parameters:
request - HttpServletRequest as received by the service method
Returns:
boolean true if read access is granted

getMessages

public info.magnolia.cms.i18n.Messages getMessages()

getKeyLength

public int getKeyLength()

setKeyLength

public void setKeyLength(int keyLength)

isGenerateKeys

public boolean isGenerateKeys()

setGenerateKeys

public void setGenerateKeys(boolean generateKeys)

isSuccess

public boolean isSuccess()

setSuccess

public void setSuccess(boolean success)


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