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

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.ViewContentVersionAction
              extended by org.infoglue.cms.applications.contenttool.actions.UpdateContentVersionAction
All Implemented Interfaces:
java.io.Serializable, webwork.action.Action, webwork.action.CommandDriven, 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
static org.apache.log4j.Logger logger
           
 
Fields inherited from class org.infoglue.cms.applications.contenttool.actions.ViewContentVersionAction
attributes, availableLanguages, contentTypeDefinitionVO
 
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
UpdateContentVersionAction()
           
UpdateContentVersionAction(ContentVersionVO contentVersionVO)
           
 
Method Summary
 java.lang.String doBackground()
           
 java.lang.String doExecute()
          Subclasses implement this
 java.lang.String doSaveAndExit()
           
 java.lang.String doSaveAndExitStandalone()
           
 java.lang.String doStandalone()
           
 java.lang.String getAttributeName()
           
 boolean getConcurrentModification()
           
 java.lang.Integer getContentId()
           
 java.lang.Integer getContentVersionId()
           
 java.lang.Integer getCurrentEditorId()
           
 java.lang.Integer getLanguageId()
           
 long getOldModifiedDateTime()
           
 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 setOldModifiedDateTime(long oldModifiedDateTime)
           
 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, doViewAssetsForComponentBinding, doViewAssetsForFCKEditor, getAllowedClasses, getAssetKey, getAssignedAssetKey, getAssignedContentId, getAttributeValue, getAvailableCategories, getAvailableLanguages, getCloseOnLoad, getComponentId, getComponentPropertyDefinitions, getContentPath, getContentRelationQualifyers, getContentTypeAttributes, getContentTypeDefinitionId, getContentTypeDefinitionName, getContentTypeDefinitionVO, getContentVersionVO, getContentVO, getCSSList, getCSSRules, getDefinedCategoryKeys, getDeliveryBaseUrl, getDigitalAssets, getDigitalAssetThumbnailUrl, getDigitalAssetThumbnailUrl, getDigitalAssetUrl, getDigitalAssetUrl, getEnableCSSPlugin, getEvent, getInheritedDigitalAssets, getIsActive, getIsAssetBinding, getLatestContentVersionVO, getMasterContentVersionVO, getName, getNewContentId, getOldContentId, getPropertyName, getPublishOnLoad, getQualifyerPath, getRelatedCategories, getRepositories, getRepositoryId, getShowSimple, getSiteNodeId, getSiteNodeRelationQualifyers, getTextAreaId, getTreatAsLink, getUnescapedAttributeValue, getWYSIWYGProperties, initialize, initialize, setAssetKey, setAssignedAssetKey, setAssignedContentId, setCloseOnLoad, setComponentId, setConcurrentModification, setContentVersionVO, setDigitalAssetId, setForceWorkingChange, setIsAssetBinding, setNewContentId, setOldContentId, setPropertyName, setPublishOnLoad, setRepositoryId, setShowSimple, setSiteNodeId, setTextAreaId, setTreatAsLink, setVersionComment
 
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
 

Field Detail

logger

public static final org.apache.log4j.Logger logger
Constructor Detail

UpdateContentVersionAction

public UpdateContentVersionAction()

UpdateContentVersionAction

public UpdateContentVersionAction(ContentVersionVO contentVersionVO)
Method Detail

doExecute

public java.lang.String doExecute()
                           throws java.lang.Exception
Description copied from class: WebworkAbstractAction
Subclasses implement this

Overrides:
doExecute in class ViewContentVersionAction
Throws:
java.lang.Exception

doStandalone

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

doSaveAndExit

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

doSaveAndExitStandalone

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

doBackground

public java.lang.String doBackground()
                              throws java.lang.Exception
Overrides:
doBackground in class ViewContentVersionAction
Throws:
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

getOldModifiedDateTime

public long getOldModifiedDateTime()
Overrides:
getOldModifiedDateTime in class ViewContentVersionAction

setOldModifiedDateTime

public void setOldModifiedDateTime(long oldModifiedDateTime)
Overrides:
setOldModifiedDateTime in class ViewContentVersionAction

getConcurrentModification

public boolean getConcurrentModification()
Overrides:
getConcurrentModification in class ViewContentVersionAction


Copyright © 2005 InfoGlue.org All Rights Reserved.