Daisy Open Source CMS

org.outerj.daisy.docdiff
Interface DocDiffOutput


public interface DocDiffOutput


Method Summary
 void begin()
           
 void beginFieldChanges()
           
 void beginLinkChanges()
           
 void beginPartChanges()
           
 void end()
           
 void endFieldChanges()
           
 void endLinkChanges()
           
 void endPartChanges()
           
 void fieldAdded(Field addedField)
           
 void fieldRemoved(Field removedField)
           
 void fieldUpdated(Field version1Field, Field version2Field)
           
 void linkAdded(Link link)
           
 void linkRemoved(Link link)
           
 void partAdded(Part addedPart)
           
 void partMightBeUpdated(Part version2Part)
           
 void partRemoved(Part removedPart)
           
 void partUnchanged(Part unchangedPart)
           
 void partUpdated(Part version1Part, Part version2Part, String part1Data, String part2Data)
          The parameters part1Data and part2Data are either both null or both have a value.
 

Method Detail

begin

void begin()
           throws Exception
Throws:
Exception

end

void end()
         throws Exception
Throws:
Exception

beginPartChanges

void beginPartChanges()
                      throws Exception
Throws:
Exception

partRemoved

void partRemoved(Part removedPart)
                 throws Exception
Throws:
Exception

partAdded

void partAdded(Part addedPart)
               throws Exception
Throws:
Exception

partUnchanged

void partUnchanged(Part unchangedPart)
                   throws Exception
Throws:
Exception

partUpdated

void partUpdated(Part version1Part,
                 Part version2Part,
                 String part1Data,
                 String part2Data)
                 throws Exception
The parameters part1Data and part2Data are either both null or both have a value. The have a value if the parts contain textual data and the data of both parts is different.

Throws:
Exception

partMightBeUpdated

void partMightBeUpdated(Part version2Part)
                        throws Exception
Throws:
Exception

endPartChanges

void endPartChanges()
                    throws Exception
Throws:
Exception

beginFieldChanges

void beginFieldChanges()
                       throws Exception
Throws:
Exception

endFieldChanges

void endFieldChanges()
                     throws Exception
Throws:
Exception

fieldAdded

void fieldAdded(Field addedField)
                throws Exception
Throws:
Exception

fieldRemoved

void fieldRemoved(Field removedField)
                  throws Exception
Throws:
Exception

fieldUpdated

void fieldUpdated(Field version1Field,
                  Field version2Field)
                  throws Exception
Throws:
Exception

beginLinkChanges

void beginLinkChanges()
                      throws Exception
Throws:
Exception

linkRemoved

void linkRemoved(Link link)
                 throws Exception
Throws:
Exception

linkAdded

void linkAdded(Link link)
               throws Exception
Throws:
Exception

endLinkChanges

void endLinkChanges()
                    throws Exception
Throws:
Exception

Daisy Open Source CMS