4A Server -  2.0
 All Classes Namespaces Files Functions Variables Enumerator
cz.vutbr.fit.knot.annotations.comet.Flier Class Reference

Flier with informations for comet handlers. More...

Collaboration diagram for cz.vutbr.fit.knot.annotations.comet.Flier:
Collaboration graph

Public Member Functions

 Flier ()
 
ArrayList< AnnotationgetAddedAnnotations ()
 
ArrayList< AnnotTypegetAddedTypes ()
 
ArrayList< AnnotationgetEditedAnnotations ()
 
ArrayList< AnnotTypegetEditedTypes ()
 
ArrayList< AnnotationgetRemovedAnnotations ()
 
ArrayList< AnnotationgetRemovedNestedAnnotations ()
 
ArrayList< AnnotTypegetRemovedTypes ()
 
ArrayList< TextModificationgetTextModifications ()
 
ArrayList< TextModificationgetReverseTextModifications ()
 
void AddAddedAnnotation (Annotation annotation)
 
void setAddedAnnotations (ArrayList< Annotation > annotations)
 
void AddEditedAnnotation (Annotation annotation)
 
void AddRemovedAnnotation (Annotation annotation)
 
void AddRemovedNestedAnnotation (Annotation annotation)
 
ArrayList< AnnotationgetAutoUpdatedAnnotations ()
 
void setAutoUpdatedAnnotations (ArrayList< Annotation > autoUpdatedAnnotations)
 
void addAutoUpdatedAnnotation (Annotation autoUpdatedAnnotation)
 
void AddAddedType (AnnotType annotType)
 
void AddEditedType (AnnotType annotType)
 
void AddRemovedType (AnnotType annotType)
 
void AddTextModification (TextModification modification)
 
void setTextModifications (ArrayList< TextModification > textModifications)
 
void setReverseTextModifications (ArrayList< TextModification > reverseTextModifications)
 
Long getCreatedInSessId ()
 
void setCreatedInSessId (long CreatedInSessId)
 
EditorSession getCreatedInSession ()
 
void setCreatedInSession (EditorSession CreatedInSession)
 
ArrayList< SubscriptiongetNewSubscriptions ()
 
void addNewSubscription (Subscription newSubscription)
 
void setNewSubscriptions (ArrayList< Subscription > newSubscriptions)
 
ArrayList< SubscriptiongetChangedSubscriptions ()
 
void setChangedSubscriptions (ArrayList< Subscription > changedSubscriptions)
 
void addChangedSubscription (Subscription changedSubscription)
 
void setEditedAnnotations (ArrayList< Annotation > editedAnnotations)
 
void setTextModificationSetID (int id)
 
int getTextModificationSetID ()
 
void addJustAddedAnnotation (String tmpUri, String serverUri)
 
void deleteTmpUri (String serverUri)
 
String getTmpUri (String serverUri)
 
boolean isInJustAdded (String serverUri)
 

Package Attributes

ArrayList< SubscriptionnewSubscriptions = null
 
ArrayList< SubscriptionchangedSubscriptions = null
 

Private Attributes

ArrayList< AnnotationaddedAnnotations
 
ArrayList< AnnotationeditedAnnotations
 
ArrayList< AnnotationremovedAnnotations
 
ArrayList< AnnotationremovedNestedAnnotations
 
ArrayList< AnnotationautoUpdatedAnnotations
 
ArrayList< AnnotTypeaddedTypes
 
ArrayList< AnnotTypeeditedTypes
 
ArrayList< AnnotTyperemovedTypes
 
ArrayList< TextModificationtextModifications
 
ArrayList< TextModificationreverseTextModifications
 
int textModificationSetID
 
Long CreatedInSessId = null
 
EditorSession CreatedInSession = null
 
ArrayList< ArrayList< String > > justAddedAnnotations
 

Detailed Description

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.

Author
idytrych

Definition at line 31 of file Flier.java.

Constructor & Destructor Documentation

cz.vutbr.fit.knot.annotations.comet.Flier.Flier ( )

Constructor (initialize arrays)

Definition at line 71 of file Flier.java.

Member Function Documentation

void cz.vutbr.fit.knot.annotations.comet.Flier.AddAddedAnnotation ( Annotation  annotation)

Adds added annotation to the list

Parameters
annotationAdded 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

Parameters
annotTypeAdded 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

Parameters
autoUpdatedAnnotationAutomatically 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.

Parameters
changedSubscriptionchanged 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

Parameters
annotationChanged 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

Parameters
annotTypeChanged 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.

Parameters
tmpUritemporary uri of just added annotation
serverUriserver 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

Parameters
newSubscriptionNew 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

Parameters
annotationRemoved 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

Parameters
annotationRemoved 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

Parameters
annotTypeRemoved 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

Parameters
modificationAnnotated 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.

Parameters
serverUriserver 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

Returns
Returns list of added annotations

Definition at line 92 of file Flier.java.

Here is the caller graph for this function:

ArrayList<AnnotType> cz.vutbr.fit.knot.annotations.comet.Flier.getAddedTypes ( )

Gets list of added annotation types

Returns
Returns list of added annotation types

Definition at line 101 of file Flier.java.

