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

Processed informations about client request. More...

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

Classes

class  EntityRequest
 Holds information about the query to dictionary entries. More...
 

Public Member Functions

 RequestInfo ()
 
String getErrors ()
 
void setErrors (String errors)
 
ArrayList< Integer > getErrorList ()
 
void addError (String error)
 
void addError (int version, int lNum, int error)
 
void addError (int version, int lNum, int error, String info)
 
void addError (int version, int lNum, int error, String info, String text)
 
String getWarnings ()
 
void setWarnings (String warnings)
 
void addWarning (String warning)
 
void addWarning (int version, int lNum, int warning)
 
void addWarning (int version, int lNum, int warning, String annotation)
 
void addWarning (int lNum, int warning, String annotation, String text)
 
Flier getFlier ()
 
void addWarning2 (int lNum, int warning, String info, String text)
 
void setFlier (Flier flier)
 
EditorSession getSession ()
 
void setSession (EditorSession session)
 
ArrayList< EditorSessiongetCometSessionList ()
 
void setCometSessionList (ArrayList< EditorSession > sessionList)
 
String getReplyText ()
 
void setReplyText (String ReplyText)
 
void appendToReply (String text)
 
Boolean isSuggFragmentChanged ()
 
void setSuggFragmentChanged (Boolean suggFragmentChanged)
 
ArrayList< SuggestionLogEntrygetRefusedSuggestions ()
 
void setRefusedSuggestions (ArrayList< SuggestionLogEntry > refusedSuggestions)
 
void addRefusedSuggestion (SuggestionLogEntry refusedSuggestion)
 
ArrayList< SuggestionLogEntrygetOrigRefusedSuggestions ()
 
void setOrigRefusedSuggestions (ArrayList< SuggestionLogEntry > origRefusedSuggestions)
 
ArrayList< SuggestionLogEntrygetConfirmedSuggestions ()
 
void clearConfirmedSuggestions ()
 
void setConfirmedSuggestions (ArrayList< SuggestionLogEntry > confirmedSuggestions)
 
void addConfirmedSuggestion (SuggestionLogEntry confirmedSuggestion)
 
ArrayList< SuggestiongetAlternativesRequestedFor ()
 
void setAlternativesRequestedFor (ArrayList< Suggestion > alternativesRequestedFor)
 
void addSugToAlternativesRequestedFor (Suggestion sug)
 
ArrayList< SettingsgetSettings ()
 
void setSettings (ArrayList< Settings > settings)
 
AnnotDocument getSyncDocumentData ()
 
void setSyncDocumentData (AnnotDocument syncDocumentData)
 
AnnotDocument getSyncDocument ()
 
void setSyncDocument (AnnotDocument syncDocument)
 
boolean isSyncLinearized ()
 
void setSyncLinearized (boolean syncLinearized)
 
boolean isSyncWithOverwrite ()
 
void setSyncWithOverwrite (boolean syncWithOverwrite)
 
String getResyncDocContent ()
 
void setResyncDocContent (String resyncDocContent)
 
ArrayList< AnnotationgetReloadAnnotations ()
 
void setReloadAnnotations (ArrayList< Annotation > reloadAnnotations)
 
void addReloadAnnotations (Annotation reloadAnnotation)
 
boolean getReloadAll ()
 
void setReloadAll (boolean reloadAll)
 
ArrayList< String > getQueryTypes ()
 
void setQueryTypes (ArrayList< String > queryTypes)
 
void addQueryTypes (String queryType)
 
ArrayList< String > getQueryPersons ()
 
void setQueryPersons (ArrayList< String > queryPersons)
 
void addQueryPersons (String queryPerson)
 
ArrayList< String > getQueryUserGroups ()
 
void setQueryUserGroups (ArrayList< String > queryUserGroups)
 
void addQueryUserGroups (String queryUserGroups)
 
ArrayList< String > getQueryPersonsWG ()
 
void setQueryPersonsWG (ArrayList< String > queryPersonsWG)
 
void addQueryPersonsWG (String queryPersonsWG)
 
ArrayList< String > getQueryUserGroupsWP ()
 
void setQueryUserGroupsWP (ArrayList< String > queryUserGroupsWP)
 
void addQueryUserGroupsWP (String queryUserGroupsWP)
 
String getRequestString ()
 
void setRequestString (String requestString)
 
Document getRequestDocument ()
 
void setRequestDocument (Document requestDocument)
 
User getLoggedIn ()
 
void setLoggedIn (User loggedIn)
 
String getConnectWPV ()
 
void setConnectWPV (String connectWPV)
 
boolean isDisconnect ()
 
void setDisconnect (boolean disconnect)
 
boolean isLogout ()
 
void setLogout (boolean logout)
 
boolean getCanNotify ()
 
void setCanNotify (boolean canNotify)
 
boolean isDocumentChanged ()
 
void setDocumentChanged (boolean documentChanged)
 
boolean isNewDocument ()
 
void setNewDocument (boolean newDocument)
 
ArrayList< UserGroupgetJoinedGroups ()
 
void setJoinedGroups (ArrayList< UserGroup > joinedGroups)
 
void addJoinedGroup (UserGroup joinedGroup)
 
ArrayList< UserGroupgetLeavedGroups ()
 
void setLeavedGroups (ArrayList< UserGroup > leavedGroups)
 
void addLeavedGroup (UserGroup leavedGroup)
 
boolean isSessionOnly ()
 
void setSessionOnly (boolean sessionOnly)
 
String getQueryTypeAttOnto ()
 
void setQueryTypeAttOnto (String queryTypeAttOnto)
 
ArrayList< TextModificationgetTextModifications ()
 
void setLastModificationNumber (int id)
 
int getLastModificationNumber ()
 
void addTextModifications (ArrayList< TextModification > textModifications)
 
void addTextModification (TextModification textModification)
 
boolean isGetEntityTypes ()
 
void setGetEntityTypes (boolean getEntityTypes)
 
EntityRequest getEntityRequest ()
 
void setEntityRequest (EntityRequest entityRequest)
 
String getOldDocumentVersion ()
 
ArrayList< String > getUsersQueryV2 ()
 
void setUsersQueryV2 (ArrayList< String > usersQueryV2)
 
boolean[] getUsersRestrictionsV2 ()
 
void setUsersRestrictionsV2 (boolean[] usersRestrictionsV2)
 
ArrayList< String > getGroupsQueryV2 ()
 
void setGroupsQueryV2 (ArrayList< String > groupsQueryV2)
 
boolean[] getUsersGroupRestrictionsV2 ()
 
void setUsersGroupRestrictionsV2 (boolean[] usersGroupRestrictionsV2)
 
ArrayList< SubscriptiongetSubscribeList ()
 
void setSubscribeList (ArrayList< Subscription > subscribeList)
 
void addToSubscribe (Subscription subscription)
 
ArrayList< SubscriptiongetUnsubscribeList ()
 
void setUnsubscribeList (ArrayList< Subscription > unsubscribeList)
 
void addToUnsubscribe (Subscription subscription)
 
ArrayList< SubscriptiongetUpdatedSubscriptions ()
 
void addUpdatedSubscriptions (Subscription updatedSubscription)
 
void setUpdatedSubscriptions (ArrayList< Subscription > updatedSubscriptions)
 
ArrayList< SubscriptiongetDeletedSubscriptions ()
 
