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

Informations about client session. More...

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

Public Member Functions

 EditorSession (long sessId)
 
 EditorSession (String protocolVersion)
 
long getSessionId ()
 
String getProtocolVersion ()
 
void setProtocolVersion (String protocolVersion)
 
int getProtocolLOD ()
 
int getNamespacesLOD ()
 
ArrayList< FragmentgetSuggestionsFr ()
 
void setSuggestionsFr (ArrayList< Fragment > suggestionsFr)
 
void addSuggestionsFr (Fragment suggestionsFr)
 
void addSource (SubscribedSource source)
 
void removeSource (SubscribedSource source)
 
boolean containsSource (SubscribedSource source)
 
void addUnsubscribeSource (SubscribedSource source)
 
void removeUnsubscribeSource (SubscribedSource source)
 
boolean containsUnsubscribedSource (SubscribedSource source)
 
ArrayList< String > getQueriedTypes ()
 
void setQueriedTypes (ArrayList< String > queriedTypes)
 
void addQueriedTypes (String queriedType)
 
long getLastActivityTime ()
 
void setLastActivityTime (long lastActivityTime)
 
long getLastConfirmTime ()
 
void setLastConfirmTime (long lastConfirmTime)
 
boolean isSubscribed (Annotation annot, boolean testDoc)
 
boolean isSubscribed (Annotation annot, ArrayList< String > sources, boolean testDoc)
 
boolean isSubscribedWG (Annotation annot, boolean testDoc)
 
boolean isSubscribedWG (Annotation annot, ArrayList< String > sources, boolean testDoc)
 
boolean isSubscribed (Annotation annot)
 
boolean isSubscribedWG (Annotation annot)
 
boolean isSubscribedWG (Annotation annot, ArrayList< String > sources)
 
void setCometContext (String cometContext)
 
void setCometHandler (AnnotHandler cometHandler)
 
String getCometContext ()
 
AnnotHandler getCometHandler ()
 
void notifyComet ()
 
boolean isSubscribed (Annotation annot, ArrayList< String > sources)
 
ArrayList< SubscribedSourcegetSubscribedSources ()
 
User getUser ()
 
void setUser (User user)
 
AnnotDocument getSyncDocument ()
 
void setSyncDocument (AnnotDocument syncDocument)
 
void initDocumentUsageAndTMNumber ()
 
boolean isLinearization ()
 
void setLinearization (boolean linearization)
 
ArrayList< String > getSuggestionsTypes ()
 
void setSuggestionsTypes (ArrayList< String > suggestionsTypes)
 
void addSuggestionType (String suggestionsType)
 
void clearSuggestionsTypes ()
 
boolean isSuggestionType ()
 
void setParsedSyncDocument (Document doc)
 
Document getParsedSyncDocument ()
 
String getParsedLinDocument ()
 
ArrayList< SuggestionLogEntrygetSuggestionsCache ()
 
void setSuggestionsCache (ArrayList< SuggestionLogEntry > suggestionsCache)
 
void setParsedLinDocument (String parsedLinDocument)
 
String getMessagesTSVC ()
 
void setMessagesTSVC (String messagesTSVC)
 
boolean hasMessagesTSVC ()
 
synchronized String getAndCleanMessages ()
 
synchronized void addMessageTS (String message)
 
ArrayList< SubscriptiongetSubscribeList ()
 
void setSubscribeList (ArrayList< Subscription > subscribeList)
 
void deleteFromSubscribeList (Subscription subscription)
 
void addToSubscribeList (Subscription subscription)
 
Subscription getSubscriptionFromList (Integer id)
 
boolean isInSubscribeList (Subscription subscription)
 
void deleteFromSubscribes (Subscription subscription)
 
void addToSubscribes (Subscription subscription)
 
ArrayList< SettingsgetSettings ()
 
ArrayList< String > getAttFilter ()
 
void setAttFilter (ArrayList< String > attFilter)
 
void actualizeAttFilter ()
 
void actualizeAllCachedSettings ()
 
void actualizeNegFeedbackSetting ()
 
boolean getUpdateNegFeedbackForRefusedBySame ()
 
void setUpdateNegFeedbackForRefusedBySame (boolean updateNegFeedbackForRefusedBySame)
 
void actualizeAutoAltSetting ()
 
boolean getAutoActivateAlternatives ()
 
void setAutoActivateAlternatives (boolean autoActivateAlternatives)
 
void actualizeEnableUpdatePositiveFeedback ()
 
boolean getEnableUpdatePositiveFeedback ()
 
void setEnableUpdatePositiveFeedback (boolean enableUpdatePositiveFeedback)
 
String getLanguage ()
 
int getLanguageNum ()
 
boolean setLanguage (String language)
 
boolean actualizeLanguage ()
 
void refreshUser ()
 
UserGroup getDefaultGroup ()
 
void setMinConfidence (Integer minConfidence)
 
Integer getMinConfidence ()
 
Integer getAutoConfirm ()
 
void setAutoConfirm (Integer autoConfirm)
 
void setSendedSugg (ArrayList< Integer > sugArray)
 
void addSendedSugg (Suggestion suggestion)
 
void addSendedSugg (ArrayList< Suggestion > sugArray)
 
void deleteSendedSugg (Suggestion suggestion)
 
void deleteSendedSugg (ArrayList< Suggestion > sugArray)
 
ArrayList< SuggestiondiffSendedSug (ArrayList< Suggestion > sugArray)
 
ArrayList< SuggestionhaveSendedSug (ArrayList< Suggestion > sugArray)
 
ArrayList< Integer > diffStoredSug (ArrayList< Suggestion > sugArray)
 
boolean isSuggInSendedSuggestions (Integer suggID)
 
ArrayList< Integer > getSendedSuggestions ()
 
ArrayList< SuggestiongetWholeSendedSuggestions ()
 
Suggestion getWholeSendedSuggestion (Integer id)
 
synchronized Boolean getSugRequestFlag ()
 
synchronized void setSugRequestFlag (Boolean sugRequestFlag)
 
boolean getDisplaySugConfidence ()
 
void setDisplaySugConfidence (boolean displaySugConfidence)
 
void actualizeDisplaySugConfidence ()
 
boolean getKBRefMode ()
 
void setKBRefMode (boolean KBRefMode)
 
void actualizeKBRefMode ()
 
boolean equals (Object obj)
 
int hashCode ()
 

Static Public Member Functions

