Package de.elo.ix.client
Class SessionOptionsC
java.lang.Object
de.elo.ix.client.SessionOptionsC
- All Implemented Interfaces:
Serializable
Constants of SessionOptions.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Comma separated list of active role IDs.static final String
Reserved.static final String
Apply all blackenings on documents regardless of their ACL.static final String
Client application name.static final String
Client application type.static final String
Client application version.static final String
Control the synchronicity of copying objkeys to child entries.static final String
This character is used in the SQL statement, if the search criterias contain one of the SQL wildcard characters: "%", "_".static final String
This characters are used as wildcards in search terms.static final String
Set this option to decrypt documents on checkout.static final String
Deprecated.This option is ignored since ELO 9.0static final String
If set, this option disables the protection of change information.static final String
Disable logging of API calls for this session.static final String
Deprecated.This option is ignored since ELO 9.0static final String
Define the download URL type.static final String
Generate URLs that do not expire.static final String
Deprecated.static final String
Deprecated.static final String
Generate URLs that expire after a given time.static final String
Set this option to encrypt documents on checkin.static final String
This session option declares that the IXConnection handles server events declared inIXServerEvents
.static final String
Attribute name to which Indexserver maps an IXConnection in the HTTP Sessionstatic final String
Attribute name to which Indexserver maps a Ticket in the HTTP Sessionstatic final String
Format ISO date values with delimiter characters defined in ISO 8601.static final String
Define the first part of the URLs generated from Indexserver.static final String
Deprecated.static final String
Deprecated.static final int
Function getSessionFromTicket: used in combination with SESSION_FROM_AM.static final int
Function getSessionFromTicket: any active session known by the AccessManager can be requested.static final int
Function getSessionFromTicket: any active session can be requested and is inserted into the session management of this Indexserver instance.static final int
Function getSessionFromTicket: session must be known by this Indexserver instance.static final String
If this option is set to "true", the Indexserver starts the workflow defined in DocMask.flowId and DocMask.flowId2 when an associated document is created or checked in.static final String
This value can be used asClientInfo.ticket
or in IXConnFactory#createFromTicket() if the server should use the session cookie as authentication token.static final String
Translate keywording forms names, index names, index values and keyword lists into resp.static final String
This option value has to be used for option CLIENT_APP_TYPE if a partner application connects to IX. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
static String
static String
static String
static String
int
int
int
int
void
setCLIENT_APP_NAME
(String CLIENT_APP_NAME) void
setCLIENT_APP_TYPE
(String CLIENT_APP_TYPE) void
setCLIENT_APP_VERSION
(String CLIENT_APP_VERSION) static void
setCOPY_OBJKEYS_IN_BACKGROUND
(String COPY_OBJKEYS_IN_BACKGROUND) void
setDB_ESCAPE_CHAR
(String DB_ESCAPE_CHAR) void
setDB_WILDCARDS
(String DB_WILDCARDS) void
setDECRYPT_DOCUMENTS
(String DECRYPT_DOCUMENTS) void
setDIRECT_DM_ACCESS
(String DIRECT_DM_ACCESS) static void
setDISABLE_WRITE_CHANGE_INFO
(String DISABLE_WRITE_CHANGE_INFO) void
setDOC_URL_BASE
(String dOCURLBASE) void
setDOWNLOAD_URL_TYPE
(String dOWNLOAD_URL_TYPE) void
setDOWNLOAD_URL_TYPE_PERSISTENT
(String dOWNLOAD_URL_TYPE_PERSISTENT) static void
setDOWNLOAD_URL_TYPE_PUBLIC
(String DOWNLOAD_URL_TYPE_PUBLIC) void
setDOWNLOAD_URL_TYPE_TEMPORARY
(String dOWNLOAD_URL_TYPE_TEMPORARY) void
setENCRYPT_DOCUMENTS
(String ENCRYPT_DOCUMENTS) void
void
setIX_URL_BASE
(String iXURLBASE) static void
setPUBLIC_DOWNLOAD_COUNT
(String PUBLIC_DOWNLOAD_COUNT) static void
setPUBLIC_DOWNLOAD_EXPIREDTIME
(String PUBLIC_DOWNLOAD_EXPIREDTIME) void
setSESSION_ADD
(int sESSIONADD) void
setSESSION_FROM_AM
(int sESSIONFROMAM) void
setSESSION_FROM_AM_ADD
(int sESSIONFROMAMADD) void
setSESSION_FROM_IX
(int sESSIONFROMIX) void
setTRANSLATE_TERMS
(String TRANSLATE_TERMS) void
setTYPE_PARTNER_APPLICATION
(String TYPE_PARTNER_APPLICATION)
-
Field Details
-
CLIENT_APP_NAME
Client application name. Optional.- See Also:
-
CLIENT_APP_VERSION
Client application version. Optional.- See Also:
-
CLIENT_APP_TYPE
Client application type. Mandatory. The appropriate value for partner applications is TYPE_PARTNER_APPLICATION unless a special type is arranged.- See Also:
-
TYPE_PARTNER_APPLICATION
This option value has to be used for option CLIENT_APP_TYPE if a partner application connects to IX.- See Also:
-
APP_TYPE_MINI_CLIENT
Reserved. This value is reserved for ELO applications. Unauthorized usage violates the ELO licensing terms.- Since:
- 10.17.010.001
- See Also:
-
DB_ESCAPE_CHAR
This character is used in the SQL statement, if the search criterias contain one of the SQL wildcard characters: "%", "_". It defaults to "¶" which is a reserved character in ELO and a valid escape character for the most SQL servers and configurations. Unless a search kritera contains "¶" or the SQL server does not allow the use of this character (e. g. ORACLE, UTF-8) the value has to be changed. Hint: Indexserver-API uses "*" as the only valid wildcard. The escape character must not be used in the search criterias.- See Also:
-
DB_WILDCARDS
This characters are used as wildcards in search terms. The first wildcard is used for zero or more characters. The second wildcard is used for exactly one character. By default (if this member is null or empty), only the first wildcard is defined: *- See Also:
-
DIRECT_DM_ACCESS
Deprecated.This option is ignored since ELO 9.0This option specifies which application is addressed in URLs to upload and download documents. If direct access is true, the URLs address the DM directly. Otherwise the documents are routed though the IX.- See Also:
-
ENCRYPT_DOCUMENTS
Set this option to encrypt documents on checkin. A secure connection (HTTPS) is required to use this option.- See Also:
-
DECRYPT_DOCUMENTS
Set this option to decrypt documents on checkout. A secure connection (HTTPS) is required to use this option.- See Also:
-
TRANSLATE_TERMS
Translate keywording forms names, index names, index values and keyword lists into resp. from the language given inClientInfo.language
.- Since:
- 7.00.000.004
- See Also:
-
ISO_DATE_WITH_DELIMS
Format ISO date values with delimiter characters defined in ISO 8601.- See Also:
-
START_DOCMASK_WORKFLOWS
If this option is set to "true", the Indexserver starts the workflow defined in DocMask.flowId and DocMask.flowId2 when an associated document is created or checked in.- See Also:
-
ACTIVE_ROLES
Comma separated list of active role IDs.- Since:
- 20.00.000.003
- See Also:
-
SESSION_FROM_IX
public static final int SESSION_FROM_IXFunction getSessionFromTicket: session must be known by this Indexserver instance. An exception is thrown, if the session is not known by this Indexserver instance. The ticket lifetime is extended.- Since:
- 7.00.022.001
- See Also:
-
SESSION_FROM_AM
public static final int SESSION_FROM_AMFunction getSessionFromTicket: any active session known by the AccessManager can be requested. The session is not inserted into the session management of this Indexserver instance. Thus the session cannot be used to make Indexserver function calls. The ticket lifetime is not extended.- Since:
- 7.00.022.001
- See Also:
-
SESSION_ADD
public static final int SESSION_ADDFunction getSessionFromTicket: used in combination with SESSION_FROM_AM. Add the session into the internal session management.- See Also:
-
SESSION_FROM_AM_ADD
public static final int SESSION_FROM_AM_ADDFunction getSessionFromTicket: any active session can be requested and is inserted into the session management of this Indexserver instance. If the session is not known by this Indexserver instance, it is assumed to be a Windows CLIENT session (relevant to license model). The ticket lifetime is extended. This value is the same as SESSION_FROM_AM | SESSION_ADD.- Since:
- 7.00.022.001
- See Also:
-
IX_URL_BASE
Define the first part of the URLs generated from Indexserver. See configuration option ixUrlBase on the Indexserver option page.- See Also:
-
DOC_URL_BASE
Deprecated.This option is ignored since ELO 9.0Define the first part of the document URLs generated from Indexserver. See configuration option documentUrlBase on the Indexserver option page.- See Also:
-
DOWNLOAD_URL_TYPE
Define the download URL type. IX can generate several types of URLs to download documents. Possible values are the constants DOWNLOAD_URL_TYPE_*. The default value is DOWNLOAD_URL_TYPE_TEMPORARY.- Since:
- 8.00.028.001
- See Also:
-
DOWNLOAD_URL_TYPE_TEMPORARY
Generate URLs that expire after a given time. The lifetime can be specified with the option "documentUrlLifetimeSeconds". By default, all URLs are created with a constrained lifetime.- Since:
- 8.00.028.001
- See Also:
-
DOWNLOAD_URL_TYPE_PERSISTENT
Generate URLs that do not expire. IX generates URLs that can be used without time limitation. The URL includes a strongly encrypted ID of the document or attachment version. AES is used to encrypt the URL parameters. The AES key is read from the IX option AESEncryptionKey.
ATTENTION: If the key AESEncryptionKey is changed, all URLs generated before become invalid!
ATTENTION: No access checking is performed, when the document is downloaded from the URL! Everyone who knows the URL and has access to ELOix can download the document. This option cannot not be used for documents with blackening. No URL is generated for those documents.
Only main administrators can use this option. The document is accessed by the IX account. Authentication is not required or performed.- Since:
- 8.00.028.001
- See Also:
-
DOWNLOAD_URL_TYPE_PUBLIC
Deprecated.Generate public download URLs for the actual working version, that expire after a given time. Only a given number of downloads is allowed. IX generates URLs that can be used by non ELO users. The URL includes a strongly encrypted ID of the document or attachment version. AES is used to encrypt the URL parameters. The AES key is read from the IX option AESEncryptionKey.
ATTENTION: If the key AESEncryptionKey is changed, all URLs generated before become invalid!
ATTENTION: No access checking is performed, when the document is downloaded from the URL! Everyone who knows the URL and has access to ELOix can download the document. This option cannot not be used for documents with blackening. No URL is generated for those documents.
Authentication is not required or performed.- Since:
- 9.00.014.003
- See Also:
-
DOWNLOAD_URL_TYPE_PUBLIC_VERSION
Deprecated.Generate public download URLs for the document version, that expire after a given time.. Only a given number of downloads is allowed. IX generates URLs that can be used by non ELO users. The URL includes a strongly encrypted ID of the document or attachment version. AES is used to encrypt the URL parameters. The AES key is read from the IX option AESEncryptionKey.
ATTENTION: If the key AESEncryptionKey is changed, all URLs generated before become invalid!
ATTENTION: No access checking is performed, when the document is downloaded from the URL! Everyone who knows the URL and has access to ELOix can download the document. This option cannot not be used for documents with blackening. No URL is generated for those documents.
Authentication is not required or performed.- Since:
- 9.00.014.003
- See Also:
-
PUBLIC_DOWNLOAD_COUNT
Deprecated.Define the allowed number of public downloads.- Since:
- 9.00.014.003
- See Also:
-
PUBLIC_DOWNLOAD_EXPIREDTIME
Deprecated.Define the expired time of public downloads.- Since:
- 9.00.014.003
- See Also:
-
APPLY_ALL_BLACKENINGS
Apply all blackenings on documents regardless of their ACL. ELOtr sets this option as "true" to receive documents with all blackenings. This ensures that blackened parts cannot be retrieved by a fulltext search. TTS003793- Since:
- 10.17.010.009
- See Also:
-
DISABLE_CHANGE_INFO_PROTECTION
If set, this option disables the protection of change information.Disabling the writing of changes information causes the Indexserver to not update the *tstamp* database columns. Then, the client has to ensure that the time stamps of objects are set correctly. Setting this option without reason causes the loss of traceability of objects in the archive! Only the replication module should use this option.
The replication searches the database for changes since the last replication run. The gathered changes will be transported to other sites and imported into the database there. Such an import must not trigger the writing of change informations as further this would trigger the export of these changes again, claiming the changes would have been made at the site importing the changes.
- Since:
- 9.99.009.001
- See Also:
-
HANDLE_IX_SERVER_EVENTS
This session option declares that the IXConnection handles server events declared inIXServerEvents
.- Since:
- 10.17.030.001
- See Also:
-
HTTP_SESSION_IX_CONNECTION
Attribute name to which Indexserver maps an IXConnection in the HTTP Session- Since:
- 11.00.000.044
- See Also:
-
HTTP_SESSION_TICKET
Attribute name to which Indexserver maps a Ticket in the HTTP Session- Since:
- 11.00.000.044
- See Also:
-
TICKET_FROM_COOKIE
This value can be used asClientInfo.ticket
or in IXConnFactory#createFromTicket() if the server should use the session cookie as authentication token. EIX-393- Since:
- 11.00.000.044
- See Also:
-
DISABLE_LOGGING_API_CALLS
Disable logging of API calls for this session. EIX-3303- Since:
- 21.04.000.005
- See Also:
-
COPY_OBJKEYS_IN_BACKGROUND
Control the synchronicity of copying objkeys to child entries.- Since:
- 21.04.000.007
- See Also:
-
-
Constructor Details
-
SessionOptionsC
public SessionOptionsC()
-
-
Method Details
-
getDISABLE_WRITE_CHANGE_INFO
-
setDISABLE_WRITE_CHANGE_INFO
-
getCLIENT_APP_NAME
-
setCLIENT_APP_NAME
-
getCLIENT_APP_TYPE
-
setCLIENT_APP_TYPE
-
getCLIENT_APP_VERSION
-
setCLIENT_APP_VERSION
-
getDB_ESCAPE_CHAR
-
setDB_ESCAPE_CHAR
-
getDIRECT_DM_ACCESS
-
setDIRECT_DM_ACCESS
-
getTYPE_PARTNER_APPLICATION
-
setTYPE_PARTNER_APPLICATION
-
getDECRYPT_DOCUMENTS
-
setDECRYPT_DOCUMENTS
-
getENCRYPT_DOCUMENTS
-
setENCRYPT_DOCUMENTS
-
getTRANSLATE_TERMS
-
setTRANSLATE_TERMS
-
getISO_DATE_WITH_DELIMS
-
setISO_DATE_WITH_DELIMS
-
getSESSION_FROM_IX
public int getSESSION_FROM_IX() -
setSESSION_FROM_IX
public void setSESSION_FROM_IX(int sESSIONFROMIX) -
getSESSION_FROM_AM
public int getSESSION_FROM_AM() -
setSESSION_FROM_AM
public void setSESSION_FROM_AM(int sESSIONFROMAM) -
getSESSION_FROM_AM_ADD
public int getSESSION_FROM_AM_ADD() -
setSESSION_FROM_AM_ADD
public void setSESSION_FROM_AM_ADD(int sESSIONFROMAMADD) -
getSESSION_ADD
public int getSESSION_ADD() -
setSESSION_ADD
public void setSESSION_ADD(int sESSIONADD) -
getDB_WILDCARDS
-
setDB_WILDCARDS
-
getIX_URL_BASE
-
setIX_URL_BASE
-
getDOC_URL_BASE
-
setDOC_URL_BASE
-
getDOWNLOAD_URL_TYPE
-
setDOWNLOAD_URL_TYPE
-
getDOWNLOAD_URL_TYPE_TEMPORARY
-
setDOWNLOAD_URL_TYPE_TEMPORARY
-
getDOWNLOAD_URL_TYPE_PERSISTENT
-
setDOWNLOAD_URL_TYPE_PERSISTENT
-
getPUBLIC_DOWNLOAD_EXPIREDTIME
-
setPUBLIC_DOWNLOAD_EXPIREDTIME
-
getDOWNLOAD_URL_TYPE_PUBLIC
-
setDOWNLOAD_URL_TYPE_PUBLIC
-
getPUBLIC_DOWNLOAD_COUNT
-
setPUBLIC_DOWNLOAD_COUNT
-
getCOPY_OBJKEYS_IN_BACKGROUND
-
setCOPY_OBJKEYS_IN_BACKGROUND
-