void addDeletedSubscription (Subscription deletedSubscription)
 
void setDeletedSubscriptions (ArrayList< Subscription > deletedSubscriptions)
 
ArrayList< SubscriptiongetNewSubscriptions ()
 
void addNewSubscriptions (Subscription newSubscription)
 
void setNewSubscriptions (ArrayList< Subscription > newSubscriptions)
 
ArrayList< SubscriptiongetBeforeUpdatedSubscriptions ()
 
void setBeforeUpdatedSubscriptions (ArrayList< Subscription > beforeUpdatedSubscriptions)
 
void addBeforeUpdatedSubscriptions (Subscription beforeUpdatedSubscriptions)
 
ArrayList< String > getSubscriptionQuery ()
 
void setSubscriptionQuery (ArrayList< String > subscriptionQuery)
 
void setMinConfidence (Integer minConfidence)
 
Integer getMinConfidence ()
 
boolean isAutoconfirmRequested ()
 
void setAutoconfirmRequested (boolean autoconfirmRequested)
 
ArrayList< SuggestionLogEntrygetAutoconfirmedSuggestions ()
 
void setAutoconfirmedSuggestions (ArrayList< SuggestionLogEntry > autoconfirmedSuggestions)
 
void addAutoconfirmedSuggestion (SuggestionLogEntry autoconfirmedSuggestion)
 

Static Public Member Functions

static String createErrorMsg (int version, int lNum, int error)
 
static String createErrorMsg (int version, int lNum, int error, String info)
 
static String createErrorMsg (int version, int lNum, int error, String info, String text)
 
static String createErrorMsg1 (int lNum, int error, String info, String text)
 
static String createErrorMsg2 (int lNum, int error, String info, String text)
 

Private Attributes

Flier flier = null
 
boolean canNotify = true
 
String requestString = ""
 
Document requestDocument
 
String errors = ""
 
ArrayList< Integer > errorList
 
String warnings = ""
 
EditorSession session = null
 
ArrayList< EditorSessioncometSessionList = null
 
String ReplyText = ""
 
User loggedIn = null
 
boolean logout = false
 
String connectWPV = null
 
boolean disconnect = false
 
Boolean suggFragmentChanged = false
 
ArrayList< SuggestionLogEntryrefusedSuggestions
 
ArrayList< SuggestionLogEntryorigRefusedSuggestions
 
ArrayList< SuggestionLogEntryconfirmedSuggestions
 
ArrayList< SuggestionalternativesRequestedFor
 
ArrayList< Settingssettings
 
AnnotDocument syncDocumentData = null
 
AnnotDocument syncDocument = null
 
boolean newDocument = false
 
boolean syncLinearized = false
 
boolean syncWithOverwrite = false
 
String resyncDocContent = null
 
ArrayList< AnnotationreloadAnnotations
 
boolean reloadAll = false
 
ArrayList< String > queryTypes
 
ArrayList< String > queryPersons
 
ArrayList< String > queryUserGroups
 
ArrayList< String > queryPersonsWG
 
ArrayList< String > queryUserGroupsWP
 
boolean documentChanged = false
 
ArrayList< UserGroupjoinedGroups
 
ArrayList< UserGroupleavedGroups
 
boolean sessionOnly = false
 
String queryTypeAttOnto = null
 
ArrayList< TextModificationtextModifications
 
int lastModificationNumber
 
boolean getEntityTypes
 
EntityRequest entityRequest
 
String oldDocumentVersion
 
ArrayList< String > usersQueryV2
 
boolean[] usersRestrictionsV2
 
ArrayList< String > groupsQueryV2
 
boolean[] usersGroupRestrictionsV2
 
ArrayList< SubscriptionsubscribeList = null
 
ArrayList< SubscriptionunsubscribeList = null
 
ArrayList< SubscriptionupdatedSubscriptions
 
ArrayList< SubscriptionbeforeUpdatedSubscriptions
 
ArrayList< SubscriptiondeletedSubscriptions
 
ArrayList< SubscriptionnewSubscriptions
 
ArrayList< String > subscriptionQuery
 
Integer minConfidence
 
boolean autoconfirmRequested
 
ArrayList< SuggestionLogEntryautoconfirmedSuggestions
 

Detailed Description

Processed informations about client request.

Class for representing processed informations about client request

Author
idytrych

Definition at line 35 of file RequestInfo.java.

Constructor & Destructor Documentation

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

Constructor which initializes variables

Definition at line 159 of file RequestInfo.java.

Member Function Documentation

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.addAutoconfirmedSuggestion ( SuggestionLogEntry  autoconfirmedSuggestion)

Adds suggestion into list of automatically confirmed suggestions

Parameters
autoconfirmedSuggestionAutomatically confirmed suggestions

Definition at line 1675 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.addBeforeUpdatedSubscriptions ( Subscription  beforeUpdatedSubscriptions)

Adds subscription into array of subscriptions before update

Parameters
beforeUpdatedSubscriptionsSubscription before update

Definition at line 1594 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.addConfirmedSuggestion ( SuggestionLogEntry  confirmedSuggestion)

Adds confirmed annotation suggestion to the list

Parameters
confirmedSuggestionConfirmed annotation suggestion

Definition at line 698 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.addDeletedSubscription ( Subscription  deletedSubscription)

Adds subscription into array of deleted user subscriptions

Parameters
deletedSubscriptionDeleted user subscription

Definition at line 1531 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.addError ( String  error)

Method for adding custom errors to string which is sent to client. Error message must be in XML.

Parameters
errorString with error for client (in XML)

Definition at line 223 of file RequestInfo.java.

Here is the caller graph for this function:

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.addError ( int  version,
int  lNum,
int  error 
)

Method for adding error to string which is sent to client. Numbers of errors are specified in class Constants.

Parameters
versionVersion of protocol used (LOD)
lNumNumber (id) of language
errorNumber of error

Definition at line 235 of file RequestInfo.java.

Here is the call graph for this function:

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.addError ( int  version,
int  lNum,
int  error,
String  info 
)

Method for adding error to string which is sent to client. Numbers of errors are specified in class Constants.

Parameters
versionVersion of protocol used (LOD)
lNumNumber (id) of language
errorNumber of error
infoAdditional informations in XML

Definition at line 248 of file RequestInfo.java.

Here is the call graph for this function:

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.addError ( int  version,
int  lNum,
int  error,
String  info,
String  text 
)

Method for adding error to string which is sent to client. This variant of function is intended for use in case of error, which is not specified in Constants, or in case of customized (more detailed) error message.

Parameters
versionVersion of protocol used (LOD)
lNumNumber (id) of language
errorNumber of error
infoAdditional informations in XML
textCustom error message

Definition at line 264 of file RequestInfo.java.

Here is the call graph for this function:

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.addJoinedGroup ( UserGroup  joinedGroup)

Adds group to which is user trying to join to the list

Parameters
joinedGroupGroup to which is user trying to join

Definition at line 1207 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.addLeavedGroup ( UserGroup  leavedGroup)

Adds group to be leaved to the list

Parameters
leavedGroupGroup to be leaved

Definition at line 1234 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.addNewSubscriptions ( Subscription  newSubscription)

Adds new subscription into array of added user subscriptions

Parameters
newSubscriptionNew user subscription

Definition at line 1558 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.addQueryPersons ( String  queryPerson)

Adds queried person(s) (string with filter) to the list

