14 package cz.vutbr.fit.knot.annotations.comet;
 
   20 import java.util.ArrayList;
 
   21 import java.util.Iterator;
 
   72     this.addedAnnotations = 
new ArrayList<Annotation>();
 
   73     this.editedAnnotations = 
new ArrayList<Annotation>();
 
   74     this.removedAnnotations = 
new ArrayList<Annotation>();
 
   75     this.removedNestedAnnotations = 
new ArrayList<Annotation>();
 
   76     this.autoUpdatedAnnotations = 
new ArrayList<Annotation>();
 
   77     this.addedTypes = 
new ArrayList<AnnotType>();
 
   78     this.editedTypes = 
new ArrayList<AnnotType>();
 
   79     this.removedTypes = 
new ArrayList<AnnotType>();
 
   80     this.textModifications = 
new ArrayList<TextModification>();
 
   81     this.reverseTextModifications = 
new ArrayList<TextModification>();
 
   82     this.newSubscriptions = 
new ArrayList<Subscription>();
 
   83     this.changedSubscriptions = 
new ArrayList<Subscription>();
 
   84     this.justAddedAnnotations = 
new ArrayList<ArrayList<String>>();
 
  174     addedAnnotations.add(annotation);
 
  192     editedAnnotations.add(annotation);
 
  201     removedAnnotations.add(annotation);
 
  210     removedNestedAnnotations.add(annotation);
 
  237     this.autoUpdatedAnnotations.add(autoUpdatedAnnotation);
 
  246     addedTypes.add(annotType);
 
  255     editedTypes.add(annotType);
 
  264     removedTypes.add(annotType);
 
  273     textModifications.add(modification);
 
  346     this.newSubscriptions.add(newSubscription);
 
  382     this.changedSubscriptions.add(changedSubscription);
 
  400     this.textModificationSetID = id;
 
  409     return this.textModificationSetID;
 
  419     ArrayList<String> justAddedAnnot = 
new ArrayList<String>(2);
 
  420     justAddedAnnot.add(tmpUri);
 
  421     justAddedAnnot.add(serverUri);
 
  423     this.justAddedAnnotations.add(justAddedAnnot);
 
  432     Iterator<ArrayList<String>> addedIt = justAddedAnnotations.iterator();
 
  433     while(addedIt.hasNext()){
 
  434       ArrayList<String> addedAnnot = addedIt.next();
 
  435       if(addedAnnot.get(1).equals(serverUri)){
 
  436         String result = addedAnnot.get(0);
 
  450     Iterator<ArrayList<String>> addedIt = justAddedAnnotations.iterator();
 
  451     while(addedIt.hasNext()){
 
  452       ArrayList<String> addedAnnot = addedIt.next();
 
  453       if(addedAnnot.get(1).equals(serverUri)){
 
  454         String result = addedAnnot.get(0);
 
  470     Iterator<ArrayList<String>> addedIt = justAddedAnnotations.iterator();
 
  471     while(addedIt.hasNext()){
 
  472       ArrayList<String> addedAnnot = addedIt.next();
 
  473       if(addedAnnot.get(1).equals(serverUri)){
 
ArrayList< AnnotType > getEditedTypes()
Class representing subscription. 
ArrayList< Subscription > newSubscriptions
boolean isInJustAdded(String serverUri)
ArrayList< TextModification > getReverseTextModifications()
EditorSession getCreatedInSession()
ArrayList< Annotation > removedAnnotations
ArrayList< AnnotType > addedTypes
String getTmpUri(String serverUri)
void AddRemovedNestedAnnotation(Annotation annotation)
void setAutoUpdatedAnnotations(ArrayList< Annotation > autoUpdatedAnnotations)
void setEditedAnnotations(ArrayList< Annotation > editedAnnotations)
ArrayList< ArrayList< String > > justAddedAnnotations
ArrayList< TextModification > textModifications
void AddTextModification(TextModification modification)
ArrayList< Annotation > getAutoUpdatedAnnotations()
void AddRemovedType(AnnotType annotType)
void deleteTmpUri(String serverUri)
void AddEditedType(AnnotType annotType)
int getTextModificationSetID()
ArrayList< Annotation > getEditedAnnotations()
void setChangedSubscriptions(ArrayList< Subscription > changedSubscriptions)
Class representing type of annotation. 
ArrayList< Annotation > getAddedAnnotations()
void setTextModifications(ArrayList< TextModification > textModifications)
Class representing modification of annotated document text. 
ArrayList< Subscription > getChangedSubscriptions()
void addChangedSubscription(Subscription changedSubscription)
Flier with informations for comet handlers. 
ArrayList< Subscription > changedSubscriptions
EditorSession CreatedInSession
void AddEditedAnnotation(Annotation annotation)
void setAddedAnnotations(ArrayList< Annotation > annotations)
void setCreatedInSession(EditorSession CreatedInSession)
ArrayList< TextModification > getTextModifications()
void addNewSubscription(Subscription newSubscription)
void setNewSubscriptions(ArrayList< Subscription > newSubscriptions)
ArrayList< AnnotType > editedTypes
void addJustAddedAnnotation(String tmpUri, String serverUri)
ArrayList< Annotation > getRemovedAnnotations()
ArrayList< Annotation > addedAnnotations
ArrayList< Annotation > autoUpdatedAnnotations
void setCreatedInSessId(long CreatedInSessId)
ArrayList< Subscription > getNewSubscriptions()
ArrayList< Annotation > editedAnnotations
ArrayList< TextModification > reverseTextModifications
ArrayList< AnnotType > getRemovedTypes()
Long getCreatedInSessId()
void setTextModificationSetID(int id)
Informations about client session. 
void setReverseTextModifications(ArrayList< TextModification > reverseTextModifications)
ArrayList< AnnotType > getAddedTypes()
ArrayList< Annotation > removedNestedAnnotations
Class representing annotation. 
ArrayList< AnnotType > removedTypes
void AddAddedAnnotation(Annotation annotation)
int textModificationSetID
void AddRemovedAnnotation(Annotation annotation)
void addAutoUpdatedAnnotation(Annotation autoUpdatedAnnotation)
void AddAddedType(AnnotType annotType)
ArrayList< Annotation > getRemovedNestedAnnotations()