4A Server -
2.0
|
Flier with informations for comet handlers. More...
Package Attributes | |
ArrayList< Subscription > | newSubscriptions = null |
ArrayList< Subscription > | changedSubscriptions = null |
Private Attributes | |
ArrayList< Annotation > | addedAnnotations |
ArrayList< Annotation > | editedAnnotations |
ArrayList< Annotation > | removedAnnotations |
ArrayList< Annotation > | removedNestedAnnotations |
ArrayList< Annotation > | autoUpdatedAnnotations |
ArrayList< AnnotType > | addedTypes |
ArrayList< AnnotType > | editedTypes |
ArrayList< AnnotType > | removedTypes |
ArrayList< TextModification > | textModifications |
ArrayList< TextModification > | reverseTextModifications |
int | textModificationSetID |
Long | CreatedInSessId = null |
EditorSession | CreatedInSession = null |
ArrayList< ArrayList< String > > | justAddedAnnotations |
Flier with informations for comet handlers.
Class for representing flier with informations for comet handlers. It's created as part of informations about client request (class RequestInfo) and then sent to all comet handlers to process.
Definition at line 31 of file Flier.java.
cz.vutbr.fit.knot.annotations.comet.Flier.Flier | ( | ) |
Constructor (initialize arrays)
Definition at line 71 of file Flier.java.
void cz.vutbr.fit.knot.annotations.comet.Flier.AddAddedAnnotation | ( | Annotation | annotation | ) |
Adds added annotation to the list
annotation | Added annotation |
Definition at line 173 of file Flier.java.
void cz.vutbr.fit.knot.annotations.comet.Flier.AddAddedType | ( | AnnotType | annotType | ) |
Adds added annotation type to the list
annotType | Added annotation type |
Definition at line 245 of file Flier.java.
void cz.vutbr.fit.knot.annotations.comet.Flier.addAutoUpdatedAnnotation | ( | Annotation | autoUpdatedAnnotation | ) |
Adds automatically updated annotation to the list
autoUpdatedAnnotation | Automatically updated annotation |
Definition at line 236 of file Flier.java.
void cz.vutbr.fit.knot.annotations.comet.Flier.addChangedSubscription | ( | Subscription | changedSubscription | ) |
Adds changed subscription into list of changed subscriptions.
changedSubscription | changed suscription to add |
Definition at line 381 of file Flier.java.
void cz.vutbr.fit.knot.annotations.comet.Flier.AddEditedAnnotation | ( | Annotation | annotation | ) |
Adds changed annotation to the list
annotation | Changed annotation |
Definition at line 191 of file Flier.java.
void cz.vutbr.fit.knot.annotations.comet.Flier.AddEditedType | ( | AnnotType | annotType | ) |
Adds changed annotation type to the list
annotType | Changed annotation type |
Definition at line 254 of file Flier.java.
void cz.vutbr.fit.knot.annotations.comet.Flier.addJustAddedAnnotation | ( | String | tmpUri, |
String | serverUri | ||
) |
Add pair of uris for just added annotation to list.
tmpUri | temporary uri of just added annotation |
serverUri | server uri of just added annotation |
Definition at line 418 of file Flier.java.
void cz.vutbr.fit.knot.annotations.comet.Flier.addNewSubscription | ( | Subscription | newSubscription | ) |
Adds new subscription into list of newly added subscriptions
newSubscription | New subscription to add |
Definition at line 345 of file Flier.java.
void cz.vutbr.fit.knot.annotations.comet.Flier.AddRemovedAnnotation | ( | Annotation | annotation | ) |
Adds removed annotation to the list
annotation | Removed annotation |
Definition at line 200 of file Flier.java.
void cz.vutbr.fit.knot.annotations.comet.Flier.AddRemovedNestedAnnotation | ( | Annotation | annotation | ) |
Adds removed nested annotation to the list
annotation | Removed nested annotation |
Definition at line 209 of file Flier.java.
void cz.vutbr.fit.knot.annotations.comet.Flier.AddRemovedType | ( | AnnotType | annotType | ) |
Adds removed annotation type to the list
annotType | Removed annotation type |
Definition at line 263 of file Flier.java.
void cz.vutbr.fit.knot.annotations.comet.Flier.AddTextModification | ( | TextModification | modification | ) |
Adds annotated document text modification to the list
modification | Annotated document text modification |
Definition at line 272 of file Flier.java.
void cz.vutbr.fit.knot.annotations.comet.Flier.deleteTmpUri | ( | String | serverUri | ) |
Delete pair of uris of just added annotation from list.
serverUri | server uri of searched couple |
Definition at line 431 of file Flier.java.
ArrayList<Annotation> cz.vutbr.fit.knot.annotations.comet.Flier.getAddedAnnotations | ( | ) |
Gets list of added annotations
Definition at line 92 of file Flier.java.
ArrayList<AnnotType> cz.vutbr.fit.knot.annotations.comet.Flier.getAddedTypes | ( | ) |
Gets list of added annotation types
Definition at line 101 of file Flier.java.
ArrayList<Annotation> cz.vutbr.fit.knot.annotations.comet.Flier.getAutoUpdatedAnnotations | ( | ) |
Gets list of automatically updated annotations
Definition at line 218 of file Flier.java.
ArrayList<Subscription> cz.vutbr.fit.knot.annotations.comet.Flier.getChangedSubscriptions | ( | ) |
Gets list of changed subscriptions.
Definition at line 363 of file Flier.java.
Long cz.vutbr.fit.knot.annotations.comet.Flier.getCreatedInSessId | ( | ) |
Gets id of session from which this flier originated
Definition at line 300 of file Flier.java.
EditorSession cz.vutbr.fit.knot.annotations.comet.Flier.getCreatedInSession | ( | ) |
Gets session from which this flier originated
Definition at line 318 of file Flier.java.
ArrayList<Annotation> cz.vutbr.fit.knot.annotations.comet.Flier.getEditedAnnotations | ( | ) |
Gets list of changed annotations
Definition at line 110 of file Flier.java.
ArrayList<AnnotType> cz.vutbr.fit.knot.annotations.comet.Flier.getEditedTypes | ( | ) |
Gets list of changed annotation types
Definition at line 119 of file Flier.java.
ArrayList<Subscription> cz.vutbr.fit.knot.annotations.comet.Flier.getNewSubscriptions | ( | ) |
Gets list of newly added subscriptions
Definition at line 336 of file Flier.java.
ArrayList<Annotation> cz.vutbr.fit.knot.annotations.comet.Flier.getRemovedAnnotations | ( | ) |
Gets list of removed annotations
Definition at line 128 of file Flier.java.
ArrayList<Annotation> cz.vutbr.fit.knot.annotations.comet.Flier.getRemovedNestedAnnotations | ( | ) |
Gets list of removed nested annotations (due attribute changes)
Definition at line 137 of file Flier.java.
ArrayList<AnnotType> cz.vutbr.fit.knot.annotations.comet.Flier.getRemovedTypes | ( | ) |
Gets list of removed annotation types
Definition at line 146 of file Flier.java.
ArrayList<TextModification> cz.vutbr.fit.knot.annotations.comet.Flier.getReverseTextModifications | ( | ) |
Gets list of annotated document reverse text modifications
Definition at line 164 of file Flier.java.
ArrayList<TextModification> cz.vutbr.fit.knot.annotations.comet.Flier.getTextModifications | ( | ) |
Gets list of annotated document text modifications
Definition at line 155 of file Flier.java.
int cz.vutbr.fit.knot.annotations.comet.Flier.getTextModificationSetID | ( | ) |
Gets text modification set ID
Definition at line 408 of file Flier.java.
String cz.vutbr.fit.knot.annotations.comet.Flier.getTmpUri | ( | String | serverUri | ) |
Finds temporary uri of just added annotation according to server uri.
serverUri | server uri of searched couple |
Definition at line 449 of file Flier.java.
boolean cz.vutbr.fit.knot.annotations.comet.Flier.isInJustAdded | ( | String | serverUri | ) |
Tests if there is pair with given server uri.
serverUri | server uri of searched couple |
Definition at line 469 of file Flier.java.
void cz.vutbr.fit.knot.annotations.comet.Flier.setAddedAnnotations | ( | ArrayList< Annotation > | annotations | ) |
Sets added annotations
annotations | Added annotations in list |
Definition at line 182 of file Flier.java.
void cz.vutbr.fit.knot.annotations.comet.Flier.setAutoUpdatedAnnotations | ( | ArrayList< Annotation > | autoUpdatedAnnotations | ) |
Sets list of automatically updated annotations
autoUpdatedAnnotations | List of automatically updated annotations |
Definition at line 227 of file Flier.java.
void cz.vutbr.fit.knot.annotations.comet.Flier.setChangedSubscriptions | ( | ArrayList< Subscription > | changedSubscriptions | ) |
Set list of changed subscriptions.
changedSubscriptions | list of changed subscriptions |
Definition at line 372 of file Flier.java.
void cz.vutbr.fit.knot.annotations.comet.Flier.setCreatedInSessId | ( | long | CreatedInSessId | ) |
Sets id of session from which this flier originated
CreatedInSessId | Id of session from which this flier originated |
Definition at line 309 of file Flier.java.
void cz.vutbr.fit.knot.annotations.comet.Flier.setCreatedInSession | ( | EditorSession | CreatedInSession | ) |
Sets session from which this flier originated
CreatedInSession | Session from which this flier originated |
Definition at line 327 of file Flier.java.
void cz.vutbr.fit.knot.annotations.comet.Flier.setEditedAnnotations | ( | ArrayList< Annotation > | editedAnnotations | ) |
Sets list of changed annotations
editedAnnotations | List of changed annotations |
Definition at line 390 of file Flier.java.
void cz.vutbr.fit.knot.annotations.comet.Flier.setNewSubscriptions | ( | ArrayList< Subscription > | newSubscriptions | ) |
Sets list of newly added subscriptions
newSubscriptions | List of newly added subscriptions |
Definition at line 354 of file Flier.java.
void cz.vutbr.fit.knot.annotations.comet.Flier.setReverseTextModifications | ( | ArrayList< TextModification > | reverseTextModifications | ) |
Sets the list of annotated document reverse text modifications
reverseTextModifications | List of annotated document reverse text modifications |
Definition at line 291 of file Flier.java.
void cz.vutbr.fit.knot.annotations.comet.Flier.setTextModifications | ( | ArrayList< TextModification > | textModifications | ) |
Sets the list of annotated document text modifications
textModifications | List of annotated document text modifications |
Definition at line 282 of file Flier.java.
void cz.vutbr.fit.knot.annotations.comet.Flier.setTextModificationSetID | ( | int | id | ) |
Sets text modification set ID
id | Text modification set ID |
Definition at line 399 of file Flier.java.
|
private |
List of added annotations
Definition at line 33 of file Flier.java.
|
private |
List of added annotation types
Definition at line 44 of file Flier.java.
|
private |
List of automatically updated annotations
Definition at line 41 of file Flier.java.
|
package |
List of changed subscriptions
Definition at line 64 of file Flier.java.
|
private |
Id of session from which this flier originated
Definition at line 58 of file Flier.java.
|
private |
Session from which this flier originated
Definition at line 60 of file Flier.java.
|
private |
List of changed annotations
Definition at line 35 of file Flier.java.
|
private |
List of changed annotation types
Definition at line 46 of file Flier.java.
|
private |
Array of tmp and serv uri pairs of just added annotations
Definition at line 66 of file Flier.java.
|
package |
List of newly added subscriptions
Definition at line 62 of file Flier.java.
|
private |
List of removed annotations
Definition at line 37 of file Flier.java.
|
private |
List of removed nested annotations (due attribute changes)
Definition at line 39 of file Flier.java.
|
private |
List of removed annotation types
Definition at line 48 of file Flier.java.
|
private |
List of annotated document reverse text modifications
Definition at line 53 of file Flier.java.
|
private |
List of annotated document text modifications
Definition at line 51 of file Flier.java.
|
private |
Text modification set ID
Definition at line 55 of file Flier.java.