org.infoglue.cms.applications.contenttool.actions
Class ExportContentAction
java.lang.Object
org.infoglue.cms.applications.common.actions.WebworkAbstractAction
org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction
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
| Fields inherited from interface webwork.action.Action |
ERROR, INPUT, LOGIN, NONE, SUCCESS |
| 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 |
ExportContentAction
public ExportContentAction()
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.