SAP ABAP Class CL_RSO_RES_RESOURCE (Base Class for HEDW resources)
Hierarchy
☛
SAP_BW (Software Component) SAP Business Warehouse
⤷
BW-WHM-MTD (Application Component) Metadata (Repository)
⤷
RSO_RES_FRMW (Package) BW: ResourceFramework
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_ADT_REST_RESOURCE | Basis Class for ADT Resource Controllers | 20130416 |
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_RSO_RES_FBP | Resource Controller: OOLO | 20130604 |
| 2 | Inheritance (c INHERITING FROM c_ref) | CL_RSO_RES_HCPR | Resource Controler for HANA Composite Provider | 20130510 |
| 3 | Inheritance (c INHERITING FROM c_ref) | CL_RSO_RES_IPROV | Resource Controller: InfoProvider - DTA | 20130513 |
| 4 | Inheritance (c INHERITING FROM c_ref) | CL_RSO_RES_QD_ENQ | Resource for lock handling | 20130522 |
| 5 | Inheritance (c INHERITING FROM c_ref) | CL_RSO_RES_QD_MODEL | Resource handler for query model | 20130416 |
Properties
| Class | CL_RSO_RES_RESOURCE | |
| Short Description | Base Class for HEDW resources | |
| Super Class | CL_ADT_REST_RESOURCE | Basis Class for ADT Resource Controllers |
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | RSO_RES_FRMW | BW: ResourceFramework |
| Created | 20130416 | 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) | |
| 2 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 3 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 4 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... | |
| 5 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
Class CL_RSO_RES_RESOURCE has no interface implemented.
Friends
Class CL_RSO_RES_RESOURCE has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Protected | Type reference (TYPE) | STRING | 'bulkLoad' | Query parameter name for Bulk Load | 20130814 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Private | Method | Add properties | 20130607 | |
| 2 | Static method | Private | Method | Add generic response properties for GET operation | 20130606 | |
| 3 | Static method | Private | Method | Add generic response properties for POST lock operation | 20130606 | |
| 4 | Static method | Private | Method | Conditionally lock resource for a changing operation | 20130701 | |
| 5 | Static method | Protected | Method | Converts to a proper version value | 20130729 | |
| 6 | Static method | Private | Method | 20130604 | ||
| 7 | Static method | Private | Method | 20130603 | ||
| 8 | Static method | Protected | Method | Returns the initial query URL for web access | 20130514 | |
| 9 | Static method | Private | Method | 20130606 | ||
| 10 | Static method | Private | Method | Creates a SSO2 re-entrance ticket for web GUI | 20130606 | |
| 11 | Static method | Public | Method | Returns the Infoobject Name and -Type from an URI | 20130704 | |
| 12 | Static method | Protected | Method | Get the value of an URI attribute | 20130429 | |
| 13 | Static method | Protected | Method | Get the value of an URI query parameter | 20130429 | |
| 14 | Static method | Private | Method | 20130416 | ||
| 15 | Static method | Private | Method | Handle request properties for PUT operation | 20130606 | |
| 16 | Static method | Protected | Method | Map object status from intern format to header field format | 20130929 | |
| 17 | Static method | Public | Method | Determines whether backend should explicitely lock object | 20130704 | |
| 18 | Static method | Private | Method | 20130604 | ||
| 19 | Static method | Private | Method | Helper method to decode URLs or parts of URLs | 20130705 | |
| 20 | Static method | Private | Method | 20130604 |
Events
Class CL_RSO_RES_RESOURCE has no event.
Types
Class CL_RSO_RES_RESOURCE has no local type.
Method Signatures
Method ADD_PROPERTIES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_T_HEADER_FIELDS | Call by reference | Type reference (TYPE) | TIHTTPNVP | response header fields | 20130607 | |||
| 2 | I_OBJECT_STATUS | Call by reference | Type reference (TYPE) | STRING | OBJECT_STATUS | 20130929 | |||
| 3 | I_QUERY_URL | Call by reference | Type reference (TYPE) | STRING | Query URL | 20130607 | |||
| 4 | I_TIMESTAMP | Call by reference | Type reference (TYPE) | STRING | Timestamp | 20130607 | |||
| 5 | I_VERSION_LIST | Call by reference | Type reference (TYPE) | STRING | Version list | 20130607 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Resource exception | 20130607 |
Method ADD_RESP_PROP_FOR_GET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_T_HEADER_FIELDS | Call by reference | Type reference (TYPE) | TIHTTPNVP | response header fields | 20130606 | |||
| 2 | I_TH_OBJ_KEY | Call by reference | Type reference (TYPE) | IF_RSO_RES_RESOURCE=>NT_TH_OBJ_KEY | 20130610 | ||||
| 3 | I_TLOGO | Call by reference | Type reference (TYPE) | RSTLOGO | BW: Object Type (TLOGO) | 20130610 | |||
| 4 | I_WITH_LOCK_URI | Call by reference | Type reference (TYPE) | RS_BOOL | Define if LOCK and UNLOCK URI are added to response header | 20130730 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Resource exception | 20130606 |
Method ADD_RESP_PROP_FOR_POST_LOCK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_T_HEADER_FIELDS | Call by reference | Type reference (TYPE) | TIHTTPNVP | response header fields | 20130606 | |||
| 2 | I_LAST_CHANGED | Call by reference | Type reference (TYPE) | RSTIMESTMP | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | 20130628 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Resource exception | 20130606 |
Method CHECK_LOCK_STILL_VALID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_CONTEXT | Call by reference | Object reference (TYPE REF TO) | IF_REST_CONTEXT | REST context object | 20130701 | |||
| 2 | I_REQUEST | Call by reference | Object reference (TYPE REF TO) | IF_ADT_REST_REQUEST | REST request object | 20130701 | |||
| 3 | I_RESPONSE | Call by reference | Object reference (TYPE REF TO) | IF_ADT_REST_RESPONSE | REST response object | 20130701 | |||
| 4 | I_R_HANDLER_POST | Call by reference | Object reference (TYPE REF TO) | IF_RSO_RES_REST_HDL_POST | Object Handler to perform lock operation | 20130701 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Shared exceptions for resource/service framework | 20130701 |
Method CNV_NAME_OBJVERS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_OBJVERS | Call by reference | Type reference (TYPE) | RSOBJVERS | Object version | 20130729 | |||
| 2 | I_OBJVERS_DEFAULT | Call by reference | Type reference (TYPE) | RSOBJVERS | Default object version | 20130729 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | RSO Resource Exception | 20130729 |
Method GET_CNT_HDL_FACTORY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_LAST_CHANGED | Call by reference | Type reference (TYPE) | RSTIMESTMP | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | 20130604 | |||
| 2 | I_RESOURCE_ID | Call by reference | Type reference (TYPE) | STRING | 20130604 | ||||
| 3 | I_S_RESOURCE_VERSION | Call by reference | Type reference (TYPE) | IF_RSO_RES_REST_HANDLER=>GT_S_CONTENT_VERSION | 20130604 | ||||
| 4 | I_T_REQ_HEADER_FIELDS | Call by reference | Type reference (TYPE) | TIHTTPNVP | request header fields | 20130604 | |||
| 5 | R_R_CNT_HDL_FACTORY | Value transfer | Object reference (TYPE REF TO) | CL_RSO_RES_CNT_HDL_FACTORY | Factory for Content Handler | 20130604 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Shared exceptions for resource/service framework | 20130604 |
Method GET_CONTENT_HANDLER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_LAST_CHANGED | Call by reference | Type reference (TYPE) | RSTIMESTMP | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | 20130603 | |||
| 2 | I_RESOURCE_ID | Call by reference | Type reference (TYPE) | STRING | 20130603 | ||||
| 3 | I_S_CNT_HDL_INFO | Call by reference | Type reference (TYPE) | IF_RSO_RES_REST_HANDLER=>GT_S_CNT_HDL_INFO | 20130603 | ||||
| 4 | I_S_RESOURCE_VERSION | Call by reference | Type reference (TYPE) | IF_RSO_RES_REST_HANDLER=>GT_S_CONTENT_VERSION | 20130603 | ||||
| 5 | I_T_REQ_HEADER_FIELDS | Call by reference | Type reference (TYPE) | TIHTTPNVP | request header fields | 20130603 | |||
| 6 | R_R_CNT_HDL | Value transfer | Object reference (TYPE REF TO) | IF_ADT_REST_CONTENT_HANDLER | Content Handler | 20130603 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Shared exceptions for resource/service framework | 20130603 |
Method GET_QUERY_URL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_URL | Call by reference | Type reference (TYPE) | STRING | 20130514 | ||||
| 2 | I_COMPID | Call by reference | Type reference (TYPE) | RSZCOMPID | 20130514 | ||||
| 3 | R_SUBRC | Value transfer | Type reference (TYPE) | SYSUBRC | 20130514 |
Method GET_QUERY_URL on class CL_RSO_RES_RESOURCE has no exception.
Method GET_REQUEST_PROPERTIES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_T_HEADER_FIELDS | Call by reference | Type reference (TYPE) | TIHTTPNVP | request header fields | 20130606 | |||
| 2 | E_T_URI_ATTRIBUTES | Call by reference | Type reference (TYPE) | TIHTTPNVP | request uri attributes | 20130606 | |||
| 3 | E_T_URI_QUERY_PARAMS | Call by reference | Type reference (TYPE) | TIHTTPNVP | request uri query parameters | 20130606 | |||
| 4 | I_R_REQUEST | Call by reference | Object reference (TYPE REF TO) | IF_ADT_REST_REQUEST | ADT Access to REST Request | 20130606 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Resource exception | 20130606 |
Method GET_SSO_REENTRANCE_TICKET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_TICKET | Value transfer | Type reference (TYPE) | STRING | SSO2 re-entrance ticket for Web GUI | 20130606 |
Method GET_SSO_REENTRANCE_TICKET on class CL_RSO_RES_RESOURCE has no exception.
Method GET_TLOGO_KEY_FROM_URI Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_OBJNM | Call by reference | Type reference (TYPE) | SOBJ_NAME | Object | 20130704 | |||
| 2 | E_TLOGO | Call by reference | Type reference (TYPE) | RSTLOGO | BW: Object Type (TLOGO) | 20130704 | |||
| 3 | I_URI | Call by reference | Type reference (TYPE) | CSEQUENCE | The URI | 20130704 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Shared exceptions for resource/service framework | 20130704 |
Method GET_URI_ATTRIBUTE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_T_URI_ATTRIBUTES | Call by reference | Type reference (TYPE) | TIHTTPNVP | uri attributes | 20130502 | |||
| 2 | MANDATORY | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20130429 | |||
| 3 | NAME | Call by reference | Type reference (TYPE) | CSEQUENCE | 20130429 | ||||
| 4 | VALUE | Call by reference | Type reference (TYPE) | SIMPLE | 20130429 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Shared exceptions for resource/service framework | 20130429 |
Method GET_URI_QUERY_PARAMETER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DEFAULT | Call by reference | Type reference (TYPE) | SIMPLE | 20130429 | ||||
| 2 | I_T_URI_QUERY_PARAMS | Call by reference | Type reference (TYPE) | TIHTTPNVP | uri query parameters | 20130502 | |||
| 3 | MANDATORY | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20130429 | |||
| 4 | NAME | Call by reference | Type reference (TYPE) | CSEQUENCE | 20130429 | ||||
| 5 | VALUE | Call by reference | Type reference (TYPE) | SIMPLE | 20130429 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Shared exceptions for resource/service framework | 20130429 |
Method HANDLE_METHOD_NOT_SUPPORTED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | METHOD | Call by reference | Type reference (TYPE) | STRING | 20130416 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Controller method not supported | 20130416 |
Method HANDLE_REQ_PROP_FOR_PUT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_R_REQUEST | Call by reference | Object reference (TYPE REF TO) | IF_ADT_REST_REQUEST | ADT Access to REST Request | 20130606 | |||
| 2 | I_S_TLOGO | Call by reference | Type reference (TYPE) | RSO_S_TLOGO | BW Repository: TLOGO Object and Type | 20130606 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Resource exception | 20130701 |
Method MAP_OBJECT_STATUS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_OBJSTAT | Call by reference | Type reference (TYPE) | RSOBJSTAT | Object Status | 20130929 | |||
| 2 | R_OBJSTAT_STRING | Value transfer | Type reference (TYPE) | STRING | Object Status in header field format | 20130929 |
Method MAP_OBJECT_STATUS on class CL_RSO_RES_RESOURCE has no exception.
Method MUST_LOCK_OBJECT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_LOCK_HANDLE | Call by reference | Type reference (TYPE) | CSEQUENCE | Existing lock handle on client | 20130704 | |||
| 2 | I_OBJECT_NAME | Call by reference | Type reference (TYPE) | CSEQUENCE | The object name | 20130704 | |||
| 3 | I_OBJECT_TYPE | Call by reference | Type reference (TYPE) | CSEQUENCE | The object type | 20130704 | |||
| 4 | R_WITH_ENQUEUE | Value transfer | Type reference (TYPE) | RS_BOOL | Backend should lock (yes/no) | 20130704 |
Method MUST_LOCK_OBJECT on class CL_RSO_RES_RESOURCE has no exception.
Method PERFORM_COMPATIBILITY_CHECK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_RESOURCE_ID | Call by reference | Type reference (TYPE) | STRING | 20130604 | ||||
| 2 | I_S_RESOURCE_VERSION | Call by reference | Type reference (TYPE) | IF_RSO_RES_REST_HANDLER=>GT_S_CONTENT_VERSION | 20130604 | ||||
| 3 | I_T_REQ_HEADER_FIELDS | Call by reference | Type reference (TYPE) | TIHTTPNVP | request header fields | 20130604 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Shared exceptions for resource/service framework | 20130604 |
Method UNESCAPE_URL_STRING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_URL_STRING | Call by reference | Type reference (TYPE) | CSEQUENCE | URL (part) to decode | 20130705 |
Method UNESCAPE_URL_STRING on class CL_RSO_RES_RESOURCE has no exception.
Method WRITE_TRANSPORT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_R_REQUEST | Call by reference | Object reference (TYPE REF TO) | IF_ADT_REST_REQUEST | ADT Access to REST Request | 20130604 | |||
| 2 | I_S_TLOGO | Call by reference | Type reference (TYPE) | RSO_S_TLOGO | BW Repository: TLOGO Object and Type | 20130605 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Root class for all public exceptions | 20130701 |
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 740 |