info.magnolia.module.admininterface.pages
Class ImportPage

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.admininterface.pages.ExportPage
                      extended by info.magnolia.module.admininterface.pages.ImportPage
All Implemented Interfaces:
info.magnolia.cms.servlets.MVCServletHandler

public class ImportPage
extends ExportPage

Version:
$Id: ImportPage.java 32667 2010-03-13 00:37:06Z gjoseph $
Author:
Fabrizio Giustina

Field Summary
 
Fields inherited from class info.magnolia.module.admininterface.pages.ExportPage
mgnlKeepVersions, mgnlPath, mgnlRepository, MIME_APPLICATION_ZIP, MIME_GZIP, MIME_TEXT_XML, VIEW_EXPORT
 
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
ImportPage(String name, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Method Summary
 String getCommand()
           
 info.magnolia.cms.beans.runtime.Document getMgnlFileImport()
          Getter for mgnlFileImport.
 String getMgnlRedirect()
          Getter for mgnlRedirect.
 int getMgnlUuidBehavior()
          Getter for mgnlUuidBehavior.
 String importxml()
           
 void setMgnlFileImport(info.magnolia.cms.beans.runtime.Document mgnlFileImport)
          Setter for mgnlFileImport.
 void setMgnlRedirect(String mgnlRedirect)
          Setter for mgnlRedirect.
 void setMgnlUuidBehavior(int mgnlUuidBehavior)
          Setter for mgnlUuidBehavior.
 
Methods inherited from class info.magnolia.module.admininterface.pages.ExportPage
checkPermissions, exportxml, getExt, getMessages, getMgnlPath, getMgnlRepository, getRepositories, isExportxml, isMgnlFormat, isMgnlKeepVersions, renderHtml, setExportxml, setExt, setMgnlFormat, setMgnlKeepVersions, setMgnlPath, setMgnlRepository
 
Methods inherited from class info.magnolia.module.admininterface.TemplatedMVCHandler
getTemplateName
 
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

ImportPage

public ImportPage(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 ExportPage
See Also:
ExportPage.getCommand()

getMgnlFileImport

public info.magnolia.cms.beans.runtime.Document getMgnlFileImport()
Getter for mgnlFileImport.

Returns:
Returns the mgnlFileImport.

setMgnlFileImport

public void setMgnlFileImport(info.magnolia.cms.beans.runtime.Document mgnlFileImport)
Setter for mgnlFileImport.

Parameters:
mgnlFileImport - The mgnlFileImport to set.

getMgnlRedirect

public String getMgnlRedirect()
Getter for mgnlRedirect.

Returns:
Returns the mgnlRedirect.

setMgnlRedirect

public void setMgnlRedirect(String mgnlRedirect)
Setter for mgnlRedirect.

Parameters:
mgnlRedirect - The mgnlRedirect to set.

getMgnlUuidBehavior

public int getMgnlUuidBehavior()
Getter for mgnlUuidBehavior.

Returns:
Returns the mgnlUuidBehavior.

setMgnlUuidBehavior

public void setMgnlUuidBehavior(int mgnlUuidBehavior)
Setter for mgnlUuidBehavior.

Parameters:
mgnlUuidBehavior - The mgnlUuidBehavior to set.

importxml

public String importxml()
                 throws Exception
Throws:
Exception


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