SAP ABAP Class CL_SMI_ODATA_SRV_HELPER (Social Media Integration Odata service helper class)
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)
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_SMI_ODATA_SRV_HELPER | SMI OData Service helper | 20130515 |
Properties
| Class | CL_SMI_ODATA_SRV_HELPER | |
| Short Description | Social Media Integration Odata service helper class | |
| 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 | 20130515 | SAP |
| Last change | 20131127 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_SMI_ODATA_SRV_HELPER has no forward declaration.
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_SMI_ODATA_SRV_HELPER | SMI OData Service helper | 20130515 |
Friends
Class CL_SMI_ODATA_SRV_HELPER has no friend class.
Attributes
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | CONSTRUCTOR | 20130603 | |
| 2 | Instance method | Private | Method | Request to create a Jam group. Returns the group if created. | 20130603 | |
| 3 | Instance method | Private | Method | dowload the file from a server | 20140526 | |
| 4 | Instance method | Private | Method | Encodes the folder path and file name | 20140523 | |
| 5 | Instance method | Private | Method | Contructs the internal OData URL from a relative path. | 20131106 | |
| 6 | Instance method | Private | Method | Maps an internal OData URL to it external form. | 20131106 | |
| 7 | Instance method | Private | Method | True if group id is in the table. False otherwise. | 20130710 | |
| 8 | Instance method | Private | Method | Check if a url already contains prefix (http://server:port) | 20131119 |
Events
Class CL_SMI_ODATA_SRV_HELPER has no event.
Types
Class CL_SMI_ODATA_SRV_HELPER has no local type.
Method Signatures
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_SMI_ODATA_SRV_HELPER has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Business Exception | 20130603 | ||
| 2 | Technical Exception | 20130603 |
Method CREATE_GROUP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_GROUP | Call by reference | Type reference (TYPE) | CL_SM_INTEGRATION_MPC_EXT=>TS_GROUP | Details of Group entity to create. | 20130603 | |||
| 2 | RS_GROUP | Value transfer | Type reference (TYPE) | CL_SM_INTEGRATION_MPC_EXT=>TS_GROUP | Full details of Group entity if creation was successful. | 20130603 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130603 | |||
| 2 | 20130603 |
Method DOWNLOAD_CONTENT_ITEM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_URL | Call by reference | Type reference (TYPE) | STRING | 20140526 | ||||
| 2 | RV_RESPONSE | Value transfer | Object reference (TYPE REF TO) | IF_HTTP_RESPONSE | HTTP Framework (iHTTP) HTTP Response | 20140526 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Business Exception | 20140526 | ||
| 2 | Technical Exception | 20140526 |
Method ENCODE_URL_FOR_CONTENT_ITEM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CV_URL | Call by reference | Type reference (TYPE) | STRING | url of the file | 20140523 |
Method ENCODE_URL_FOR_CONTENT_ITEM on class CL_SMI_ODATA_SRV_HELPER has no exception.
Method GET_INTERNAL_URL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_RELATIVE_PATH | Call by reference | Type reference (TYPE) | STRING | Relative path to construct an internal URL from. | 20131106 | |||
| 2 | RV_INTERNAL_URL | Value transfer | Type reference (TYPE) | STRING | Internal URL constructed from the relative path. | 20131106 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Business Exception | 20131106 | ||
| 2 | Technical Exception | 20131106 |
Method INTERNAL_TO_EXTERNAL_URL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_INTERNAL_URL | Call by reference | Type reference (TYPE) | STRING | Internal OData URL to convert into its external form. | 20131106 | |||
| 2 | RV_EXTERNAL_URL | Value transfer | Type reference (TYPE) | STRING | External version of the OData internal URL. | 20131106 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Business Exception | 20131106 | ||
| 2 | Technical Exception | 20131106 |
Method IS_GROUP_ID_ASSIGNED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_ASSIGNED_GROUP_IDS | Call by reference | Type reference (TYPE) | IF_SMI_ODATA_SRV_HELPER=>TT_SORTED_INTEGERS | Table of assigned group ids. | 20130710 | |||
| 2 | IV_GROUP_ID | Call by reference | Type reference (TYPE) | I | Group id to check. | 20130710 | |||
| 3 | RV_IS_GROUP_ID_ASSIGNED | Value transfer | Type reference (TYPE) | ABAP_BOOL | True if group id is in the table. False otherwise. | 20130710 |
Method IS_GROUP_ID_ASSIGNED on class CL_SMI_ODATA_SRV_HELPER has no exception.
Method URL_CONTAINS_PREFIX Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_URL | Call by reference | Type reference (TYPE) | STRING | A url | 20131119 | |||
| 2 | RV_PREFIX | Value transfer | Type reference (TYPE) | ABAP_BOOL | if containing prefix, return true | 20131119 |
Method URL_CONTAINS_PREFIX on class CL_SMI_ODATA_SRV_HELPER has no exception.
History
| Last changed by/on | SAP | 20131127 |
| SAP Release Created in | 100 |