Hierarchy
⤷
⤷
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 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_WCF_FAV_CONST | Favorite constants | 20090216 | |||
| 2 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_WCF_FAV_EXCEPTION_REPORTER | Services for raising exceptions | 20090219 | |||
| 3 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_WCF_FAV_PERSISTENCE | Persistence for favorites | 20090216 | |||
| 4 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_WCF_ML_OBJECT_ACCESS | Access class to objects | 20090303 | |||
| 5 | Static Attribute | Private | Type reference (TYPE) | LTY_CUST_SETTINGS | Favorites settings for Customers object types | 20090327 | |||
| 6 | Static Attribute | Private | Type reference (TYPE) | LTY_SYS_SETTINGS | Favorites settings for System object types | 20090327 | |||
| 7 | Static Attribute | Private | Type reference (TYPE) | SPRAS | 'E' | Default language | 20110225 | ||
| 8 | Static Attribute | Private | Type reference (TYPE) | CRMT_UI_PROFILE | Current Business Role | 20090320 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20090216 | |
| 2 | Static method | Private | Method | Deletes favorite | 20090217 | |
| 3 | Static method | Private | Method | Deletes given favorites | 20090218 | |
| 4 | Static method | Private | Method | Deletes given favorites | 20090218 | |
| 5 | Static method | Private | Method | Deletes root element favorite | 20090304 | |
| 6 | Static method | Public | Method | Returns favorites for a given user | 20090216 | |
| 7 | Static method | Public | Method | Returns one favorite | 20090217 | |
| 8 | Static method | Public | Method | Returns folders for a given user | 20090216 | |
| 9 | Static method | Public | Method | Returns singleton instance | 20090216 | |
| 10 | Static method | Public | Method | Returns root object | 20090217 | |
| 11 | Static method | Public | Method | Returns object type favorite settings | 20090302 | |
| 12 | Static method | Public | Method | Returns all shared favorites | 20090216 | |
| 13 | Static method | Private | Method | Inserts favorite | 20090217 | |
| 14 | Static method | Private | Method | Inserts given favorites | 20090218 | |
| 15 | Static method | Private | Method | Inserts given folders | 20090218 | |
| 16 | Static method | Private | Method | Inserts root element favorite in db | 20090304 | |
| 17 | Static method | Private | Method | Loads customer settings for Object type | 20090327 | |
| 18 | Static method | Private | Method | Loads system settings for Object type | 20090327 | |
| 19 | Static method | Public | Method | Save favorite | 20090217 | |
| 20 | Static method | Private | Method | Saves given favorites | 20090218 | |
| 21 | Static method | Private | Method | Saves folders | 20090218 | |
| 22 | Static method | Public | Method | Saves user favorites & folders | 20090217 | |
| 23 | Static method | Private | Method | Updates favorite | 20090217 | |
| 24 | Static method | Private | Method | Updates given favorites | 20090218 | |
| 25 | 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 | 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 | 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 | 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 | 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 | IV_USER | Call by reference | Type reference (TYPE) | SYUNAME | User Name | 20090216 | |||
| 2 | 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 | IV_ID | Call by reference | Type reference (TYPE) | WCF_FAV_ID | ID | 20090217 | |||
| 2 | RS_FAVORITE | Value transfer | Type reference (TYPE) | WCF_FAVS_FAVORITE | Favorite | 20090217 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | IV_USER | Call by reference | Type reference (TYPE) | SYUNAME | User Name | 20090216 | |||
| 2 | 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 | 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 | EV_GENIL_ID | Call by reference | Type reference (TYPE) | CRMT_GENIL_OBJECT_ID | Object ID in Generic Interaction Layer | 20090217 | |||
| 2 | EV_OBJECT_ID | Call by reference | Type reference (TYPE) | WCF_ML_GUID | ID | 20090218 | |||
| 3 | EV_OBJECT_NAME | Call by reference | Type reference (TYPE) | CRMT_EXT_OBJ_NAME | External Name of Object | 20090217 | |||
| 4 | EV_UI_OBJECT_TYPE | Call by reference | Type reference (TYPE) | BSP_DLC_OBJECT_TYPE | UI Object Type | 20090217 | |||
| 5 | IV_ID | Call by reference | Type reference (TYPE) | WCF_FAV_ID | ID | 20090217 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | IV_OBJECT_TYPE | Call by reference | Type reference (TYPE) | BSP_DLC_OBJECT_TYPE | UI Object Type | 20090302 | |||
| 2 | RS_SETTINGS | Value transfer | Type reference (TYPE) | WCF_FAVS_SETTINGS | 20090302 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Settings not found | 20090302 |
Method GET_SHARED_FAVORITES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | Save failed | 20090219 |
Method SAVE_FOLDERS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 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 | 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 | Save failed | 20090219 |
Method UPDATE_FAVORITE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 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 | 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 | 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 |