static ArrayList
< SubscribedSource
listOfMatches (ArrayList< SubscribedSource > list, Annotation annot, AnnotType type, ArrayList< String > sources)
 
static boolean containTypeRule (ArrayList< SubscribedSource > list)
 
static boolean containUserRule (ArrayList< SubscribedSource > list)
 
static boolean containSourceRule (ArrayList< SubscribedSource > list)
 

Private Member Functions

int checkBranch (AnnotType rootType, Annotation annot, ArrayList< String > sources, ArrayList< SubscribedSource > unsubResult, ArrayList< SubscribedSource > subResult)
 
void findSubscriptionAndDelete (ArrayList< SubscribedSource > sources, SubscribedSource subSource)
 

Private Attributes

long sessionId
 
User user = null
 
String protocolVersion
 
ArrayList< SubscribedSourcesubscribedSources
 
ArrayList< SubscribedSourceunsubscribedSources
 
ArrayList< FragmentsuggestionsFr
 
ArrayList< String > suggestionsTypes
 
ArrayList< String > queriedTypes
 
AnnotDocument syncDocument = null
 
String parsedLinDocument = null
 
boolean linearization = false
 
String language = "eng"
 
int languageNum = Localisation.LANGUAGE_ENG
 
ArrayList< String > attFilter
 
boolean updateNegFeedbackForRefusedBySame = false
 
boolean enableUpdatePositiveFeedback = false
 
boolean autoActivateAlternatives = false
 
String messagesTSVC = ""
 
ArrayList< SuggestionLogEntrysuggestionsCache
 
long lastActivityTime
 
long lastConfirmTime
 
volatile ArrayList< Integer > sendedSuggestions
 
AnnotCometServlet.AnnotHandler cometHandler = null
 
String cometContext = null
 
ArrayList< SubscriptionsubscribeList = null
 
Document parsedSyncDocument = null
 
Boolean sugRequestFlag = false
 
boolean displaySugConfidence = true
 
boolean KBRefMode = false
 
Integer minConfidence
 
Integer autoConfirm
 
Boolean docIDdependentVariablesInitialized = false
 

Detailed Description

Informations about client session.

Class with informations about client (annotations editor) session

Author
idytrych

Definition at line 41 of file EditorSession.java.

Constructor & Destructor Documentation

cz.vutbr.fit.knot.annotations.comet.EditorSession.EditorSession ( long  sessId)

Constructor of reference objects for searching purposes - no initialization needed

Definition at line 124 of file EditorSession.java.

Here is the caller graph for this function:

cz.vutbr.fit.knot.annotations.comet.EditorSession.EditorSession ( String  protocolVersion)

Constructor - sets the session id to new generated value and initialize variables

Definition at line 132 of file EditorSession.java.

Member Function Documentation

void cz.vutbr.fit.knot.annotations.comet.EditorSession.actualizeAllCachedSettings ( )

Actualizes all cached settings

Definition at line 1271 of file EditorSession.java.

Here is the call graph for this function:

void cz.vutbr.fit.knot.annotations.comet.EditorSession.actualizeAttFilter ( )

Actualizes attribute filter from user's settings

Definition at line 1242 of file EditorSession.java.

Here is the caller graph for this function:

void cz.vutbr.fit.knot.annotations.comet.EditorSession.actualizeAutoAltSetting ( )

Actualizes whether alternatives should be automatically activated

Definition at line 1344 of file EditorSession.java.

Here is the caller graph for this function:

void cz.vutbr.fit.knot.annotations.comet.EditorSession.actualizeDisplaySugConfidence ( )

Actualizes whether confidence should be displayed for suggestions

Definition at line 1878 of file EditorSession.java.

Here is the caller graph for this function:

void cz.vutbr.fit.knot.annotations.comet.EditorSession.actualizeEnableUpdatePositiveFeedback ( )

Actualizes whether other similar (same annotated text and URI of entity) suggestions in same part of document should be confirmed

Definition at line 1399 of file EditorSession.java.

Here is the caller graph for this function:

void cz.vutbr.fit.knot.annotations.comet.EditorSession.actualizeKBRefMode ( )

Actualizes whether KB_Ref mode is on

Definition at line 1932 of file EditorSession.java.

Here is the caller graph for this function:

boolean cz.vutbr.fit.knot.annotations.comet.EditorSession.actualizeLanguage ( )

Actualize language settings from database

Returns
If succeed, returns true, false otherwise

Definition at line 1498 of file EditorSession.java.

Here is the call graph for this function:

Here is the caller graph for this function:

void cz.vutbr.fit.knot.annotations.comet.EditorSession.actualizeNegFeedbackSetting ( )

Actualizes whether negative feedback should updated for suggestions refused by same fragment as some confirmed have.

Definition at line 1285 of file EditorSession.java.

Here is the caller graph for this function:

synchronized void cz.vutbr.fit.knot.annotations.comet.EditorSession.addMessageTS ( String  message)

Adds message to string with messages to be sent via comet

Parameters
messageMessage to be sent via comet

Definition at line 995 of file EditorSession.java.

void cz.vutbr.fit.knot.annotations.comet.EditorSession.addQueriedTypes ( String  queriedType)

Adds queried type(s) of annotations to the list (string with filter)

Parameters
queriedTypeQueried type(s) of annotations to the list (string with filter)

Definition at line 314 of file EditorSession.java.

void cz.vutbr.fit.knot.annotations.comet.EditorSession.addSendedSugg ( Suggestion  suggestion)

