SAP ABAP Class CL_WCF_FAV_PERSISTENCE (Persistence for favorites)
Hierarchy
WEBCUIF (Software Component) SAP Web UI Framework
   CA-WUI-UI (Application Component) User Interface
     WCF_FAVORITES_CORE (Package) Favorites Core Objects
Properties
Class CL_WCF_FAV_PERSISTENCE  
Short Description Persistence for favorites    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package WCF_FAVORITES_CORE   Favorites Core Objects 
Created 20090216   SAP 
Last change 20110908   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_WCF_FAV_PERSISTENCE has no forward declaration.
Interfaces
Class CL_WCF_FAV_PERSISTENCE has no interface implemented.
Friends
Class CL_WCF_FAV_PERSISTENCE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 SR_CO Static Attribute Private Object reference (TYPE REF TO) CL_WCF_FAV_CONST Favorite constants 20090216
2 SR_EXCEP Static Attribute Private Object reference (TYPE REF TO) CL_WCF_FAV_EXCEPTION_REPORTER Services for raising exceptions 20090219
3 SR_ME Static Attribute Private Object reference (TYPE REF TO) CL_WCF_FAV_PERSISTENCE Persistence for favorites 20090216
4 SR_ML_ACCESS Static Attribute Private Object reference (TYPE REF TO) CL_WCF_ML_OBJECT_ACCESS Access class to objects 20090303
5 ST_CUST_SETTINGS Static Attribute Private Type reference (TYPE) LTY_CUST_SETTINGS Favorites settings for Customers object types 20090327
6 ST_SYS_SETTINGS Static Attribute Private Type reference (TYPE) LTY_SYS_SETTINGS Favorites settings for System object types 20090327
7 SV_DEFAULT_LANGU Static Attribute Private Type reference (TYPE) SPRAS 'E' Default language 20110225
8 SV_ROLE Static Attribute Private Type reference (TYPE) CRMT_UI_PROFILE Current Business Role 20090320
Methods
# Method Level Visibility Method type Description Created on
1 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20090216
2 DELETE_FAVORITE Static method Private Method Deletes favorite 20090217
3 DELETE_FAVORITES Static method Private Method Deletes given favorites 20090218
4 DELETE_FOLDERS Static method Private Method Deletes given favorites 20090218
5 DELETE_ROOT_ELEMENT Static method Private Method Deletes root element favorite 20090304
6 GET_FAVORITES_BY_USER Static method Public Method Returns favorites for a given user 20090216
7 GET_FAVORITE_BY_ID Static method Public Method Returns one favorite 20090217
8 GET_FOLDERS_BY_USER Static method Public Method Returns folders for a given user 20090216
9 GET_INSTANCE Static method Public Method Returns singleton instance 20090216
10 GET_ROOT_OBJECT Static method Public Method Returns root object 20090217
11 GET_SETTINGS Static method Public Method Returns object type favorite settings 20090302
12 GET_SHARED_FAVORITES Static method Public Method Returns all shared favorites 20090216
13 INSERT_FAVORITE Static method Private Method Inserts favorite 20090217
14 INSERT_FAVORITES Static method Private Method Inserts given favorites 20090218
15 INSERT_FOLDERS Static method Private Method Inserts given folders 20090218
16 INSERT_ROOT_ELEMENT Static method Private Method Inserts root element favorite in db 20090304
17 LOAD_CUST_SETTINGS Static method Private Method Loads customer settings for Object type 20090327
18 LOAD_SYST_SETTINGS Static method Private Method Loads system settings for Object type 20090327
19 SAVE_FAVORITE Static method Public Method Save favorite 20090217
20 SAVE_FAVORITES Static method Private Method Saves given favorites 20090218
21 SAVE_FOLDERS Static method Private Method Saves folders 20090218
22 SAVE_USER_FAVORITES Static method Public Method Saves user favorites & folders 20090217
23 UPDATE_FAVORITE Static method Private Method Updates favorite 20090217
24 UPDATE_FAVORITES Static method Private Method Updates given favorites 20090218
25 UPDATE_FOLDERS Static method Private Method Updates given folders 20090218
Events
Class CL_WCF_FAV_PERSISTENCE has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 LTY_CUST_SETTINGS Private See coding Favorites settings for Customers object types 20090327 LTY_CUST_SETTINGS type HASHED TABLE OF WCF_FAVC_SETTING WITH UNIQUE KEY PRIMARY_KEY COMPONENTS CLIENT UI_OBJECT_TYPE
2 LTY_SYS_SETTINGS Private See coding 20090327 LTY_SYS_SETTINGS type HASHED TABLE OF WCF_FAV_SETTING WITH UNIQUE KEY PRIMARY_KEY COMPONENTS UI_OBJECT_TYPE
Method Signatures

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_WCF_FAV_PERSISTENCE has no parameter.
Method CLASS_CONSTRUCTOR on class CL_WCF_FAV_PERSISTENCE has no exception.

