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 IF_CTS_SYSTEM Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
2 IF_CTS_SYSTEM_COLLECTION 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 CO_KEY_CLUSTERS Constant Protected Type reference (TYPE) STRING '_faves_clusters' 20090825
2 CO_KEY_ENTITIES Constant Protected Type reference (TYPE) STRING '_faves_trent' 20090826
3 CO_KEY_LANDSCAPES Constant Protected Type reference (TYPE) STRING '_faves_landscapes' 20090825
4 CO_KEY_SYSTEMS Constant Protected Type reference (TYPE) STRING '_faves_systems' 20090825
5 CO_NS_IMPORT_HISTORY Constant Public Type reference (TYPE) STRING 'import_history' 20120105
6 CO_NS_ORGANIZER Constant Public Type reference (TYPE) STRING 'transport_organizer' 20090826
7 CO_NS_TRANSPORT Constant Public Type reference (TYPE) STRING 'transport_man' 20090826
8 DEFAULTS_MANAGER Instance attribute Private Object reference (TYPE REF TO) CL_CTS_USER_DEFAULTS 20090825
9 NAMESPACE Instance attribute Private Type reference (TYPE) STRING 20090826
10 USERNAME Instance attribute Protected Type reference (TYPE) SYUNAME Benutzername 20090825
Methods
# Method Level Visibility Method type Description Created on
1 ADD_CLUSTER Instance method Public Method Add a cluster to the favorites 20090825
2 ADD_LANDSCAPE Instance method Public Method Add a landscape to the favorites 20090825
3 ADD_SYSTEM Instance method Public Method Add a system to the favorites 20090825
4 ADD_TRANSPORT_ENTITY Instance method Public Method Add a transport entity to favorites 20090826
5 GET_CLUSTERS Instance method Public Method Retrieve cluster favorites 20090825
6 GET_FAVORITES Instance method Public Method Retrieve complete favorite structure 20090825
7 GET_LANDSCAPES Instance method Public Method Retrieve landscape favorites 20090825
8 GET_NAMESPACE Instance method Public Method Returns current namespace 20090826
9 GET_SYSTEMS Instance method Public Method Retrieve system favorites 20090825
10 GET_TRANSPORT_ENTITIES Instance method Public Method Get favorite entities 20090826
11 GET_USER Instance method Public Method Returns the current user 20090825
12 HAS_FAVORITES Static method Public Method Has the user any favorites? 20090825
13 LOAD Static method Public Method Load Manager 20090825
14 RESET_FAVES Instance method Public Method Clear all favorites 20090825
15 SET_CLUSTERS Instance method Public Method Set favorite clusters 20090825
16 SET_FAVORITES Instance method Public Method Set complete favorite structure 20090825
17 SET_LANDSCAPES Instance method Public Method Set favorite landscapes 20090825
18 SET_SYSTEMS Instance method Public Method Set favorite systems 20090825
19 SET_TRANSPORT_ENTITIES 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 Importing CLUSTER Call by reference Type reference (TYPE) TY_FAV_CLUSTER 20090825
2 Returning 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 Importing LANDSCAPE Call by reference Type reference (TYPE) TY_FAV_LANDSCAPE 20090825
2 Returning 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 Returning SUCCESS Value transfer Type reference (TYPE) BOOLEAN boolsche Variable (X=true, -=false, space=unknown) 20090825
2 Importing 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 Importing ENTITY Call by reference Type reference (TYPE) TY_FAV_TR_ENTITY 20090826
2 Returning 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 Exporting CLUSTERS Call by reference Type reference (TYPE) TY_FAV_CLUSTERS 20090825
2 Importing 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 Exporting 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 Exporting LANDSCAPES Call by reference Type reference (TYPE) TY_FAV_LANDSCAPES 20090825
2 Importing 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 Returning 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 Exporting SYSTEMS Call by reference Type reference (TYPE) TY_FAV_SYSTEMS 20090825
2 Importing 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 Exporting ENTITIES Call by reference Type reference (TYPE) TY_FAV_TR_ENTITIES 20090826
2 Importing 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 Returning 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 Returning FLAG Value transfer Type reference (TYPE) BOOLEAN boolsche Variable (X=true, -=false, space=unknown) 20090825
2 Importing NAMESPACE Call by reference Type reference (TYPE) STRING CO_NS_TRANSPORT 20090826
3 Importing 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 Returning MANAGER Value transfer Object reference (TYPE REF TO) CL_CTS_UI_FAVES_MANAGER Managing user favorites 20090825
2 Importing NAMESPACE Call by reference Type reference (TYPE) STRING CO_NS_TRANSPORT Namespace 20090826
3 Importing 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 Returning 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 Importing CLUSTERS Call by reference Type reference (TYPE) TY_FAV_CLUSTERS 20090825
2 Returning 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 Importing ALL Call by reference Type reference (TYPE) TY_FAV_ALL 20090825
2 Returning 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 Importing LANDSCAPES Call by reference Type reference (TYPE) TY_FAV_LANDSCAPES 20090825
2 Returning 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 Returning SUCCESS Value transfer Type reference (TYPE) BOOLEAN boolsche Variable (X=true, -=false, space=unknown) 20090825
2 Importing 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 Importing ENTITIES Call by reference Type reference (TYPE) TY_FAV_TR_ENTITIES 20090826
2 Returning 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