4A Server -
2.0
|
Processed informations about client request. More...
Classes | |
class | EntityRequest |
Holds information about the query to dictionary entries. More... | |
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) |
Processed informations about client request.
Class for representing processed informations about client request
Definition at line 35 of file RequestInfo.java.
cz.vutbr.fit.knot.annotations.comet.RequestInfo.RequestInfo | ( | ) |
Constructor which initializes variables
Definition at line 159 of file RequestInfo.java.
void cz.vutbr.fit.knot.annotations.comet.RequestInfo.addAutoconfirmedSuggestion | ( | SuggestionLogEntry | autoconfirmedSuggestion | ) |
Adds suggestion into list of automatically confirmed suggestions
autoconfirmedSuggestion | Automatically 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
beforeUpdatedSubscriptions | Subscription 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
confirmedSuggestion | Confirmed 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
deletedSubscription | Deleted 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.
error | String with error for client (in XML) |
Definition at line 223 of file RequestInfo.java.
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.
version | Version of protocol used (LOD) |
lNum | Number (id) of language |
error | Number of error |
Definition at line 235 of file RequestInfo.java.
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.
version | Version of protocol used (LOD) |
lNum | Number (id) of language |
error | Number of error |
info | Additional informations in XML |
Definition at line 248 of file RequestInfo.java.
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.
version | Version of protocol used (LOD) |
lNum | Number (id) of language |
error | Number of error |
info | Additional informations in XML |
text | Custom error message |
Definition at line 264 of file RequestInfo.java.
void cz.vutbr.fit.knot.annotations.comet.RequestInfo.addJoinedGroup | ( | UserGroup | joinedGroup | ) |
Adds group to which is user trying to join to the list
joinedGroup | Group 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
leavedGroup | Group 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
newSubscription | New 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
queryPerson | Queried 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
queryPersonsWG | Queried 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
queryType | Queried 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
queryUserGroups | Queried 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
queryUserGroupsWP | Queried 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
refusedSuggestion | Refused 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
reloadAnnotation | Reloaded 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
sug | Suggestion 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.
textModification | Sent 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.
textModifications | Sent 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
subscription | Just 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
subscription | Just 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
updatedSubscription | Updated 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.
warning | String with warning for client (in XML) |
Definition at line 406 of file RequestInfo.java.
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.
version | Version of protocol used (LOD) |
lNum | Number (id) of language |
warning | Number of error |
Definition at line 418 of file RequestInfo.java.
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.
version | Version of protocol used (LOD) |
lNum | Number (id) of language |
warning | Number of error |
annotation | URI of affected annotation |
Definition at line 431 of file RequestInfo.java.
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.
lNum | Number (id) of language |
warning | Number of error |
annotation | URI of affected annotation |
text | Custom warning message |
Definition at line 454 of file RequestInfo.java.
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
lNum | Number (id) of language |
warning | Number of error |
info | Additional informations in XML |
text | Custom warning message |
Definition at line 501 of file RequestInfo.java.
void cz.vutbr.fit.knot.annotations.comet.RequestInfo.appendToReply | ( | String | text | ) |
Appends new response message to responses for client.
text | Response 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 |
Function for creating error message to be sent to client. Numbers of errors and strings with error messages are specified in class Constants.
version | Version of protocol used (LOD) |
lNum | Number (id) of language |
error | Number of error |
Definition at line 278 of file RequestInfo.java.
|
static |
Function for creating error message to be sent to client. Numbers of errors and strings with error messages are specified in class Constants.
version | Version of protocol used (LOD) |
lNum | Number (id) of language |
error | Number of error |
info | Additional informations in XML |
Definition at line 292 of file RequestInfo.java.
|
static |
Function for creating error message to be sent to client. Numbers of errors and strings with error messages are specified in class Constants.
version | Version of protocol used (LOD) |
lNum | Number (id) of language |
error | Number of error |
info | Additional informations in XML |
text | Custom error message |
Definition at line 307 of file RequestInfo.java.
|
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
lNum | Number (id) of language |
error | Number of error |
info | Additional informations in XML |
text | Custom error message |
Definition at line 326 of file RequestInfo.java.
|
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
lNum | Number (id) of language |
error | Number of error |
info | Additional informations in XML |
text | Custom error message |
Definition at line 359 of file RequestInfo.java.
ArrayList<Suggestion> cz.vutbr.fit.knot.annotations.comet.RequestInfo.getAlternativesRequestedFor | ( | ) |
Gets array of suggestions for which alternatives was requested
Definition at line 707 of file RequestInfo.java.
ArrayList<SuggestionLogEntry> cz.vutbr.fit.knot.annotations.comet.RequestInfo.getAutoconfirmedSuggestions | ( | ) |
Gets list of automatically confirmed suggestions
Definition at line 1657 of file RequestInfo.java.
ArrayList<Subscription> cz.vutbr.fit.knot.annotations.comet.RequestInfo.getBeforeUpdatedSubscriptions | ( | ) |
Gets 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)
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
Definition at line 561 of file RequestInfo.java.
ArrayList<SuggestionLogEntry> cz.vutbr.fit.knot.annotations.comet.RequestInfo.getConfirmedSuggestions | ( | ) |
Gets list of confirmed annotation suggestions
Definition at line 671 of file RequestInfo.java.
String cz.vutbr.fit.knot.annotations.comet.RequestInfo.getConnectWPV | ( | ) |
Gets protocol version (set only if this request contains Connect message)
Definition at line 1078 of file RequestInfo.java.
ArrayList<Subscription> cz.vutbr.fit.knot.annotations.comet.RequestInfo.getDeletedSubscriptions | ( | ) |
Gets array of deleted user subscriptions
Definition at line 1522 of file RequestInfo.java.
EntityRequest cz.vutbr.fit.knot.annotations.comet.RequestInfo.getEntityRequest | ( | ) |
Gets request of controlled dictionary entity.
Definition at line 1342 of file RequestInfo.java.
ArrayList<Integer> cz.vutbr.fit.knot.annotations.comet.RequestInfo.getErrorList | ( | ) |
Gets list of numbers of occurred errors
Definition at line 213 of file RequestInfo.java.
String cz.vutbr.fit.knot.annotations.comet.RequestInfo.getErrors | ( | ) |
Gets 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.
Definition at line 485 of file RequestInfo.java.
ArrayList<String> cz.vutbr.fit.knot.annotations.comet.RequestInfo.getGroupsQueryV2 | ( | ) |
Gets queried users groups attribues for protocol version 2.0.
Definition at line 1405 of file RequestInfo.java.
ArrayList<UserGroup> cz.vutbr.fit.knot.annotations.comet.RequestInfo.getJoinedGroups | ( | ) |
Gets list of groups to which is user trying to join
Definition at line 1189 of file RequestInfo.java.
int cz.vutbr.fit.knot.annotations.comet.RequestInfo.getLastModificationNumber | ( | ) |
Gets last applied modification identifier
Definition at line 1297 of file RequestInfo.java.
ArrayList<UserGroup> cz.vutbr.fit.knot.annotations.comet.RequestInfo.getLeavedGroups | ( | ) |
Gets List of groups to be leaved
Definition at line 1216 of file RequestInfo.java.
User cz.vutbr.fit.knot.annotations.comet.RequestInfo.getLoggedIn | ( | ) |
Gets just logged in user
Definition at line 1060 of file RequestInfo.java.
Integer cz.vutbr.fit.knot.annotations.comet.RequestInfo.getMinConfidence | ( | ) |
Gets 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
Definition at line 1549 of file RequestInfo.java.
String cz.vutbr.fit.knot.annotations.comet.RequestInfo.getOldDocumentVersion | ( | ) |
Gets 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
Definition at line 653 of file RequestInfo.java.
ArrayList<String> cz.vutbr.fit.knot.annotations.comet.RequestInfo.getQueryPersons | ( | ) |
Gets queried persons (list of strings with filters)
Definition at line 916 of file RequestInfo.java.
ArrayList<String> cz.vutbr.fit.knot.annotations.comet.RequestInfo.getQueryPersonsWG | ( | ) |
Gets queried persons with list of user groups (list of strings with filters)
Definition at line 970 of file RequestInfo.java.
String cz.vutbr.fit.knot.annotations.comet.RequestInfo.getQueryTypeAttOnto | ( | ) |
Gets URI ofuser group in which are queried attributes from ontology
Definition at line 1261 of file RequestInfo.java.
ArrayList<String> cz.vutbr.fit.knot.annotations.comet.RequestInfo.getQueryTypes | ( | ) |
Gets queried annotation types (list of strings with filters)
Definition at line 889 of file RequestInfo.java.
ArrayList<String> cz.vutbr.fit.knot.annotations.comet.RequestInfo.getQueryUserGroups | ( | ) |
Gets queried user groups (list of strings with filters)
Definition at line 943 of file RequestInfo.java.
ArrayList<String> cz.vutbr.fit.knot.annotations.comet.RequestInfo.getQueryUserGroupsWP | ( | ) |
Gets queried user groups with list of persons (list of strings with filters)
Definition at line 997 of file RequestInfo.java.
ArrayList<SuggestionLogEntry> cz.vutbr.fit.knot.annotations.comet.RequestInfo.getRefusedSuggestions | ( | ) |
Gets list of refused annotation suggestions
Definition at line 626 of file RequestInfo.java.
boolean cz.vutbr.fit.knot.annotations.comet.RequestInfo.getReloadAll | ( | ) |
Returns, whether client requested reloading of all annotations
Definition at line 871 of file RequestInfo.java.
ArrayList<Annotation> cz.vutbr.fit.knot.annotations.comet.RequestInfo.getReloadAnnotations | ( | ) |
Gets 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).
Definition at line 581 of file RequestInfo.java.
Document cz.vutbr.fit.knot.annotations.comet.RequestInfo.getRequestDocument | ( | ) |
Gets 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
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)
Definition at line 826 of file RequestInfo.java.
EditorSession cz.vutbr.fit.knot.annotations.comet.RequestInfo.getSession | ( | ) |
Geting of session in which this request originated
Definition at line 540 of file RequestInfo.java.
ArrayList<Settings> cz.vutbr.fit.knot.annotations.comet.RequestInfo.getSettings | ( | ) |
Gets list of params of user settings
Definition at line 734 of file RequestInfo.java.
ArrayList<Subscription> cz.vutbr.fit.knot.annotations.comet.RequestInfo.getSubscribeList | ( | ) |
Gets list of just subscribed subscriptions
Definition at line 1441 of file RequestInfo.java.
ArrayList<String> cz.vutbr.fit.knot.annotations.comet.RequestInfo.getSubscriptionQuery | ( | ) |
Gets array with parameters of subscription query
Definition at line 1603 of file RequestInfo.java.
AnnotDocument cz.vutbr.fit.knot.annotations.comet.RequestInfo.getSyncDocument | ( | ) |
Gets synchronized document. This is set by server module in the case of successfull synchronization.
Definition at line 771 of file RequestInfo.java.
AnnotDocument cz.vutbr.fit.knot.annotations.comet.RequestInfo.getSyncDocumentData | ( | ) |
Gets data of synchronized document (data from user request)
Definition at line 752 of file RequestInfo.java.
ArrayList<TextModification> cz.vutbr.fit.knot.annotations.comet.RequestInfo.getTextModifications | ( | ) |
Gets sent text modifications which should be applied to document.
Definition at line 1279 of file RequestInfo.java.
ArrayList<Subscription> cz.vutbr.fit.knot.annotations.comet.RequestInfo.getUnsubscribeList | ( | ) |
Gets list of just unsubscribed subscriptions
Definition at line 1468 of file RequestInfo.java.
ArrayList<Subscription> cz.vutbr.fit.knot.annotations.comet.RequestInfo.getUpdatedSubscriptions | ( | ) |
Gets array of updated user subscriptions
Definition at line 1495 of file RequestInfo.java.
boolean [] cz.vutbr.fit.knot.annotations.comet.RequestInfo.getUsersGroupRestrictionsV2 | ( | ) |
Gets queried user groups persons restrictions for protocol version 2.0.
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.
Definition at line 1369 of file RequestInfo.java.
boolean [] cz.vutbr.fit.knot.annotations.comet.RequestInfo.getUsersRestrictionsV2 | ( | ) |
Gets queried persons restrictions for protocol version 2.0.
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
Definition at line 388 of file RequestInfo.java.
boolean cz.vutbr.fit.knot.annotations.comet.RequestInfo.isAutoconfirmRequested | ( | ) |
Gets information about request for autoconfirm suggestions.
Definition at line 1639 of file RequestInfo.java.
boolean cz.vutbr.fit.knot.annotations.comet.RequestInfo.isDisconnect | ( | ) |
Returns whether this request contains disconnect message
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.
Definition at line 1153 of file RequestInfo.java.
boolean cz.vutbr.fit.knot.annotations.comet.RequestInfo.isGetEntityTypes | ( | ) |
Gets indicator of all entity types request.
Definition at line 1324 of file RequestInfo.java.
boolean cz.vutbr.fit.knot.annotations.comet.RequestInfo.isLogout | ( | ) |
Returns whether this request contains logout message
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)
Definition at line 1171 of file RequestInfo.java.
boolean cz.vutbr.fit.knot.annotations.comet.RequestInfo.isSessionOnly | ( | ) |
Gets 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
Definition at line 608 of file RequestInfo.java.
boolean cz.vutbr.fit.knot.annotations.comet.RequestInfo.isSyncLinearized | ( | ) |
Gets information about whether synchronization is with linearization
Definition at line 790 of file RequestInfo.java.
boolean cz.vutbr.fit.knot.annotations.comet.RequestInfo.isSyncWithOverwrite | ( | ) |
Gets information about whether synchronization is forced (overwrite document)
Definition at line 808 of file RequestInfo.java.
void cz.vutbr.fit.knot.annotations.comet.RequestInfo.setAlternativesRequestedFor | ( | ArrayList< Suggestion > | alternativesRequestedFor | ) |
Sets array of suggestions for which alternatives was requested
alternativesRequestedFor | Array 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
autoconfirmedSuggestions | List 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.
autoconfirmRequested | information 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
beforeUpdatedSubscriptions | Array 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)
canNotify | If 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
sessionList | List 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
confirmedSuggestions | List 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)
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
deletedSubscriptions | Array 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
disconnect | If 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)
documentChanged | If 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.
entityRequest | request 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
errors | String 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.
flier | Flier 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.
getEntityTypes | indicator 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.
groupsQueryV2 | queried 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
joinedGroups | List 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
id | Identifier 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
leavedGroups | List 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
loggedIn | Just 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
logout | If 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
minConfidence | Number 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)
newDocument | If 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
newSubscriptions | Array 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
origRefusedSuggestions | Original 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)
queryPersons | Queried 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)
queryPersonsWG | Queried 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
queryTypeAttOnto | URI 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)
queryTypes | Queried 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)
queryUserGroups | Queried 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)
queryUserGroupsWP | Queried 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
refusedSuggestions | List 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
reloadAll | If 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
reloadAnnotations | List 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
ReplyText | string 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
requestDocument | Parsed 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
requestString | Raw 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)
resyncDocContent | Content 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
session | Session in which this request originated |
Definition at line 549 of file RequestInfo.java.
void cz.vutbr.fit.knot.annotations.comet.RequestInfo.setSessionOnly | ( | boolean | sessionOnly | ) |
Sets whether is only one message sent that was session
sessionOnly | Indicator 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
settings | List 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
subscribeList | List 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
subscriptionQuery | Array 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
suggFragmentChanged | If 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.
syncDocument | Synchronized 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)
syncDocumentData | Data 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
syncLinearized | If 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)
syncWithOverwrite | If 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
unsubscribeList | List 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
updatedSubscriptions | Array 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.
usersGroupRestrictionsV2 | persons 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.
usersQueryV2 | queried 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.
usersRestrictionsV2 | queried 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
warnings | String with warning messages for client |
Definition at line 397 of file RequestInfo.java.
|
private |
Array of suggestions for which alternatives was requested
Definition at line 78 of file RequestInfo.java.
|
private |
List of automatically confirmed suggestions
Definition at line 154 of file RequestInfo.java.
|
private |
Information about request for autoconfirm suggestions
Definition at line 152 of file RequestInfo.java.
|
private |
Array of subscriptions before update
Definition at line 142 of file RequestInfo.java.
|
private |
Indicator whether flier can be sent to comet handlers (no serious error ocurred)
Definition at line 44 of file RequestInfo.java.
|
private |
Sessions to which this comet request pertains
Definition at line 58 of file RequestInfo.java.
|
private |
Array of confirmed suggestions
Definition at line 76 of file RequestInfo.java.
|
private |
Version of protocol which will be used in this connection
Definition at line 66 of file RequestInfo.java.
|
private |
Array of deleted user subscriptions
Definition at line 144 of file RequestInfo.java.
|
private |
Disconnect indicator
Definition at line 68 of file RequestInfo.java.
|
private |
Indicator of change in document
Definition at line 108 of file RequestInfo.java.
|
private |
Request for controlled dictionary entity
Definition at line 124 of file RequestInfo.java.
|
private |
List of numbers of occurred errors
Definition at line 52 of file RequestInfo.java.
|
private |
String with error messages for client
Definition at line 50 of file RequestInfo.java.
|
private |
Informations for comet handlers
Definition at line 40 of file RequestInfo.java.
|
private |
Set to true if user wnats all entity types
Definition at line 122 of file RequestInfo.java.
|
private |
Queried users groups attribues for protocol version 2.0
Definition at line 132 of file RequestInfo.java.
|
private |
List of groups to which is user trying to join
Definition at line 110 of file RequestInfo.java.
|
private |
Number of last modification stands for ID of last applied modification
Definition at line 120 of file RequestInfo.java.
|
private |
List of groups to be leaved
Definition at line 112 of file RequestInfo.java.
|
private |
User, which is logging in
Definition at line 62 of file RequestInfo.java.
|
private |
Logout indicator
Definition at line 64 of file RequestInfo.java.
|
private |
Minimal confidence used to filtrate suggestions
Definition at line 150 of file RequestInfo.java.
|
private |
Indicator of synchronization new (yet unknown) document
Definition at line 86 of file RequestInfo.java.
|
private |
Array of added user subscriptions
Definition at line 146 of file RequestInfo.java.
|
private |
Version of document before changes
Definition at line 126 of file RequestInfo.java.
|
private |
Original array of refused suggestions
Definition at line 74 of file RequestInfo.java.
|
private |
Queried persons (list of strings with filters)
Definition at line 100 of file RequestInfo.java.
|
private |
Queried persons with user groups (list of strings with filters)
Definition at line 104 of file RequestInfo.java.
|
private |
URI of user group in which are queried attributes from ontology
Definition at line 116 of file RequestInfo.java.
|
private |
Queried annotation types (list of strings with filters)
Definition at line 98 of file RequestInfo.java.
|
private |
Queried user groups (list of strings with filters)
Definition at line 102 of file RequestInfo.java.
|
private |
Queried user groups with persons (list of strings with filters)
Definition at line 106 of file RequestInfo.java.
|
private |
Array of refused suggestions
Definition at line 72 of file RequestInfo.java.
|
private |
Indicator of reloading all annotations
Definition at line 96 of file RequestInfo.java.
|
private |
Array of annotations to be reloaded
Definition at line 94 of file RequestInfo.java.
|
private |
String with replies for the client
Definition at line 60 of file RequestInfo.java.
|
private |
Parsed XML document with client request
Definition at line 48 of file RequestInfo.java.
|
private |
String with request from client (raw POST data)
Definition at line 46 of file RequestInfo.java.
|
private |
Informations about resynchronized document
Definition at line 92 of file RequestInfo.java.
|
private |
Session to which this request pertains
Definition at line 56 of file RequestInfo.java.
|
private |
Indicator whether is only one message sent that was session
Definition at line 114 of file RequestInfo.java.
|
private |
Array with parameters of settings
Definition at line 80 of file RequestInfo.java.
|
private |
List of just subscribed subscriptions
Definition at line 136 of file RequestInfo.java.
|
private |
Array with parameters of subscription query
Definition at line 148 of file RequestInfo.java.
|
private |
Indicator of change in requested suggestions
Definition at line 70 of file RequestInfo.java.
|
private |
In case of successful synchronization, here will be synchronized document
Definition at line 84 of file RequestInfo.java.
|
private |
Informations about synchronized document
Definition at line 82 of file RequestInfo.java.
|
private |
Indicator of synchronization with linearization
Definition at line 88 of file RequestInfo.java.
|
private |
Indicator of forced synchronization (overwriting of document)
Definition at line 90 of file RequestInfo.java.
|
private |
New text modifications to be applied to synschronized document
Definition at line 118 of file RequestInfo.java.
|
private |
List of just unsubscribed subscriptions
Definition at line 138 of file RequestInfo.java.
|
private |
Array of updated user subscriptions
Definition at line 140 of file RequestInfo.java.
|
private |
Queried user group persons (if parameter withUsers = true) restrictions for protocol version 2.0
Definition at line 134 of file RequestInfo.java.
|
private |
Queried persons attribues for protocol version 2.0
Definition at line 128 of file RequestInfo.java.
|
private |
Queried persons restrictions for protocol version 2.0
Definition at line 130 of file RequestInfo.java.
|
private |
String with warning messages for client
Definition at line 54 of file RequestInfo.java.