SAP ABAP Class CL_WDR_TEST_CHAT_SHM (Channel Management for Web Dynpro)
Hierarchy
☛
SAP_UI (Software Component) User Interface Technology
⤷
BC-WD-ABA (Application Component) Web Dynpro ABAP
⤷
SWDP_TEST (Package) Web Dynpro: Tests
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_SHM_BUILD_INSTANCE | Flag Interface: Area Constructor for Shared Objects | 20050531 |
Properties
| Class | CL_WDR_TEST_CHAT_SHM | |
| Short Description | Channel Management for Web Dynpro | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SWDP_TEST | Web Dynpro: Tests |
| Created | 20050531 | SAP |
| Last change | 20070911 | 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) |
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_SHM_BUILD_INSTANCE | Flag Interface: Area Constructor for Shared Objects | 20050531 |
Friends
Class CL_WDR_TEST_CHAT_SHM has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Public | Type reference (TYPE) | TT_CHANNELS | 20050531 | ||||
| 2 | Instance attribute | Public | Type reference (TYPE) | TT_DIFFS_PER_USER | 20050531 | ||||
| 3 | Instance attribute | Public | Type reference (TYPE) | TT_USER_REF | 20050531 |
Methods
Events
Class CL_WDR_TEST_CHAT_SHM has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TT_CHANNELS | Public | See coding | 20050531 | TT_CHANNELS type sorted table of t_channel with unique key id
|
||
| 2 | TT_DIFFS_PER_USER | Public | See coding | 20050531 | tt_diffs_per_user type hashed table of t_diff_per_user with unique key user_id
|
||
| 3 | TT_MESSAGES | Public | See coding | 20050623 | tt_messages type standard table of t_message with default key
|
||
| 4 | TT_USERS | Public | See coding | 20050531 | TT_users type sorted table of t_user with unique key id
|
||
| 5 | TT_USER_REF | Public | See coding | 20050531 | tt_user_ref type sorted table of t_user_id with unique key table_line
|
||
| 6 | T_CHANNEL | Public | See coding | 20050531 | begin of T_CHANNEL,
id type string,
description type string,
users type tt_user_ref,
messages type tt_messages,
end of t_channel
|
||
| 7 | T_DIFF_PER_USER | Public | See coding | 20050531 | begin of t_diff_per_user,
user_id type t_user_id,
channels_changed type abap_bool,
channel_users_changed type abap_bool,
channel_msgs_changed type abap_bool,
end of t_diff_per_user
|
||
| 8 | T_MESSAGE | Public | See coding | 20050623 | begin of t_message,
from_user_id type t_user_id,
text type string,
is_system_message type wdy_boolean,
final_formatted_message type string,
end of t_message
|
||
| 9 | T_USER | Public | See coding | 20050531 | begin of T_USER,
id type t_user_id,
first_name type string,
last_name type string,
end of t_user
|
||
| 10 | T_USER_ID | Public | Type reference (TYPE) | STRING | 20050531 | |
Method Signatures
Method ATTACH_FOR_UPDATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_HANDLER | Value transfer | Object reference (TYPE REF TO) | CL_WDR_TEST_CHAT_SHM_AREA | Web Dynpro Chat - Test des Pollings | 20050531 |
Method ATTACH_FOR_UPDATE on class CL_WDR_TEST_CHAT_SHM has no exception.
Method COMMIT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_HANDLER | Value transfer | Object reference (TYPE REF TO) | CL_WDR_TEST_CHAT_SHM_AREA | Web Dynpro Chat - Test des Pollings | 20050531 |
Method COMMIT on class CL_WDR_TEST_CHAT_SHM has no exception.
Method CREATE_CHANNEL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_DESCRIPTION | Value transfer | Type reference (TYPE) | STRING | 20050531 | ||||
| 2 | I_ID | Value transfer | Type reference (TYPE) | STRING | 20050531 | ||||
| 3 | I_MESSAGE_MANAGER | Value transfer | Object reference (TYPE REF TO) | IF_WD_MESSAGE_MANAGER | Message-Manager | 20050531 | |||
| 4 | R_HAS_ERRORS | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20050531 |
Method CREATE_CHANNEL on class CL_WDR_TEST_CHAT_SHM has no exception.
Method GET_CHANNELS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RT_CHANNELS | Value transfer | Type reference (TYPE) | TT_CHANNELS | 20050531 |
Method GET_CHANNELS on class CL_WDR_TEST_CHAT_SHM has no exception.
Method GET_CHANNEL_MSGS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_CHANNEL_ID | Value transfer | Type reference (TYPE) | STRING | 20050623 | ||||
| 2 | RT_CHANNEL_MSGS | Value transfer | Type reference (TYPE) | TT_MESSAGES | 20050623 |
Method GET_CHANNEL_MSGS on class CL_WDR_TEST_CHAT_SHM has no exception.
Method GET_CHANNEL_USERS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_CHANNEL_ID | Value transfer | Type reference (TYPE) | STRING | 20050601 | ||||
| 2 | RT_CHANNEL_USERS | Value transfer | Type reference (TYPE) | TT_USER_REF | 20050601 |
Method GET_CHANNEL_USERS on class CL_WDR_TEST_CHAT_SHM has no exception.
Method IS_CHANNELS_DIFF Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_USER_ID | Value transfer | Type reference (TYPE) | T_USER_ID | 20050601 | ||||
| 2 | R_CHANNELS_CHANGED | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20050601 |
Method IS_CHANNELS_DIFF on class CL_WDR_TEST_CHAT_SHM has no exception.
Method IS_CHANNEL_MSGS_DIFF Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_USER_ID | Value transfer | Type reference (TYPE) | T_USER_ID | 20050601 | ||||
| 2 | R_CHANNEL_MSGS_CHANGED | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20050601 |
Method IS_CHANNEL_MSGS_DIFF on class CL_WDR_TEST_CHAT_SHM has no exception.
Method IS_CHANNEL_USERS_DIFF Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_USER_ID | Value transfer | Type reference (TYPE) | T_USER_ID | 20050601 | ||||
| 2 | R_CHANNEL_USERS_CHANGED | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20050601 |
Method IS_CHANNEL_USERS_DIFF on class CL_WDR_TEST_CHAT_SHM has no exception.
Method IS_DIFF_FOR_USER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_CHANNELS_CHANGED | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20050601 | ||||
| 2 | E_CHANNEL_MSGS_CHANGED | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20050601 | ||||
| 3 | E_CHANNEL_USERS_CHANGED | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20050601 | ||||
| 4 | I_USER_ID | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20050601 |
Method IS_DIFF_FOR_USER on class CL_WDR_TEST_CHAT_SHM has no exception.
Method JOIN_CHANNEL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_CHANNEL_ID | Value transfer | Type reference (TYPE) | STRING | 20050531 | ||||
| 2 | I_USER_ID | Value transfer | Type reference (TYPE) | STRING | 20050531 |
Method JOIN_CHANNEL on class CL_WDR_TEST_CHAT_SHM has no exception.
Method LEAVE_CHANNEL Signature
Method LEAVE_CHANNEL on class CL_WDR_TEST_CHAT_SHM has no parameter.
Method LEAVE_CHANNEL on class CL_WDR_TEST_CHAT_SHM has no exception.
Method LOGIN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_MESSAGE_MANAGER | Value transfer | Object reference (TYPE REF TO) | IF_WD_MESSAGE_MANAGER | Message-Manager | 20050531 | |||
| 2 | I_USER_ID | Value transfer | Type reference (TYPE) | STRING | 20050531 | ||||
| 3 | R_HAS_ERRORS | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20050531 |
Method LOGIN on class CL_WDR_TEST_CHAT_SHM has no exception.
Method LOGOUT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_USER_ID | Value transfer | Type reference (TYPE) | T_USER_ID | 20050531 |
Method LOGOUT on class CL_WDR_TEST_CHAT_SHM has no exception.
Method POST_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_CHANNEL_ID | Value transfer | Type reference (TYPE) | STRING | 20050623 | ||||
| 2 | I_IS_SYSTEM_MESSAGE | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20050623 | ||||
| 3 | I_TEXT | Value transfer | Type reference (TYPE) | STRING | 20050531 | ||||
| 4 | I_USER_ID | Value transfer | Type reference (TYPE) | T_USER_ID | 20050623 |
Method POST_MESSAGE on class CL_WDR_TEST_CHAT_SHM has no exception.
Method REMOVE_CHANNEL Signature
Method REMOVE_CHANNEL on class CL_WDR_TEST_CHAT_SHM has no parameter.
Method REMOVE_CHANNEL on class CL_WDR_TEST_CHAT_SHM has no exception.
Method ROLLBACK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_HANDLER | Value transfer | Object reference (TYPE REF TO) | CL_WDR_TEST_CHAT_SHM_AREA | Channel Management für Web Dynpro | 20050531 |
Method ROLLBACK on class CL_WDR_TEST_CHAT_SHM has no exception.
History
| Last changed by/on | SAP | 20070911 |
| SAP Release Created in | 710 |