info.magnolia.module.exchangesimple.pages
Class ActivationPage
java.lang.Object
info.magnolia.cms.servlets.MVCServletHandlerImpl
info.magnolia.cms.servlets.CommandBasedMVCServletHandler
info.magnolia.module.admininterface.PageMVCHandler
info.magnolia.module.admininterface.TemplatedMVCHandler
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$
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)
|
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 |
ActivationPage
public ActivationPage(String name,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
- Parameters:
name
- request
- response
-
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.