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:
- MVCServletHandler
public class ActivationPage
- extends TemplatedMVCHandler
Activation UI.
- Version:
- $Id$
Constructor Summary |
ActivationPage(String name,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
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()
- Description copied from interface:
MVCServletHandler
- Returns the name of the command we want to execute.
- Specified by:
getCommand
in interface MVCServletHandler
- Overrides:
getCommand
in class MVCServletHandlerImpl
- Returns:
- Returns the command.
- 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 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-2013 Magnolia International Ltd.. All Rights Reserved.