Parameters
queryPersonQueried persons (string with filter)

Definition at line 934 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.addQueryPersonsWG ( String  queryPersonsWG)

Adds queried person(s) with list of user groups (string with filter) to the list

Parameters
queryPersonsWGQueried person(s) (string with filter)

Definition at line 988 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.addQueryTypes ( String  queryType)

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

Parameters
queryTypeQueried annotation type (string with filter)

Definition at line 907 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.addQueryUserGroups ( String  queryUserGroups)

Adds queried user group(s) (string with filter) to the list

Parameters
queryUserGroupsQueried user group(s) (string with filter)

Definition at line 961 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.addQueryUserGroupsWP ( String  queryUserGroupsWP)

Adds queried user group(s) with list of persons (string with filter) to the list

Parameters
queryUserGroupsWPQueried user group(s) (string with filter)

Definition at line 1015 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.addRefusedSuggestion ( SuggestionLogEntry  refusedSuggestion)

Adds refused annotation suggestion to the list

Parameters
refusedSuggestionRefused annotation suggestion

Definition at line 644 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.addReloadAnnotations ( Annotation  reloadAnnotation)

Adds reloaded annotation to the list

Parameters
reloadAnnotationReloaded annotation (requested by client)

Definition at line 862 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.addSugToAlternativesRequestedFor ( Suggestion  sug)

Adds suggestion into array of suggestions for which alternatives was requested

Parameters
sugSuggestion to add

Definition at line 725 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.addTextModification ( TextModification  textModification)

Adds sent text modification which should be applied to document.

Parameters
textModificationSent text modification which should be applied to document.

Definition at line 1315 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.addTextModifications ( ArrayList< TextModification textModifications)

Adds sent text modifications which should be applied to document.

Parameters
textModificationsSent text modifications which should be applied to document.

Definition at line 1306 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.addToSubscribe ( Subscription  subscription)

Adds subscription into list of just subscribed subscriptions

Parameters
subscriptionJust subscribed subscription

Definition at line 1459 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.addToUnsubscribe ( Subscription  subscription)

Adds just unsubscribed subscription into list of just unsubscribed subscriptions

Parameters
subscriptionJust unsubscribed subscription

Definition at line 1486 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.addUpdatedSubscriptions ( Subscription  updatedSubscription)

Adds updated subscription into array of updated user subscriptions

Parameters
updatedSubscriptionUpdated subscription

Definition at line 1504 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.addWarning ( String  warning)

Method for adding warning to string which is sent to client.

Parameters
warningString with warning for client (in XML)

Definition at line 406 of file RequestInfo.java.

Here is the caller graph for this function:

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.addWarning ( int  version,
int  lNum,
int  warning 
)

Method for adding warning to string which is sent to client. Numbers of warnings are specified in class Constants.

Parameters
versionVersion of protocol used (LOD)
lNumNumber (id) of language
warningNumber of error

Definition at line 418 of file RequestInfo.java.

Here is the call graph for this function:

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.addWarning ( int  version,
int  lNum,
int  warning,
String  annotation 
)

Method for adding warning to string which is sent to client. Numbers of warnings are specified in class Constants.

Parameters
versionVersion of protocol used (LOD)
lNumNumber (id) of language
warningNumber of error
annotationURI of affected annotation

Definition at line 431 of file RequestInfo.java.

Here is the call graph for this function:

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.addWarning ( int  lNum,
int  warning,
String  annotation,
String  text 
)

Method for adding warning to string which is sent to client. This variant of function is intended for use in case of warning, which is not specified in Constants, or in case of customized (more detailed) warning message.

Parameters
lNumNumber (id) of language
warningNumber of error
annotationURI of affected annotation
textCustom warning message

Definition at line 454 of file RequestInfo.java.

Here is the call graph for this function:

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.addWarning2 ( int  lNum,
int  warning,
String  info,
String  text 
)

Method for adding warning to string which is sent to client. This variant of function is intended for use in case of warning, which is not specified in Constants, or in case of customized (more detailed) warning message. It is intended for protocol version 2.0

Parameters
lNumNumber (id) of language
warningNumber of error
infoAdditional informations in XML
textCustom warning message

Definition at line 501 of file RequestInfo.java.

Here is the call graph for this function:

Here is the caller graph for this function:

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.appendToReply ( String  text)

Appends new response message to responses for client.

Parameters
textResponse message in XML.

Definition at line 599 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.clearConfirmedSuggestions ( )

Clears list of confirmed annotation suggestions.

Definition at line 678 of file RequestInfo.java.

static String cz.vutbr.fit.knot.annotations.comet.RequestInfo.createErrorMsg ( int  version,
int  lNum,
int  error 
)
static

Function for creating error message to be sent to client. Numbers of errors and strings with error messages are specified in class Constants.

Parameters
versionVersion of protocol used (LOD)
lNumNumber (id) of language
errorNumber of error
Returns
Returns error message in XML

Definition at line 278 of file RequestInfo.java.

Here is the caller graph for this function:

static String cz.vutbr.fit.knot.annotations.comet.RequestInfo.createErrorMsg ( int  version,
int  lNum,
int  error,
String  info 
)
static

Function for creating error message to be sent to client. Numbers of errors and strings with error messages are specified in class Constants.

Parameters
versionVersion of protocol used (LOD)
lNumNumber (id) of language
errorNumber of error
infoAdditional informations in XML
Returns
Returns error message in XML

Definition at line 292 of file RequestInfo.java.

Here is the call graph for this function:

static String cz.vutbr.fit.knot.annotations.comet.RequestInfo.createErrorMsg ( int  version,
int  lNum,
int  error,
String  info,
String  text 
)
static

Function for creating error message to be sent to client. Numbers of errors and strings with error messages are specified in class Constants.

Parameters
versionVersion of protocol used (LOD)
lNumNumber (id) of language
errorNumber of error
infoAdditional informations in XML
textCustom error message
Returns
Returns error message in XML

Definition at line 307 of file RequestInfo.java.

Here is the call graph for this function:

static String cz.vutbr.fit.knot.annotations.comet.RequestInfo.createErrorMsg1 ( int  lNum,
int  error,
String  info,
String  text 
)
static

Function for creating error message to be sent to client. Numbers of errors and strings with error messages are specified in class Constants. This method is for protocol version 1.x

Parameters
lNumNumber (id) of language
errorNumber of error
infoAdditional informations in XML
textCustom error message
Returns
Returns error message in XML

Definition at line 326 of file RequestInfo.java.

Here is the call graph for this function:

Here is the caller graph for this function:

static String cz.vutbr.fit.knot.annotations.comet.RequestInfo.createErrorMsg2 ( int  lNum,
int  error,
String  info,
String  text 
)
static

Function for creating error message to be sent to client. Numbers of errors and strings with error messages are specified in class Constants. This method is for protocol version 2.x

Parameters
lNumNumber (id) of language
errorNumber of error
infoAdditional informations in XML
textCustom error message
Returns
Returns error message in XML

Definition at line 359 of file RequestInfo.java.

Here is the call graph for this function:

Here is the caller graph for this function:

ArrayList<Suggestion> cz.vutbr.fit.knot.annotations.comet.RequestInfo.getAlternativesRequestedFor ( )

Gets array of suggestions for which alternatives was requested

Returns
Returns array of suggestions for which alternatives was requested

Definition at line 707 of file RequestInfo.java.

