SAP ABAP Class CL_RSO_RES_CNT_TYPE_HANDLER (Handler for Content Types)
Hierarchy
☛
SAP_BW (Software Component) SAP Business Warehouse
⤷
BW-WHM-MTD (Application Component) Metadata (Repository)
⤷
RSO_RES_FRMW (Package) BW: ResourceFramework
⤷
⤷
Properties
| Class | CL_RSO_RES_CNT_TYPE_HANDLER | |
| Short Description | Handler for Content Types | |
| Super Class | ||
| Instantiability of a Class | 1 | Protected |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | RSO_RES_FRMW | BW: ResourceFramework |
| Created | 20130417 | SAP |
| Last change | 20140121 | 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_RSO_RES_CNT_TYPE_HANDLER has no interface implemented.
Friends
| # | Friend | Modeled only | Created on | Description |
|---|---|---|---|---|
| 1 | CL_RSO_RES_CNT_TYPE_FACTORY | 20130417 | Factory class for content type handlers |
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | STRING | 'Accept' | 20130417 | |||
| 2 | Constant | Private | Type reference (TYPE) | STRING | '+' | 20130417 | |||
| 3 | Constant | Private | Type reference (TYPE) | STRING | '/' | 20130417 | |||
| 4 | Constant | Private | Type reference (TYPE) | STRING | ',' | 20130417 | |||
| 5 | Constant | Private | Type reference (TYPE) | STRING | 'vnd' | 20130417 | |||
| 6 | Constant | Private | Type reference (TYPE) | STRING | '_' | 20130417 | |||
| 7 | Constant | Private | Type reference (TYPE) | STRING | '-v' | 20130417 | |||
| 8 | Constant | Private | Type reference (TYPE) | I | 2 | 20130417 | |||
| 9 | Constant | Public | See coding | 20130417 | |||||
| 10 | Instance attribute | Private | Type reference (TYPE) | STRING | 20130417 | ||||
| 11 | Instance attribute | Private | Type reference (TYPE) | STRING | 20130417 | ||||
| 12 | Instance attribute | Private | Type reference (TYPE) | STRING | 20130417 | ||||
| 13 | Instance attribute | Private | Type reference (TYPE) | IF_RSO_RES_REST_HANDLER=>GT_S_CONTENT_VERSION | 20130417 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Protected | Constructor | CONSTRUCTOR | 20130417 | |
| 2 | Instance method | Public | Method | Get Content Type | 20130417 | |
| 3 | Instance method | Public | Method | Get Format | 20130417 | |
| 4 | Instance method | Public | Method | Get Media Type | 20130417 | |
| 5 | Instance method | Public | Method | Get Vendor Type | 20130417 | |
| 6 | Instance method | Public | Method | Get Version | 20130417 | |
| 7 | Instance method | Public | Method | Get Version string | 20130417 | |
| 8 | Instance method | Public | Method | Check compatibility of two content types | 20130417 | |
| 9 | Instance method | Public | Method | Check compatibility with request content types | 20130417 | |
| 10 | Instance method | Private | Method | Parse Content Type | 20130417 | |
| 11 | Instance method | Public | Method | Assign a new content type to this instance. | 20130417 |
Events
Class CL_RSO_RES_CNT_TYPE_HANDLER has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | GT_COMPATIBILITY_TYPE | Public | Type reference (TYPE) | I | 20130417 | |
Method Signatures
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_CONTENT_TYPE | Call by reference | Type reference (TYPE) | STRING | 20130417 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception for Content Type Handler | 20130417 |
Method GET_CONTENT_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_CONTENT_TYPE | Value transfer | Type reference (TYPE) | STRING | 20130417 |
Method GET_CONTENT_TYPE on class CL_RSO_RES_CNT_TYPE_HANDLER has no exception.
Method GET_FORMAT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_FORMAT | Value transfer | Type reference (TYPE) | STRING | 20130417 |
Method GET_FORMAT on class CL_RSO_RES_CNT_TYPE_HANDLER has no exception.
Method GET_MEDIA_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_MEDIA_TYPE | Value transfer | Type reference (TYPE) | STRING | 20130417 |
Method GET_MEDIA_TYPE on class CL_RSO_RES_CNT_TYPE_HANDLER has no exception.
Method GET_VENDOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_VENDOR | Value transfer | Type reference (TYPE) | STRING | 20130417 |
Method GET_VENDOR on class CL_RSO_RES_CNT_TYPE_HANDLER has no exception.
Method GET_VERSION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_VERSION | Value transfer | Type reference (TYPE) | IF_RSO_RES_REST_HANDLER=>GT_S_CONTENT_VERSION | 20130417 |
Method GET_VERSION on class CL_RSO_RES_CNT_TYPE_HANDLER has no exception.
Method GET_VERSION_STRING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_VERSION_STRING | Value transfer | Type reference (TYPE) | STRING | 20130417 |
Method GET_VERSION_STRING on class CL_RSO_RES_CNT_TYPE_HANDLER has no exception.
Method IS_COMPATIBLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_EXCLUDE_VERSION | Call by reference | Type reference (TYPE) | RS_BOOL | RS_C_FALSE | Boolean | 20130417 | ||
| 2 | I_R_CONTENT_TYPE_HANDLER | Call by reference | Object reference (TYPE REF TO) | CL_RSO_RES_CNT_TYPE_HANDLER | Handler for Content Types | 20130417 | |||
| 3 | R_RESULT | Value transfer | Type reference (TYPE) | GT_COMPATIBILITY_TYPE | possible values are part of G_C_COMPATIBILITY | 20130417 |
Method IS_COMPATIBLE on class CL_RSO_RES_CNT_TYPE_HANDLER has no exception.
Method IS_REQUEST_COMPATIBLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_CONTENT_TYPE | Call by reference | Type reference (TYPE) | STRING | Accepted or in case of client update potential content type | 20130417 | |||
| 2 | I_T_HEADERFIELDS | Call by reference | Type reference (TYPE) | TIHTTPNVP | HTTP Framework (iHTTP) Table Name/Value Pairs | 20130417 | |||
| 3 | R_COMP | Value transfer | Type reference (TYPE) | GT_COMPATIBILITY_TYPE | Verification result | 20130417 |
Method IS_REQUEST_COMPATIBLE on class CL_RSO_RES_CNT_TYPE_HANDLER has no exception.
Method PARSE_CONTENT_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_CONTENT_TYPE | Call by reference | Type reference (TYPE) | STRING | 20130417 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception for Content Type Handler | 20130417 |
Method SET_CONTENT_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_CONTENT_TYPE | Call by reference | Type reference (TYPE) | STRING | Content Type | 20130417 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception for Content Type Handler | 20130417 |
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 740 |