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

java.lang.Object
  |
  +--org.infoglue.cms.applications.common.actions.WebworkAbstractAction
        |
        +--org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction
              |
              +--org.infoglue.cms.applications.contenttool.actions.ViewContentVersionAction
                    |
                    +--org.infoglue.cms.applications.contenttool.actions.UpdateContentVersionAction
All Implemented Interfaces:
webwork.action.Action, webwork.action.CommandDriven, java.io.Serializable, webwork.action.ServletRequestAware, webwork.action.ServletResponseAware

public class UpdateContentVersionAction
extends ViewContentVersionAction

This is the action-class for UpdateContentVersionVersion

Author:
Mattias Bogeblad
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.infoglue.cms.applications.contenttool.actions.ViewContentVersionAction
attributes, availableLanguages, contentTypeDefinitionVO
 
Fields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
UpdateContentVersionAction()
           
UpdateContentVersionAction(ContentVersionVO contentVersionVO)
           
 
Method Summary
 java.lang.String doBackground()
           
 java.lang.String doExecute()
           
 java.lang.String doSaveAndExit()
           
 java.lang.String doSaveAndExitStandalone()
           
 java.lang.String doStandalone()
           
 java.lang.String getAttributeName()
           
 java.lang.Integer getContentId()
           
 java.lang.Integer getContentVersionId()
           
 java.lang.Integer getCurrentEditorId()
           
 java.lang.Integer getLanguageId()
           
 java.lang.Integer getStateId()
           
 java.lang.String getVersionComment()
           
 java.lang.String getVersionValue()
           
 void setAttributeName(java.lang.String attributeName)
           
 void setContentId(java.lang.Integer contentId)
           
 void setContentVersionId(java.lang.Integer contentVersionId)
           
 void setCurrentEditorId(java.lang.Integer integer)
           
 void setLanguageId(java.lang.Integer languageId)
           
 void setStateId(java.lang.Integer stateId)
           
 void setVersionValue(java.lang.String versionValue)
           
 
Methods inherited from class org.infoglue.cms.applications.contenttool.actions.ViewContentVersionAction
doDeleteDigitalAsset, doDeleteDigitalAssetStandalone, doPreview, doViewAssets, doViewAssetsDialog, doViewAssetsDialogForFCKEditor, doViewAssetsForFCKEditor, getAllowedClasses, getAssetKey, getAttributeValue, getAvailableCategories, getAvailableLanguages, getCloseOnLoad, getContentPath, getContentRelationQualifyers, getContentTypeAttributes, getContentTypeDefinitionId, getContentTypeDefinitionName, getContentVersionVO, getContentVO, getCSSList, getCSSRules, getDefinedCategoryKeys, getDeliveryBaseUrl, getDigitalAssets, getDigitalAssetThumbnailUrl, getDigitalAssetThumbnailUrl, getDigitalAssetUrl, getDigitalAssetUrl, getEnableCSSPlugin, getEvent, getInheritedDigitalAssets, getIsActive, getName, getNewContentId, getOldContentId, getQualifyerPath, getRelatedCategories, getRepositories, getRepositoryId, getSiteNodeId, getSiteNodeRelationQualifyers, getTextAreaId, getTreatAsLink, getUnescapedAttributeValue, getWYSIWYGProperties, setAssetKey, setCloseOnLoad, setContentVersionVO, setDigitalAssetId, setNewContentId, setOldContentId, setRepositoryId, setSiteNodeId, setTextAreaId, setTreatAsLink, setVersionComment
 
Methods inherited from class org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction
beginTransaction, closeDatabase, closeTransaction, encode, getCMSBaseUrl, getColorScheme, getComponentRendererAction, getComponentRendererUrl, getCurrentURL, getLanguageCode, getLocale, getPrincipalPropertyHashValues, getPrincipalPropertyValue, getPrincipalPropertyValue, getSessionTimeout, getThis, getURLBase, getUserName, hasAccessTo, hasAccessTo, rollbackTransaction, setColorScheme
 
Methods inherited from class org.infoglue.cms.applications.common.actions.WebworkAbstractAction
doDefault, execute, getBrowserBean, getCurrentUrl, getError, getErrors, getInfoGluePrincipal, getLocalizedString, getRoot, getSession, setCommand, setServletRequest, setServletResponse
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdateContentVersionAction

public UpdateContentVersionAction()

UpdateContentVersionAction

public UpdateContentVersionAction(ContentVersionVO contentVersionVO)
Method Detail

doExecute

public java.lang.String doExecute()
                           throws java.lang.Exception
Overrides:
doExecute in class ViewContentVersionAction
java.lang.Exception

doStandalone

public java.lang.String doStandalone()
                              throws java.lang.Exception
Overrides:
doStandalone in class ViewContentVersionAction
java.lang.Exception

doSaveAndExit

public java.lang.String doSaveAndExit()
                               throws java.lang.Exception
java.lang.Exception

doSaveAndExitStandalone

public java.lang.String doSaveAndExitStandalone()
                                         throws java.lang.Exception
java.lang.Exception

doBackground

public java.lang.String doBackground()
                              throws java.lang.Exception
Overrides:
doBackground in class ViewContentVersionAction
java.lang.Exception

setContentVersionId

public void setContentVersionId(java.lang.Integer contentVersionId)
Overrides:
setContentVersionId in class ViewContentVersionAction

getContentVersionId

public java.lang.Integer getContentVersionId()
Overrides:
getContentVersionId in class ViewContentVersionAction

setStateId

public void setStateId(java.lang.Integer stateId)
Overrides:
setStateId in class ViewContentVersionAction

getStateId

public java.lang.Integer getStateId()
Overrides:
getStateId in class ViewContentVersionAction

setContentId

public void setContentId(java.lang.Integer contentId)
Overrides:
setContentId in class ViewContentVersionAction

getContentId

public java.lang.Integer getContentId()
Overrides:
getContentId in class ViewContentVersionAction

setLanguageId

public void setLanguageId(java.lang.Integer languageId)
Overrides:
setLanguageId in class ViewContentVersionAction

getLanguageId

public java.lang.Integer getLanguageId()
Overrides:
getLanguageId in class ViewContentVersionAction

getVersionValue

public java.lang.String getVersionValue()

setVersionValue

public void setVersionValue(java.lang.String versionValue)

getCurrentEditorId

public java.lang.Integer getCurrentEditorId()
Overrides:
getCurrentEditorId in class ViewContentVersionAction

setCurrentEditorId

public void setCurrentEditorId(java.lang.Integer integer)
Overrides:
setCurrentEditorId in class ViewContentVersionAction

getAttributeName

public java.lang.String getAttributeName()
Overrides:
getAttributeName in class ViewContentVersionAction

getVersionComment

public java.lang.String getVersionComment()
Overrides:
getVersionComment in class ViewContentVersionAction

setAttributeName

public void setAttributeName(java.lang.String attributeName)
Overrides:
setAttributeName in class ViewContentVersionAction