Here is the caller graph for this function:

ArrayList<SuggestionLogEntry> cz.vutbr.fit.knot.annotations.comet.RequestInfo.getAutoconfirmedSuggestions ( )

Gets list of automatically confirmed suggestions

Returns
Returns list of automatically confirmed suggestions

Definition at line 1657 of file RequestInfo.java.

Here is the caller graph for this function:

ArrayList<Subscription> cz.vutbr.fit.knot.annotations.comet.RequestInfo.getBeforeUpdatedSubscriptions ( )

Gets array of subscriptions before update

Returns
Returns array of subscriptions before update

Definition at line 1576 of file RequestInfo.java.

boolean cz.vutbr.fit.knot.annotations.comet.RequestInfo.getCanNotify ( )

Returns whether informations from the processed request can be notified to comet handlers (whether error not ocurred)

Returns
If informations can be notified, returns true, false otherwise

Definition at line 1133 of file RequestInfo.java.

ArrayList<EditorSession> cz.vutbr.fit.knot.annotations.comet.RequestInfo.getCometSessionList ( )

Geting list of sessions in which this comet request originated

Returns
Returns list of sessions in which this comet request originated

Definition at line 561 of file RequestInfo.java.

ArrayList<SuggestionLogEntry> cz.vutbr.fit.knot.annotations.comet.RequestInfo.getConfirmedSuggestions ( )

Gets list of confirmed annotation suggestions

Returns
Returns list of confirmed annotation suggestions

Definition at line 671 of file RequestInfo.java.

Here is the caller graph for this function:

String cz.vutbr.fit.knot.annotations.comet.RequestInfo.getConnectWPV ( )

Gets protocol version (set only if this request contains Connect message)

Returns
Returns protocol version

Definition at line 1078 of file RequestInfo.java.

ArrayList<Subscription> cz.vutbr.fit.knot.annotations.comet.RequestInfo.getDeletedSubscriptions ( )

Gets array of deleted user subscriptions

Returns
Returns array of deleted user subscriptions

Definition at line 1522 of file RequestInfo.java.

Here is the caller graph for this function:

EntityRequest cz.vutbr.fit.knot.annotations.comet.RequestInfo.getEntityRequest ( )

Gets request of controlled dictionary entity.

Returns
request of controlled dictionary entity

Definition at line 1342 of file RequestInfo.java.

Here is the caller graph for this function:

ArrayList<Integer> cz.vutbr.fit.knot.annotations.comet.RequestInfo.getErrorList ( )

Gets list of numbers of occurred errors

Returns
Returns list of numbers of occurred errors

Definition at line 213 of file RequestInfo.java.

Here is the caller graph for this function:

String cz.vutbr.fit.knot.annotations.comet.RequestInfo.getErrors ( )

Gets string with error messages for client

Returns
Returns string with error messages for client

Definition at line 195 of file RequestInfo.java.

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

Geting of flier Flier contains all informations, which can be relevant for comet handlers.

Returns
Returns flier (informations for comet handlers)

Definition at line 485 of file RequestInfo.java.

Here is the caller graph for this function:

ArrayList<String> cz.vutbr.fit.knot.annotations.comet.RequestInfo.getGroupsQueryV2 ( )

Gets queried users groups attribues for protocol version 2.0.

Returns
queried users groups attribues

Definition at line 1405 of file RequestInfo.java.

Here is the caller graph for this function:

ArrayList<UserGroup> cz.vutbr.fit.knot.annotations.comet.RequestInfo.getJoinedGroups ( )

Gets list of groups to which is user trying to join

Returns
Returns list of groups to which is user trying to join

Definition at line 1189 of file RequestInfo.java.

Here is the caller graph for this function:

int cz.vutbr.fit.knot.annotations.comet.RequestInfo.getLastModificationNumber ( )

Gets last applied modification identifier

Returns
Returns last applied modification identifier

Definition at line 1297 of file RequestInfo.java.

Here is the caller graph for this function:

ArrayList<UserGroup> cz.vutbr.fit.knot.annotations.comet.RequestInfo.getLeavedGroups ( )

Gets List of groups to be leaved

Returns
Returns list of groups to be leaved

Definition at line 1216 of file RequestInfo.java.

Here is the caller graph for this function:

User cz.vutbr.fit.knot.annotations.comet.RequestInfo.getLoggedIn ( )

Gets just logged in user

Returns
Returns just logged in user

Definition at line 1060 of file RequestInfo.java.

Here is the caller graph for this function:

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

Gets number of minimal confidence

Returns
number of minimal confidence

Definition at line 1630 of file RequestInfo.java.

ArrayList<Subscription> cz.vutbr.fit.knot.annotations.comet.RequestInfo.getNewSubscriptions ( )

Gets array of added user subscriptions

Returns
Returns array of added user subscriptions

Definition at line 1549 of file RequestInfo.java.

Here is the caller graph for this function:

String cz.vutbr.fit.knot.annotations.comet.RequestInfo.getOldDocumentVersion ( )

Gets version of document before changes.

Returns
version of document before changes

Definition at line 1360 of file RequestInfo.java.

ArrayList<SuggestionLogEntry> cz.vutbr.fit.knot.annotations.comet.RequestInfo.getOrigRefusedSuggestions ( )

Gets original list of refused annotation suggestions

Returns
Returns original list of refused annotation suggestions

Definition at line 653 of file RequestInfo.java.

Here is the caller graph for this function:

ArrayList<String> cz.vutbr.fit.knot.annotations.comet.RequestInfo.getQueryPersons ( )

Gets queried persons (list of strings with filters)

Returns
Returns queried persons (list of strings with filters)

Definition at line 916 of file RequestInfo.java.

Here is the caller graph for this function:

ArrayList<String> cz.vutbr.fit.knot.annotations.comet.RequestInfo.getQueryPersonsWG ( )

Gets queried persons with list of user groups (list of strings with filters)

Returns
Returns queried persons wiht list of user groups (list of strings with filters)

Definition at line 970 of file RequestInfo.java.

Here is the caller graph for this function:

String cz.vutbr.fit.knot.annotations.comet.RequestInfo.getQueryTypeAttOnto ( )

Gets URI ofuser group in which are queried attributes from ontology

Returns
Returns URI of user group in which are queried attributes from ontology

Definition at line 1261 of file RequestInfo.java.

Here is the caller graph for this function:

ArrayList<String> cz.vutbr.fit.knot.annotations.comet.RequestInfo.getQueryTypes ( )

Gets queried annotation types (list of strings with filters)

Returns
Returns queried annotation types (list of strings with filters)

Definition at line 889 of file RequestInfo.java.

Here is the caller graph for this function:

ArrayList<String> cz.vutbr.fit.knot.annotations.comet.RequestInfo.getQueryUserGroups ( )

Gets queried user groups (list of strings with filters)

Returns
Returns queried user groups (list of strings with filters)

Definition at line 943 of file RequestInfo.java.

Here is the caller graph for this function:

ArrayList<String> cz.vutbr.fit.knot.annotations.comet.RequestInfo.getQueryUserGroupsWP ( )

Gets queried user groups with list of persons (list of strings with filters)

Returns
Returns queried user groups with list of persons (list of strings with filters)

Definition at line 997 of file RequestInfo.java.

Here is the caller graph for this function:

ArrayList<SuggestionLogEntry> cz.vutbr.fit.knot.annotations.comet.RequestInfo.getRefusedSuggestions ( )

