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
⤷ 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 | RS | 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 | C_ACCEPT_KEY | Constant | Private | Type reference (TYPE) | STRING | 'Accept' | 20130417 | ||
2 | C_FORMAT_START_DELIMITER | Constant | Private | Type reference (TYPE) | STRING | '+' | 20130417 | ||
3 | C_MEDIA_CLOSE_DELIMITER | Constant | Private | Type reference (TYPE) | STRING | '/' | 20130417 | ||
4 | C_REQUEST_HEADER_SEPARATOR | Constant | Private | Type reference (TYPE) | STRING | ',' | 20130417 | ||
5 | C_VENDOR_ID | Constant | Private | Type reference (TYPE) | STRING | 'vnd' | 20130417 | ||
6 | C_VERSION_DELIMITER | Constant | Private | Type reference (TYPE) | STRING | '_' | 20130417 | ||
7 | C_VERSION_START_DELIMITER | Constant | Private | Type reference (TYPE) | STRING | '-v' | 20130417 | ||
8 | C_VERSION_STRT_DEL_LEN | Constant | Private | Type reference (TYPE) | I | 2 | 20130417 | ||
9 | G_C_COMPATIBILITY | Constant | Public | See coding | 20130417 | ||||
10 | P_FORMAT | Instance attribute | Private | Type reference (TYPE) | STRING | 20130417 | |||
11 | P_MEDIA_TYPE | Instance attribute | Private | Type reference (TYPE) | STRING | 20130417 | |||
12 | P_VENDOR | Instance attribute | Private | Type reference (TYPE) | STRING | 20130417 | |||
13 | P_VERSION | 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 | CONSTRUCTOR | Instance method | Protected | Constructor | CONSTRUCTOR | 20130417 |
2 | GET_CONTENT_TYPE | Instance method | Public | Method | Get Content Type | 20130417 |
3 | GET_FORMAT | Instance method | Public | Method | Get Format | 20130417 |
4 | GET_MEDIA_TYPE | Instance method | Public | Method | Get Media Type | 20130417 |
5 | GET_VENDOR | Instance method | Public | Method | Get Vendor Type | 20130417 |
6 | GET_VERSION | Instance method | Public | Method | Get Version | 20130417 |
7 | GET_VERSION_STRING | Instance method | Public | Method | Get Version string | 20130417 |
8 | IS_COMPATIBLE | Instance method | Public | Method | Check compatibility of two content types | 20130417 |
9 | IS_REQUEST_COMPATIBLE | Instance method | Public | Method | Check compatibility with request content types | 20130417 |
10 | PARSE_CONTENT_TYPE | Instance method | Private | Method | Parse Content Type | 20130417 |
11 | SET_CONTENT_TYPE | 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 | Importing | I_CONTENT_TYPE | Call by reference | Type reference (TYPE) | STRING | 20130417 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_RSO_RES_CONT_TYPE_HANDLER | 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 | Returning | 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 | Returning | 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 | Returning | 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 | Returning | 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 | Returning | 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 | Returning | 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 | Importing | I_EXCLUDE_VERSION | Call by reference | Type reference (TYPE) | RS_BOOL | RS_C_FALSE | Boolean | 20130417 | |
2 | Importing | 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 | Returning | 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 | Exporting | E_CONTENT_TYPE | Call by reference | Type reference (TYPE) | STRING | Accepted or in case of client update potential content type | 20130417 | ||
2 | Importing | I_T_HEADERFIELDS | Call by reference | Type reference (TYPE) | TIHTTPNVP | HTTP Framework (iHTTP) Table Name/Value Pairs | 20130417 | ||
3 | Returning | 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 | Importing | I_CONTENT_TYPE | Call by reference | Type reference (TYPE) | STRING | 20130417 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_RSO_RES_CONT_TYPE_HANDLER | 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 | Importing | I_CONTENT_TYPE | Call by reference | Type reference (TYPE) | STRING | Content Type | 20130417 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_RSO_RES_CONT_TYPE_HANDLER | Exception for Content Type Handler | 20130417 |
History
Last changed by/on | SAP | 20140121 |
SAP Release Created in | 740 |