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

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.ViewContentVersionDifferenceAction
All Implemented Interfaces:
java.io.Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.ServletRequestAware, webwork.action.ServletResponseAware

public class ViewContentVersionDifferenceAction
extends InfoGlueAbstractAction

Author:
Mattias Bogeblad Present a comparison between two content versions.
See Also:
Serialized Form

Field Summary
 java.util.List attributes
           
 ContentTypeDefinitionVO contentTypeDefinitionVO
           
 
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
ViewContentVersionDifferenceAction()
           
 
Method Summary
protected  java.lang.String doExecute()
          Subclasses implement this
 java.util.List getAttributes()
           
 ContentTypeDefinitionVO getContentTypeDefinitionVO()
           
 java.lang.Integer getContentVersionId1()
           
 java.lang.Integer getContentVersionId2()
           
 ContentVersionVO getContentVersionVO1()
           
 ContentVersionVO getContentVersionVO2()
           
 java.lang.String getUnescapedAttributeValue(ContentVersionVO contentVersionVO, java.lang.String key)
          This method fetches a value from the xml that is the contentVersions Value.
 void setContentVersionId1(java.lang.Integer contentVersionId1)
           
 void setContentVersionId2(java.lang.Integer contentVersionId2)
           
 
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
 

Field Detail

contentTypeDefinitionVO

public ContentTypeDefinitionVO contentTypeDefinitionVO

attributes

public java.util.List attributes
Constructor Detail

ViewContentVersionDifferenceAction

public ViewContentVersionDifferenceAction()
Method Detail

doExecute

protected 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

getUnescapedAttributeValue

public java.lang.String getUnescapedAttributeValue(ContentVersionVO contentVersionVO,
                                                   java.lang.String key)
This method fetches a value from the xml that is the contentVersions Value. If the contentVersioVO is null the contentVersion has not been created yet and no values are present.


getContentVersionId1

public java.lang.Integer getContentVersionId1()

setContentVersionId1

public void setContentVersionId1(java.lang.Integer contentVersionId1)

getContentVersionId2

public java.lang.Integer getContentVersionId2()

setContentVersionId2

public void setContentVersionId2(java.lang.Integer contentVersionId2)

getAttributes

public java.util.List getAttributes()

getContentTypeDefinitionVO

public ContentTypeDefinitionVO getContentTypeDefinitionVO()

getContentVersionVO1

public ContentVersionVO getContentVersionVO1()

getContentVersionVO2

public ContentVersionVO getContentVersionVO2()


Copyright © 2005 InfoGlue.org All Rights Reserved.