org.exoplatform.wiki.webui
Class UIWikiPageVersionsCompare

java.lang.Object
  extended by org.exoplatform.webui.core.UIComponent
      extended by org.exoplatform.webui.core.UIContainer
          extended by org.exoplatform.wiki.webui.core.UIWikiContainer
              extended by org.exoplatform.wiki.webui.UIWikiPageVersionsCompare

public class UIWikiPageVersionsCompare
extends UIWikiContainer


Nested Class Summary
static class UIWikiPageVersionsCompare.CompareActionListener
           
 
Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.core.UIContainer.SelectTabActionListener
 
Field Summary
static String COMPARE_ACTION
           
static String FROM_PARAM
           
static String SHOW_HISTORY
           
static String TO_PARAM
           
static String VIEW_REVISION
           
 
Fields inherited from class org.exoplatform.wiki.webui.core.UIWikiContainer
accept_Modes
 
Fields inherited from class org.exoplatform.webui.core.UIComponent
AJAX_ASYNC, config, OBJECTID, UICOMPONENT, uiparent
 
Constructor Summary
UIWikiPageVersionsCompare()
           
 
Method Summary
 int getChanges()
           
 String getCurrentVersionIndex()
           
 String getDifferencesAsHTML()
           
 org.exoplatform.wiki.chromattic.ext.ntdef.NTVersion getFromVersion()
           
 String getFromVersionAuthor()
           
 String getFromVersionName()
           
 String getFromVersionUpdateDate()
           
 org.exoplatform.wiki.chromattic.ext.ntdef.NTVersion getToVersion()
           
 String getToVersionAuthor()
           
 String getToVersionName()
           
 String getToVersionUpdateDate()
           
 List<org.exoplatform.wiki.chromattic.ext.ntdef.NTVersion> getVersions()
           
 void renderVersionsDifference(List<org.exoplatform.wiki.chromattic.ext.ntdef.NTVersion> versions, int from, int to)
           
 void setChanges(int changes)
           
 void setCurrentVersionIndex(String currentVersionIndex)
           
 void setDifferencesAsHTML(String differencesAsHTML)
           
 void setFromVersion(org.exoplatform.wiki.chromattic.ext.ntdef.NTVersion fromVersion)
           
 void setToVersion(org.exoplatform.wiki.chromattic.ext.ntdef.NTVersion toVersion)
           
 void setVersions(List<org.exoplatform.wiki.chromattic.ext.ntdef.NTVersion> versions)
           
 
Methods inherited from class org.exoplatform.wiki.webui.core.UIWikiContainer
getAccept_Modes, getCurrentMode, processRender, setAccept_Modes
 
Methods inherited from class org.exoplatform.webui.core.UIContainer
addChild, addChild, findComponentById, findComponentOfType, findFirstComponentOfType, getChild, getChild, getChildById, getChildren, hasChildren, removeChild, removeChildById, renderChild, renderChild, renderChild, renderChild, renderChildren, renderChildren, renderUIComponent, replaceChild, replaceChild, setChildren, setRenderedChild, setRenderedChild, setRenderedChildrenOfTypes
 
Methods inherited from class org.exoplatform.webui.core.UIComponent
broadcast, createEvent, createUIComponent, createUIComponent, createUIComponent, doAsync, event, event, event, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getName, getParent, getTemplate, getTemplateResourceResolver, getUIComponentName, isRendered, loadConfirmMesssage, processAction, processDecode, renderEventURL, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibling, url, url, url
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SHOW_HISTORY

public static final String SHOW_HISTORY
See Also:
Constant Field Values

VIEW_REVISION

public static final String VIEW_REVISION
See Also:
Constant Field Values

COMPARE_ACTION

public static final String COMPARE_ACTION
See Also:
Constant Field Values

FROM_PARAM

public static final String FROM_PARAM
See Also:
Constant Field Values

TO_PARAM

public static final String TO_PARAM
See Also:
Constant Field Values
Constructor Detail

UIWikiPageVersionsCompare

public UIWikiPageVersionsCompare()
Method Detail

getVersions

public List<org.exoplatform.wiki.chromattic.ext.ntdef.NTVersion> getVersions()

setVersions

public void setVersions(List<org.exoplatform.wiki.chromattic.ext.ntdef.NTVersion> versions)

getDifferencesAsHTML

public String getDifferencesAsHTML()

setDifferencesAsHTML

public void setDifferencesAsHTML(String differencesAsHTML)

getCurrentVersionIndex

public String getCurrentVersionIndex()

setCurrentVersionIndex

public void setCurrentVersionIndex(String currentVersionIndex)

getFromVersion

public org.exoplatform.wiki.chromattic.ext.ntdef.NTVersion getFromVersion()

setFromVersion

public void setFromVersion(org.exoplatform.wiki.chromattic.ext.ntdef.NTVersion fromVersion)
                    throws Exception
Throws:
Exception

getFromVersionName

public String getFromVersionName()

getFromVersionAuthor

public String getFromVersionAuthor()

getFromVersionUpdateDate

public String getFromVersionUpdateDate()

getToVersion

public org.exoplatform.wiki.chromattic.ext.ntdef.NTVersion getToVersion()

setToVersion

public void setToVersion(org.exoplatform.wiki.chromattic.ext.ntdef.NTVersion toVersion)
                  throws Exception
Throws:
Exception

getToVersionName

public String getToVersionName()

getToVersionAuthor

public String getToVersionAuthor()

getToVersionUpdateDate

public String getToVersionUpdateDate()

getChanges

public int getChanges()

setChanges

public void setChanges(int changes)

renderVersionsDifference

public void renderVersionsDifference(List<org.exoplatform.wiki.chromattic.ext.ntdef.NTVersion> versions,
                                     int from,
                                     int to)
                              throws Exception
Throws:
Exception


Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.