org.infoglue.cms.applications.structuretool.actions
Class ViewSiteNodeAction

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.structuretool.actions.ViewSiteNodeAction
All Implemented Interfaces:
java.io.Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.ServletRequestAware, webwork.action.ServletResponseAware
Direct Known Subclasses:
UpdateSiteNodeAction

public class ViewSiteNodeAction
extends InfoGlueAbstractAction

This class represents the view of a siteNode to the user. In fact - it presents the view of the siteNode as well as the view of the latest siteNodeVersion as well.

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
ViewSiteNodeAction()
           
ViewSiteNodeAction(SiteNodeVO siteNodeVO, SiteNodeVersionVO siteNodeVersionVO)
           
 
Method Summary
 java.lang.String doChangeState()
           
 java.lang.String doCommentVersion()
           
 java.lang.String doExecute()
          Subclasses implement this
 java.util.List getAvailableLanguages()
           
 java.util.List getAvailableServiceBindings()
           
 java.lang.Integer getChangeTypeId()
           
 java.lang.String getContentType()
           
 java.lang.String getDest()
           
 java.util.List getDisabledLanguages()
           
 java.lang.Integer getDisableEditOnSight()
           
 java.lang.Integer getDisableLanguages()
           
 java.lang.Integer getDisablePageCache()
           
 java.lang.String getExpireDateTime()
           
 long getExpireDateTimeAsLong()
           
 java.lang.Boolean getIsBranch()
           
 java.lang.Integer getIsProtected()
           
 boolean getIsSiteNodeTypeDefinitionAssigned()
           
 java.util.List getListPreparedQualifyers(java.lang.Integer serviceBindingId)
           
 java.lang.String getName()
           
 java.lang.String getPageCacheKey()
           
 java.lang.String getPublishDateTime()
           
 long getPublishDateTimeAsLong()
           
 java.lang.String getQualifyerDescription(java.lang.Integer serviceBindingId)
          This method fetches a description of the qualifyer.
 java.util.List getReferenceBeanList()
           
 java.util.List getReferencingBeanList()
           
 java.lang.Integer getRepositoryId()
           
 java.util.List getServiceBindings()
           
 java.lang.String getShowComponentsFirst()
           
 EventVO getSiteNodeEvent(java.lang.Integer siteNodeId)
           
 java.lang.Integer getSiteNodeId()
           
 SiteNodeTypeDefinitionVO getSiteNodeTypeDefinition()
           
 java.util.List getSiteNodeTypeDefinitions()
          This method fetches the list of SiteNodeTypeDefinitions
 SiteNodeVersionVO getSiteNodeVersion()
           
 EventVO getSiteNodeVersionEvent(java.lang.Integer siteNodeVersionId)
           
 java.lang.Integer getSiteNodeVersionId()
           
 SiteNodeVersionVO getSiteNodeVersionVO()
           
 java.util.List getSortedAvailableContentServiceBindings()
          This method sorts a list of available service bindings on the name of the binding.
 java.util.List getSortedAvailableServiceBindings()
          This method sorts a list of available service bindings on the name of the binding.
 java.util.List getSortedAvailableStructureServiceBindings()
          This method sorts a list of available service bindings on the name of the binding.
 java.lang.String getStateDescription(java.lang.Integer siteNodeId, java.lang.Integer languageId)
           
 java.lang.Integer getStateId()
           
 java.lang.String getStay()
           
 java.lang.Integer getUnrefreshedSiteNodeId()
           
 java.lang.String getVersionComment()
           
protected  void initialize(java.lang.Integer siteNodeId)
           
protected  void initialize(java.lang.Integer siteNodeId, org.exolab.castor.jdo.Database db)
           
protected  void initializeSiteNodeCover(java.lang.Integer siteNodeId)
           
protected  void initializeSiteNodeCover(java.lang.Integer siteNodeId, org.exolab.castor.jdo.Database db)
           
 void setChangeTypeId(java.lang.Integer changeTypeId)
           
 void setContentType(java.lang.String contentType)
           
 void setDisableEditOnSight(java.lang.Integer disableEditOnSight)
           
 void setDisableLanguages(java.lang.Integer disableLanguages)
           
 void setDisablePageCache(java.lang.Integer disablePageCache)
           
 void setIsProtected(java.lang.Integer isProtected)
           
 void setPageCacheKey(java.lang.String pageCacheKey)
           
 void setRepositoryId(java.lang.Integer repositoryId)
           
 void setSiteNodeId(java.lang.Integer siteNodeId)
           
 void setSiteNodeVersionId(java.lang.Integer siteNodeVersionId)
           
 void setStateId(java.lang.Integer stateId)
           
 void setStay(java.lang.String stay)
           
 void setUnrefreshedSiteNodeId(java.lang.Integer unrefreshedSiteNodeId)
           
 void setVersionComment(java.lang.String versionComment)
           
 
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

ViewSiteNodeAction

public ViewSiteNodeAction()

ViewSiteNodeAction

public ViewSiteNodeAction(SiteNodeVO siteNodeVO,
                          SiteNodeVersionVO siteNodeVersionVO)
Method Detail

initialize

protected void initialize(java.lang.Integer siteNodeId)
                   throws java.lang.Exception
Throws:
java.lang.Exception

initialize

protected void initialize(java.lang.Integer siteNodeId,
                          org.exolab.castor.jdo.Database db)
                   throws java.lang.Exception
