SAP ABAP Class CL_WCF_FAVO_MYFAVORITES_IMPL (Favorites controller)
Hierarchy
☛
WEBCUIF (Software Component) SAP Web UI Framework
⤷
CA-WUI-UI (Application Component) User Interface
⤷
WCF_FAVORITES_UI (Package) Favorites UI-relevant Objects
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_WCF_FAVO_MYFAVORITES | 20090216 | |
| 2 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_THTMLB_DRAG_N_DROP | drag and drop interface for thtmlb element | 20090306 |
Properties
| Class | CL_WCF_FAVO_MYFAVORITES_IMPL | |
| Short Description | Favorites controller | |
| Super Class | CL_WCF_FAVO_MYFAVORITES | |
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | WCF_FAVORITES_UI | Favorites UI-relevant Objects |
| Created | 20090216 | SAP |
| Last change | 20110908 | 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 class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_THTMLB_DRAG_N_DROP | drag and drop interface for thtmlb element | 20090306 |
Friends
Class CL_WCF_FAVO_MYFAVORITES_IMPL has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | STRING | 'CANCEL' | 20090218 | |||
| 2 | Constant | Public | Type reference (TYPE) | STRING | 'CUT' | 20090218 | |||
| 3 | Constant | Public | Type reference (TYPE) | STRING | 'DELETE' | 20090218 | |||
| 4 | Constant | Public | Type reference (TYPE) | STRING | 'DOWN' | 20090218 | |||
| 5 | Constant | Public | Type reference (TYPE) | STRING | 'NEWFOLDER' | 20090218 | |||
| 6 | Constant | Public | Type reference (TYPE) | STRING | 'PASTE' | 20090218 | |||
| 7 | Constant | Public | Type reference (TYPE) | STRING | 'SAVE' | 20090218 | |||
| 8 | Constant | Public | Type reference (TYPE) | STRING | 'UP' | 20090218 | |||
| 9 | Instance attribute | Public | Type reference (TYPE) | CL_WCF_FAVO_MYFAVORITES_CN00=>TREE_TABLE_STRUCT | 20090223 | ||||
| 10 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_BSP_WD_POPUP | Popup Access Interface | 20090227 | |||
| 11 | Instance attribute | Public | Object reference (TYPE REF TO) | IF_THTMLB_DRAG_N_DROP_ITERATOR | drag and drop iterator for cellerator and cellerator tree | 20090306 | |||
| 12 | Instance attribute | Public | Object reference (TYPE REF TO) | CL_WCF_FAV_USER_FAVORITES | Favorites for user | 20090219 | |||
| 13 | Instance attribute | Public | Type reference (TYPE) | CRMT_THTMLB_BUTTON_T | Table of Buttons in Table View Header | 20090216 | |||
| 14 | Instance attribute | Public | Type reference (TYPE) | ABAP_BOOL | 20090414 | ||||
| 15 | Static Attribute | Public | Type reference (TYPE) | STRING | 20090226 | ||||
| 16 | Static Attribute | Public | Type reference (TYPE) | STRING | 20090226 | ||||
| 17 | Static Attribute | Public | Type reference (TYPE) | STRING | 20090226 | ||||
| 18 | Static Attribute | Public | Type reference (TYPE) | STRING | 20090226 | ||||
| 19 | Static Attribute | Public | Type reference (TYPE) | WCF_FAV_ID | ID | 20090415 | |||
| 20 | Static Attribute | Public | Type reference (TYPE) | STRING | 20090226 | ||||
| 21 | Static Attribute | Public | Type reference (TYPE) | STRING | 20090226 | ||||
| 22 | Static Attribute | Public | Type reference (TYPE) | I | 0 | 20090414 | |||
| 23 | Instance attribute | Public | Type reference (TYPE) | ABAP_BOOL | 20090414 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | Creates all toolbar buttons | 20090216 | |
| 2 | Instance method | Private | Method | Deletes all subsequent children (folder/favourites) | 20090219 | |
| 3 | Instance method | Private | Method | Returns which sequence should be used on paste | 20090223 | |
| 4 | Static method | Public | Method | Returns text | 20090320 | |
| 5 | Instance method | Private | Method | Returns the line entry in gt_tree_item based on selected idx | 20090223 | |
| 6 | Instance method | Private | Method | Checks if current ID has children | 20090219 | |
| 7 | Instance method | Private | Method | Returns true if there's an error that prevent from saving | 20090409 | |
| 8 | Instance method | Private | Method | Checks if the user is trying to paste in one of the children | 20090401 | |
| 9 | Instance method | Private | Method | Loads icon info for the tree | 20090226 | |
| 10 | Instance method | Private | Method | Resets flags used in up/down for index settings | 20090415 | |
| 11 | Instance method | Public | Method | Updates the tree | 20090508 |
Events
Class CL_WCF_FAVO_MYFAVORITES_IMPL has no event.
Types
Class CL_WCF_FAVO_MYFAVORITES_IMPL has no local type.
Method Signatures
Method CREATE_TOOLBAR_BUTTONS Signature
Method CREATE_TOOLBAR_BUTTONS on class CL_WCF_FAVO_MYFAVORITES_IMPL has no parameter.
Method CREATE_TOOLBAR_BUTTONS on class CL_WCF_FAVO_MYFAVORITES_IMPL has no exception.
Method DELETE_CHILDREN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ID | Call by reference | Type reference (TYPE) | WCF_FAV_ID | ID | 20090219 |
Method DELETE_CHILDREN on class CL_WCF_FAVO_MYFAVORITES_IMPL has no exception.
Method GET_SEQUENCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_PARENT_ID | Call by reference | Type reference (TYPE) | WCF_FAV_ID | ID | 20090223 | |||
| 2 | RV_SEQUENCE | Value transfer | Type reference (TYPE) | WCF_FAV_SEQUENCE | Sequence id | 20090223 |
Method GET_SEQUENCE on class CL_WCF_FAVO_MYFAVORITES_IMPL has no exception.
Method GET_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_TEXT_NUMBER | Call by reference | Type reference (TYPE) | I | 20090320 | ||||
| 2 | RV_TEXT | Value transfer | Type reference (TYPE) | STRING | 20090320 |
Method GET_TEXT on class CL_WCF_FAVO_MYFAVORITES_IMPL has no exception.
Method GET_TREE_ITEM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_TREE_LINE | Value transfer | Type reference (TYPE) | CL_WCF_FAVO_MYFAVORITES_CN00=>TREE_TABLE_STRUCT | 20090223 |
Method GET_TREE_ITEM on class CL_WCF_FAVO_MYFAVORITES_IMPL has no exception.
Method HAS_CHILDREN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ID | Call by reference | Type reference (TYPE) | WCF_FAV_ID | ID | 20090219 | |||
| 2 | RV_HAS_CHILDREN | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20090219 |
Method HAS_CHILDREN on class CL_WCF_FAVO_MYFAVORITES_IMPL has no exception.
Method HAS_ERROR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_HAS_ERROR | Value transfer | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20090409 |
Method HAS_ERROR on class CL_WCF_FAVO_MYFAVORITES_IMPL has no exception.
Method IS_PASTING_IN_CHILDREN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_PASTING_ID | Call by reference | Type reference (TYPE) | WCF_FAV_ID | ID | 20090401 | |||
| 2 | RV_IS_PASTING_IN_CHILDREN | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20090401 |
Method IS_PASTING_IN_CHILDREN on class CL_WCF_FAVO_MYFAVORITES_IMPL has no exception.
Method LOAD_ICON_INFO Signature
Method LOAD_ICON_INFO on class CL_WCF_FAVO_MYFAVORITES_IMPL has no parameter.
Method LOAD_ICON_INFO on class CL_WCF_FAVO_MYFAVORITES_IMPL has no exception.
Method RESET_INDEX_CONTROLS Signature
Method RESET_INDEX_CONTROLS on class CL_WCF_FAVO_MYFAVORITES_IMPL has no parameter.
Method RESET_INDEX_CONTROLS on class CL_WCF_FAVO_MYFAVORITES_IMPL has no exception.
Method UPDATE_TREE Signature
Method UPDATE_TREE on class CL_WCF_FAVO_MYFAVORITES_IMPL has no parameter.
Method UPDATE_TREE on class CL_WCF_FAVO_MYFAVORITES_IMPL has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 701 |