Class WikiDiff
- java.lang.Object
-
- fr.paris.lutece.plugins.wiki.service.WikiDiff
-
- All Implemented Interfaces:
Serializable
public class WikiDiff extends Object implements Serializable
Wiki Diff- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetChange()Gets changesStringgetNewText()Gets new textStringgetOldText()Gets old textintgetPosition()Gets the positionList<WikiDiff>getSubDiffs()Gets diffsvoidsetNewText(String strNewText)Sets new textvoidsetOldText(String strOldText)Sets old textvoidsetPosition(int nPosition)Sets the positionvoidsetSubDiffs(List<WikiDiff> liistSubDiffs)Sets the diffs list
-
-
-
Method Detail
-
getChange
public boolean getChange()
Gets changes- Returns:
- true if there is changes
-
getNewText
public String getNewText()
Gets new text- Returns:
- The new text
-
setNewText
public void setNewText(String strNewText)
Sets new text- Parameters:
strNewText- The new text
-
getOldText
public String getOldText()
Gets old text- Returns:
- The old text
-
setOldText
public void setOldText(String strOldText)
Sets old text- Parameters:
strOldText- The old text
-
getPosition
public int getPosition()
Gets the position- Returns:
- The position
-
setPosition
public void setPosition(int nPosition)
Sets the position- Parameters:
nPosition- The position
-
-