Gets list of refused annotation suggestions

Returns
Returns list of refused annotation suggestions

Definition at line 626 of file RequestInfo.java.

Here is the caller graph for this function:

boolean cz.vutbr.fit.knot.annotations.comet.RequestInfo.getReloadAll ( )

Returns, whether client requested reloading of all annotations

Returns
If client requested reloading of all annotations, returns true, false otherwise

Definition at line 871 of file RequestInfo.java.

ArrayList<Annotation> cz.vutbr.fit.knot.annotations.comet.RequestInfo.getReloadAnnotations ( )

Gets list of reloaded annotations

Returns
Returns list of reloaded annotations

Definition at line 844 of file RequestInfo.java.

String cz.vutbr.fit.knot.annotations.comet.RequestInfo.getReplyText ( )

Gets of replies for the client Reply text contains replies to messages from client (errors and warnings are in separate strings).

Returns
Returns string with replies for the client

Definition at line 581 of file RequestInfo.java.

Document cz.vutbr.fit.knot.annotations.comet.RequestInfo.getRequestDocument ( )

Gets parsed request data in document

Returns
Returns parsed request data in document

Definition at line 1042 of file RequestInfo.java.

String cz.vutbr.fit.knot.annotations.comet.RequestInfo.getRequestString ( )

Gets raw request data

Returns
Returns raw request data

Definition at line 1024 of file RequestInfo.java.

String cz.vutbr.fit.knot.annotations.comet.RequestInfo.getResyncDocContent ( )

Gets content of resynchronized document (data from client request)

Returns
Returns content of resynchronized document

Definition at line 826 of file RequestInfo.java.

Here is the caller graph for this function:

EditorSession cz.vutbr.fit.knot.annotations.comet.RequestInfo.getSession ( )

Geting of session in which this request originated

Returns
Returns Session in which this request originated

Definition at line 540 of file RequestInfo.java.

Here is the caller graph for this function:

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

Gets list of params of user settings

Returns
Returns list of params of user settings

Definition at line 734 of file RequestInfo.java.

Here is the caller graph for this function:

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

Gets list of just subscribed subscriptions

Returns
Returns list of just subscribed subscriptions

Definition at line 1441 of file RequestInfo.java.

Here is the caller graph for this function:

ArrayList<String> cz.vutbr.fit.knot.annotations.comet.RequestInfo.getSubscriptionQuery ( )

Gets array with parameters of subscription query

Returns
Returns array with parameters of subscription query

Definition at line 1603 of file RequestInfo.java.

Here is the caller graph for this function:

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

Gets synchronized document. This is set by server module in the case of successfull synchronization.

Returns
Returns synchronized document

Definition at line 771 of file RequestInfo.java.

Here is the caller graph for this function:

AnnotDocument cz.vutbr.fit.knot.annotations.comet.RequestInfo.getSyncDocumentData ( )

Gets data of synchronized document (data from user request)

Returns
Returns data of synchronized document (data from user request)

Definition at line 752 of file RequestInfo.java.

Here is the caller graph for this function:

ArrayList<TextModification> cz.vutbr.fit.knot.annotations.comet.RequestInfo.getTextModifications ( )

Gets sent text modifications which should be applied to document.

Returns
Sent text modifications which should be applied to document.

Definition at line 1279 of file RequestInfo.java.

Here is the caller graph for this function:

ArrayList<Subscription> cz.vutbr.fit.knot.annotations.comet.RequestInfo.getUnsubscribeList ( )

Gets list of just unsubscribed subscriptions

Returns
Returns list of just unsubscribed subscriptions

Definition at line 1468 of file RequestInfo.java.

Here is the caller graph for this function:

ArrayList<Subscription> cz.vutbr.fit.knot.annotations.comet.RequestInfo.getUpdatedSubscriptions ( )

Gets array of updated user subscriptions

Returns
Return array of updated user subscriptions

Definition at line 1495 of file RequestInfo.java.

Here is the caller graph for this function:

boolean [] cz.vutbr.fit.knot.annotations.comet.RequestInfo.getUsersGroupRestrictionsV2 ( )

Gets queried user groups persons restrictions for protocol version 2.0.

Returns
persons restrictions

Definition at line 1423 of file RequestInfo.java.

ArrayList<String> cz.vutbr.fit.knot.annotations.comet.RequestInfo.getUsersQueryV2 ( )

Gets queried persons attribues for protocol version 2.0.

Returns
queried persons attribues

Definition at line 1369 of file RequestInfo.java.

Here is the caller graph for this function:

boolean [] cz.vutbr.fit.knot.annotations.comet.RequestInfo.getUsersRestrictionsV2 ( )

Gets queried persons restrictions for protocol version 2.0.

Returns
queried persons restrictions

Definition at line 1387 of file RequestInfo.java.

String cz.vutbr.fit.knot.annotations.comet.RequestInfo.getWarnings ( )

Geting of string with warning messages for client

Returns
Returns string with warning messages for client

Definition at line 388 of file RequestInfo.java.

boolean cz.vutbr.fit.knot.annotations.comet.RequestInfo.isAutoconfirmRequested ( )

Gets information about request for autoconfirm suggestions.

Returns
information about autoconfirm suggestions

Definition at line 1639 of file RequestInfo.java.

Here is the caller graph for this function:

boolean cz.vutbr.fit.knot.annotations.comet.RequestInfo.isDisconnect ( )

Returns whether this request contains disconnect message

Returns
If disconnect is presented, returns true, false otherwise

Definition at line 1096 of file RequestInfo.java.

boolean cz.vutbr.fit.knot.annotations.comet.RequestInfo.isDocumentChanged ( )

Returns whether annotated document is changed (text modified). This can be done by textModification message.

Returns
If document is changed, returns true, false otherwise

Definition at line 1153 of file RequestInfo.java.

Here is the caller graph for this function:

boolean cz.vutbr.fit.knot.annotations.comet.RequestInfo.isGetEntityTypes ( )

Gets indicator of all entity types request.

Returns
indicator of all entity types request

Definition at line 1324 of file RequestInfo.java.

Here is the caller graph for this function:

boolean cz.vutbr.fit.knot.annotations.comet.RequestInfo.isLogout ( )

Returns whether this request contains logout message

Returns
If logout is presented, returns true, false otherwise

Definition at line 1114 of file RequestInfo.java.

boolean cz.vutbr.fit.knot.annotations.comet.RequestInfo.isNewDocument ( )

Returns, whether just synchronized document is new (yet unknown)

Returns
If just synchronized document is new, returns true, false otherwise

Definition at line 1171 of file RequestInfo.java.

Here is the caller graph for this function:

boolean cz.vutbr.fit.knot.annotations.comet.RequestInfo.isSessionOnly ( )

Gets indicator whether is only one message sent that was session

Returns
Returns indicator whether is only one message sent that was session

Definition at line 1243 of file RequestInfo.java.

Boolean cz.vutbr.fit.knot.annotations.comet.RequestInfo.isSuggFragmentChanged ( )

Returns whether fragment to which is annotations suggesting is changed

Returns
If fragment is changed, returns true, false otherwise

Definition at line 608 of file RequestInfo.java.

Here is the caller graph for this function:

boolean cz.vutbr.fit.knot.annotations.comet.RequestInfo.isSyncLinearized ( )