Throws:
java.lang.Exception

initializeSiteNodeCover

protected void initializeSiteNodeCover(java.lang.Integer siteNodeId)
                                throws java.lang.Exception
Throws:
java.lang.Exception

initializeSiteNodeCover

protected void initializeSiteNodeCover(java.lang.Integer siteNodeId,
                                       org.exolab.castor.jdo.Database db)
                                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

doChangeState

public java.lang.String doChangeState()
                               throws java.lang.Exception
Throws:
java.lang.Exception

doCommentVersion

public java.lang.String doCommentVersion()
                                  throws java.lang.Exception
Throws:
java.lang.Exception

getSiteNodeId

public java.lang.Integer getSiteNodeId()

getIsSiteNodeTypeDefinitionAssigned

public boolean getIsSiteNodeTypeDefinitionAssigned()

setSiteNodeId

public void setSiteNodeId(java.lang.Integer siteNodeId)

getRepositoryId

public java.lang.Integer getRepositoryId()

setRepositoryId

public void setRepositoryId(java.lang.Integer repositoryId)

getUnrefreshedSiteNodeId

public java.lang.Integer getUnrefreshedSiteNodeId()

setUnrefreshedSiteNodeId

public void setUnrefreshedSiteNodeId(java.lang.Integer unrefreshedSiteNodeId)

getChangeTypeId

public java.lang.Integer getChangeTypeId()

setChangeTypeId

public void setChangeTypeId(java.lang.Integer changeTypeId)

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

getContentType

public java.lang.String getContentType()

setContentType

public void setContentType(java.lang.String contentType)

getPageCacheKey

public java.lang.String getPageCacheKey()

setPageCacheKey

public void setPageCacheKey(java.lang.String pageCacheKey)

getDisableEditOnSight

public java.lang.Integer getDisableEditOnSight()

setDisableEditOnSight

public void setDisableEditOnSight(java.lang.Integer disableEditOnSight)

getDisableLanguages

public java.lang.Integer getDisableLanguages()

setDisableLanguages

public void setDisableLanguages(java.lang.Integer disableLanguages)

getDisablePageCache

public java.lang.Integer getDisablePageCache()

setDisablePageCache

public void setDisablePageCache(java.lang.Integer disablePageCache)

getIsProtected

public java.lang.Integer getIsProtected()

setIsProtected

public void setIsProtected(java.lang.Integer isProtected)

setStateId

public void setStateId(java.lang.Integer stateId)

getStateId

public java.lang.Integer getStateId()

getSiteNodeVersion

public SiteNodeVersionVO getSiteNodeVersion()

getSiteNodeVersionId

public java.lang.Integer getSiteNodeVersionId()

setSiteNodeVersionId

public void setSiteNodeVersionId(java.lang.Integer siteNodeVersionId)

setVersionComment

public void setVersionComment(java.lang.String versionComment)

getVersionComment

public java.lang.String getVersionComment()

getSiteNodeTypeDefinition

public SiteNodeTypeDefinitionVO getSiteNodeTypeDefinition()

getAvailableServiceBindings

public java.util.List getAvailableServiceBindings()

getShowComponentsFirst

public java.lang.String getShowComponentsFirst()

getSortedAvailableServiceBindings

public java.util.List getSortedAvailableServiceBindings()
This method sorts a list of available service bindings on the name of the binding.


getSortedAvailableContentServiceBindings

public java.util.List getSortedAvailableContentServiceBindings()
This method sorts a list of available service bindings on the name of the binding.


getSortedAvailableStructureServiceBindings

public java.util.List getSortedAvailableStructureServiceBindings()
This method sorts a list of available service bindings on the name of the binding.


getServiceBindings

public java.util.List getServiceBindings()

getStateDescription

public java.lang.String getStateDescription(java.lang.Integer siteNodeId,
                                            java.lang.Integer languageId)

getQualifyerDescription

public java.lang.String getQualifyerDescription(java.lang.Integer serviceBindingId)
                                         throws java.lang.Exception
This method fetches a description of the qualifyer.

Throws:
java.lang.Exception

getListPreparedQualifyers

public java.util.List getListPreparedQualifyers(java.lang.Integer serviceBindingId)
                                         throws java.lang.Exception
Throws:
java.lang.Exception

getSiteNodeTypeDefinitions

public java.util.List getSiteNodeTypeDefinitions()
                                          throws java.lang.Exception
This method fetches the list of SiteNodeTypeDefinitions

Throws:
java.lang.Exception

getSiteNodeVersionEvent

public EventVO getSiteNodeVersionEvent(java.lang.Integer siteNodeVersionId)

getSiteNodeEvent

public EventVO getSiteNodeEvent(java.lang.Integer siteNodeId)

getSiteNodeVersionVO

public SiteNodeVersionVO getSiteNodeVersionVO()

getStay

public java.lang.String getStay()

setStay

public void setStay(java.lang.String stay)

getDest

public java.lang.String getDest()

getReferenceBeanList

public java.util.List getReferenceBeanList()

getAvailableLanguages

public java.util.List getAvailableLanguages()

getDisabledLanguages

public java.util.List getDisabledLanguages()

getReferencingBeanList

public java.util.List getReferencingBeanList()


Copyright © 2005 InfoGlue.org All Rights Reserved.