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
| 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, 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 |
ViewContentAction
public ViewContentAction()
ViewContentAction
public ViewContentAction(ContentVO contentVO)
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()