org.infoglue.cms.applications.contenttool.actions
Class ExportContentAction

java.lang.Object
  extended by org.infoglue.cms.applications.common.actions.WebworkAbstractAction
      extended by org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction
          extended by org.infoglue.cms.applications.contenttool.actions.ExportContentAction
All Implemented Interfaces:
java.io.Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.ServletRequestAware, webwork.action.ServletResponseAware

public class ExportContentAction
extends InfoGlueAbstractAction

This class handles Exporting of a repository to an XML-file.

Author:
mattias
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction
colorScheme
 
Fields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
ExportContentAction()
           
 
Method Summary
protected  java.lang.String doExecute()
          This handles the actual exporting.
 java.lang.String doInput()
          This shows the dialog before export.
 java.lang.Integer getContentId()
           
 java.util.List getContents()
           
 java.lang.String getFileName()
           
 java.lang.String getFileUrl()
           
 java.lang.Integer getRepositoryId()
           
 void setContentId(java.lang.Integer contentId)
           
 void setRepositoryId(java.lang.Integer repositoryId)
           
 
Methods inherited from class org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction
beginTransaction, closeDatabase, closeTransaction, commitTransaction, encode, getAllowPublicationEventFilter, getAnonymousPrincipal, getCMSBaseUrl, getColorScheme, getComponentRendererAction, getComponentRendererUrl, getCurrentURL, getDisableCustomIcons, getDisableImageEditor, getEnableDateTimeDirectEditing, getInfoGluePrincipal, getLanguageCode, getLocale, getLogoutURL, getOriginalFullURL, getParameter, getPrincipalPropertyHashValues, getPrincipalPropertyValue, getPrincipalPropertyValue, getSessionTimeout, getSingleParameter, getThis, getToolId, getToolLocales, getURLBase, getUserName, hasAccessTo, hasAccessTo, rollbackTransaction, setColorScheme, setLanguageCode, setToolId
 
Methods inherited from class org.infoglue.cms.applications.common.actions.WebworkAbstractAction
doDefault, execute, getBrowserBean, getCurrentUrl, getError, getErrors, getHttpSession, getInfoGluePrincipal, getLocalizedString, getRequest, getResponse, getRoot, getSession, setCommand, setError, setServletRequest, setServletResponse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExportContentAction

public ExportContentAction()
Method Detail

doInput

public java.lang.String doInput()
                         throws java.lang.Exception
This shows the dialog before export.

Returns:
Throws:
java.lang.Exception

doExecute

protected java.lang.String doExecute()
                              throws java.lang.Exception
This handles the actual exporting.

Specified by:
doExecute in class WebworkAbstractAction
Throws:
java.lang.Exception

setRepositoryId

public void setRepositoryId(java.lang.Integer repositoryId)

setContentId

public void setContentId(java.lang.Integer contentId)

getFileName

public java.lang.String getFileName()

getFileUrl

public java.lang.String getFileUrl()

getRepositoryId

public java.lang.Integer getRepositoryId()

getContentId

public java.lang.Integer getContentId()

getContents

public java.util.List getContents()


Copyright © 2005 InfoGlue.org All Rights Reserved.