org.infoglue.cms.applications.contenttool.actions
Class ViewContentVersionDifferenceAction
java.lang.Object
org.infoglue.cms.applications.common.actions.WebworkAbstractAction
org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction
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
| 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, 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 |
contentTypeDefinitionVO
public ContentTypeDefinitionVO contentTypeDefinitionVO
attributes
public java.util.List attributes
ViewContentVersionDifferenceAction
public ViewContentVersionDifferenceAction()
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.