org.infoglue.cms.applications.contenttool.actions
Class ViewContentAction
java.lang.Object
org.infoglue.cms.applications.common.actions.WebworkAbstractAction
org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction
org.infoglue.cms.applications.contenttool.actions.ViewContentAction
- All Implemented Interfaces:
- java.io.Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.ServletRequestAware, webwork.action.ServletResponseAware
- Direct Known Subclasses:
- UpdateContentAction
public class ViewContentAction
- extends InfoGlueAbstractAction
- See Also:
- Serialized Form
| Fields inherited from interface webwork.action.Action |
ERROR, INPUT, LOGIN, NONE, SUCCESS |
| Methods inherited from class org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction |
beginTransaction, closeDatabase, closeTransaction, commitTransaction, encode, getAllowPublicationEventFilter, getAnonymousPrincipal, getCMSBaseUrl, getColorScheme, getComponentRendererAction, getComponentRendererUrl, getCurrentURL, getDisableImageEditor, 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 |
ViewContentAction
public ViewContentAction()
ViewContentAction
public ViewContentAction(ContentVO contentVO)
initialize
protected void initialize(java.lang.Integer contentId)
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
- Specified by:
doExecute in class WebworkAbstractAction
- Throws:
java.lang.Exception
doStandalone
public java.lang.String doStandalone()
throws java.lang.Exception
- Throws:
java.lang.Exception
getContentId
public java.lang.Integer getContentId()
setContentId
public void setContentId(java.lang.Integer contentId)
getRepositoryId
public java.lang.Integer getRepositoryId()
setRepositoryId
public void setRepositoryId(java.lang.Integer repositoryId)
getUnrefreshedContentId
public java.lang.Integer getUnrefreshedContentId()
setUnrefreshedContentId
public void setUnrefreshedContentId(java.lang.Integer unrefreshedContentId)
getChangeTypeId
public java.lang.Integer getChangeTypeId()
setChangeTypeId
public void setChangeTypeId(java.lang.Integer changeTypeId)
getNewContentId
public java.lang.Integer getNewContentId()
getName
public java.lang.String getName()
getPublishDateTime
public java.lang.String getPublishDateTime()
getExpireDateTime
public java.lang.String getExpireDateTime()
getPublishDateTimeAsLong
public long getPublishDateTimeAsLong()
getExpireDateTimeAsLong
public long getExpireDateTimeAsLong()
getIsBranch
public java.lang.Boolean getIsBranch()
getIsProtected
public java.lang.Integer getIsProtected()
getContentTypeDefinition
public ContentTypeDefinitionVO getContentTypeDefinition()
getAvailableLanguages
public java.util.List getAvailableLanguages()
getLatestContentVersionVO
public ContentVersionVO getLatestContentVersionVO(java.lang.Integer contentId,
java.lang.Integer languageId)
getContentVersionEvent
public EventVO getContentVersionEvent(java.lang.Integer contentVersionId)
getContentEvent
public EventVO getContentEvent(java.lang.Integer contentId)
getMasterLanguageId
public java.lang.Integer getMasterLanguageId()
getContentVO
public ContentVO getContentVO()
getContentTypeDefinitions
public java.util.List getContentTypeDefinitions()
throws java.lang.Exception
- This method fetches the list of ContentTypeDefinitions
- Throws:
java.lang.Exception
getContentPath
public java.util.List getContentPath()
setContentVO
public void setContentVO(ContentVO contentVO)
getDefaultFolderContentTypeName
public java.lang.String getDefaultFolderContentTypeName()
getShowContentVersionFirst
public java.lang.String getShowContentVersionFirst()
getMasterLanguageVO
public LanguageVO getMasterLanguageVO()
throws java.lang.Exception
- Throws:
java.lang.Exception
getInitialLanguageVO
public LanguageVO getInitialLanguageVO()
throws java.lang.Exception
- Throws:
java.lang.Exception
getLanguageId
public java.lang.Integer getLanguageId()
getStay
public java.lang.String getStay()
setStay
public void setStay(java.lang.String stay)
getReferenceBeanList
public java.util.List getReferenceBeanList()
Copyright © 2005 InfoGlue.org All Rights Reserved.