Gets information about whether synchronization is with linearization

Returns
If synchronization is with linearization, returns true, false otherwise

Definition at line 790 of file RequestInfo.java.

Here is the caller graph for this function:

boolean cz.vutbr.fit.knot.annotations.comet.RequestInfo.isSyncWithOverwrite ( )

Gets information about whether synchronization is forced (overwrite document)

Returns
If synchronization is forced, returns true, false otherwise

Definition at line 808 of file RequestInfo.java.

Here is the caller graph for this function:

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.setAlternativesRequestedFor ( ArrayList< Suggestion alternativesRequestedFor)

Sets array of suggestions for which alternatives was requested

Parameters
alternativesRequestedForArray of suggestions for which alternatives was requested

Definition at line 716 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.setAutoconfirmedSuggestions ( ArrayList< SuggestionLogEntry autoconfirmedSuggestions)

Sets list of automatically confirmed suggestions

Parameters
autoconfirmedSuggestionsList of automatically confirmed suggestions

Definition at line 1666 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.setAutoconfirmRequested ( boolean  autoconfirmRequested)

Sets information about request for autoconfirm suggestions.

Parameters
autoconfirmRequestedinformation about autoconfirm suggestions

Definition at line 1648 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.setBeforeUpdatedSubscriptions ( ArrayList< Subscription beforeUpdatedSubscriptions)

Sets array of subscriptions before update

Parameters
beforeUpdatedSubscriptionsArray of subscriptions before update

Definition at line 1585 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.setCanNotify ( boolean  canNotify)

Sets whether informations from the processed request can be notified to comet handlers (whether error not ocurred)

Parameters
canNotifyIf informations can be notified, true, false otherwise

Definition at line 1143 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.setCometSessionList ( ArrayList< EditorSession sessionList)

Sets the list of sessions in which this comet request originated

Parameters
sessionListList of sessions in which this comet request originated

Definition at line 570 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.setConfirmedSuggestions ( ArrayList< SuggestionLogEntry confirmedSuggestions)

Sets list of confirmed annotation suggestions

Parameters
confirmedSuggestionsList of confirmed annotation suggestions

Definition at line 689 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.setConnectWPV ( String  connectWPV)

Sets protocol version (from Connect message)

Returns
Returns protocol version

Definition at line 1087 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.setDeletedSubscriptions ( ArrayList< Subscription deletedSubscriptions)

Sets array of deleted user subscriptions

Parameters
deletedSubscriptionsArray of deleted user subscriptions

Definition at line 1540 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.setDisconnect ( boolean  disconnect)

Sets whether this request contains disconnect message

Parameters
disconnectIf disconnect is presented, true, false otherwise

Definition at line 1105 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.setDocumentChanged ( boolean  documentChanged)

Sets whether annotated document is changed (text modified)

Parameters
documentChangedIf document is changed, true, false otherwise

Definition at line 1162 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.setEntityRequest ( EntityRequest  entityRequest)

Sets request of controlled dictionary entity.

Parameters
entityRequestrequest of controlled dictionary entity

Definition at line 1351 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.setErrors ( String  errors)

Sets string with error messages for client

Parameters
errorsString with error messages for client

Definition at line 204 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.setFlier ( Flier  flier)

Setting of flier Flier contains all informations, which can be relevant for comet handlers.

Parameters
flierFlier with informations for comet handlers

Definition at line 531 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.setGetEntityTypes ( boolean  getEntityTypes)

Sets indicator of all entity types request.

Parameters
getEntityTypesindicator of all entity types request

Definition at line 1333 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.setGroupsQueryV2 ( ArrayList< String >  groupsQueryV2)

Sets queried users groups attribues for protocol version 2.0.

Parameters
groupsQueryV2queried users groups attribues

Definition at line 1414 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.setJoinedGroups ( ArrayList< UserGroup joinedGroups)

Sets the list of groups to which is user trying to join

Parameters
joinedGroupsList of groups to which is user trying to join

Definition at line 1198 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.setLastModificationNumber ( int  id)

Sets identifier of last applied modification

Parameters
idIdentifier of last applied modification

Definition at line 1288 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.setLeavedGroups ( ArrayList< UserGroup leavedGroups)

Sets the list of groups to be leaved

Parameters
leavedGroupsList of groups to be leaved

Definition at line 1225 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.setLoggedIn ( User  loggedIn)

Sets just logged in user

Parameters
loggedInJust logged in user

Definition at line 1069 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.setLogout ( boolean  logout)

Sets whether this request contains logout message

Parameters
logoutIf logout is presented, true, false otherwise

Definition at line 1123 of file RequestInfo.java.

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

Sets minimal confidence

Parameters
minConfidenceNumber of minimal confidence

Definition at line 1621 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.setNewDocument ( boolean  newDocument)

Sets, whether just synchronized document is new (yet unknown)

Parameters
newDocumentIf just synchronized document is new, true, false otherwis

Definition at line 1180 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.setNewSubscriptions ( ArrayList< Subscription newSubscriptions)

Sets array of added user subscriptions

Parameters
newSubscriptionsArray of added user subscriptions

Definition at line 1567 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.setOrigRefusedSuggestions ( ArrayList< SuggestionLogEntry origRefusedSuggestions)

Sets original list of refused annotation suggestions

Parameters
origRefusedSuggestionsOriginal list of refused annotation suggestions

Definition at line 662 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.setQueryPersons ( ArrayList< String >  queryPersons)

Sets queried persons (list of strings with filters)

Parameters
queryPersonsQueried persons (list of strings with filters)

Definition at line 925 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.setQueryPersonsWG ( ArrayList< String >  queryPersonsWG)

Sets queried persons with list of user groups (list of strings with filters)

Parameters
queryPersonsWGQueried persons with list of user groups (list of strings with filters)

Definition at line 979 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.setQueryTypeAttOnto ( String  queryTypeAttOnto)

Sets URI of user group in which are queried attributes from ontology

Parameters
queryTypeAttOntoURI of user group in which are queried attributes from ontology

Definition at line 1270 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.setQueryTypes ( ArrayList< String >  queryTypes)

Sets queried annotation types (list of strings with filters)

Parameters
queryTypesQueried annotation types (list of strings with filters)

Definition at line 898 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.setQueryUserGroups ( ArrayList< String >  queryUserGroups)

Sets queried user groups (list of strings with filters)

Parameters
queryUserGroupsQueried user groups (list of strings with filters)

Definition at line 952 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.setQueryUserGroupsWP ( ArrayList< String >  queryUserGroupsWP)

Sets queried user groups with list of persons (list of strings with filters)

Parameters
queryUserGroupsWPQueried user groups with list of persons (list of strings with filters)

Definition at line 1006 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.setRefusedSuggestions ( ArrayList< SuggestionLogEntry refusedSuggestions)

Sets list of refused annotation suggestions

Parameters
refusedSuggestionsList of refused annotation suggestions

Definition at line 635 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.setReloadAll ( boolean  reloadAll)

Sets, whether client requested reloading of all annotations

Parameters
reloadAllIf client requested reloading of all annotations, true, false otherwise

Definition at line 880 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.setReloadAnnotations ( ArrayList< Annotation reloadAnnotations)

Sets the list of reloaded annotations

Parameters
reloadAnnotationsList of reloaded annotations (requested by client)

Definition at line 853 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.setReplyText ( String  ReplyText)