Here is the caller graph for this function:

ArrayList<Annotation> cz.vutbr.fit.knot.annotations.comet.Flier.getAutoUpdatedAnnotations ( )

Gets list of automatically updated annotations

Returns
Returns 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.

Returns
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

Returns
Returns id of session from which this flier originated

Definition at line 300 of file Flier.java.

Here is the caller graph for this function:

EditorSession cz.vutbr.fit.knot.annotations.comet.Flier.getCreatedInSession ( )

Gets session from which this flier originated

Returns
Returns 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

Returns
Returns 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

Returns
Returns 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

Returns
Returns 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

Returns
Returns list of removed annotations

Definition at line 128 of file Flier.java.

Here is the caller graph for this function:

ArrayList<Annotation> cz.vutbr.fit.knot.annotations.comet.Flier.getRemovedNestedAnnotations ( )

Gets list of removed nested annotations (due attribute changes)

Returns
Returns list of removed nested annotations

Definition at line 137 of file Flier.java.

ArrayList<AnnotType> cz.vutbr.fit.knot.annotations.comet.Flier.getRemovedTypes ( )

Gets list of removed annotation types

Returns
Returns 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

Returns
Returns 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

Returns
Returns 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

Returns
Returns 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.

Parameters
serverUriserver uri of searched couple
Returns
temporary uri of annotation

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.

Parameters
serverUriserver uri of searched couple
Returns
true if found, false otherwise

Definition at line 469 of file Flier.java.

Here is the caller graph for this function:

void cz.vutbr.fit.knot.annotations.comet.Flier.setAddedAnnotations ( ArrayList< Annotation annotations)

Sets added annotations

Parameters
annotationsAdded 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

Parameters
autoUpdatedAnnotationsList 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.

Parameters
changedSubscriptionslist 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

Parameters
CreatedInSessIdId 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

Parameters
CreatedInSessionSession 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

Parameters
editedAnnotationsList 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

Parameters
newSubscriptionsList 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

Parameters
reverseTextModificationsList 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

Parameters
textModificationsList 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

Parameters
idText modification set ID

Definition at line 399 of file Flier.java.

Member Data Documentation

ArrayList<Annotation> cz.vutbr.fit.knot.annotations.comet.Flier.addedAnnotations
private

List of added annotations

Definition at line 33 of file Flier.java.

ArrayList<AnnotType> cz.vutbr.fit.knot.annotations.comet.Flier.addedTypes
private

List of added annotation types

Definition at line 44 of file Flier.java.

ArrayList<Annotation> cz.vutbr.fit.knot.annotations.comet.Flier.autoUpdatedAnnotations
private

List of automatically updated annotations

Definition at line 41 of file Flier.java.

ArrayList<Subscription> cz.vutbr.fit.knot.annotations.comet.Flier.changedSubscriptions = null
package

List of changed subscriptions

Definition at line 64 of file Flier.java.

Long cz.vutbr.fit.knot.annotations.comet.Flier.CreatedInSessId = null
private

Id of session from which this flier originated

Definition at line 58 of file Flier.java.

EditorSession cz.vutbr.fit.knot.annotations.comet.Flier.CreatedInSession = null
private

Session from which this flier originated

Definition at line 60 of file Flier.java.

ArrayList<Annotation> cz.vutbr.fit.knot.annotations.comet.Flier.editedAnnotations
private

List of changed annotations

Definition at line 35 of file Flier.java.

ArrayList<AnnotType> cz.vutbr.fit.knot.annotations.comet.Flier.editedTypes
private

List of changed annotation types

Definition at line 46 of file Flier.java.

ArrayList<ArrayList<String> > cz.vutbr.fit.knot.annotations.comet.Flier.justAddedAnnotations
private

Array of tmp and serv uri pairs of just added annotations

Definition at line 66 of file Flier.java.

ArrayList<Subscription> cz.vutbr.fit.knot.annotations.comet.Flier.newSubscriptions = null
package

List of newly added subscriptions

Definition at line 62 of file Flier.java.

ArrayList<Annotation> cz.vutbr.fit.knot.annotations.comet.Flier.removedAnnotations
private

List of removed annotations

Definition at line 37 of file Flier.java.

ArrayList<Annotation> cz.vutbr.fit.knot.annotations.comet.Flier.removedNestedAnnotations
private

List of removed nested annotations (due attribute changes)

Definition at line 39 of file Flier.java.

ArrayList<AnnotType> cz.vutbr.fit.knot.annotations.comet.Flier.removedTypes
private

List of removed annotation types

Definition at line 48 of file Flier.java.

ArrayList<TextModification> cz.vutbr.fit.knot.annotations.comet.Flier.reverseTextModifications
private

List of annotated document reverse text modifications

Definition at line 53 of file Flier.java.

ArrayList<TextModification> cz.vutbr.fit.knot.annotations.comet.Flier.textModifications
private

List of annotated document text modifications

Definition at line 51 of file Flier.java.

int cz.vutbr.fit.knot.annotations.comet.Flier.textModificationSetID
private

Text modification set ID

Definition at line 55 of file Flier.java.


The documentation for this class was generated from the following file: