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:
- 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
| Fields inherited from interface webwork.action.Action |
ERROR, INPUT, LOGIN, NONE, SUCCESS |
| Methods inherited from class org.infoglue.cms.applications.contenttool.actions.ViewContentAction |
getAvailableLanguages, getChangeTypeId, getContentEvent, getContentPath, getContentTypeDefinition, getContentVersionEvent, getContentVO, 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, 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 |
UpdateContentAction
public UpdateContentAction()
UpdateContentAction
public UpdateContentAction(ContentVO contentVO)
doInputContentType
public java.lang.String doInputContentType()
throws java.lang.Exception
- Throws:
java.lang.Exception
doChangeContentType
public java.lang.String doChangeContentType()
throws java.lang.Exception
- Throws:
java.lang.Exception
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
getContentTypeDefinitions
public java.util.List getContentTypeDefinitions()
throws java.lang.Exception
- This method fetches the list of ContentTypeDefinitions
- Overrides:
getContentTypeDefinitions in class ViewContentAction
- Throws:
java.lang.Exception
getDefaultFolderContentTypeName
public java.lang.String getDefaultFolderContentTypeName()
- Overrides:
getDefaultFolderContentTypeName in class ViewContentAction
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
getNewContentTypeDefinitionId
public java.lang.Integer getNewContentTypeDefinitionId()
setNewContentTypeDefinitionId
public void setNewContentTypeDefinitionId(java.lang.Integer newContentTypeDefinitionId)
Copyright © 2005 InfoGlue.org All Rights Reserved.