Class ChangesPane


  • public class ChangesPane
    extends BaseElement
    Displays the differences between two versions of a document.
    Since:
    4.2M1
    Version:
    $Id: 72e590b82e899c1c1e48ab209daff2338dc30a10 $
    • Constructor Detail

      • ChangesPane

        public ChangesPane()
    • Method Detail

      • getFromVersionSummary

        public String getFromVersionSummary()
        Returns:
        the summary of the from version
      • getToVersionSummary

        public String getToVersionSummary()
        Returns:
        the summary of the to version
      • getChangeComment

        public String getChangeComment()
        Returns:
        the comment of the to version
      • hasNoChanges

        public boolean hasNoChanges()
        Returns:
        true if the "No changes" message is displayed and there are no diffs displayed, false otherwise
      • getDiffSummary

        public DocumentDiffSummary getDiffSummary()
        Returns:
        the summary for the displayed changes
      • getChangedEntities

        public List<String> getChangedEntities()
        Returns:
        the names (labels) for the entities that have been modified (have modified properties)
      • getEntityDiff

        public EntityDiff getEntityDiff​(String label)
        Parameters:
        label - the entity label
        Returns:
        the changes for the specified entity
      • clickPreviousChange

        public void clickPreviousChange()
        Click the previous change button
      • clickNextChange

        public void clickNextChange()
        Click the next change button
      • clickPreviousFromVersion

        public void clickPreviousFromVersion()
        Click the previous change button of the original document
      • clickNextFromVersion

        public void clickNextFromVersion()
        Click the next change button of the original document
      • clickPreviousToVersion

        public void clickPreviousToVersion()
        Click the previous change button of the new document
      • clickNextToVersion

        public void clickNextToVersion()
        Click the next change button of the new document
      • hasPreviousChange

        public boolean hasPreviousChange()
        Returns:
        the presence of the previous change button
      • hasNextChange

        public boolean hasNextChange()
        Returns:
        the presence of the next change button
      • hasPreviousFromVersion

        public boolean hasPreviousFromVersion()
        Returns:
        the presence of the previous change button of the original document
      • hasNextFromVersion

        public boolean hasNextFromVersion()
        Returns:
        the presence of the next change button of the original document
      • hasPreviousToVersion

        public boolean hasPreviousToVersion()
        Returns:
        the presence of the previous change button of the new document
      • hasNextToVersion

        public boolean hasNextToVersion()
        Returns:
        the presence of the next change button of the new document
      • getFromVersion

        public String getFromVersion()
        Returns:
        the original document version
      • getToVersion

        public String getToVersion()
        Returns:
        the new document version