SAP ABAP Class CL_TFW_ODATA_RATING_DPC (OData Rating Data Provider)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-SRV-TFW (Application Component) Tagging Framework
     STFW_ODATA (Package) OData Services for Tagging, Commenting and Rating
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  /IWBEP/CL_MGW_ABS_DATA Abstract Business Data Provider 20130527
Properties
Class CL_TFW_ODATA_RATING_DPC  
Short Description OData Rating Data Provider    
Super Class /IWBEP/CL_MGW_ABS_DATA Abstract Business Data Provider 
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package STFW_ODATA   OData Services for Tagging, Commenting and Rating 
Created 20130527   SAP 
Last change 20140121   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 /IWBEP/IF_MGW_APPL_SRV_RUNTIME Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
2 IF_TFW_TYPES Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
Class CL_TFW_ODATA_RATING_DPC has no interface implemented.
Friends
Class CL_TFW_ODATA_RATING_DPC has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_MSGID Constant Public Type reference (TYPE) STRING 'TFW_CORE' Message Class Name 20130617
Methods
# Method Level Visibility Method type Description Created on
1 CONVERT_STRING_TO_TABLE Instance method Private Method Convert String To Table 20130605
2 GET_RATING_AGGR_ENTITYSET Instance method Private Method Get Entityset for aggregate rating 20130605
3 GET_RATING_ENTITYSET Instance method Private Method Get Rating Entityset 20130605
4 GET_RATING_STAT_ENTITY Instance method Private Method Get Entityset for Rating Statistics 20130605
Events
Class CL_TFW_ODATA_RATING_DPC has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 S_RATING_DETAIL Public See coding 20130628 BEGIN OF s_rating_detail, feat_key TYPE tfw_feat_key, feat_name TYPE tfw_feat_name, rating TYPE tfw_rating, comment TYPE tfw_cmnt_txt, created_by TYPE tfw_unam, created_on TYPE tfw_tmstmp, END OF s_rating_detail
2 T_RATING_DETAIL Public See coding 20130628 t_rating_detail TYPE STANDARD TABLE OF s_rating_detail WITH NON-UNIQUE DEFAULT KEY
Method Signatures

Method CONVERT_STRING_TO_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_KEY_VAL Value transfer Type reference (TYPE) IF_TFW_TYPES=>TS_OBJ_KEY_VAL Table Type for Object Key-Value pair 20130605
2 Importing IV_OBJECT_ID Call by reference Type reference (TYPE) STRING 20130605

Method CONVERT_STRING_TO_TABLE on class CL_TFW_ODATA_RATING_DPC has no exception.

Method GET_RATING_AGGR_ENTITYSET Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ER_ENTITYSET Call by reference Object reference (TYPE REF TO) DATA 20130605
2 Exporting ES_RESPONSE_CONTEXT Call by reference Type reference (TYPE) /IWBEP/IF_MGW_APPL_SRV_RUNTIME=>TY_S_MGW_RESPONSE_CONTEXT 20130605
3 Importing IO_TECH_REQUEST_CONTEXT Call by reference Object reference (TYPE REF TO) /IWBEP/IF_MGW_REQ_ENTITYSET 20130605
4 Importing IS_PAGING Call by reference Type reference (TYPE) /IWBEP/S_MGW_PAGING paging structure 20130605
5 Importing IT_FILTER_SELECT_OPTIONS Call by reference Type reference (TYPE) /IWBEP/T_MGW_SELECT_OPTION table of select options 20130605
6 Importing IT_KEY_TAB Call by reference Type reference (TYPE) /IWBEP/T_MGW_NAME_VALUE_PAIR table for name value pairs 20130605
7 Importing IT_NAVIGATION_PATH Call by reference Type reference (TYPE) /IWBEP/T_MGW_NAVIGATION_PATH table of navigation paths 20130605
8 Importing IT_ORDER Call by reference Type reference (TYPE) /IWBEP/T_MGW_SORTING_ORDER the sorting order 20130605
9 Importing IV_ENTITY_NAME Call by reference Type reference (TYPE) STRING 20130605
10 Importing IV_ENTITY_SET_NAME Call by reference Type reference (TYPE) STRING 20130605
11 Importing IV_FILTER_STRING Call by reference Type reference (TYPE) STRING the filter as a string containing ANDs and ORs etc 20130605
12 Importing IV_SEARCH_STRING Call by reference Type reference (TYPE) STRING 20130605
13 Importing IV_SOURCE_NAME Call by reference Type reference (TYPE) STRING 20130605
# Exception Resumable Description Created on
1 /IWBEP/CX_MGW_BUSI_EXCEPTION Business Exception 20130605

