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

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
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

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
ViewContentAction()
           
ViewContentAction(ContentVO contentVO)
           
 
Method Summary
 java.lang.String doExecute()
          Subclasses implement this
 java.lang.String doStandalone()
           
 java.util.List getAvailableLanguages()
           
 java.lang.Integer getChangeTypeId()
           
 EventVO getContentEvent(java.lang.Integer contentId)
           
 java.lang.Integer getContentId()
           
 java.util.List getContentPath()
           
 ContentTypeDefinitionVO getContentTypeDefinition()
           
 java.util.List getContentTypeDefinitions()
          This method fetches the list of ContentTypeDefinitions
 EventVO getContentVersionEvent(java.lang.Integer contentVersionId)
           
 ContentVO getContentVO()
           
 java.lang.String getDefaultFolderContentTypeName()
           
 java.lang.String getExpireDateTime()
           
 long getExpireDateTimeAsLong()
           
 LanguageVO getInitialLanguageVO()
           
 java.lang.Boolean getIsBranch()
           
 java.lang.Integer getIsProtected()
           
 java.lang.Integer getLanguageId()
           
 ContentVersionVO getLatestContentVersionVO(java.lang.Integer contentId, java.lang.Integer languageId)
           
 java.lang.Integer getMasterLanguageId()
           
 LanguageVO getMasterLanguageVO()
           
 java.lang.String getName()
           
 java.lang.Integer getNewContentId()
           
 java.lang.String getPublishDateTime()
           
 long getPublishDateTimeAsLong()
           
 java.util.List getReferenceBeanList()
           
 java.lang.Integer getRepositoryId()
           
 java.lang.String getShowContentVersionFirst()
           
 java.lang.String getStay()
           
 java.lang.Integer getUnrefreshedContentId()
           
protected  void initialize(java.lang.Integer contentId)
           
 void setChangeTypeId(java.lang.Integer changeTypeId)
           
 void setContentId(java.lang.Integer contentId)
           
 void setContentVO(ContentVO contentVO)
           
 void setRepositoryId(java.lang.Integer repositoryId)
           
 void setStay(java.lang.String stay)
           
 void setUnrefreshedContentId(java.lang.Integer unrefreshedContentId)
           
 
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

ViewContentAction

public ViewContentAction()

ViewContentAction

public ViewContentAction(ContentVO contentVO)
Method Detail

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.