SAP ABAP Class /UI2/IF_CACHE_SUPPORT (Enable service to do its own cache handling)
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | /UI2/CL_CACHE_SUPPORT | Default cache support class | 20121210 |
| 2 | Interface implementation (CLASS c. INTERFACES i_ref) | /UI2/CL_EDM_DP_V06_PB | EDM Data Provider: Pagebuilder v0.6 (WD config) | 20130311 |
| 3 | Interface implementation (CLASS c. INTERFACES i_ref) | /UI2/CL_POWL_FLIGHT_CACHE | Implements cache support for POWL flight service | 20120427 |
Properties
| Class | /UI2/IF_CACHE_SUPPORT | |
| Short Description | Enable service to do its own cache handling | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | ||
| Created | 20120425 | SAP |
| Last change | 20141120 | |
| 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 /UI2/IF_CACHE_SUPPORT has no interface implemented.
Friends
Class /UI2/IF_CACHE_SUPPORT has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | /IWBEP/MED_EXTERNAL_NAME | 'DeleteCache' | Action name for cache deletion | 20130225 | ||
| 2 | Constant | Public | Type reference (TYPE) | /IWBEP/MED_EXTERNAL_NAME | 'RefreshCache' | Action name for cache refresh | 20130104 | ||
| 3 | Constant | Public | Type reference (TYPE) | SY-MANDT | 'ALL' | All clients | 20130808 | ||
| 4 | Constant | Public | Type reference (TYPE) | SY-UNAME | 'ALL' | All users | 20130903 | ||
| 5 | Constant | Public | Type reference (TYPE) | STRING | '1-BLOB' | Store complete request in one blob | 20140128 | ||
| 6 | Constant | Public | Type reference (TYPE) | STRING | 'CACHE_SUPPORTED' | Cache is supported for entity or entity set | 20130213 | ||
| 7 | Constant | Public | Type reference (TYPE) | STRING | 'CACHE_SUPPORTED_ONE_BLOB' | Complete request is cached as one BLOB | 20140117 | ||
| 8 | Constant | Public | Type reference (TYPE) | /IWBEP/MED_EXTERNAL_NAME | 'DeleteCacheResult' | Name of complex type for action delete cache | 20130227 | ||
| 9 | Constant | Public | Type reference (TYPE) | /IWBEP/MED_EXTERNAL_NAME | '/UI2/CACHE_DEL_RETURN_TYPE' | DDIC structure containing result of cache deletion | 20130228 | ||
| 10 | Constant | Public | Type reference (TYPE) | /IWBEP/MED_EXTERNAL_NAME | 'entitySet' | OData name of complex type parameter entity set | 20130227 | ||
| 11 | Constant | Public | Type reference (TYPE) | /IWBEP/MED_EXTERNAL_NAME | 'ENTITY_SET' | Component name of complex type parameter entity set | 20130228 | ||
| 12 | Constant | Public | Type reference (TYPE) | /IWBEP/MED_EXTERNAL_NAME | 'timeStamp' | OData name of complex type parameter time stamp | 20130227 | ||
| 13 | Constant | Public | Type reference (TYPE) | /IWBEP/MED_EXTERNAL_NAME | 'TIME_STAMP' | Component name of complex type parameter time stamp | 20130228 | ||
| 14 | Constant | Public | Type reference (TYPE) | STRING | 'FILTER_SUPPORTED' | Filtering ($filter) is supported by application (X = true) | 20130213 | ||
| 15 | Constant | Public | Type reference (TYPE) | /IWBEP/MED_EXTERNAL_NAME | 'GenericEntity' | Name for generic entity | 20130104 | ||
| 16 | Constant | Public | Type reference (TYPE) | /UI2/SECONDARY_CACHE_KEY | 'LPD_CHANGE' | A launchpad was changed | 20131121 | ||
| 17 | Constant | Public | Type reference (TYPE) | /UI2/MAX_CACHE_AGE | -1 | Maximum cache age (-1 = outdated cache) | 20121228 | ||
| 18 | Constant | Public | Type reference (TYPE) | STRING | 'PAGING_SUPPORTED' | Paging ($skip, $top) is supported by application (X = true) | 20130213 | ||
| 19 | Constant | Public | Type reference (TYPE) | /IWBEP/MED_EXTERNAL_NAME | 'entitySet' | OData action parameter name 'entitySet' | 20130104 | ||
| 20 | Constant | Public | Type reference (TYPE) | /IWBEP/MED_EXTERNAL_NAME | '/UI2/ENTITY_SET' | Component name for parameter 'entitySet' | 20130313 | ||
| 21 | Constant | Public | Type reference (TYPE) | /IWBEP/MED_EXTERNAL_NAME | '/UI2/MAX_CACHE_AGE' | Component name for parameter 'maxCacheAge' | 20130228 | ||
| 22 | Constant | Public | Type reference (TYPE) | /IWBEP/MED_EXTERNAL_NAME | 'maxCacheAge' | OData action parameter name 'maxCacheAge' | 20130104 | ||
| 23 | Constant | Public | Type reference (TYPE) | /IWBEP/MED_EXTERNAL_NAME | 'refreshCache' | Action parameter name 'refreshCache' | 20130225 | ||
| 24 | Constant | Public | Type reference (TYPE) | /IWBEP/MED_EXTERNAL_NAME | '/UI2/CACHE_REFRESH' | Component name for parameter 'refreshCache' | 20130228 | ||
| 25 | Constant | Public | Type reference (TYPE) | /UI2/SECONDARY_CACHE_KEY | 'ROLE_CHANGE' | One of PFCG roles was changed | 20130808 | ||
| 26 | Constant | Public | Type reference (TYPE) | STRING | 'SORT_SUPPORTED' | Sort ($orderby) is supported by application (X = true) | 20130213 | ||
| 27 | Constant | Public | Type reference (TYPE) | STRING | '$filter' | System query option $filter | 20130212 | ||
| 28 | Constant | Public | Type reference (TYPE) | STRING | '$orderby' | System query option $orderby | 20130212 | ||
| 29 | Constant | Public | Type reference (TYPE) | STRING | '$skip' | System query option $skip | 20130212 | ||
| 30 | Constant | Public | Type reference (TYPE) | STRING | '$top' | System query option $top | 20130212 | ||
| 31 | Constant | Public | Type reference (TYPE) | /UI2/CACHE_ID-URL | 'dummy' | Dummy cache key | 20130313 | ||
| 32 | Instance attribute | Public | Type reference (TYPE) | /UI2/CACHE_SUP | Cache support per service | 20130122 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Get service-specific cache parameters | 20120425 | |
| 2 | Instance method | Public | Method | Get service-specific data types | 20120426 | |
| 3 | Instance method | Public | Method | Get secondary cache key from data provider | 20130308 | |
| 4 | Instance method | Public | Method | Check if cache is active | 20120427 |
Events
Class /UI2/IF_CACHE_SUPPORT has no event.
Types
Class /UI2/IF_CACHE_SUPPORT has no local type.
Method Signatures
Method GET_CACHE_PAR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_FIELDS | Call by reference | Object reference (TYPE REF TO) | /UI2/CL_GW_DP_REQUEST_FIELDS | UI2 Gateway data provider http request fields | 20120425 | |||
| 2 | IV_URI | Call by reference | Type reference (TYPE) | STRING | Service URL | 20120425 | |||
| 3 | RV_PAR | Value transfer | Type reference (TYPE) | STRING | Parameters to be added to the cache | 20121205 |
Method GET_CACHE_PAR on class /UI2/IF_CACHE_SUPPORT has no exception.
Method GET_DATADESCR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_NAME | Call by reference | Type reference (TYPE) | STRING | Name of data component | 20120426 | |||
| 2 | IV_URI | Call by reference | Type reference (TYPE) | STRING | URL | 20120426 | |||
| 3 | RO_DATADESCR | Value transfer | Object reference (TYPE REF TO) | CL_ABAP_DATADESCR | Runtime Type Services | 20120426 |
Method GET_DATADESCR on class /UI2/IF_CACHE_SUPPORT has no exception.
Method GET_SECONDARY_CACHE_KEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ENTITY_NAME | Call by reference | Type reference (TYPE) | STRING | 20130311 | ||||
| 2 | RV_RESULT | Value transfer | Type reference (TYPE) | /UI2/SECONDARY_CACHE_KEY | Secondary cache key used for server-side cache invalidation) | 20130308 |
Method GET_SECONDARY_CACHE_KEY on class /UI2/IF_CACHE_SUPPORT has no exception.
Method IS_CACHE_ACTIVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_RESULT | Value transfer | Type reference (TYPE) | ABAP_BOOL | 'X' = cache is active | 20120427 |
Method IS_CACHE_ACTIVE on class /UI2/IF_CACHE_SUPPORT has no exception.
History
| Last changed by/on | SAP | 20141120 |
| SAP Release Created in |