Method GET_RATING_ENTITYSET Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ER_ENTITYSET Call by reference Object reference (TYPE REF TO) DATA 20130605
2 Exporting ES_RESPONSE_CONTEXT Call by reference Type reference (TYPE) /IWBEP/IF_MGW_APPL_SRV_RUNTIME=>TY_S_MGW_RESPONSE_CONTEXT 20130605
3 Importing IO_TECH_REQUEST_CONTEXT Call by reference Object reference (TYPE REF TO) /IWBEP/IF_MGW_REQ_ENTITYSET 20130605
4 Importing IS_PAGING Call by reference Type reference (TYPE) /IWBEP/S_MGW_PAGING paging structure 20130605
5 Importing IT_FILTER_SELECT_OPTIONS Call by reference Type reference (TYPE) /IWBEP/T_MGW_SELECT_OPTION table of select options 20130605
6 Importing IT_KEY_TAB Call by reference Type reference (TYPE) /IWBEP/T_MGW_NAME_VALUE_PAIR table for name value pairs 20130605
7 Importing IT_NAVIGATION_PATH Call by reference Type reference (TYPE) /IWBEP/T_MGW_NAVIGATION_PATH table of navigation paths 20130605
8 Importing IT_ORDER Call by reference Type reference (TYPE) /IWBEP/T_MGW_SORTING_ORDER the sorting order 20130605
9 Importing IV_ENTITY_NAME Call by reference Type reference (TYPE) STRING 20130605
10 Importing IV_ENTITY_SET_NAME Call by reference Type reference (TYPE) STRING 20130605
11 Importing IV_FILTER_STRING Call by reference Type reference (TYPE) STRING the filter as a string containing ANDs and ORs etc 20130605
12 Importing IV_SEARCH_STRING Call by reference Type reference (TYPE) STRING 20130605
13 Importing IV_SOURCE_NAME Call by reference Type reference (TYPE) STRING 20130605
# Exception Resumable Description Created on
1 /IWBEP/CX_MGW_BUSI_EXCEPTION Business Exception 20130605

Method GET_RATING_STAT_ENTITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ER_ENTITY Call by reference Object reference (TYPE REF TO) DATA 20130605
2 Importing IO_TECH_REQUEST_CONTEXT Call by reference Object reference (TYPE REF TO) /IWBEP/IF_MGW_REQ_ENTITY Request Details for Entity Read Operation 20130605
3 Importing IT_KEY_TAB Call by reference Type reference (TYPE) /IWBEP/T_MGW_NAME_VALUE_PAIR table for name value pairs 20130605
4 Importing IT_NAVIGATION_PATH Call by reference Type reference (TYPE) /IWBEP/T_MGW_NAVIGATION_PATH table of navigation paths 20130605
5 Importing IV_ENTITY_NAME Call by reference Type reference (TYPE) STRING 20130605
6 Importing IV_ENTITY_SET_NAME Call by reference Type reference (TYPE) STRING 20130605
7 Importing IV_SOURCE_NAME Call by reference Type reference (TYPE) STRING 20130605
# Exception Resumable Description Created on
1 /IWBEP/CX_MGW_BUSI_EXCEPTION Business Exception 20130605
2 /IWBEP/CX_MGW_MED_EXCEPTION Meta data exception 20130605
History
Last changed by/on SAP  20140121 
SAP Release Created in 740