Adds suggestion to the array of sent suggestions (client's cache)

Parameters
suggestionSuggestion to add

Definition at line 1648 of file EditorSession.java.

Here is the call graph for this function:

Here is the caller graph for this function:

void cz.vutbr.fit.knot.annotations.comet.EditorSession.addSendedSugg ( ArrayList< Suggestion sugArray)

Adds array of suggestions to the array of sent suggestions (client's cache)

Parameters
sugArrayArray of suggestions to add

Definition at line 1661 of file EditorSession.java.

Here is the call graph for this function:

void cz.vutbr.fit.knot.annotations.comet.EditorSession.addSource ( SubscribedSource  source)

Adds source of annotations to list of subscribed sources

Parameters
sourceSource of annotations to be added

Definition at line 241 of file EditorSession.java.

Here is the caller graph for this function:

void cz.vutbr.fit.knot.annotations.comet.EditorSession.addSuggestionsFr ( Fragment  suggestionsFr)

Adds fragment to which are to be suggested annotations to the list

Parameters
suggestionsFrFragment to which are to be suggested annotations

Definition at line 232 of file EditorSession.java.

void cz.vutbr.fit.knot.annotations.comet.EditorSession.addSuggestionType ( String  suggestionsType)

Definition at line 871 of file EditorSession.java.

void cz.vutbr.fit.knot.annotations.comet.EditorSession.addToSubscribeList ( Subscription  subscription)

Add subscription to subscribe list.

Parameters
subscriptionsubscription to add

Definition at line 1041 of file EditorSession.java.

Here is the call graph for this function:

void cz.vutbr.fit.knot.annotations.comet.EditorSession.addToSubscribes ( Subscription  subscription)

Adds subscription sources to subscribe and unsubscribe list.

Parameters
subscriptionsubscriprion which source will be add to list

Definition at line 1123 of file EditorSession.java.

Here is the call graph for this function:

void cz.vutbr.fit.knot.annotations.comet.EditorSession.addUnsubscribeSource ( SubscribedSource  source)

Adds unsubscribed source of annotation to list of unsubscribed sources (black list)

Parameters
sourceUnsubscribed source of annotations to be added

Definition at line 269 of file EditorSession.java.

Here is the caller graph for this function:

int cz.vutbr.fit.knot.annotations.comet.EditorSession.checkBranch ( AnnotType  rootType,
Annotation  annot,
ArrayList< String >  sources,
ArrayList< SubscribedSource unsubResult,
ArrayList< SubscribedSource subResult 
)
private

Method finds every rule for all given annotations type ancestors and returns if is subscribed or unsubscribed.

Parameters
rootTypetype where will checking begin
annotannotation that is checked
sourcessources for current user
unsubResultlist of found unsubscribed rules
subResultlist of found subscribed files
Returns
value that represent if is current annotation subscribed unsubscribed or method don't find any rule

Definition at line 684 of file EditorSession.java.

Here is the call graph for this function:

Here is the caller graph for this function:

void cz.vutbr.fit.knot.annotations.comet.EditorSession.clearSuggestionsTypes ( )

Definition at line 879 of file EditorSession.java.

static boolean cz.vutbr.fit.knot.annotations.comet.EditorSession.containSourceRule ( ArrayList< SubscribedSource list)
static

Checks whether list contain subscribed (or unsubscribed) source rule other then "hungry source" rule (rule where source isn't fill).

Parameters
listList of subscribed sources (rules)
Returns
Returns true if found other rule then "hungry source" rule otherwhise retrun false

Definition at line 659 of file EditorSession.java.

Here is the call graph for this function:

Here is the caller graph for this function:

boolean cz.vutbr.fit.knot.annotations.comet.EditorSession.containsSource ( SubscribedSource  source)

Check whether source of annotations is in the list of subscribed sources

Parameters
sourceSource of annotations to be searched
Returns
If source is in the list, returns true, false otherwise

Definition at line 260 of file EditorSession.java.

Here is the caller graph for this function:

boolean cz.vutbr.fit.knot.annotations.comet.EditorSession.containsUnsubscribedSource ( SubscribedSource  source)

Check whether source of annotations is in the list of unsubscribed sources

Parameters
sourceSource of annotations to be searched in the list of unsubscribed
Returns
If source is found, returns true, otherwise return false

Definition at line 287 of file EditorSession.java.

Here is the caller graph for this function:

static boolean cz.vutbr.fit.knot.annotations.comet.EditorSession.containTypeRule ( ArrayList< SubscribedSource list)
static

Checks whether list contain subscribed (or unsubscribed) source rule other then "hungry type" rule (rule where type isn't fill).

Parameters
listList of subscribed sources (rules)
Returns
Returns true if found other rule then "hungry type" rule otherwise return false

Definition at line 613 of file EditorSession.java.

Here is the call graph for this function:

Here is the caller graph for this function:

static boolean cz.vutbr.fit.knot.annotations.comet.EditorSession.containUserRule ( ArrayList< SubscribedSource list)
static

Checks whether list contain subscribed (or unsubscribed) source rule other then "hungry user" rule (rule where user isn't fill).

Parameters
listList of subscribed sources (rules)
Returns
Returns true if found other rule then "hungry user" rule otherwise return false

Definition at line 637 of file EditorSession.java.

Here is the call graph for this function:

Here is the caller graph for this function:

void cz.vutbr.fit.knot.annotations.comet.EditorSession.deleteFromSubscribeList ( Subscription  subscription)

Remove subscription from subscribe list.

Parameters
subscriptionsubscription to delete

Definition at line 1023 of file EditorSession.java.

Here is the call graph for this function:

void cz.vutbr.fit.knot.annotations.comet.EditorSession.deleteFromSubscribes ( Subscription  subscription)

Removes subscription sources from subscribe and unsubscribe list.

Parameters
subscriptionsubscriprion which source will be remove from list

Definition at line 1096 of file EditorSession.java.

Here is the call graph for this function:

void cz.vutbr.fit.knot.annotations.comet.EditorSession.deleteSendedSugg ( Suggestion  suggestion)

Removes suggestion from the array of sended suggestions (client's cache)

Parameters
suggestionSuggestion to remove

Definition at line 1682 of file EditorSession.java.

Here is the caller graph for this function:

void cz.vutbr.fit.knot.annotations.comet.EditorSession.deleteSendedSugg ( ArrayList< Suggestion sugArray)

Removes suggestions from the array of sended suggestions (client's cache)

Parameters
sugArrayArray of suggestions to remove

Definition at line 1693 of file EditorSession.java.

Here is the call graph for this function:

ArrayList<Suggestion> cz.vutbr.fit.knot.annotations.comet.EditorSession.diffSendedSug ( ArrayList< Suggestion sugArray)

Differences array of suggestions with array of sent ones and return these suggestions which are not in sent

Parameters
sugArrayArray to differences
Returns
Returns suggestions which are not in sent

Definition at line 1711 of file EditorSession.java.

Here is the call graph for this function:

ArrayList<Integer> cz.vutbr.fit.knot.annotations.comet.EditorSession.diffStoredSug ( ArrayList< Suggestion sugArray)

Differences array of suggestions with array of sent ones and return these suggestions which are in sent but not in given array

Parameters
sugArrayArray to differences
Returns
Returns suggestions which are in sent but not in given array

Definition at line 1753 of file EditorSession.java.

Here is the call graph for this function:

boolean cz.vutbr.fit.knot.annotations.comet.EditorSession.equals ( Object  obj)

Compares this with other object and returns, whether objects are same type and have same id.

Parameters
objObject to compare with
Returns
If object is same type and have same id, returns true, false otherwise

Definition at line 1973 of file EditorSession.java.

Here is the call graph for this function:

Here is the caller graph for this function:

void cz.vutbr.fit.knot.annotations.comet.EditorSession.findSubscriptionAndDelete ( ArrayList< SubscribedSource sources,
SubscribedSource  subSource 
)
private

Finds subscription source in subscribed or unsubscribed list and remove it.

Parameters
sourceslist where method will be search for subscription source
subSourcesubscription source that will be delete from list

Definition at line 1151 of file EditorSession.java.

Here is the call graph for this function:

Here is the caller graph for this function:

synchronized String cz.vutbr.fit.knot.annotations.comet.EditorSession.getAndCleanMessages ( )

Gets and cleans string with messages to be sent via comet

Returns
Returns string with messages to be sent via comet

Definition at line 984 of file EditorSession.java.

ArrayList<String> cz.vutbr.fit.knot.annotations.comet.EditorSession.getAttFilter ( )

Gets list with names of attributes which should be filtered out

Returns
Returns list with names of attributes which should be filtered out

Definition at line 1220 of file EditorSession.java.

boolean cz.vutbr.fit.knot.annotations.comet.EditorSession.getAutoActivateAlternatives ( )

Should be alternatives automatically activated?

Returns
Returns whether alternatives should be automatically activated

Definition at line 1382 of file EditorSession.java.

Integer cz.vutbr.fit.knot.annotations.comet.EditorSession.getAutoConfirm ( )

Gets minimal level of confidence to auto confirm suggestion

Returns
Returns minimal level of confidence to auto confirm suggestion

Definition at line 1618 of file EditorSession.java.

String cz.vutbr.fit.knot.annotations.comet.EditorSession.getCometContext ( )

Method gets comet context for this session.

Returns
Returns comet context for this session.

Definition at line 486 of file EditorSession.java.

AnnotHandler cz.vutbr.fit.knot.annotations.comet.EditorSession.getCometHandler ( )

Method gets handler to comet that belongs to session.

Returns
Returns comet handler for this session

Definition at line 495 of file EditorSession.java.

UserGroup cz.vutbr.fit.knot.annotations.comet.EditorSession.getDefaultGroup ( )

Gets default group of logged in user from database. If according user settings parameter is correctly set, it will be used. If parameter is not set, first group of this user fetched from database will be returned.

Returns
Default group of logged in user

Definition at line 1538 of file EditorSession.java.

Here is the call graph for this function:

Here is the caller graph for this function:

boolean cz.vutbr.fit.knot.annotations.comet.EditorSession.getDisplaySugConfidence ( )

Returns whether confidence should be displayed for suggestions

Returns
Returns whether confidence should be displayed for suggestions

Definition at line 1862 of file EditorSession.java.

boolean cz.vutbr.fit.knot.annotations.comet.EditorSession.getEnableUpdatePositiveFeedback ( )

Should be other similar (same annotated text and URI of entity) suggestions in same part of document confirmed?

Returns
Returns whether other similar (same annotated text and URI of entity) suggestions in same part of document should be confirmed

Definition at line 1439 of file EditorSession.java.

boolean cz.vutbr.fit.knot.annotations.comet.EditorSession.getKBRefMode ( )

Gets whether KB_Ref mode is on

Returns
Returns whether KB_Ref mode is on

Definition at line 1916 of file EditorSession.java.

String cz.vutbr.fit.knot.annotations.comet.EditorSession.getLanguage ( )

Get language used in this session

Returns
Returns language used in this session

Definition at line 1461 of file EditorSession.java.

int cz.vutbr.fit.knot.annotations.comet.EditorSession.getLanguageNum ( )

Get number of language used in this session

Returns
Returns number of language used in this session

Definition at line 1470 of file EditorSession.java.

long cz.vutbr.fit.knot.annotations.comet.EditorSession.getLastActivityTime ( )

Gets time stamp of activity time of session

Returns
Returns time stamp of activity time of session

Definition at line 323 of file EditorSession.java.

long cz.vutbr.fit.knot.annotations.comet.EditorSession.getLastConfirmTime ( )

Gets time stamp of confirm time of session

Returns
Returns time stamp of confirm time of session

Definition at line 341 of file EditorSession.java.

Here is the caller graph for this function:

String cz.vutbr.fit.knot.annotations.comet.EditorSession.getMessagesTSVC ( )

Gets string with messages to be sent via comet

Returns
Returns string with messages to be sent via comet

Definition at line 954 of file EditorSession.java.

Integer cz.vutbr.fit.knot.annotations.comet.EditorSession.getMinConfidence ( )

Gets number of minimal confidence

Returns
number of minimal confidence

Definition at line 1609 of file EditorSession.java.

int cz.vutbr.fit.knot.annotations.comet.EditorSession.getNamespacesLOD ( )

Gets appropriate version of namespaces based on protocol LOD

Returns
Appropriate version of namespaces based on protocol LOD

Definition at line 198 of file EditorSession.java.

String cz.vutbr.fit.knot.annotations.comet.EditorSession.getParsedLinDocument ( )

Gets parsed linearized document

Returns
Returns parsed linearized document

Definition at line 918 of file EditorSession.java.

Document cz.vutbr.fit.knot.annotations.comet.EditorSession.getParsedSyncDocument ( )

Gets parsed synchronized document

Returns
Returns parsed synchronized document

Definition at line 909 of file EditorSession.java.

int cz.vutbr.fit.knot.annotations.comet.EditorSession.getProtocolLOD ( )

Gets protocol level of development. Higher level activates newer functions.

Returns
Protocol level of development (1 for protocol v. 1.0)

Definition at line 177 of file EditorSession.java.

Here is the caller graph for this function:

String cz.vutbr.fit.knot.annotations.comet.EditorSession.getProtocolVersion ( )

Gets agreed communication protocol version

Returns
Returns communication protocol version

Definition at line 159 of file EditorSession.java.

ArrayList<String> cz.vutbr.fit.knot.annotations.comet.EditorSession.getQueriedTypes ( )

Gets queried types of annotations (list of strings with filters which was used)

Returns
Returns queried types of annotations (list of strings with filters which was used)

Definition at line 296 of file EditorSession.java.

Here is the caller graph for this function:

ArrayList<Integer> cz.vutbr.fit.knot.annotations.comet.EditorSession.getSendedSuggestions ( )

Gets array of sent suggestions IDs (client's cache)

Returns
Returns array of sent suggestions IDs

Definition at line 1798 of file EditorSession.java.

long cz.vutbr.fit.knot.annotations.comet.EditorSession.getSessionId ( )

Gets id of this session

Returns
Returns id of this session

Definition at line 150 of file EditorSession.java.

Here is the caller graph for this function:

ArrayList<Settings> cz.vutbr.fit.knot.annotations.comet.EditorSession.getSettings ( )

Gets user settings for logged in user from database

Returns
Returns list of parameters of user settings or null, if nobody logged in

Definition at line 1194 of file EditorSession.java.

ArrayList<SubscribedSource> cz.vutbr.fit.knot.annotations.comet.EditorSession.getSubscribedSources ( )

Gets list of subscribed sources

Returns
List of subscribed sources

Definition at line 777 of file EditorSession.java.

Here is the caller graph for this function:

ArrayList<Subscription> cz.vutbr.fit.knot.annotations.comet.EditorSession.getSubscribeList ( )

Gets list of subscriptions.

Returns
list of subscriptions

Definition at line 1004 of file EditorSession.java.

Subscription cz.vutbr.fit.knot.annotations.comet.EditorSession.getSubscriptionFromList ( Integer  id)

Gets subscription from subscribe list by id.

Parameters
idid of searched subscription

Definition at line 1057 of file EditorSession.java.

Here is the call graph for this function:

ArrayList<SuggestionLogEntry> cz.vutbr.fit.knot.annotations.comet.EditorSession.getSuggestionsCache ( )

Gets content of cache for annotation suggestions

Returns
Returns content of cache for annotation suggestions

Definition at line 927 of file EditorSession.java.

ArrayList<Fragment> cz.vutbr.fit.knot.annotations.comet.EditorSession.getSuggestionsFr ( )

Gets list of fragments to which are to be suggested annotations

Returns
Returns list of fragments to which are to be suggested annotations

Definition at line 214 of file EditorSession.java.

Here is the caller graph for this function:

ArrayList<String> cz.vutbr.fit.knot.annotations.comet.EditorSession.getSuggestionsTypes ( )

Definition at line 863 of file EditorSession.java.

synchronized Boolean cz.vutbr.fit.knot.annotations.comet.EditorSession.getSugRequestFlag ( )

Returns whether suggestions was requested so an empty diff cannot be omitted.

Returns
Returns whether suggestions was requested so an empty diff cannot be omitted

Definition at line 1844 of file EditorSession.java.

AnnotDocument cz.vutbr.fit.knot.annotations.comet.EditorSession.getSyncDocument ( )

Gets synchronized document

Returns
Returns synchronized document

Definition at line 804 of file EditorSession.java.

Here is the caller graph for this function:

boolean cz.vutbr.fit.knot.annotations.comet.EditorSession.getUpdateNegFeedbackForRefusedBySame ( )

Should be negative feedback updated for suggestions refused by same fragment as some confirmed have?

Returns
Returns whether negative feedback should updated for suggestions refused by same fragment as some confirmed have.

Definition at line 1325 of file EditorSession.java.

User cz.vutbr.fit.knot.annotations.comet.EditorSession.getUser ( )

Gets user logged in this session

Returns
Returns user logged in this session

Definition at line 786 of file EditorSession.java.

Here is the caller graph for this function:

Suggestion cz.vutbr.fit.knot.annotations.comet.EditorSession.getWholeSendedSuggestion ( Integer  id)

Get sended suggestion.

Returns
Returns sended suggestion

Definition at line 1829 of file EditorSession.java.

ArrayList<Suggestion> cz.vutbr.fit.knot.annotations.comet.EditorSession.getWholeSendedSuggestions ( )

Get all sent suggestions.

Returns
Returns list of sent suggestions

Definition at line 1807 of file EditorSession.java.

int cz.vutbr.fit.knot.annotations.comet.EditorSession.hashCode ( )

Returns hash code of this object. Hash is based on sessionID.

Returns
Hash code

Definition at line 1993 of file EditorSession.java.

boolean cz.vutbr.fit.knot.annotations.comet.EditorSession.hasMessagesTSVC ( )

Returns true if this session contaions any messages for send via coment

Returns
is messages string not empty?

Definition at line 972 of file EditorSession.java.

ArrayList<Suggestion> cz.vutbr.fit.knot.annotations.comet.EditorSession.haveSendedSug ( ArrayList< Suggestion sugArray)

Differences array of suggestions with array of sent ones and return these suggestions which are in sent

Parameters
sugArrayArray to differences
Returns
Returns suggestions which are in sent

Definition at line 1732 of file EditorSession.java.

Here is the call graph for this function:

void cz.vutbr.fit.knot.annotations.comet.EditorSession.initDocumentUsageAndTMNumber ( )

If we synchronize a new document then we dont have doc.id when we first call setSyncDocument

Definition at line 833 of file EditorSession.java.

Here is the call graph for this function:

boolean cz.vutbr.fit.knot.annotations.comet.EditorSession.isInSubscribeList ( Subscription  subscription)

Tests if given subscription is already in list.

Parameters
subscriptionsearched subscription
Returns
true if subscription is already in list, false otherwise

Definition at line 1079 of file EditorSession.java.

Here is the call graph for this function:

Here is the caller graph for this function:

boolean cz.vutbr.fit.knot.annotations.comet.EditorSession.isLinearization ( )

Returns status of linearization

Returns
If linearization is enabled, returns true, false otherwise

Definition at line 850 of file EditorSession.java.

boolean cz.vutbr.fit.knot.annotations.comet.EditorSession.isSubscribed ( Annotation  annot,
boolean  testDoc 
)

Checks whether editor connected to this session is subscribed to get given annotation.

Parameters
annotChecked annotation
testDocIf matching of document must be checked then true, false otherwise
Returns
If annotation matches to subscriptions, returns true, false otherwise

Definition at line 362 of file EditorSession.java.

Here is the caller graph for this function:

boolean cz.vutbr.fit.knot.annotations.comet.EditorSession.isSubscribed ( Annotation  annot,
ArrayList< String >  sources,
boolean  testDoc 
)

Checks whether editor connected to this session is subscribed to get given annotation.

Parameters
annotChecked annotation
sourcesList of sources to which annotation belongs to
testDocIf matching of document must be checked then true, false otherwise
Returns
If annotation matches to subscriptions, returns true, false otherwise

Definition at line 375 of file EditorSession.java.

Here is the call graph for this function:

boolean cz.vutbr.fit.knot.annotations.comet.EditorSession.isSubscribed ( Annotation  annot)

Checks whether editor connected to this session is subscribed to get given annotation.

Parameters
annotChecked annotation
Returns
If annotation matches to subscriptions, returns true, false otherwise

Definition at line 428 of file EditorSession.java.

Here is the call graph for this function:

boolean cz.vutbr.fit.knot.annotations.comet.EditorSession.isSubscribed ( Annotation  annot,
ArrayList< String >  sources 
)

Checks whether editor connected to this session is subscribed to get given annotation.

Parameters
annotChecked annotation
sourcesList of sources to which annotation belongs to
Returns
If annotation matches to subscriptions, returns true, false otherwise

Definition at line 738 of file EditorSession.java.

Here is the call graph for this function:

boolean cz.vutbr.fit.knot.annotations.comet.EditorSession.isSubscribedWG ( Annotation  annot,
boolean  testDoc 
)

Checks whether editor connected to this session is subscribed to get given annotation. User groups of annotation author are taken into account.

Parameters
annotChecked annotation
testDocIf matching of document must be checked then true, false otherwise
Returns
If annotation matches to subscriptions, returns true, false otherwise

Definition at line 395 of file EditorSession.java.

Here is the caller graph for this function:

boolean cz.vutbr.fit.knot.annotations.comet.EditorSession.isSubscribedWG ( Annotation  annot,
ArrayList< String >  sources,
boolean  testDoc 
)

Checks whether editor connected to this session is subscribed to get given annotation. User groups of annotation author are taken into account.

Parameters
annotChecked annotation
sourcesList of sources to which annotation belongs to
testDocIf matching of document must be checked then true, false otherwise
Returns
If annotation matches to subscriptions, returns true, false otherwise

Definition at line 409 of file EditorSession.java.

Here is the call graph for this function:

boolean cz.vutbr.fit.knot.annotations.comet.EditorSession.isSubscribedWG ( Annotation  annot)

Checks whether editor connected to this session is subscribed to get given annotation. User groups of annotation author are taken into account.

Parameters
annotChecked annotation
Returns
If annotation matches to subscriptions, returns true, false otherwise

Definition at line 439 of file EditorSession.java.

Here is the call graph for this function:

boolean cz.vutbr.fit.knot.annotations.comet.EditorSession.isSubscribedWG ( Annotation  annot,
ArrayList< String >  sources 
)

Checks whether editor connected to this session is subscribed to get given annotation. User groups of annotation author are taken into account.

Parameters
annotChecked annotation
sourcesList of sources to which annotation belongs to
Returns
If annotation matches to subscriptions, returns true, false otherwise

Definition at line 452 of file EditorSession.java.

Here is the call graph for this function:

boolean cz.vutbr.fit.knot.annotations.comet.EditorSession.isSuggestionType ( )

Definition at line 887 of file EditorSession.java.

boolean cz.vutbr.fit.knot.annotations.comet.EditorSession.isSuggInSendedSuggestions ( Integer  suggID)

Tries to find an ID of the suggestion in the sendedSuggestions array and returns the result of the search as a boolean value

Parameters
suggIDID of the suggestion that we are searching for
Returns
True if the suggestion ID is contained, false otherwise

Definition at line 1784 of file EditorSession.java.

static ArrayList<SubscribedSource> cz.vutbr.fit.knot.annotations.comet.EditorSession.listOfMatches ( ArrayList< SubscribedSource list,
Annotation  annot,
AnnotType  type,
ArrayList< String >  sources 
)
static

The method finds the corresponding subscriptions for submitted type of annotation, users and resources.

Parameters
listList of subscribed or unsubscribed annotations
annotAnnotation from which Identification of user (URI or address) will be get
typeAnnotation type for which method searching for a record annotation type
sourcesList of sources to which annotation belongs to
Returns
Returns list of SubscribedSources that corresponds with type of annotation

Definition at line 527 of file EditorSession.java.

Here is the call graph for this function:

Here is the caller graph for this function:

void cz.vutbr.fit.knot.annotations.comet.EditorSession.notifyComet ( )

Method provides asynchronous sending messages trough comet channel. Basically send notify to comet engine and that wake comet for this session.

Definition at line 503 of file EditorSession.java.

void cz.vutbr.fit.knot.annotations.comet.EditorSession.refreshUser ( )

Refreshes informations about user from DB

Definition at line 1521 of file EditorSession.java.

Here is the call graph for this function:

void cz.vutbr.fit.knot.annotations.comet.EditorSession.removeSource ( SubscribedSource  source)

Removes source of annotations from list of subscribed sources

Parameters
sourceSource of annotations to be removed

Definition at line 250 of file EditorSession.java.

void cz.vutbr.fit.knot.annotations.comet.EditorSession.removeUnsubscribeSource ( SubscribedSource  source)

Removes unsubscribed source of annotation from list of unsubscribed sources (black list)

Parameters
sourceUnsubscribed source of annotations to be removed

Definition at line 278 of file EditorSession.java.

void cz.vutbr.fit.knot.annotations.comet.EditorSession.setAttFilter ( ArrayList< String >  attFilter)

Sets list with names of attributes which should be filtered out

Parameters
attFilterList with names of attributes which should be filtered out

Definition at line 1235 of file EditorSession.java.

void cz.vutbr.fit.knot.annotations.comet.EditorSession.setAutoActivateAlternatives ( boolean  autoActivateAlternatives)

Sets whether alternatives should be automatically activated

Parameters
autoActivateAlternativesShould be alternatives automatically activated?

Definition at line 1391 of file EditorSession.java.

void cz.vutbr.fit.knot.annotations.comet.EditorSession.setAutoConfirm ( Integer  autoConfirm)

Sets minimal level of confidence to auto confirm suggestion

Parameters
autoConfirmMinimal level of confidence to auto confirm suggestion

Definition at line 1627 of file EditorSession.java.

void cz.vutbr.fit.knot.annotations.comet.EditorSession.setCometContext ( String  cometContext)

Method sets comet context for this session.

Parameters
cometContextstring with comet context

Definition at line 468 of file EditorSession.java.

void cz.vutbr.fit.knot.annotations.comet.EditorSession.setCometHandler ( AnnotHandler  cometHandler)

Method sets handler to comet that belongs to session.

Parameters
cometHandlercomet handler for this session

Definition at line 477 of file EditorSession.java.

void cz.vutbr.fit.knot.annotations.comet.EditorSession.setDisplaySugConfidence ( boolean  displaySugConfidence)

Sets whether confidence should be displayed for suggestions

Parameters
displaySugConfidenceShould be confidence displayed for suggestions?

Definition at line 1871 of file EditorSession.java.

void cz.vutbr.fit.knot.annotations.comet.EditorSession.setEnableUpdatePositiveFeedback ( boolean  enableUpdatePositiveFeedback)

Sets whether other similar (same annotated text and URI of entity) suggestions in same part of document should be confirmed

Parameters
enableUpdatePositiveFeedbackShould be other similar (same annotated text and URI of entity) suggestions in same part of document confirmed?

Definition at line 1452 of file EditorSession.java.

void cz.vutbr.fit.knot.annotations.comet.EditorSession.setKBRefMode ( boolean  KBRefMode)

Sets whether KB_Ref mode is on

Parameters
KBRefModeIs KB_Ref mode on?

Definition at line 1925 of file EditorSession.java.

boolean cz.vutbr.fit.knot.annotations.comet.EditorSession.setLanguage ( String  language)

Set language for this session. If language code is not found, language is set to English.

Parameters
languageLanguage code according to ISO 639-2
Returns
If succeed and language code is found, returns true, false otherwise

Definition at line 1481 of file EditorSession.java.

Here is the caller graph for this function:

void cz.vutbr.fit.knot.annotations.comet.EditorSession.setLastActivityTime ( long  lastActivityTime)

Sets time stamp of activity time of session

Parameters
lastActivityTimetime stamp of activity time of session

Definition at line 332 of file EditorSession.java.

void cz.vutbr.fit.knot.annotations.comet.EditorSession.setLastConfirmTime ( long  lastConfirmTime)

Sets time stamp of confirm time of session

Parameters
lastConfirmTimeTime stamp of confirm time of session

Definition at line 350 of file EditorSession.java.

void cz.vutbr.fit.knot.annotations.comet.EditorSession.setLinearization ( boolean  linearization)

Sets linearization

Parameters
linearizationIf linearization is enabled then true, false otherwise

Definition at line 859 of file EditorSession.java.

void cz.vutbr.fit.knot.annotations.comet.EditorSession.setMessagesTSVC ( String  messagesTSVC)

Sets string with messages to be sent via comet

Parameters
messagesTSVCString with messages to be sent via comet

Definition at line 963 of file EditorSession.java.

void cz.vutbr.fit.knot.annotations.comet.EditorSession.setMinConfidence ( Integer  minConfidence)

Sets minimal confidence

Parameters
minConfidenceNumber of minimal confidence

Definition at line 1600 of file EditorSession.java.

void cz.vutbr.fit.knot.annotations.comet.EditorSession.setParsedLinDocument ( String  parsedLinDocument)

Sets parsed linearized document

Parameters
parsedLinDocumentParsed linearized document

Definition at line 945 of file EditorSession.java.

void cz.vutbr.fit.knot.annotations.comet.EditorSession.setParsedSyncDocument ( Document  doc)

Sets parsed synchronized document

Parameters
docNew document

Definition at line 900 of file EditorSession.java.

void cz.vutbr.fit.knot.annotations.comet.EditorSession.setProtocolVersion ( String  protocolVersion)

Sets agreed communication protocol version

Parameters
protocolVersionCommunication protocol version

Definition at line 168 of file EditorSession.java.

void cz.vutbr.fit.knot.annotations.comet.EditorSession.setQueriedTypes ( ArrayList< String >  queriedTypes)

Sets queried types of annotations (list of strings with filters which was used)

Parameters
queriedTypesQueried types of annotations (list of strings with filters which was used)

Definition at line 305 of file EditorSession.java.

void cz.vutbr.fit.knot.annotations.comet.EditorSession.setSendedSugg ( ArrayList< Integer >  sugArray)

Sets array of sent suggestions (client's cache)

Parameters
sugArrayNew array of sent suggestions

Definition at line 1636 of file EditorSession.java.

void cz.vutbr.fit.knot.annotations.comet.EditorSession.setSubscribeList ( ArrayList< Subscription subscribeList)

Sets list of subscriptions.

Parameters
subscribeListlist of subscriptions

Definition at line 1013 of file EditorSession.java.

void cz.vutbr.fit.knot.annotations.comet.EditorSession.setSuggestionsCache ( ArrayList< SuggestionLogEntry suggestionsCache)

Sets content of cache for annotation suggestions

Parameters
suggestionsCacheContent of cache for annotation suggestions

Definition at line 936 of file EditorSession.java.

void cz.vutbr.fit.knot.annotations.comet.EditorSession.setSuggestionsFr ( ArrayList< Fragment suggestionsFr)

Sets list of fragments to which are to be suggested annotations

Parameters
suggestionsFrList of fragments to which are to be suggested annotations

Definition at line 223 of file EditorSession.java.

void cz.vutbr.fit.knot.annotations.comet.EditorSession.setSuggestionsTypes ( ArrayList< String >  suggestionsTypes)

Definition at line 867 of file EditorSession.java.

synchronized void cz.vutbr.fit.knot.annotations.comet.EditorSession.setSugRequestFlag ( Boolean  sugRequestFlag)

Sets whether suggestions was requested so an empty diff cannot be omitted.

Parameters
sugRequestFlagWas suggestions requested (can be empty diff omitted)?

Definition at line 1853 of file EditorSession.java.

void cz.vutbr.fit.knot.annotations.comet.EditorSession.setSyncDocument ( AnnotDocument  syncDocument)

Sets synchronized document

Parameters
syncDocumentSynchronized document

Definition at line 813 of file EditorSession.java.

Here is the call graph for this function:

void cz.vutbr.fit.knot.annotations.comet.EditorSession.setUpdateNegFeedbackForRefusedBySame ( boolean  updateNegFeedbackForRefusedBySame)

Sets whether negative feedback should updated for suggestions refused by same fragment as some confirmed have.

Parameters
updateNegFeedbackForRefusedBySameShould be negative feedback updated for suggestions refused by same fragment as some confirmed have?

Definition at line 1337 of file EditorSession.java.

void cz.vutbr.fit.knot.annotations.comet.EditorSession.setUser ( User  user)

Sets user logged in this session

Parameters
userUser logged in this session

Definition at line 795 of file EditorSession.java.

Member Data Documentation

ArrayList<String> cz.vutbr.fit.knot.annotations.comet.EditorSession.attFilter
private

List with attributes which should be filtered out

Definition at line 70 of file EditorSession.java.

boolean cz.vutbr.fit.knot.annotations.comet.EditorSession.autoActivateAlternatives = false
private

Should be alternatives automatically activated?

Definition at line 87 of file EditorSession.java.

Integer cz.vutbr.fit.knot.annotations.comet.EditorSession.autoConfirm
private

Minimal level of confidence to auto confirm suggestion

Definition at line 116 of file EditorSession.java.

String cz.vutbr.fit.knot.annotations.comet.EditorSession.cometContext = null
private

Comet context associated with this session

Definition at line 101 of file EditorSession.java.

AnnotCometServlet.AnnotHandler cz.vutbr.fit.knot.annotations.comet.EditorSession.cometHandler = null
private

Comet handler associated with this session

Definition at line 99 of file EditorSession.java.

boolean cz.vutbr.fit.knot.annotations.comet.EditorSession.displaySugConfidence = true
private

Should be confidence displayed for suggestions

Definition at line 109 of file EditorSession.java.

Boolean cz.vutbr.fit.knot.annotations.comet.EditorSession.docIDdependentVariablesInitialized = false
private

Are variables dependent on document ID initialized?

Definition at line 118 of file EditorSession.java.

boolean cz.vutbr.fit.knot.annotations.comet.EditorSession.enableUpdatePositiveFeedback = false
private

Should be other similar (same annotated text and URI of entity) suggestions in same part of document confirmed?

Definition at line 83 of file EditorSession.java.

boolean cz.vutbr.fit.knot.annotations.comet.EditorSession.KBRefMode = false
private

Is KB_Ref mode on?

Definition at line 111 of file EditorSession.java.

String cz.vutbr.fit.knot.annotations.comet.EditorSession.language = "eng"
private

Language to use in server

Definition at line 66 of file EditorSession.java.

int cz.vutbr.fit.knot.annotations.comet.EditorSession.languageNum = Localisation.LANGUAGE_ENG
private

Number of language to use in server

Definition at line 68 of file EditorSession.java.

long cz.vutbr.fit.knot.annotations.comet.EditorSession.lastActivityTime
private

Time stamp that indicate last activity time of session

Definition at line 93 of file EditorSession.java.

long cz.vutbr.fit.knot.annotations.comet.EditorSession.lastConfirmTime
private

Time stamp that indicate last confirm time of session

Definition at line 95 of file EditorSession.java.

boolean cz.vutbr.fit.knot.annotations.comet.EditorSession.linearization = false
private

Indicator of linearization

Definition at line 64 of file EditorSession.java.

String cz.vutbr.fit.knot.annotations.comet.EditorSession.messagesTSVC = ""
private

String with messages to be sent via comet

Definition at line 89 of file EditorSession.java.

Integer cz.vutbr.fit.knot.annotations.comet.EditorSession.minConfidence
private

Minimal confidence used to filtrate suggestions

Definition at line 114 of file EditorSession.java.

String cz.vutbr.fit.knot.annotations.comet.EditorSession.parsedLinDocument = null
private

Linearized synchronized document

Definition at line 62 of file EditorSession.java.

Document cz.vutbr.fit.knot.annotations.comet.EditorSession.parsedSyncDocument = null
private

Parsed synchronized document

Definition at line 105 of file EditorSession.java.

String cz.vutbr.fit.knot.annotations.comet.EditorSession.protocolVersion
private

Communication protocol version

Definition at line 48 of file EditorSession.java.

ArrayList<String> cz.vutbr.fit.knot.annotations.comet.EditorSession.queriedTypes
private

List of queried annotation types

Definition at line 58 of file EditorSession.java.

volatile ArrayList<Integer> cz.vutbr.fit.knot.annotations.comet.EditorSession.sendedSuggestions
private

Array of IDs of suggestions which was sent to client (client's cache)

Definition at line 97 of file EditorSession.java.

long cz.vutbr.fit.knot.annotations.comet.EditorSession.sessionId
private

Id of session

Definition at line 44 of file EditorSession.java.

ArrayList<SubscribedSource> cz.vutbr.fit.knot.annotations.comet.EditorSession.subscribedSources
private

List of subscribed sources

Definition at line 50 of file EditorSession.java.

ArrayList<Subscription> cz.vutbr.fit.knot.annotations.comet.EditorSession.subscribeList = null
private

List of subscribed subscriptions

Definition at line 103 of file EditorSession.java.

ArrayList<SuggestionLogEntry> cz.vutbr.fit.knot.annotations.comet.EditorSession.suggestionsCache
private

Cache for annotation suggestions

Definition at line 91 of file EditorSession.java.

ArrayList<Fragment> cz.vutbr.fit.knot.annotations.comet.EditorSession.suggestionsFr
private

Fragments to which are to be suggested annotations

Definition at line 54 of file EditorSession.java.

ArrayList<String> cz.vutbr.fit.knot.annotations.comet.EditorSession.suggestionsTypes
private

Annotation types to be suggested (list with filters)

Definition at line 56 of file EditorSession.java.

Boolean cz.vutbr.fit.knot.annotations.comet.EditorSession.sugRequestFlag = false
private

Flag which denotes that suggestions was requested so an empty diff cannot be omitted.

Definition at line 107 of file EditorSession.java.

AnnotDocument cz.vutbr.fit.knot.annotations.comet.EditorSession.syncDocument = null
private

Synchronized document

Definition at line 60 of file EditorSession.java.

ArrayList<SubscribedSource> cz.vutbr.fit.knot.annotations.comet.EditorSession.unsubscribedSources
private

List of unsubscribed sources (Black List)

Definition at line 52 of file EditorSession.java.

boolean cz.vutbr.fit.knot.annotations.comet.EditorSession.updateNegFeedbackForRefusedBySame = false
private

Should be negative feedback updated for suggestions refused by same fragment as some confirmed have? If it will be updated and we have two suggestions on same fragment and same two suggestions on more same fragments, confirmation on one of them refuses second one from all other fragments.

Definition at line 78 of file EditorSession.java.

User cz.vutbr.fit.knot.annotations.comet.EditorSession.user = null
private

User logged in this session

Definition at line 46 of file EditorSession.java.


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