SAP ABAP Class /UI2/CL_POWL_CUST_CACHE_MPC (POWL MPC using customizing and UI2 cache)
Hierarchy
☛
SAP_UI (Software Component) User Interface Technology
⤷
CA-UI2-INT-BE (Application Component) Backend Enablement
⤷
/UI2/BASIS_SERVICES_POWL (Package) UI BE: POWL service (release independent)
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | /IWBEP/CL_MGW_ABS_MODEL | definition class to define programmatically a meta model | 20130322 |
Properties
| Class | /UI2/CL_POWL_CUST_CACHE_MPC | |
| Short Description | POWL MPC using customizing and UI2 cache | |
| Super Class | /IWBEP/CL_MGW_ABS_MODEL | definition class to define programmatically a meta model |
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | /UI2/BASIS_SERVICES_POWL | UI BE: POWL service (release independent) |
| Created | 20130322 | SAP |
| Last change | 20131127 | 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 /UI2/CL_POWL_CUST_CACHE_MPC has no interface implemented.
Friends
Class /UI2/CL_POWL_CUST_CACHE_MPC has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Protected | Type reference (TYPE) | ABAP_BOOL | 'X' | X= POWL queries must have key specified in set_key_fiels() | 20130322 | ||
| 2 | Static Attribute | Private | Object reference (TYPE REF TO) | /UI2/CL_POWL_APPLID_MODEL | Generic model provider for POWL | 20130322 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | /UI2/TTY_QUERY_ENTITY | Map POWL query name to OData entity name | 20130322 | |||
| 4 | Instance attribute | Protected | Type reference (TYPE) | TTY_QUERY_KEY | POWL query key fields | 20130322 | |||
| 5 | Instance attribute | Protected | Type reference (TYPE) | POWL_APPLID_TY | 20130322 | ||||
| 6 | Instance attribute | Protected | Type reference (TYPE) | POWL_QUERY_TY | Query id | 20130322 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | Add action delete cache (provided cache is active) | 20130322 | |
| 2 | Instance method | Private | Method | Build OData complex type | 20130322 | |
| 3 | Instance method | Private | Method | Build OData model | 20130322 | |
| 4 | Instance method | Private | Method | Check if caching is supported | 20130322 | |
| 5 | Instance method | Private | Method | Export the query entity map to memory | 20130322 | |
| 6 | Instance method | Private | Method | Check whether POWL query has keys specified | 20130322 | |
| 7 | Instance method | Private | Method | Initialise variables of inheriting class | 20130322 | |
| 8 | Instance method | Private | Method | Map POWL query name to OData entity | 20130322 | |
| 9 | Instance method | Protected | Method | Set POWL application id | 20130322 | |
| 10 | Instance method | Protected | Method | Set key fields for POWL | 20130322 |
Events
Class /UI2/CL_POWL_CUST_CACHE_MPC has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TTY_QUERY_KEY | Protected | See coding | POWL query key fields | 20130322 | tty_query_key type standard table of ty_query_key
with key query_name
|
|
| 2 | TY_QUERY_KEY | Protected | See coding | POWL query key field | 20130322 | begin of ty_query_key,
query_name type powl_applid_ty,
keys type /ui2/names_tab,
filter_supported type /ui2/boolean,
sort_supported type /ui2/boolean,
paging_supported type /ui2/boolean,
cache_active type /ui2/boolean,
end of ty_query_key
|
Method Signatures
Method ADD_ACTION_DELETE_CACHE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CO_MODEL | Call by reference | Object reference (TYPE REF TO) | /IWBEP/IF_MGW_ODATA_MODEL | Gateway model | 20130322 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Meta data exception | 20130322 |
Method BUILD_ODATA_COMPLEX_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_FEEDER | Call by reference | Object reference (TYPE REF TO) | IF_POWL_FEEDER | POWL feeder | 20130322 |
Method BUILD_ODATA_COMPLEX_TYPE on class /UI2/CL_POWL_CUST_CACHE_MPC has no exception.
Method BUILD_ODATA_MODEL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CO_MODEL | Call by reference | Object reference (TYPE REF TO) | /IWBEP/IF_MGW_ODATA_MODEL | Gateway model | 20130322 | |||
| 2 | IS_POWL_QUERY | Call by reference | Type reference (TYPE) | POWL_QUERY_ASTY | POWL query definition | 20130322 | |||
| 3 | IV_QUERY_COUNT | Call by reference | Type reference (TYPE) | NUMC2 | Two digit number | 20130322 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Meta data exception | 20130322 |
Method CACHE_SUPPORTED 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'= caching is supported | 20130322 |
Method CACHE_SUPPORTED on class /UI2/CL_POWL_CUST_CACHE_MPC has no exception.
Method EXPORT_QUERY_ENTITY_MAP Signature
Method EXPORT_QUERY_ENTITY_MAP on class /UI2/CL_POWL_CUST_CACHE_MPC has no parameter.
Method EXPORT_QUERY_ENTITY_MAP on class /UI2/CL_POWL_CUST_CACHE_MPC has no exception.
Method HAS_QUERY_KEYS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_QUERY | Call by reference | Type reference (TYPE) | POWL_QUERY_TY | POWL query id | 20130322 | |||
| 2 | RV_RESULT | Value transfer | Type reference (TYPE) | ABAP_BOOL | Result is true / false | 20130322 |
Method HAS_QUERY_KEYS on class /UI2/CL_POWL_CUST_CACHE_MPC has no exception.
Method INITIALISE Signature
Method INITIALISE on class /UI2/CL_POWL_CUST_CACHE_MPC has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | UI2 runtime exception | 20130322 |
Method MAP_QUERY_TO_ENTITY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_QUERY | Call by reference | Type reference (TYPE) | POWL_QUERY_TY | POWL query name | 20130322 | |||
| 2 | RV_ENTITY | Value transfer | Type reference (TYPE) | /IWBEP/MED_EXTERNAL_NAME | OData entity name | 20130322 |
Method MAP_QUERY_TO_ENTITY on class /UI2/CL_POWL_CUST_CACHE_MPC has no exception.
Method SET_APPLID Signature
Method SET_APPLID on class /UI2/CL_POWL_CUST_CACHE_MPC has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | UI2 runtime exception | 20130322 |
Method SET_KEY_FIELDS Signature
Method SET_KEY_FIELDS on class /UI2/CL_POWL_CUST_CACHE_MPC has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | UI2 runtime exception | 20130322 |
History
| Last changed by/on | SAP | 20131127 |
| SAP Release Created in | 100 |