Package de.elo.ix.client
Class ClientInfo
java.lang.Object
byps.BValueClass
de.elo.ix.client.ValueClass
de.elo.ix.client.ClientInfo
- All Implemented Interfaces:
Serializable
Contains the session ticket and the users language and country. Each Indexserver interface
function, except the login, requires a
ClientInfo
object as parameter with a valid
session ticket.
Copyright: Copyright (c) 2004
Organisation: ELO Digital Office GmbH
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
This string is used for debugging purposes only.protected String
Country in ISO 3166 format.protected String
The user's language as IETF language tag.protected int
Internal use only.protected String
This is the session ID in the communication between the client and the Indexserver.protected String
The time zone for the ELO client.Fields inherited from class byps.BValueClass
bypsClient, changedMembers, dbHelper, FLAG_SEALED, flags
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
static ClientInfo
This ClientInfo object is used by default in REST calls if the client does not provide one.int
int
hashCode()
void
void
setCountry
(String country) void
setLanguage
(String language) void
setOptions
(int options) void
void
setTimeZone
(String timeZone) toString()
Methods inherited from class byps.BValueClass
getBypsClient, getChangedMembers, getDbHelper, isChangedMember, isSealed, seal, seal, setBypsClient, setChangedMember, setChangedMembers, setDbHelper
-
Field Details
-
callId
This string is used for debugging purposes only. It is displayed in error messages and reports. -
country
Country in ISO 3166 format. This value defines number formats (especially the decimal delimiter) used in numeric values inSord.objKeys
.
A country can also be specified inExamples CZ Czeach Republic FR France DE Germany language
. -
language
The user's language as IETF language tag. A language is specified as IETF language tag. The language part conforms to ISO 639-1. Starting with IX version 21.3, a language tag is optionally followed by a country tag from ISO 3166-1 alpha-2. The parts are separated by hyphen.
If a translation for a given language is not found, other language tags are taken into account as described inExamples: de German de-CH German language in Switzerland de-AT German language in Austria FindTranslateTermInfo
. The country part in this value is overwritten bycountry
if provided. -
ticket
This is the session ID in the communication between the client and the Indexserver. It has a limited lifetime. The lifetime can be configured at the ELOAM (access manager server). The Indexserver returns a valid ticket if the IXServicePortIF.login call succeeds. The lifetime of the ticket can be extended by calling IXServicePortIF.alive.
- See Also:
-
timeZone
The time zone for the ELO client. Can be one of the predefined time zone IDs in the Java platform or a string of format "GMT" + sign + hh + ":" + mm. -
options
protected int optionsInternal use only. Bit 0 of this member is set for requests that are send from one Indexserver instance to another instance in load balancing scenarios.- Since:
- 8.00.010.000
-
-
Constructor Details
-
ClientInfo
public ClientInfo() -
ClientInfo
Constructor- Parameters:
callId
- Stringcountry
- Stringlanguage
- Stringticket
- StringtimeZone
- String
-
ClientInfo
-
ClientInfo
-
-
Method Details
-
getDefault
This ClientInfo object is used by default in REST calls if the client does not provide one. EIX-2651 -
getCallId
-
setCallId
-
getCountry
-
setCountry
-
getLanguage
-
setLanguage
-
getTicket
-
setTicket
-
getTimeZone
-
setTimeZone
-
getOptions
public int getOptions() -
setOptions
public void setOptions(int options) -
toString
-
hashCode
public int hashCode() -
equals
-