SAP ABAP Class CL_RCM_WEBDAV_RES_UTILITIES (RCM WebDAV Utilities for Resources)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-SRV-CM (Application Component) Case Management
⤷
SRM_WEBDAV (Package) SRM WebDAV Solution
⤷
⤷
Properties
| Class | CL_RCM_WEBDAV_RES_UTILITIES | |
| Short Description | RCM WebDAV Utilities for Resources | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SRM_WEBDAV | SRM WebDAV Solution |
| Created | 20041215 | SAP |
| Last change | 20050308 | 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 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 3 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_RCM_WEBDAV_RES_UTILITIES has no interface implemented.
Friends
Class CL_RCM_WEBDAV_RES_UTILITIES has no friend class.
Attributes
Class CL_RCM_WEBDAV_RES_UTILITIES has no attribute.
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Return true if URLs point to the same resource | 20050225 | |
| 2 | Static method | Public | Method | Create Resource Full Name from Name, ID and Extension | 20041215 | |
| 3 | Static method | Public | Method | Create Resource URL Using Parent URL and Child ID | 20041215 | |
| 4 | Static method | Public | Method | Translate Some Symbols in a String to Hex Form | 20041215 | |
| 5 | Static method | Public | Method | Get File Name (w/o Extension) from Resource Name | 20041215 | |
| 6 | Static method | Public | Method | Get Resource ID from Resource Name | 20041215 | |
| 7 | Static method | Public | Method | Return POID ID (create new one if it doesn't exist) | 20041215 | |
| 8 | Static method | Public | Method | Return the Resource Class Name by its POID Directory ID | 20041215 | |
| 9 | Static method | Public | Method | Return Type Name by POID | 20050111 | |
| 10 | Static method | Public | Method | Set responce status using the exception info or status code | 20041215 | |
| 11 | Static method | Public | Method | Translate Escaped Symbols in a String from Hex Form | 20041215 |
Events
Class CL_RCM_WEBDAV_RES_UTILITIES has no event.
Types
Class CL_RCM_WEBDAV_RES_UTILITIES has no local type.
Method Signatures
Method COMPARE_URLS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_URL1 | Call by reference | Type reference (TYPE) | STRING | First URL | 20050225 | |||
| 2 | IM_URL2 | Call by reference | Type reference (TYPE) | STRING | Second URL | 20050225 | |||
| 3 | RE_EQUAL | Value transfer | Type reference (TYPE) | XFELD | 'X' - if urls point to the same resource, SPACE otherwise | 20050225 |
Method COMPARE_URLS on class CL_RCM_WEBDAV_RES_UTILITIES has no exception.
Method CREATE_RESOURCE_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_EXTENSION | Call by reference | Type reference (TYPE) | STRING | SPACE | Resource extension (file extension) | 20041215 | ||
| 2 | IM_ID | Call by reference | Type reference (TYPE) | STRING | Resource ID (POID ID, for example) | 20041215 | |||
| 3 | IM_NAME | Call by reference | Type reference (TYPE) | STRING | Resource normal name (description) | 20041215 | |||
| 4 | IM_TYPE_NAME | Call by reference | Type reference (TYPE) | STRING | Resource type name | 20050110 | |||
| 5 | RE_RESOURCE_NAME | Value transfer | Type reference (TYPE) | STRING | Resource full name | 20041215 |
Method CREATE_RESOURCE_NAME on class CL_RCM_WEBDAV_RES_UTILITIES has no exception.
Method CREATE_RESOURCE_URL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_RESOURCE_URI | Call by reference | Type reference (TYPE) | STRING | Resource URI | 20041215 | |||
| 2 | EX_RESOURCE_URL | Call by reference | Type reference (TYPE) | STRING | Resource URL | 20041215 | |||
| 3 | IM_CHILD_ID | Call by reference | Type reference (TYPE) | STRING | Child ID relative to parent URL | 20041215 | |||
| 4 | IM_IS_COLLECTION | Call by reference | Type reference (TYPE) | XFELD | SPACE | Flag, equal to 'X', if the resource is a collection | 20041215 | ||
| 5 | IM_PARENT_URI | Call by reference | Type reference (TYPE) | STRING | Parent resource URI | 20041215 | |||
| 6 | IM_PARENT_URL | Call by reference | Type reference (TYPE) | STRING | Parent resource URL | 20041215 |
Method CREATE_RESOURCE_URL on class CL_RCM_WEBDAV_RES_UTILITIES has no exception.
Method ESCAPE_SYMBOLS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_STRING | Call by reference | Type reference (TYPE) | STRING | Input string | 20041215 | |||
| 2 | RE_STRING | Value transfer | Type reference (TYPE) | STRING | Result escaped string | 20041215 |
Method ESCAPE_SYMBOLS on class CL_RCM_WEBDAV_RES_UTILITIES has no exception.
Method EXTRACT_BASENAME_FROM_RES_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_RESOURCE_NAME | Call by reference | Type reference (TYPE) | STRING | Resource full name | 20041215 | |||
| 2 | RE_RESOURCE_BASE_NAME | Value transfer | Type reference (TYPE) | STRING | Resource file name w/o extension | 20041215 |
Method EXTRACT_BASENAME_FROM_RES_NAME on class CL_RCM_WEBDAV_RES_UTILITIES has no exception.
Method EXTRACT_ID_FROM_RESOURCE_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_RESOURCE_NAME | Call by reference | Type reference (TYPE) | STRING | Resource full name | 20041215 | |||
| 2 | RE_RESOURCE_ID | Value transfer | Type reference (TYPE) | STRING | Resource ID | 20041215 |
Method EXTRACT_ID_FROM_RESOURCE_NAME on class CL_RCM_WEBDAV_RES_UTILITIES has no exception.
Method GET_POID_DIRECTORY_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_POID | Call by reference | Object reference (TYPE REF TO) | IF_SRM_POID | POID | 20041215 | |||
| 2 | RE_POID_ID | Value transfer | Type reference (TYPE) | STRING | POID directory ID | 20041215 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Framework (abstrakt) | 20041215 |
Method GET_RESOURCE_CLASS_BY_POID_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_AREA_ID | Call by reference | Type reference (TYPE) | STRING | Area ID | 20041215 | |||
| 2 | IM_CHECK_POID_STATE | Call by reference | Type reference (TYPE) | XFELD | 'X' | If SPACE, POID state isn't checked | 20041215 | ||
| 3 | IM_POID_ID | Call by reference | Type reference (TYPE) | STRING | POID directory ID of the resource | 20041215 | |||
| 4 | RE_RESOURCE_CLASS | Value transfer | Type reference (TYPE) | STRING | WebDAV Resource class name | 20041215 |
Method GET_RESOURCE_CLASS_BY_POID_ID on class CL_RCM_WEBDAV_RES_UTILITIES has no exception.
Method GET_TYPE_NAME_BY_POID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_AREA_ID | Call by reference | Type reference (TYPE) | STRING | Area ID | 20050111 | |||
| 2 | IM_POID | Call by reference | Object reference (TYPE REF TO) | IF_SRM_POID | POID | 20050111 | |||
| 3 | RE_TYPE_NAME | Value transfer | Type reference (TYPE) | STRING | Type name | 20050111 |
Method GET_TYPE_NAME_BY_POID on class CL_RCM_WEBDAV_RES_UTILITIES has no exception.
Method SET_RESPONSE_STATUS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_FW_EXCEPTION | Call by reference | Object reference (TYPE REF TO) | CX_SRM_FRAMEWORK | Framework (abstrakt) | 20041215 | |||
| 2 | IM_GSP_EXCEPTION | Call by reference | Object reference (TYPE REF TO) | CX_SRM_GSP | Generic SP2: Allgemeiner Fehler | 20041215 | |||
| 3 | IM_SERVER | Call by reference | Object reference (TYPE REF TO) | IF_HTTP_SERVER | HTTP Framework (iHTTP) HTTP Server | 20041215 | |||
| 4 | IM_STATUS_CODE | Call by reference | Type reference (TYPE) | I | WebDAV status code | 20041215 |
Method SET_RESPONSE_STATUS on class CL_RCM_WEBDAV_RES_UTILITIES has no exception.
Method UNESCAPE_SYMBOLS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_STRING | Call by reference | Type reference (TYPE) | STRING | Input string | 20041215 | |||
| 2 | RE_STRING | Value transfer | Type reference (TYPE) | STRING | Result unescaped string | 20041215 |
Method UNESCAPE_SYMBOLS on class CL_RCM_WEBDAV_RES_UTILITIES has no exception.
History
| Last changed by/on | SAP | 20050308 |
| SAP Release Created in | 700 |