SAP ABAP Class CL_CTS_UI_FAVES_MANAGER (Managing user favorites)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-CTS-TMS-CTR (Application Component) Central CTS # Transport Management
⤷
SCTS_DIST_CTL_WDUI_COMMON (Package) Common UI Tools
⤷
⤷
Properties
| Class | CL_CTS_UI_FAVES_MANAGER | |
| Short Description | Managing user favorites | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SCTS_DIST_CTL_WDUI_COMMON | Common UI Tools |
| Created | 20090825 | SAP |
| Last change | 20140121 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... | |
| 2 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
Class CL_CTS_UI_FAVES_MANAGER has no interface implemented.
Friends
Class CL_CTS_UI_FAVES_MANAGER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Protected | Type reference (TYPE) | STRING | '_faves_clusters' | 20090825 | |||
| 2 | Constant | Protected | Type reference (TYPE) | STRING | '_faves_trent' | 20090826 | |||
| 3 | Constant | Protected | Type reference (TYPE) | STRING | '_faves_landscapes' | 20090825 | |||
| 4 | Constant | Protected | Type reference (TYPE) | STRING | '_faves_systems' | 20090825 | |||
| 5 | Constant | Public | Type reference (TYPE) | STRING | 'import_history' | 20120105 | |||
| 6 | Constant | Public | Type reference (TYPE) | STRING | 'transport_organizer' | 20090826 | |||
| 7 | Constant | Public | Type reference (TYPE) | STRING | 'transport_man' | 20090826 | |||
| 8 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_CTS_USER_DEFAULTS | 20090825 | ||||
| 9 | Instance attribute | Private | Type reference (TYPE) | STRING | 20090826 | ||||
| 10 | Instance attribute | Protected | Type reference (TYPE) | SYUNAME | Benutzername | 20090825 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Add a cluster to the favorites | 20090825 | |
| 2 | Instance method | Public | Method | Add a landscape to the favorites | 20090825 | |
| 3 | Instance method | Public | Method | Add a system to the favorites | 20090825 | |
| 4 | Instance method | Public | Method | Add a transport entity to favorites | 20090826 | |
| 5 | Instance method | Public | Method | Retrieve cluster favorites | 20090825 | |
| 6 | Instance method | Public | Method | Retrieve complete favorite structure | 20090825 | |
| 7 | Instance method | Public | Method | Retrieve landscape favorites | 20090825 | |
| 8 | Instance method | Public | Method | Returns current namespace | 20090826 | |
| 9 | Instance method | Public | Method | Retrieve system favorites | 20090825 | |
| 10 | Instance method | Public | Method | Get favorite entities | 20090826 | |
| 11 | Instance method | Public | Method | Returns the current user | 20090825 | |
| 12 | Static method | Public | Method | Has the user any favorites? | 20090825 | |
| 13 | Static method | Public | Method | Load Manager | 20090825 | |
| 14 | Instance method | Public | Method | Clear all favorites | 20090825 | |
| 15 | Instance method | Public | Method | Set favorite clusters | 20090825 | |
| 16 | Instance method | Public | Method | Set complete favorite structure | 20090825 | |
| 17 | Instance method | Public | Method | Set favorite landscapes | 20090825 | |
| 18 | Instance method | Public | Method | Set favorite systems | 20090825 | |
| 19 | Instance method | Public | Method | Set favorite transport entities | 20090826 |
Events
Class CL_CTS_UI_FAVES_MANAGER has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_DEF_CLUSTER | Private | See coding | 20090825 | begin of ty_def_cluster,
cluster_id type if_cts_system_collection=>ty_id,
end of ty_def_cluster
|
||
| 2 | TY_DEF_CLUSTERS | Private | See coding | 20090825 | ty_def_clusters type standard table of ty_def_cluster with default key
|
||
| 3 | TY_DEF_LANDSCAPE | Private | See coding | 20090825 | begin of ty_def_landscape,
name type string,
description type string,
systems type ty_def_systems,
end of ty_def_landscape
|
||
| 4 | TY_DEF_LANDSCAPES | Private | See coding | 20090825 | ty_def_landscapes type standard table of ty_def_landscape with key name
|
||
| 5 | TY_DEF_SYSTEM | Private | See coding | 20090825 | begin of ty_def_system,
system_id type if_cts_system=>ty_id,
end of ty_def_system
|
||
| 6 | TY_DEF_SYSTEMS | Private | See coding | 20090825 | ty_def_systems type standard table of ty_def_system with default key
|
||
| 7 | TY_DEF_TR_ENTITIES | Private | See coding | 20090826 | ty_def_tr_entities type standard table of ty_def_tr_entity with default key
|
||
| 8 | TY_DEF_TR_ENTITY | Private | See coding | 20090826 | begin of ty_def_tr_entity,
id type trkorr,
end of ty_def_tr_entity
|
||
| 9 | TY_FAV_ALL | Public | See coding | 20090825 | begin of ty_fav_all,
systems type ty_fav_systems,
clusters type ty_fav_clusters,
landscapes type ty_fav_landscapes,
transport_entities type ty_fav_tr_entities,
end of ty_fav_all
|
||
| 10 | TY_FAV_CLUSTER | Public | Object reference (TYPE REF TO) | IF_CTS_SYSTEM_COLLECTION | 20090825 | |
|
| 11 | TY_FAV_CLUSTERS | Public | See coding | 20090825 | ty_fav_clusters type standard table of ty_fav_cluster with default key
|
||
| 12 | TY_FAV_LANDSCAPE | Public | See coding | 20090825 | begin of ty_fav_landscape,
name type string,
description type string,
systems type if_cts_system=>ty_systems,
end of ty_fav_landscape
|
||
| 13 | TY_FAV_LANDSCAPES | Public | See coding | 20090825 | ty_fav_landscapes type standard table of ty_fav_landscape with key name
|
||
| 14 | TY_FAV_SYSTEM | Public | Object reference (TYPE REF TO) | IF_CTS_SYSTEM | 20090825 | |
|
| 15 | TY_FAV_SYSTEMS | Public | See coding | 20090825 | ty_fav_systems type standard table of ty_fav_system with default key
|
||
| 16 | TY_FAV_TR_ENTITIES | Public | See coding | 20090826 | ty_fav_tr_entities type standard table of ty_fav_tr_entity with default key
|
||
| 17 | TY_FAV_TR_ENTITY | Public | Type reference (TYPE) | TRKORR | 20090826 | |
Method Signatures
Method ADD_CLUSTER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CLUSTER | Call by reference | Type reference (TYPE) | TY_FAV_CLUSTER | 20090825 | ||||
| 2 | SUCCESS | Value transfer | Type reference (TYPE) | BOOLEAN | boolsche Variable (X=true, -=false, space=unknown) | 20090825 |
Method ADD_CLUSTER on class CL_CTS_UI_FAVES_MANAGER has no exception.
Method ADD_LANDSCAPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | LANDSCAPE | Call by reference | Type reference (TYPE) | TY_FAV_LANDSCAPE | 20090825 | ||||
| 2 | SUCCESS | Value transfer | Type reference (TYPE) | BOOLEAN | boolsche Variable (X=true, -=false, space=unknown) | 20090825 |
Method ADD_LANDSCAPE on class CL_CTS_UI_FAVES_MANAGER has no exception.
Method ADD_SYSTEM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SUCCESS | Value transfer | Type reference (TYPE) | BOOLEAN | boolsche Variable (X=true, -=false, space=unknown) | 20090825 | |||
| 2 | SYSTEM | Call by reference | Type reference (TYPE) | TY_FAV_SYSTEM | 20090825 |
Method ADD_SYSTEM on class CL_CTS_UI_FAVES_MANAGER has no exception.
Method ADD_TRANSPORT_ENTITY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ENTITY | Call by reference | Type reference (TYPE) | TY_FAV_TR_ENTITY | 20090826 | ||||
| 2 | SUCCESS | Value transfer | Type reference (TYPE) | BOOLEAN | 20090826 |
Method ADD_TRANSPORT_ENTITY on class CL_CTS_UI_FAVES_MANAGER has no exception.
Method GET_CLUSTERS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CLUSTERS | Call by reference | Type reference (TYPE) | TY_FAV_CLUSTERS | 20090825 | ||||
| 2 | CLUSTER_ID | Call by reference | Type reference (TYPE) | IF_CTS_SYSTEM_COLLECTION=>TY_ID | 20090825 |
Method GET_CLUSTERS on class CL_CTS_UI_FAVES_MANAGER has no exception.
Method GET_FAVORITES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ALL | Call by reference | Type reference (TYPE) | TY_FAV_ALL | 20090825 |
Method GET_FAVORITES on class CL_CTS_UI_FAVES_MANAGER has no exception.
Method GET_LANDSCAPES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | LANDSCAPES | Call by reference | Type reference (TYPE) | TY_FAV_LANDSCAPES | 20090825 | ||||
| 2 | LANDSCAPE_NAME | Call by reference | Type reference (TYPE) | TY_FAV_LANDSCAPE-NAME | 20090825 |
Method GET_LANDSCAPES on class CL_CTS_UI_FAVES_MANAGER has no exception.
Method GET_NAMESPACE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NAMESPACE | Value transfer | Type reference (TYPE) | STRING | 20090826 |
Method GET_NAMESPACE on class CL_CTS_UI_FAVES_MANAGER has no exception.
Method GET_SYSTEMS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SYSTEMS | Call by reference | Type reference (TYPE) | TY_FAV_SYSTEMS | 20090825 | ||||
| 2 | SYSTEM_ID | Call by reference | Type reference (TYPE) | IF_CTS_SYSTEM=>TY_ID | 20090825 |
Method GET_SYSTEMS on class CL_CTS_UI_FAVES_MANAGER has no exception.
Method GET_TRANSPORT_ENTITIES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ENTITIES | Call by reference | Type reference (TYPE) | TY_FAV_TR_ENTITIES | 20090826 | ||||
| 2 | ENTITY | Call by reference | Type reference (TYPE) | TY_FAV_TR_ENTITY | 20090826 |
Method GET_TRANSPORT_ENTITIES on class CL_CTS_UI_FAVES_MANAGER has no exception.
Method GET_USER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | USERNAME | Value transfer | Type reference (TYPE) | SYUNAME | 20090825 |
Method GET_USER on class CL_CTS_UI_FAVES_MANAGER has no exception.
Method HAS_FAVORITES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | FLAG | Value transfer | Type reference (TYPE) | BOOLEAN | boolsche Variable (X=true, -=false, space=unknown) | 20090825 | |||
| 2 | NAMESPACE | Call by reference | Type reference (TYPE) | STRING | CO_NS_TRANSPORT | 20090826 | |||
| 3 | USERNAME | Call by reference | Type reference (TYPE) | SYUNAME | Benutzername | 20090825 |
Method HAS_FAVORITES on class CL_CTS_UI_FAVES_MANAGER has no exception.
Method LOAD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | MANAGER | Value transfer | Object reference (TYPE REF TO) | CL_CTS_UI_FAVES_MANAGER | Managing user favorites | 20090825 | |||
| 2 | NAMESPACE | Call by reference | Type reference (TYPE) | STRING | CO_NS_TRANSPORT | Namespace | 20090826 | ||
| 3 | USERNAME | Call by reference | Type reference (TYPE) | SYUNAME | Benutzername | 20090825 |
Method LOAD on class CL_CTS_UI_FAVES_MANAGER has no exception.
Method RESET_FAVES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SUCCESS | Value transfer | Type reference (TYPE) | BOOLEAN | boolsche Variable (X=true, -=false, space=unknown) | 20090825 |
Method RESET_FAVES on class CL_CTS_UI_FAVES_MANAGER has no exception.
Method SET_CLUSTERS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CLUSTERS | Call by reference | Type reference (TYPE) | TY_FAV_CLUSTERS | 20090825 | ||||
| 2 | SUCCESS | Value transfer | Type reference (TYPE) | BOOLEAN | boolsche Variable (X=true, -=false, space=unknown) | 20090825 |
Method SET_CLUSTERS on class CL_CTS_UI_FAVES_MANAGER has no exception.
Method SET_FAVORITES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ALL | Call by reference | Type reference (TYPE) | TY_FAV_ALL | 20090825 | ||||
| 2 | SUCCESS | Value transfer | Type reference (TYPE) | BOOLEAN | 20090825 |
Method SET_FAVORITES on class CL_CTS_UI_FAVES_MANAGER has no exception.
Method SET_LANDSCAPES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | LANDSCAPES | Call by reference | Type reference (TYPE) | TY_FAV_LANDSCAPES | 20090825 | ||||
| 2 | SUCCESS | Value transfer | Type reference (TYPE) | BOOLEAN | boolsche Variable (X=true, -=false, space=unknown) | 20090825 |
Method SET_LANDSCAPES on class CL_CTS_UI_FAVES_MANAGER has no exception.
Method SET_SYSTEMS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SUCCESS | Value transfer | Type reference (TYPE) | BOOLEAN | boolsche Variable (X=true, -=false, space=unknown) | 20090825 | |||
| 2 | SYSTEMS | Call by reference | Type reference (TYPE) | TY_FAV_SYSTEMS | 20090825 |
Method SET_SYSTEMS on class CL_CTS_UI_FAVES_MANAGER has no exception.
Method SET_TRANSPORT_ENTITIES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ENTITIES | Call by reference | Type reference (TYPE) | TY_FAV_TR_ENTITIES | 20090826 | ||||
| 2 | SUCCESS | Value transfer | Type reference (TYPE) | BOOLEAN | 20090826 |
Method SET_TRANSPORT_ENTITIES on class CL_CTS_UI_FAVES_MANAGER has no exception.
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 702 |