fr.paris.lutece.plugins.wiki.service
Class WikiDiff

java.lang.Object
  extended by fr.paris.lutece.plugins.wiki.service.WikiDiff
All Implemented Interfaces:
Serializable

public class WikiDiff
extends Object
implements Serializable

Wiki Diff

See Also:
Serialized Form

Constructor Summary
WikiDiff()
          Constructor
WikiDiff(String strOldText, String strNewText, int nPosition)
           
 
Method Summary
 boolean getChange()
          Gets changes
 String getNewText()
          Gets new text
 String getOldText()
          Gets old text
 int getPosition()
          Gets the position
 List<WikiDiff> getSubDiffs()
          Gets diffs
 void setNewText(String strNewText)
          Sets new text
 void setOldText(String strOldText)
          Sets old text
 void setPosition(int nPosition)
          Sets the position
 void setSubDiffs(List<WikiDiff> liistSubDiffs)
          Sets the diffs list
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WikiDiff

public WikiDiff()
Constructor


WikiDiff

public WikiDiff(String strOldText,
                String strNewText,
                int nPosition)
Parameters:
strOldText - Old Text
strNewText - New Text
nPosition - Position
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

getSubDiffs

public List<WikiDiff> getSubDiffs()
Gets diffs

Returns:
The diffs

setSubDiffs

public void setSubDiffs(List<WikiDiff> liistSubDiffs)
Sets the diffs list

Parameters:
liistSubDiffs - The list


Copyright © 2013 Mairie de Paris. All Rights Reserved.