Hierarchy
⤷
⤷
Properties
| Class | CL_DITAT_LXE_INTERFACE | |
| Short Description | Helper class that encapsulates LXE functions | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SLXE_DITAT | DITA Translation |
| Created | 20120829 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
Class CL_DITAT_LXE_INTERFACE has no interface implemented.
Friends
Class CL_DITAT_LXE_INTERFACE has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | AS4USER | 'EXTERNAL' | Last Changed by | 20130327 | ||
| 2 | Static Attribute | Private | Type reference (TYPE) | T_LANGINFO | 20121106 | ||||
| 3 | Static Attribute | Private | Type reference (TYPE) | T_LANGTAG2LANG | 20120904 | ||||
| 4 | Static Attribute | Private | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20120904 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Assign collections to a graph | 20121112 | |
| 2 | Static method | Public | Method | Assign collections to translators | 20121108 | |
| 3 | Static method | Private | Method | 20120904 | ||
| 4 | Static method | Public | Method | Creates a project | 20121220 | |
| 5 | Static method | Public | Method | Deletes a project | 20121220 | |
| 6 | Static method | Public | Method | Remove vanished collections from LXE_COLLX | 20121022 | |
| 7 | Static method | Public | Method | Creates a new graph | 20121108 | |
| 8 | Static method | Public | Method | Marks a graph as free | 20121114 | |
| 9 | Static method | Public | Method | Returns the text of a collection | 20120920 | |
| 10 | Static method | Public | Method | Returns the text of a domain | 20120920 | |
| 11 | Static method | Private | Method | 20121114 | ||
| 12 | Static method | Public | Method | Returns the R3 language of a language | 20121106 | |
| 13 | Static method | Public | Method | Checks if any collections are assigned to a graph | 20121112 | |
| 14 | Static method | Public | Method | Register new/updated collections in LXE_COLLX | 20121022 | |
| 15 | Static method | Public | Method | Calls the long-text editiong functionality | 20120914 | |
| 16 | Static method | Public | Method | Maps a RFC 5646 language tag to a language | 20120904 | |
| 17 | Static method | Public | Method | Maps a language to a RFC 5646 language tag | 20120904 | |
| 18 | Static method | Public | Method | Warning if the content container version is not unique | 20121004 | |
| 19 | Static method | Public | Method | Sets the target languages of a graph | 20121108 | |
| 20 | Static method | Public | Method | Unassign collections that don't exist any longer | 20121112 | |
| 21 | Static method | Public | Method | Unassign collections from translators | 20121108 | |
| 22 | Static method | Public | Method | Updates a project | 20121220 | |
| 23 | Static method | Public | Method | Verifies that the passed area is a DITA translation area | 20120904 | |
| 24 | Static method | Public | Method | Verifies that the domain is known by the translation system | 20120904 | |
| 25 | Static method | Public | Method | Verifies that a language is known by the translation system | 20120924 | |
| 26 | Static method | Public | Method | Marks an object to be translated in the worklist pool | 20121116 |
Events
Class CL_DITAT_LXE_INTERFACE has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | S_LANGINFO | Private | See coding | 20121106 | BEGIN OF s_langinfo,
isolang TYPE lxeisolang,
lang TYPE c LENGTH 2,
region TYPE c LENGTH 2,
r3lang TYPE spras,
END OF s_langinfo
|
||
| 2 | S_LANGTAG2LANG | Private | See coding | 20120904 | BEGIN OF s_langtag2lang,
lang TYPE c LENGTH 2,
region TYPE c LENGTH 2,
isolang TYPE lxeisolang,
END OF s_langtag2lang
|
||
| 3 | T_LANGINFO | Private | See coding | 20121106 | t_langinfo TYPE HASHED TABLE OF s_langinfo WITH UNIQUE KEY isolang
|
||
| 4 | T_LANGTAG2LANG | Private | See coding | 20120904 | t_langtag2lang TYPE HASHED TABLE OF s_langtag2lang WITH UNIQUE KEY lang region
|
Method Signatures
Method ASSIGN_COLLS_TO_GRAPH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | AREA | Call by reference | Type reference (TYPE) | LXECUSTMNR | Translation Area | 20121112 | |||
| 2 | COLLS | Call by reference | Type reference (TYPE) | IF_DITAT_INT_TYPES=>T_COLLNAM | 20121112 | ||||
| 3 | GRAPH | Call by reference | Type reference (TYPE) | LXEGRAPH | Translation graph | 20121112 |
Method ASSIGN_COLLS_TO_GRAPH on class CL_DITAT_LXE_INTERFACE has no exception.
Method ASSIGN_COLLS_TO_USERS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | AREA | Call by reference | Type reference (TYPE) | LXECUSTMNR | 20121108 | ||||
| 2 | CURRENT_ASSIGNMENTS | Call by reference | Type reference (TYPE) | IF_DITAT_INT_TYPES=>T_COLL_TRANSLATORS | 20121108 | ||||
| 3 | RELEVANT_LANGS | Call by reference | Type reference (TYPE) | IF_DITAT_INT_TYPES=>T_LANG | 20121126 |
Method ASSIGN_COLLS_TO_USERS on class CL_DITAT_LXE_INTERFACE has no exception.
Method CACHE_LANGUAGES Signature
Method CACHE_LANGUAGES on class CL_DITAT_LXE_INTERFACE has no parameter.
Method CACHE_LANGUAGES on class CL_DITAT_LXE_INTERFACE has no exception.
Method CREATE_PROJECT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | AREA | Call by reference | Type reference (TYPE) | LXECUSTMNR | Translation Area | 20121220 | |||
| 2 | COLLS | Call by reference | Type reference (TYPE) | IF_DITAT_INT_TYPES=>T_COLLNAM | 20121220 | ||||
| 3 | LXEPROJID | Value transfer | Type reference (TYPE) | LXE_PROJ_ID | Project ID | 20121220 | |||
| 4 | PROJECTNAME | Call by reference | Type reference (TYPE) | STRING | 20121220 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Project exception in package SLXE | 20121220 |
Method DELETE_PROJECT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | LXEPROJID | Call by reference | Type reference (TYPE) | LXE_PROJ_ID | Project ID | 20121220 |
Method DELETE_PROJECT on class CL_DITAT_LXE_INTERFACE has no exception.
Method DELETE_VANISHED_COLLS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | AREA | Call by reference | Type reference (TYPE) | LXECUSTMNR | 20121022 | ||||
| 2 | COLLX | Call by reference | Type reference (TYPE) | IF_DITAT_INT_TYPES=>T_COLLX | 20121022 |
Method DELETE_VANISHED_COLLS on class CL_DITAT_LXE_INTERFACE has no exception.
Method DRAW_GRAPH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | GRAPH | Value transfer | Type reference (TYPE) | LXEGRAPH | Translation graph | 20121108 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Graph exception in SLXE package | 20121109 |
Method FREE_GRAPH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | GRAPH | Call by reference | Type reference (TYPE) | LXEGRAPH | Translation graph | 20121114 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Graph related exception | 20121114 |
Method GET_COLLECTION_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | AREA | Call by reference | Type reference (TYPE) | LXECUSTMNR | Translation Area | 20120920 | |||
| 2 | COLLNAM | Call by reference | Type reference (TYPE) | LXECOLLNAM | Collection Name | 20120920 | |||
| 3 | COLLTXT | Value transfer | Type reference (TYPE) | LXECOLLTXT | Description Text for Collection | 20120920 |
Method GET_COLLECTION_TEXT on class CL_DITAT_LXE_INTERFACE has no exception.
Method GET_DOMAIN_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DOMANAM | Call by reference | Type reference (TYPE) | LXEDOMANAM | Domain Name | 20120920 | |||
| 2 | DOMATXT | Value transfer | Type reference (TYPE) | LXEDOMATXT | Description Text for Domain | 20120920 | |||
| 3 | DOMATYP | Call by reference | Type reference (TYPE) | LXEDOMATYP | Domain Type | 20120920 |
Method GET_DOMAIN_TEXT on class CL_DITAT_LXE_INTERFACE has no exception.
Method GET_LAISO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | LAISO | Value transfer | Type reference (TYPE) | LAISO | Language according to ISO 639 | 20121114 | |||
| 2 | LANG | Call by reference | Type reference (TYPE) | LXEISOLANG | Translation Language | 20121114 |
Method GET_LAISO on class CL_DITAT_LXE_INTERFACE has no exception.
Method GET_R3_LANG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | LANG | Call by reference | Type reference (TYPE) | LXEISOLANG | Translation Language | 20121106 | |||
| 2 | R3_LANG | Value transfer | Type reference (TYPE) | SPRAS | Language Key | 20121106 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Invalid translation system language | 20121106 |
Method GRAPH_CONTAINS_COLLS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CONTAINS_COLLS | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20121112 | ||||
| 2 | GRAPH | Call by reference | Type reference (TYPE) | LXEGRAPH | Translation graph | 20121112 |
Method GRAPH_CONTAINS_COLLS on class CL_DITAT_LXE_INTERFACE has no exception.
Method INSERT_NEW_AND_UPDATE_COLLS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | AREA | Call by reference | Type reference (TYPE) | LXECUSTMNR | 20121022 | ||||
| 2 | COLLX | Call by reference | Type reference (TYPE) | IF_DITAT_INT_TYPES=>T_COLLX | 20121022 |
Method INSERT_NEW_AND_UPDATE_COLLS on class CL_DITAT_LXE_INTERFACE has no exception.
Method LONG_TEXT_EDIT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | AREA | Call by reference | Type reference (TYPE) | LXECUSTMNR | Translation Area | 20120914 | |||
| 2 | CANCELLED | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20120914 | ||||
| 3 | CCNAME | Call by reference | Type reference (TYPE) | STRING | 20121114 | ||||
| 4 | COLLNAM | Call by reference | Type reference (TYPE) | LXECOLLNAM | Collection Name | 20120914 | |||
| 5 | DOMANAM | Call by reference | Type reference (TYPE) | LXEDOMANAM | Domain Name | 20120914 | |||
| 6 | NEW_TTEXT | Call by reference | Type reference (TYPE) | XSTRING | 20120914 | ||||
| 7 | NEW_TTX | Call by reference | Type reference (TYPE) | XSTRING | 20120914 | ||||
| 8 | OBJNAME | Call by reference | Type reference (TYPE) | LXEOBJNAME | Name of Translation Object | 20120914 | |||
| 9 | OBJTYPE | Call by reference | Type reference (TYPE) | LXEOBJTYPE | Type of Translation Object | 20120914 | |||
| 10 | OLANG | Call by reference | Type reference (TYPE) | LXEISOLANG | Translation Language | 20120914 | |||
| 11 | SEQUENTIAL | Call by reference | Type reference (TYPE) | CHAR1 | Single-Character Flag | 20120914 | |||
| 12 | SLANG | Call by reference | Type reference (TYPE) | LXEISOLANG | Translation Language | 20120914 | |||
| 13 | STATTRN | Call by reference | Type reference (TYPE) | LXESTATTRN | Translation Status of an Object | 20120924 | |||
| 14 | STEXT | Call by reference | Type reference (TYPE) | XSTRING | 20120914 | ||||
| 15 | TLANG | Call by reference | Type reference (TYPE) | LXEISOLANG | Translation Language | 20120914 | |||
| 16 | TTEXT | Call by reference | Type reference (TYPE) | XSTRING | 20120914 | ||||
| 17 | TTX | Call by reference | Type reference (TYPE) | XSTRING | 20120914 | ||||
| 18 | UCOMM | Call by reference | Type reference (TYPE) | SYUCOMM | Function Code that Triggered PAI | 20120914 | |||
| 19 | VWO | Call by reference | Type reference (TYPE) | CHAR1 | Single-Character Flag | 20120914 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Base class for DITA translation related exceptions | 20120914 |
Method MAP_LANGTAG_TO_LANG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | LANG | Value transfer | Type reference (TYPE) | LXEISOLANG | Translation Language | 20120904 | |||
| 2 | LANGTAG | Call by reference | Type reference (TYPE) | DITAT_LANGUAGE | RFC 5646 language tag | 20120904 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Language tag is not supported | 20120904 |
Method MAP_LANG_TO_LANGTAG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | LANG | Call by reference | Type reference (TYPE) | LXEISOLANG | Translation Language | 20120904 | |||
| 2 | LANGTAG | Value transfer | Type reference (TYPE) | DITAT_LANGUAGE | RFC 5646 language tag | 20120904 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Invalid translation system language | 20120904 | ||
| 2 | Translation system language does not have a language tag | 20120904 |
Method MULT_CC_VERSION_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_PRC_CONTINUE | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20121004 | ||||
| 2 | EV_PRC_STATUS | Call by reference | Type reference (TYPE) | LXESTATPRC | Process Status | 20121004 | |||
| 3 | IS_CC_VERS_COMP | Call by reference | Type reference (TYPE) | DITAT_S_CC_VERS_COMP | Content container version check | 20121004 |
Method MULT_CC_VERSION_INFO on class CL_DITAT_LXE_INTERFACE has no exception.
Method SET_GRAPH_TARGETLANGS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | GRAPH | Call by reference | Type reference (TYPE) | LXEGRAPH | Translation graph | 20121108 | |||
| 2 | TLANGS | Call by reference | Type reference (TYPE) | IF_DITAT_INT_TYPES=>T_LANG | 20121108 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Graph related exception | 20121109 |
Method UNASSIGN_COLLS_FROM_GRAPHS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | AREA | Call by reference | Type reference (TYPE) | LXECUSTMNR | Translation Area | 20121112 | |||
| 2 | EXISTING_COLLS | Call by reference | Type reference (TYPE) | IF_DITAT_INT_TYPES=>T_COLLNAM | 20121112 |
Method UNASSIGN_COLLS_FROM_GRAPHS on class CL_DITAT_LXE_INTERFACE has no exception.
Method UNASSIGN_COLLS_FROM_USERS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | AREA | Call by reference | Type reference (TYPE) | LXECUSTMNR | 20121108 | ||||
| 2 | CURRENT_ASSIGNMENTS | Call by reference | Type reference (TYPE) | IF_DITAT_INT_TYPES=>T_COLL_TRANSLATORS | 20121108 | ||||
| 3 | EXISTING_COLLS | Call by reference | Type reference (TYPE) | IF_DITAT_INT_TYPES=>T_COLLNAM | 20121108 | ||||
| 4 | RELEVANT_LANGS | Call by reference | Type reference (TYPE) | IF_DITAT_INT_TYPES=>T_LANG | 20121108 |
Method UNASSIGN_COLLS_FROM_USERS on class CL_DITAT_LXE_INTERFACE has no exception.
Method UPDATE_PROJECT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | AREA | Call by reference | Type reference (TYPE) | LXECUSTMNR | Translation Area | 20121220 | |||
| 2 | COLLS | Call by reference | Type reference (TYPE) | IF_DITAT_INT_TYPES=>T_COLLNAM | 20121220 | ||||
| 3 | LXEPROJID | Call by reference | Type reference (TYPE) | LXE_PROJ_ID | Project ID | 20121220 | |||
| 4 | PROJECTNAME | Call by reference | Type reference (TYPE) | STRING | 20121220 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Project exception in package SLXE | 20121220 |
Method VERIFY_AREA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | AREA | Call by reference | Type reference (TYPE) | LXECUSTMNR | Translation Area | 20120904 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Translation area does not exist | 20120904 | ||
| 2 | Wrong translation area type | 20120904 |
Method VERIFY_DOMAIN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DOMAIN | Call by reference | Type reference (TYPE) | LXEDOMANAM | Domain Name | 20120904 | |||
| 2 | DOMAIN_TYPE | Value transfer | Type reference (TYPE) | LXEDOMATYP | Domain Type | 20120904 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Unknown terminology domain | 20120904 |
Method VERIFY_LANG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | LANG | Call by reference | Type reference (TYPE) | LXEISOLANG | Translation Language | 20120924 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Invalid translation system language | 20120924 |
Method WORKLIST_POOL_MARK_TRANSLATED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | AREA | Call by reference | Type reference (TYPE) | LXECUSTMNR | Translation Area | 20121116 | |||
| 2 | OBJNAME | Call by reference | Type reference (TYPE) | LXEOBJNAME | Name of Translation Object | 20121116 | |||
| 3 | OBJTYPE | Call by reference | Type reference (TYPE) | LXEOBJTYPE | Type of Translation Object | 20121116 | |||
| 4 | SLANG | Call by reference | Type reference (TYPE) | LXEISOLANG | Translation Language | 20121116 | |||
| 5 | TLANG | Call by reference | Type reference (TYPE) | LXEISOLANG | Translation Language | 20121116 |
Method WORKLIST_POOL_MARK_TRANSLATED on class CL_DITAT_LXE_INTERFACE has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 740 |