SAP ABAP Class IF_TFW_COMMENT (Comment Interface)
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface composition (i COMPRISING i_ref) | IF_TFW_METADATA | Metadata Interface | 20130412 |
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | CL_TFW_COMMENT | Object Commenting implementation | 20130412 |
Properties
| Class | IF_TFW_COMMENT | |
| Short Description | Comment Interface | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | ||
| Created | 20130412 | SAP |
| Last change | 20140121 | 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... | |
| 3 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
Class IF_TFW_COMMENT has no interface implemented.
Friends
Class IF_TFW_COMMENT has no friend class.
Attributes
Class IF_TFW_COMMENT has no attribute.
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Add a comment to an object | 20130417 | |
| 2 | Instance method | Public | Method | Delete a comment for an object | 20130417 | |
| 3 | Instance method | Public | Method | Get Comments for an object | 20130412 | |
| 4 | Instance method | Public | Method | Update a comment for an object | 20130417 |
Events
Class IF_TFW_COMMENT has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | S_COMMENT | Public | See coding | Structure for Comment | 20130412 | BEGIN OF s_comment,
comment_txt TYPE tfw_cmnt_txt,
thread_id TYPE tfw_thread_id,
thread_ref_id TYPE tfw_thread_id,
created_by TYPE tfw_unam,
created_on TYPE tfw_tmstmp,
END OF s_comment
|
|
| 2 | S_COMMENT_DB | Public | See coding | Structure for Comment DB | 20130418 | BEGIN OF s_comment_db,
object_id TYPE if_tfw_types=>object_id,
object_type_id TYPE if_tfw_types=>object_type_id,
seqnr TYPE n LENGTH 6,
simplekey TYPE abap_bool.
INCLUDE TYPE s_comment.
TYPES: delete TYPE abap_bool.
TYPES: END OF s_comment_db
|
|
| 3 | TS_COMMENT | Public | See coding | Table for Comment | 20130412 | ts_comment TYPE SORTED TABLE OF s_comment
WITH UNIQUE KEY thread_id
|
|
| 4 | TS_COMMENT_DB | Public | See coding | Table for Comment DB | 20130418 | ts_comment_db TYPE SORTED TABLE OF s_comment_db
WITH UNIQUE KEY object_id object_type_id seqnr
|
Method Signatures
Method ADD_COMMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_COMMENT | Call by reference | Type reference (TYPE) | IF_TFW_COMMENT=>S_COMMENT | Table of Comment | 20130417 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | TFW: Runtime Exception Class | 20130614 |
Method DELETE_COMMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_COMMENT | Call by reference | Type reference (TYPE) | IF_TFW_COMMENT=>S_COMMENT | Table of Comment | 20130417 | |||
| 2 | IV_DELETE_ALL | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 'X': Delete All Comments | 20130417 | ||
| 3 | IV_DELETE_FOR_USER | Call by reference | Type reference (TYPE) | TFW_UNAM | TFW: Tag Author | 20130417 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | TFW: Runtime Exception Class | 20130614 |
Method GET_COMMENTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RTS_COMMENT | Value transfer | Type reference (TYPE) | IF_TFW_COMMENT=>TS_COMMENT | Table of Comment | 20130412 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | TFW: Runtime Exception Class | 20130614 |
Method UPDATE_COMMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_COMMENT | Call by reference | Type reference (TYPE) | IF_TFW_COMMENT=>S_COMMENT | Table of Comment | 20130417 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | TFW: Runtime Exception Class | 20130614 |
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in |