Method DELETE_FAVORITE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_FAVORITE_ELEMENT Call by reference Object reference (TYPE REF TO) IF_WCF_FAV_FAVORITE_ELEMENT ID 20090304

Method DELETE_FAVORITE on class CL_WCF_FAV_PERSISTENCE has no exception.

Method DELETE_FAVORITES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_FAVORITES Call by reference Type reference (TYPE) WCF_FAVT_FAVORITE Favorites 20090218

Method DELETE_FAVORITES on class CL_WCF_FAV_PERSISTENCE has no exception.

Method DELETE_FOLDERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_FOLDERS Call by reference Type reference (TYPE) WCF_FAVT_FOLDER Folders 20090218

Method DELETE_FOLDERS on class CL_WCF_FAV_PERSISTENCE has no exception.

Method DELETE_ROOT_ELEMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_ROOT_ELEMENT Call by reference Object reference (TYPE REF TO) CL_WCF_FAV_ROOT_OBJECT Root object favorite 20090304

Method DELETE_ROOT_ELEMENT on class CL_WCF_FAV_PERSISTENCE has no exception.

Method GET_FAVORITES_BY_USER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_USER Call by reference Type reference (TYPE) SYUNAME User Name 20090216
2 Returning RT_FAVORITES Value transfer Type reference (TYPE) WCF_FAVT_FAVORITE Favorites 20090216

Method GET_FAVORITES_BY_USER on class CL_WCF_FAV_PERSISTENCE has no exception.

Method GET_FAVORITE_BY_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ID Call by reference Type reference (TYPE) WCF_FAV_ID ID 20090217
2 Returning RS_FAVORITE Value transfer Type reference (TYPE) WCF_FAVS_FAVORITE Favorite 20090217
# Exception Resumable Description Created on
1 CX_WCF_FAV_DATA_NOT_FOUND Favorite not found 20090219

Method GET_FOLDERS_BY_USER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_USER Call by reference Type reference (TYPE) SYUNAME User Name 20090216
2 Returning RT_FOLDERS Value transfer Type reference (TYPE) WCF_FAVT_FOLDER Folders 20090216

Method GET_FOLDERS_BY_USER on class CL_WCF_FAV_PERSISTENCE has no exception.

Method GET_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RR_INSTANCE Value transfer Object reference (TYPE REF TO) CL_WCF_FAV_PERSISTENCE Persistence for favorites 20090216

Method GET_INSTANCE on class CL_WCF_FAV_PERSISTENCE has no exception.

Method GET_ROOT_OBJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_GENIL_ID Call by reference Type reference (TYPE) CRMT_GENIL_OBJECT_ID Object ID in Generic Interaction Layer 20090217
2 Exporting EV_OBJECT_ID Call by reference Type reference (TYPE) WCF_ML_GUID ID 20090218
3 Exporting EV_OBJECT_NAME Call by reference Type reference (TYPE) CRMT_EXT_OBJ_NAME External Name of Object 20090217
4 Exporting EV_UI_OBJECT_TYPE Call by reference Type reference (TYPE) BSP_DLC_OBJECT_TYPE UI Object Type 20090217
5 Importing IV_ID Call by reference Type reference (TYPE) WCF_FAV_ID ID 20090217
# Exception Resumable Description Created on
1 CX_WCF_FAV_DATA_NOT_FOUND Root object favorite not found 20090219