Sets the string with replies for the client

Parameters
ReplyTextstring with replies for the client

Definition at line 590 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.setRequestDocument ( Document  requestDocument)

Sets parsed request data in document

Parameters
requestDocumentParsed request data in document

Definition at line 1051 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.setRequestString ( String  requestString)

Sets raw request data

Parameters
requestStringRaw request data

Definition at line 1033 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.setResyncDocContent ( String  resyncDocContent)

Sets content of resynchronized document (data from client request)

Parameters
resyncDocContentContent of resynchronized document

Definition at line 835 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.setSession ( EditorSession  session)

Sets the session in which this request originated

Parameters
sessionSession in which this request originated

Definition at line 549 of file RequestInfo.java.

Here is the call graph for this function:

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.setSessionOnly ( boolean  sessionOnly)

Sets whether is only one message sent that was session

Parameters
sessionOnlyIndicator whether is only one message sent that was session

Definition at line 1252 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.setSettings ( ArrayList< Settings settings)

Sets list of params of user settings

Parameters
settingsList of params of user settings

Definition at line 743 of file RequestInfo.java.

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

Sets list of just subscribed subscriptions

Parameters
subscribeListList of just subscribed subscriptions

Definition at line 1450 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.setSubscriptionQuery ( ArrayList< String >  subscriptionQuery)

Sets array with parameters of subscription query

Parameters
subscriptionQueryArray with parameters of subscription query

Definition at line 1612 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.setSuggFragmentChanged ( Boolean  suggFragmentChanged)

Sets whether fragment to which is annotations suggesting is changed

Parameters
suggFragmentChangedIf fragment is changed, true, false otherwise

Definition at line 617 of file RequestInfo.java.

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

Sets synchronized document. This is set by server module in the case of successfull synchronization.

Parameters
syncDocumentSynchronized document

Definition at line 781 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.setSyncDocumentData ( AnnotDocument  syncDocumentData)

Sets data of synchronized document (data from user request)

Parameters
syncDocumentDataData of synchronized document (data from user request)

Definition at line 761 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.setSyncLinearized ( boolean  syncLinearized)

Sets information about whether synchronization is with linearization

Parameters
syncLinearizedIf synchronization is with linearization, true, false otherwise

Definition at line 799 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.setSyncWithOverwrite ( boolean  syncWithOverwrite)

Sets information about whether synchronization is is forced (overwrite document)

Parameters
syncWithOverwriteIf synchronization is forced, true, false otherwise

Definition at line 817 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.setUnsubscribeList ( ArrayList< Subscription unsubscribeList)

Sets list of just unsubscribed subscriptions

Parameters
unsubscribeListList of just unsubscribed subscriptions

Definition at line 1477 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.setUpdatedSubscriptions ( ArrayList< Subscription updatedSubscriptions)

Sets array of updated user subscriptions

Parameters
updatedSubscriptionsArray of updated user subscriptions

Definition at line 1513 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.setUsersGroupRestrictionsV2 ( boolean[]  usersGroupRestrictionsV2)

Sets queried user groups persons restrictions for protocol version 2.0.

Parameters
usersGroupRestrictionsV2persons restrictions

Definition at line 1432 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.setUsersQueryV2 ( ArrayList< String >  usersQueryV2)

Sets queried persons attribues for protocol version 2.0.

Parameters
usersQueryV2queried persons attribues

Definition at line 1378 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.setUsersRestrictionsV2 ( boolean[]  usersRestrictionsV2)

Sets queried persons restrictions for protocol version 2.0.

Parameters
usersRestrictionsV2queried persons restrictions

Definition at line 1396 of file RequestInfo.java.

void cz.vutbr.fit.knot.annotations.comet.RequestInfo.setWarnings ( String  warnings)

Sets string with warning messages for client

Parameters
warningsString with warning messages for client

Definition at line 397 of file RequestInfo.java.

Member Data Documentation

ArrayList<Suggestion> cz.vutbr.fit.knot.annotations.comet.RequestInfo.alternativesRequestedFor
private

Array of suggestions for which alternatives was requested

Definition at line 78 of file RequestInfo.java.

ArrayList<SuggestionLogEntry> cz.vutbr.fit.knot.annotations.comet.RequestInfo.autoconfirmedSuggestions
private

List of automatically confirmed suggestions

Definition at line 154 of file RequestInfo.java.

boolean cz.vutbr.fit.knot.annotations.comet.RequestInfo.autoconfirmRequested
private

Information about request for autoconfirm suggestions

Definition at line 152 of file RequestInfo.java.

ArrayList<Subscription> cz.vutbr.fit.knot.annotations.comet.RequestInfo.beforeUpdatedSubscriptions
private

Array of subscriptions before update

Definition at line 142 of file RequestInfo.java.

boolean cz.vutbr.fit.knot.annotations.comet.RequestInfo.canNotify = true
private

Indicator whether flier can be sent to comet handlers (no serious error ocurred)

Definition at line 44 of file RequestInfo.java.

ArrayList<EditorSession> cz.vutbr.fit.knot.annotations.comet.RequestInfo.cometSessionList = null
private

Sessions to which this comet request pertains

Definition at line 58 of file RequestInfo.java.

ArrayList<SuggestionLogEntry> cz.vutbr.fit.knot.annotations.comet.RequestInfo.confirmedSuggestions
private

Array of confirmed suggestions

Definition at line 76 of file RequestInfo.java.

String cz.vutbr.fit.knot.annotations.comet.RequestInfo.connectWPV = null
private

Version of protocol which will be used in this connection

Definition at line 66 of file RequestInfo.java.

ArrayList<Subscription> cz.vutbr.fit.knot.annotations.comet.RequestInfo.deletedSubscriptions
private

Array of deleted user subscriptions

Definition at line 144 of file RequestInfo.java.

boolean cz.vutbr.fit.knot.annotations.comet.RequestInfo.disconnect = false
private

Disconnect indicator

Definition at line 68 of file RequestInfo.java.

boolean cz.vutbr.fit.knot.annotations.comet.RequestInfo.documentChanged = false
private

Indicator of change in document

Definition at line 108 of file RequestInfo.java.

EntityRequest cz.vutbr.fit.knot.annotations.comet.RequestInfo.entityRequest
private

Request for controlled dictionary entity

Definition at line 124 of file RequestInfo.java.

ArrayList<Integer> cz.vutbr.fit.knot.annotations.comet.RequestInfo.errorList
private

List of numbers of occurred errors

Definition at line 52 of file RequestInfo.java.

String cz.vutbr.fit.knot.annotations.comet.RequestInfo.errors = ""
private

String with error messages for client

Definition at line 50 of file RequestInfo.java.

Flier cz.vutbr.fit.knot.annotations.comet.RequestInfo.flier = null
private

Informations for comet handlers

  • All informations, which can be relevant for comet handlers are here.

Definition at line 40 of file RequestInfo.java.

boolean cz.vutbr.fit.knot.annotations.comet.RequestInfo.getEntityTypes
private

Set to true if user wnats all entity types

Definition at line 122 of file RequestInfo.java.

ArrayList<String> cz.vutbr.fit.knot.annotations.comet.RequestInfo.groupsQueryV2
private

Queried users groups attribues for protocol version 2.0

Definition at line 132 of file RequestInfo.java.

ArrayList<UserGroup> cz.vutbr.fit.knot.annotations.comet.RequestInfo.joinedGroups
private

