SAP ABAP Class CL_SMI_ODATA_EXT_OBJ_UTILITY (A utility class for Jam OData ExternalObjects.)
Hierarchy
☛
SAP_UI (Software Component) User Interface Technology
⤷
CA-UI2-AR-SM (Application Component) SAP UI Integration - Social Media Collaboration Enablement
⤷
AR_702_SM_SERVICES (Package) UI AR - Social Media Data Provider Impl. (Rel. Dependent)
⤷
⤷
Properties
| Class | CL_SMI_ODATA_EXT_OBJ_UTILITY | |
| Short Description | A utility class for Jam OData ExternalObjects. | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | AR_702_SM_SERVICES | UI AR - Social Media Data Provider Impl. (Rel. Dependent) |
| Created | 20140408 | SAP |
| Last change | 20141120 | |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_SMI_ODATA_EXT_OBJ_UTILITY has no forward declaration.
Interfaces
Class CL_SMI_ODATA_EXT_OBJ_UTILITY has no interface implemented.
Friends
Class CL_SMI_ODATA_EXT_OBJ_UTILITY has no friend class.
Attributes
Class CL_SMI_ODATA_EXT_OBJ_UTILITY has no attribute.
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | ensures there's slash at end of the SRVC URL or path | 20140408 | |
| 2 | Instance method | Public | Method | Escaping OData filter values. | 20140408 | |
| 3 | Instance method | Public | Method | Contructs the Exid URL. | 20140408 | |
| 4 | Instance method | Public | Method | Constructs the query url for the external object | 20140408 | |
| 5 | Instance method | Public | Method | Constructs the ObjectType URL | 20140408 | |
| 6 | Instance method | Public | Method | Removes the end forward slash of a string if it exist. | 20140630 |
Events
Class CL_SMI_ODATA_EXT_OBJ_UTILITY has no event.
Types
Class CL_SMI_ODATA_EXT_OBJ_UTILITY has no local type.
Method Signatures
Method CANONIZE_SRVC_URL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_SRVC_URL | Call by reference | Type reference (TYPE) | STRING | 20140408 | ||||
| 2 | RV_SRVC_URL | Value transfer | Type reference (TYPE) | STRING | 20140408 |
Method CANONIZE_SRVC_URL on class CL_SMI_ODATA_EXT_OBJ_UTILITY has no exception.
Method ESCAPE_ODATA_FILTER_VALUE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_UNESCAPED_ODATA_FILTER_VAL | Call by reference | Type reference (TYPE) | STRING | 20140408 | ||||
| 2 | RV_ESCAPED_ODATA_FILTER_VAL | Value transfer | Type reference (TYPE) | STRING | 20140408 |
Method ESCAPE_ODATA_FILTER_VALUE on class CL_SMI_ODATA_EXT_OBJ_UTILITY has no exception.
Method GET_EXID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_EXT_ODATA_COLLECTION | Call by reference | Type reference (TYPE) | STRING | External OData collection. | 20140408 | |||
| 2 | IV_EXT_ODATA_KEY | Call by reference | Type reference (TYPE) | STRING | OData key for the external object. | 20140408 | |||
| 3 | IV_EXT_ODATA_SERVICE_URL | Call by reference | Type reference (TYPE) | STRING | External OData service URL. Ex: http://srvc.ca/srvc_path/ | 20140409 | |||
| 4 | RV_EXID | Value transfer | Type reference (TYPE) | STRING | Exid URL. | 20140408 |
Method GET_EXID on class CL_SMI_ODATA_EXT_OBJ_UTILITY has no exception.
Method GET_EXT_OBJECT_QUERY_URL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ESCAPED_EXID | Call by reference | Type reference (TYPE) | STRING | Escaped Exid URL. | 20140408 | |||
| 2 | IV_ESCAPED_OBJECT_TYPE | Call by reference | Type reference (TYPE) | STRING | Escaped ObjectType URL. | 20140408 | |||
| 3 | IV_JAM_ODATA_SRVC_PATH | Call by reference | Type reference (TYPE) | STRING | Jam OData service path. Ex: srvc_path/ | 20140408 | |||
| 4 | RV_EXT_OBJECT_QUERY_URL | Value transfer | Type reference (TYPE) | STRING | Returns query URL for the ExternalObject | 20140408 |
Method GET_EXT_OBJECT_QUERY_URL on class CL_SMI_ODATA_EXT_OBJ_UTILITY has no exception.
Method GET_OBJECT_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_EXT_ODATA_COLLECTION | Call by reference | Type reference (TYPE) | STRING | External OData collection. | 20140408 | |||
| 2 | IV_EXT_ODATA_SERVICE_URL | Call by reference | Type reference (TYPE) | STRING | External OData service URL. Ex: http://srvc.ca/srvc_path/ | 20140409 | |||
| 3 | RV_OBJECT_TYPE | Value transfer | Type reference (TYPE) | STRING | Return ObjectType URL. | 20140408 |
Method GET_OBJECT_TYPE on class CL_SMI_ODATA_EXT_OBJ_UTILITY has no exception.
Method REMOVE_END_FORWARD_SLASH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_STRING | Call by reference | Type reference (TYPE) | STRING | The string with a possible end forward slash. | 20140630 | |||
| 2 | RV_STR_WITHOUT_FORWARD_SLASH | Value transfer | Type reference (TYPE) | STRING | The string without the end forward slash. | 20140630 |
Method REMOVE_END_FORWARD_SLASH on class CL_SMI_ODATA_EXT_OBJ_UTILITY has no exception.
History
| Last changed by/on | SAP | 20141120 |
| SAP Release Created in | 100 |