Method GET_SETTINGS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_OBJECT_TYPE Call by reference Type reference (TYPE) BSP_DLC_OBJECT_TYPE UI Object Type 20090302
2 Returning RS_SETTINGS Value transfer Type reference (TYPE) WCF_FAVS_SETTINGS 20090302
# Exception Resumable Description Created on
1 CX_WCF_FAV_DATA_NOT_FOUND Settings not found 20090302

Method GET_SHARED_FAVORITES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_SHARED_FAVORITES Value transfer Type reference (TYPE) WCF_FAVT_FAVORITE Favorites 20090216

Method GET_SHARED_FAVORITES on class CL_WCF_FAV_PERSISTENCE has no exception.

Method INSERT_FAVORITE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_FAVORITE_ELEMENT Call by reference Object reference (TYPE REF TO) IF_WCF_FAV_FAVORITE_ELEMENT Favorite 20090304

Method INSERT_FAVORITE on class CL_WCF_FAV_PERSISTENCE has no exception.

Method INSERT_FAVORITES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_FAVORITES Call by reference Type reference (TYPE) WCF_FAVT_FAVORITE Favorites 20090218

Method INSERT_FAVORITES on class CL_WCF_FAV_PERSISTENCE has no exception.

Method INSERT_FOLDERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_FOLDERS Call by reference Type reference (TYPE) WCF_FAVT_FOLDER folders 20090218

Method INSERT_FOLDERS on class CL_WCF_FAV_PERSISTENCE has no exception.

Method INSERT_ROOT_ELEMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_ROOT_ELEMENT Call by reference Object reference (TYPE REF TO) CL_WCF_FAV_ROOT_OBJECT Root object favorite 20090304
# Exception Resumable Description Created on
1 CX_WCF_FAV_DATA_INVALID Invalid data 20090305

Method LOAD_CUST_SETTINGS Signature

Method LOAD_CUST_SETTINGS on class CL_WCF_FAV_PERSISTENCE has no parameter.
Method LOAD_CUST_SETTINGS on class CL_WCF_FAV_PERSISTENCE has no exception.

Method LOAD_SYST_SETTINGS Signature

Method LOAD_SYST_SETTINGS on class CL_WCF_FAV_PERSISTENCE has no parameter.
Method LOAD_SYST_SETTINGS on class CL_WCF_FAV_PERSISTENCE has no exception.

Method SAVE_FAVORITE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_FAVORITE_ELEMENT Value transfer Object reference (TYPE REF TO) IF_WCF_FAV_FAVORITE_ELEMENT 20090217

Method SAVE_FAVORITE on class CL_WCF_FAV_PERSISTENCE has no exception.

Method SAVE_FAVORITES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_USER_FAVORITES Call by reference Object reference (TYPE REF TO) CL_WCF_FAV_USER_FAVORITES Favorites for user 20090218
# Exception Resumable Description Created on
1 CX_WCF_FAV_OPERATION_FAILED Save failed 20090219

Method SAVE_FOLDERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_FOLDERS Call by reference Type reference (TYPE) WCF_FAVT_FOLDER Folders 20090218

Method SAVE_FOLDERS on class CL_WCF_FAV_PERSISTENCE has no exception.

Method SAVE_USER_FAVORITES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_USER_FAVORITES Call by reference Object reference (TYPE REF TO) CL_WCF_FAV_USER_FAVORITES Favorites for user 20090217
# Exception Resumable Description Created on
1 CX_WCF_FAV_OPERATION_FAILED Save failed 20090219

Method UPDATE_FAVORITE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_FAVORITE_ELEMENT Call by reference Object reference (TYPE REF TO) IF_WCF_FAV_FAVORITE_ELEMENT 20090304

Method UPDATE_FAVORITE on class CL_WCF_FAV_PERSISTENCE has no exception.

Method UPDATE_FAVORITES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_FAVORITES Call by reference Type reference (TYPE) WCF_FAVT_FAVORITE Favorites 20090218

Method UPDATE_FAVORITES on class CL_WCF_FAV_PERSISTENCE has no exception.

Method UPDATE_FOLDERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_FOLDERS Call by reference Type reference (TYPE) WCF_FAVT_FOLDER Folders 20090218

Method UPDATE_FOLDERS on class CL_WCF_FAV_PERSISTENCE has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 701