List of groups to which is user trying to join

Definition at line 110 of file RequestInfo.java.

int cz.vutbr.fit.knot.annotations.comet.RequestInfo.lastModificationNumber
private

Number of last modification stands for ID of last applied modification

Definition at line 120 of file RequestInfo.java.

ArrayList<UserGroup> cz.vutbr.fit.knot.annotations.comet.RequestInfo.leavedGroups
private

List of groups to be leaved

Definition at line 112 of file RequestInfo.java.

User cz.vutbr.fit.knot.annotations.comet.RequestInfo.loggedIn = null
private

User, which is logging in

Definition at line 62 of file RequestInfo.java.

boolean cz.vutbr.fit.knot.annotations.comet.RequestInfo.logout = false
private

Logout indicator

Definition at line 64 of file RequestInfo.java.

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

Minimal confidence used to filtrate suggestions

Definition at line 150 of file RequestInfo.java.

boolean cz.vutbr.fit.knot.annotations.comet.RequestInfo.newDocument = false
private

Indicator of synchronization new (yet unknown) document

Definition at line 86 of file RequestInfo.java.

ArrayList<Subscription> cz.vutbr.fit.knot.annotations.comet.RequestInfo.newSubscriptions
private

Array of added user subscriptions

Definition at line 146 of file RequestInfo.java.

String cz.vutbr.fit.knot.annotations.comet.RequestInfo.oldDocumentVersion
private

Version of document before changes

Definition at line 126 of file RequestInfo.java.

ArrayList<SuggestionLogEntry> cz.vutbr.fit.knot.annotations.comet.RequestInfo.origRefusedSuggestions
private

Original array of refused suggestions

Definition at line 74 of file RequestInfo.java.

ArrayList<String> cz.vutbr.fit.knot.annotations.comet.RequestInfo.queryPersons
private

Queried persons (list of strings with filters)

Definition at line 100 of file RequestInfo.java.

ArrayList<String> cz.vutbr.fit.knot.annotations.comet.RequestInfo.queryPersonsWG
private

Queried persons with user groups (list of strings with filters)

Definition at line 104 of file RequestInfo.java.

String cz.vutbr.fit.knot.annotations.comet.RequestInfo.queryTypeAttOnto = null
private

URI of user group in which are queried attributes from ontology

Definition at line 116 of file RequestInfo.java.

ArrayList<String> cz.vutbr.fit.knot.annotations.comet.RequestInfo.queryTypes
private

Queried annotation types (list of strings with filters)

Definition at line 98 of file RequestInfo.java.

ArrayList<String> cz.vutbr.fit.knot.annotations.comet.RequestInfo.queryUserGroups
private

Queried user groups (list of strings with filters)

Definition at line 102 of file RequestInfo.java.

ArrayList<String> cz.vutbr.fit.knot.annotations.comet.RequestInfo.queryUserGroupsWP
private

Queried user groups with persons (list of strings with filters)

Definition at line 106 of file RequestInfo.java.

ArrayList<SuggestionLogEntry> cz.vutbr.fit.knot.annotations.comet.RequestInfo.refusedSuggestions
private

Array of refused suggestions

Definition at line 72 of file RequestInfo.java.

boolean cz.vutbr.fit.knot.annotations.comet.RequestInfo.reloadAll = false
private

Indicator of reloading all annotations

Definition at line 96 of file RequestInfo.java.

ArrayList<Annotation> cz.vutbr.fit.knot.annotations.comet.RequestInfo.reloadAnnotations
private

Array of annotations to be reloaded

Definition at line 94 of file RequestInfo.java.

String cz.vutbr.fit.knot.annotations.comet.RequestInfo.ReplyText = ""
private

String with replies for the client

Definition at line 60 of file RequestInfo.java.

Document cz.vutbr.fit.knot.annotations.comet.RequestInfo.requestDocument
private

Parsed XML document with client request

Definition at line 48 of file RequestInfo.java.

String cz.vutbr.fit.knot.annotations.comet.RequestInfo.requestString = ""
private

String with request from client (raw POST data)

Definition at line 46 of file RequestInfo.java.

String cz.vutbr.fit.knot.annotations.comet.RequestInfo.resyncDocContent = null
private

Informations about resynchronized document

Definition at line 92 of file RequestInfo.java.

EditorSession cz.vutbr.fit.knot.annotations.comet.RequestInfo.session = null
private

Session to which this request pertains

Definition at line 56 of file RequestInfo.java.

boolean cz.vutbr.fit.knot.annotations.comet.RequestInfo.sessionOnly = false
private

Indicator whether is only one message sent that was session

Definition at line 114 of file RequestInfo.java.

ArrayList<Settings> cz.vutbr.fit.knot.annotations.comet.RequestInfo.settings
private

Array with parameters of settings

Definition at line 80 of file RequestInfo.java.

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

List of just subscribed subscriptions

Definition at line 136 of file RequestInfo.java.

ArrayList<String> cz.vutbr.fit.knot.annotations.comet.RequestInfo.subscriptionQuery
private

Array with parameters of subscription query

Definition at line 148 of file RequestInfo.java.

Boolean cz.vutbr.fit.knot.annotations.comet.RequestInfo.suggFragmentChanged = false
private

Indicator of change in requested suggestions

Definition at line 70 of file RequestInfo.java.

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

In case of successful synchronization, here will be synchronized document

Definition at line 84 of file RequestInfo.java.

AnnotDocument cz.vutbr.fit.knot.annotations.comet.RequestInfo.syncDocumentData = null
private

Informations about synchronized document

Definition at line 82 of file RequestInfo.java.

boolean cz.vutbr.fit.knot.annotations.comet.RequestInfo.syncLinearized = false
private

Indicator of synchronization with linearization

Definition at line 88 of file RequestInfo.java.

boolean cz.vutbr.fit.knot.annotations.comet.RequestInfo.syncWithOverwrite = false
private

Indicator of forced synchronization (overwriting of document)

Definition at line 90 of file RequestInfo.java.

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

New text modifications to be applied to synschronized document

Definition at line 118 of file RequestInfo.java.

ArrayList<Subscription> cz.vutbr.fit.knot.annotations.comet.RequestInfo.unsubscribeList = null
private

List of just unsubscribed subscriptions

Definition at line 138 of file RequestInfo.java.

ArrayList<Subscription> cz.vutbr.fit.knot.annotations.comet.RequestInfo.updatedSubscriptions
private

Array of updated user subscriptions

Definition at line 140 of file RequestInfo.java.

boolean [] cz.vutbr.fit.knot.annotations.comet.RequestInfo.usersGroupRestrictionsV2
private

Queried user group persons (if parameter withUsers = true) restrictions for protocol version 2.0

Definition at line 134 of file RequestInfo.java.

ArrayList<String> cz.vutbr.fit.knot.annotations.comet.RequestInfo.usersQueryV2
private

Queried persons attribues for protocol version 2.0

Definition at line 128 of file RequestInfo.java.

boolean [] cz.vutbr.fit.knot.annotations.comet.RequestInfo.usersRestrictionsV2
private

Queried persons restrictions for protocol version 2.0

Definition at line 130 of file RequestInfo.java.

String cz.vutbr.fit.knot.annotations.comet.RequestInfo.warnings = ""
private

String with warning messages for client

Definition at line 54 of file RequestInfo.java.


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