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

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.ViewContentAction
              extended by org.infoglue.cms.applications.contenttool.actions.UpdateContentAction
All Implemented Interfaces:
java.io.Serializable, webwork.action.Action, webwork.action.CommandDriven, 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 class org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction
colorScheme
 
Fields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
UpdateContentAction()
           
UpdateContentAction(ContentVO contentVO)
           
 
Method Summary
 java.lang.String doExecute()
          Subclasses implement this
 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, getInitialLanguageVO, getLanguageId, getLatestContentVersionVO, getMasterLanguageId, getMasterLanguageVO, getNewContentId, getPublishDateTime, getPublishDateTimeAsLong, getReferenceBeanList, getShowContentVersionFirst, getStay, getUnrefreshedContentId, initialize, setChangeTypeId, setContentVO, setStay, setUnrefreshedContentId
 
Methods inherited from class org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction
beginTransaction, closeDatabase, closeTransaction, commitTransaction, encode, getAnonymousPrincipal, getCMSBaseUrl, getColorScheme, getComponentRendererAction, getComponentRendererUrl, getCurrentURL, getLanguageCode, getLocale, getLogger, 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

UpdateContentAction

public UpdateContentAction()

UpdateContentAction

public UpdateContentAction(ContentVO contentVO)
Method Detail

doExecute

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

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

doStandalone

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

doSaveAndExit

public java.lang.String doSaveAndExit()
                               throws java.lang.Exception
Throws:
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


Copyright © 2005 InfoGlue.org All Rights Reserved.