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:
webwork.action.Action, webwork.action.CommandDriven, java.io.Serializable, webwork.action.ServletRequestAware, webwork.action.ServletResponseAware
Direct Known Subclasses:
UpdateContentAction

public class ViewContentAction
extends InfoGlueAbstractAction

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
ViewContentAction()
           
ViewContentAction(ContentVO contentVO)
           
 
Method Summary
 java.lang.String doExecute()
           
 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()
           
 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()
           
 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, 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

ViewContentAction

public ViewContentAction()

ViewContentAction

public ViewContentAction(ContentVO contentVO)
Method Detail

doExecute

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

doStandalone

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

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