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

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

public class UpdateContentAction
extends ViewContentAction

This is the action-class for UpdateContent

Author:
Mattias Bogeblad
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
UpdateContentAction()
           
UpdateContentAction(ContentVO contentVO)
           
 
Method Summary
 java.lang.String doExecute()
           
 java.lang.String doSaveAndExit()
           
 java.lang.String doStandalone()
           
 java.lang.Integer getContentId()
           
 java.lang.Boolean getIsBranch()
           
 java.lang.Integer getIsProtected()
           
 java.lang.String getName()
           
 java.lang.Integer getRepositoryId()
           
 void setContentId(java.lang.Integer contentId)
           
 void setContentTypeDefinitionId(java.lang.Integer contentTypeDefinitionId)
           
 void setExpireDateTime(java.lang.String expireDateTime)
           
 void setIsBranch(java.lang.Boolean isBranch)
           
 void setIsProtected(java.lang.Integer isProtected)
           
 void setName(java.lang.String name)
           
 void setPublishDateTime(java.lang.String publishDateTime)
           
 void setRepositoryId(java.lang.Integer repositoryId)
           
 
Methods inherited from class org.infoglue.cms.applications.contenttool.actions.ViewContentAction
getAvailableLanguages, getChangeTypeId, getContentEvent, getContentPath, getContentTypeDefinition, getContentTypeDefinitions, getContentVersionEvent, getContentVO, getDefaultFolderContentTypeName, getExpireDateTime, getExpireDateTimeAsLong, getLanguageId, getLatestContentVersionVO, getMasterLanguageId, getMasterLanguageVO, getNewContentId, getPublishDateTime, getPublishDateTimeAsLong, getReferenceBeanList, getShowContentVersionFirst, getStay, getUnrefreshedContentId, setChangeTypeId, setContentVO, setStay, setUnrefreshedContentId
 
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

UpdateContentAction

public UpdateContentAction()

UpdateContentAction

public UpdateContentAction(ContentVO contentVO)
Method Detail

doExecute

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

doStandalone

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

doSaveAndExit

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

setContentId

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

getContentId

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

getName

public java.lang.String getName()
Overrides:
getName in class ViewContentAction

getIsBranch

public java.lang.Boolean getIsBranch()
Overrides:
getIsBranch in class ViewContentAction

setName

public void setName(java.lang.String name)

getIsProtected

public java.lang.Integer getIsProtected()
Overrides:
getIsProtected in class ViewContentAction

setIsProtected

public void setIsProtected(java.lang.Integer isProtected)

setPublishDateTime

public void setPublishDateTime(java.lang.String publishDateTime)

setExpireDateTime

public void setExpireDateTime(java.lang.String expireDateTime)

setIsBranch

public void setIsBranch(java.lang.Boolean isBranch)

setContentTypeDefinitionId

public void setContentTypeDefinitionId(java.lang.Integer contentTypeDefinitionId)

setRepositoryId

public void setRepositoryId(java.lang.Integer repositoryId)
Overrides:
setRepositoryId in class ViewContentAction

getRepositoryId

public java.lang.Integer getRepositoryId()
Overrides:
getRepositoryId in class ViewContentAction