SAP ABAP Class CL_WCF_FAV_SERVICES (Service methods 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_SERVICES | |
| Short Description | Service methods for favorites | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | WCF_FAVORITES_CORE | Favorites Core Objects |
| Created | 20090216 | SAP |
| Last change | 20100303 | 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) |
Interfaces
Class CL_WCF_FAV_SERVICES has no interface implemented.
Friends
Class CL_WCF_FAV_SERVICES has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Protected | 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 | Protected | Object reference (TYPE REF TO) | CL_WCF_FAV_SERVICES | Services method for favorite | 20090216 | |||
| 4 | Static Attribute | Protected | Object reference (TYPE REF TO) | CL_WCF_FAV_PERSISTENCE | Persistence for favorites | 20090302 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Constructor | Create the singleton instance | 20090216 | |
| 2 | Static method | Public | Method | Returns true if favorite type exists | 20090219 | |
| 3 | Static method | Public | Method | Returns all UI Object types of object added to user favs | 20090507 | |
| 4 | Static method | Public | Method | Returns current timestamp | 20090216 | |
| 5 | Static method | Public | Method | Returns filter for favorites for a given UI object type | 20090508 | |
| 6 | Static method | Public | Method | Returns filter for favorites for a given UI object type | 20090507 | |
| 7 | Static method | Public | Method | Returns filter for favorites for a given UI object type | 20090507 | |
| 8 | Static method | Public | Method | Returns a guid from a genil id | 20090219 | |
| 9 | Static method | Public | Method | Returns the singleton instance. | 20090216 | |
| 10 | Static method | Public | Method | Builds a message table from the given parameters | 20090216 | |
| 11 | Static method | Public | Method | Creates a new id | 20090216 | |
| 12 | Static method | Public | Method | Returns the current UI object type | 20090601 | |
| 13 | Static method | Public | Method | Returns true if community is allowed | 20090312 | |
| 14 | Static method | Public | Method | Favorites mode is enabled or not | 20090217 | |
| 15 | Static method | Public | Method | Returns true if favorite are enabled for current context | 20090325 | |
| 16 | Static method | Private | Method | Returns true if favorite feature is active for a given type | 20090325 | |
| 17 | Static method | Public | Method | Returns true if favorites is allowed for a role | 20090325 | |
| 18 | Static method | Public | Method | Favorites sharing allowing for a given object type | 20090302 |
Events
Class CL_WCF_FAV_SERVICES has no event.
Types
Class CL_WCF_FAV_SERVICES has no local type.
Method Signatures
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_WCF_FAV_SERVICES has no parameter.
Method CLASS_CONSTRUCTOR on class CL_WCF_FAV_SERVICES has no exception.
Method FAVORITE_TYPE_EXISTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_TYPE | Call by reference | Type reference (TYPE) | WCF_FAV_ELEMENT_TYPE | Element type | 20090219 | |||
| 2 | RV_EXISTS | Value transfer | Type reference (TYPE) | BOOLEAN | Type exists | 20090219 |
Method FAVORITE_TYPE_EXISTS on class CL_WCF_FAV_SERVICES has no exception.
Method GET_ALL_UI_OBJECT_TYPES 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 | 20090507 | |||
| 2 | RT_UI_OBJECT_TYPES | Value transfer | Type reference (TYPE) | BSP_DLCT_OBJECT_TYPE | UI Object Types | 20090507 |
Method GET_ALL_UI_OBJECT_TYPES on class CL_WCF_FAV_SERVICES has no exception.
Method GET_CURRENT_TIMESTAMP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_TIMESTAMP | Value transfer | Type reference (TYPE) | WCF_FAV_TIMESTAMP | Creation timestamp | 20090216 |
Method GET_CURRENT_TIMESTAMP on class CL_WCF_FAV_SERVICES has no exception.
Method GET_FILTER_GENIL_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_GENIL_ID | Call by reference | Type reference (TYPE) | CRMT_GENIL_OBJECT_ID | Object ID in Generic Interaction Layer | 20090508 | |||
| 2 | RR_FILTER | Value transfer | Object reference (TYPE REF TO) | IF_WCF_FAV_FILTER | Favorite filter | 20090508 |
Method GET_FILTER_GENIL_ID on class CL_WCF_FAV_SERVICES has no exception.
Method GET_FILTER_OBJECT_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_OBJECT_ID | Call by reference | Type reference (TYPE) | WCF_ML_GUID | 20090507 | ||||
| 2 | RR_FILTER | Value transfer | Object reference (TYPE REF TO) | IF_WCF_FAV_FILTER | Favorite filter | 20090507 |
Method GET_FILTER_OBJECT_ID on class CL_WCF_FAV_SERVICES has no exception.
Method GET_FILTER_UI_OBJECT_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_UI_OBJECT_TYPE | Call by reference | Type reference (TYPE) | BSP_DLC_OBJECT_TYPE | UI Object Type | 20090507 | |||
| 2 | RR_FILTER | Value transfer | Object reference (TYPE REF TO) | IF_WCF_FAV_FILTER | Favorite filter | 20090507 |
Method GET_FILTER_UI_OBJECT_TYPE on class CL_WCF_FAV_SERVICES has no exception.
Method GET_ID_FROM_GENIL_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_GENIL_ID | Call by reference | Type reference (TYPE) | CRMT_GENIL_OBJECT_ID | Object ID in Generic Interaction Layer | 20090219 | |||
| 2 | RV_OBJECT_ID | Value transfer | Type reference (TYPE) | WCF_TC_GUID | Object id | 20090219 |
Method GET_ID_FROM_GENIL_ID on class CL_WCF_FAV_SERVICES 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_SERVICES | Services method for favorites | 20090216 |
Method GET_INSTANCE on class CL_WCF_FAV_SERVICES has no exception.
Method GET_MESSAGES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_MESSAGES | Call by reference | Type reference (TYPE) | WCF_FAVT_MSG | Messages | 20090216 | |||
| 2 | IV_MSGID | Call by reference | Type reference (TYPE) | SYMSGID | 20090216 | ||||
| 3 | IV_MSGNO | Call by reference | Type reference (TYPE) | SYMSGNO | 20090216 | ||||
| 4 | IV_MSGTY | Call by reference | Type reference (TYPE) | SYMSGTY | 20090216 | ||||
| 5 | IV_MSGV1 | Call by reference | Type reference (TYPE) | ANY | 20090216 | ||||
| 6 | IV_MSGV2 | Call by reference | Type reference (TYPE) | ANY | 20090216 | ||||
| 7 | IV_MSGV3 | Call by reference | Type reference (TYPE) | ANY | 20090216 | ||||
| 8 | IV_MSGV4 | Call by reference | Type reference (TYPE) | ANY | 20090216 | ||||
| 9 | IV_MSG_PROVIDED | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20090216 | |||
| 10 | RRT_MESSAGES | Value transfer | Object reference (TYPE REF TO) | WCF_FAVT_MSG | Messages | 20090225 |
Method GET_MESSAGES on class CL_WCF_FAV_SERVICES has no exception.
Method GET_NEW_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_ID | Value transfer | Type reference (TYPE) | WCF_FAV_ID | Unique Id | 20090216 |
Method GET_NEW_ID on class CL_WCF_FAV_SERVICES has no exception.
Method GET_UI_OBJTYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_CONTROLLER | Call by reference | Object reference (TYPE REF TO) | CL_BSP_WD_VIEW_CONTROLLER | Generic Overview Viewset | 20090601 | |||
| 2 | RV_UI_OBJTYPE | Value transfer | Type reference (TYPE) | BSP_DLC_OBJECT_TYPE | UI Object Type | 20090601 |
Method GET_UI_OBJTYPE on class CL_WCF_FAV_SERVICES has no exception.
Method IS_COMMUNITY_ALLOWED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_IS_ALLOWED | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20090312 |
Method IS_COMMUNITY_ALLOWED on class CL_WCF_FAV_SERVICES has no exception.
Method IS_FAVORITES_MODE_ENABLED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_ENABLED | Value transfer | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20090217 |
Method IS_FAVORITES_MODE_ENABLED on class CL_WCF_FAV_SERVICES has no exception.
Method IS_FAV_ENABLED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_CONTROLLER | Call by reference | Object reference (TYPE REF TO) | CL_BSP_WD_VIEW_CONTROLLER | UI Object Type | 20090601 | |||
| 2 | RV_IS_ENABLED | Value transfer | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20090325 |
Method IS_FAV_ENABLED on class CL_WCF_FAV_SERVICES has no exception.
Method IS_FAV_ENABLED_FOR_OBJECT_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_CONTROLLER | Call by reference | Object reference (TYPE REF TO) | CL_BSP_WD_VIEW_CONTROLLER | UI Object Type | 20090601 | |||
| 2 | RV_IS_ENABLED | Value transfer | Type reference (TYPE) | BOOLEAN | Favorites active for UI Object type | 20090325 |
Method IS_FAV_ENABLED_FOR_OBJECT_TYPE on class CL_WCF_FAV_SERVICES has no exception.
Method IS_FAV_ENABLED_FOR_ROLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_IS_ENABLED | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20090325 |
Method IS_FAV_ENABLED_FOR_ROLE on class CL_WCF_FAV_SERVICES has no exception.
Method IS_SHARING_ALLOWED 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 | RV_SHARING_ALLOWED | Value transfer | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20090302 |
Method IS_SHARING_ALLOWED on class CL_WCF_FAV_SERVICES has no exception.
History
| Last changed by/on | SAP | 20100303 |
| SAP Release Created in | 701 |