SAP ABAP Class /UI5/CL_UI5_REP_RT (SAPUI5 Repository Runtime Class)
Hierarchy
☛
SAP_UI (Software Component) User Interface Technology
⤷
CA-UI5-TOL (Application Component) SAP UI development toolkit for HTML5 - Design Time Tools
⤷
/UI5/UI5_INFRA_APP (Package) SAP UI5 Infrastructure for Applications
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | /UI5/IF_UI5_REP | Base interface for SAPUI5 Repository | 20121122 |
| 2 | Interface implementation (CLASS c. INTERFACES i_ref) | /UI5/IF_UI5_REP_RT | SAPUI5 Repository Runtime Interface | 20120119 |
Properties
| Class | /UI5/CL_UI5_REP_RT | |
| Short Description | SAPUI5 Repository Runtime Class | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | /UI5/UI5_INFRA_APP | SAP UI5 Infrastructure for Applications |
| Created | 20120119 | 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
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | /UI5/IF_UI5_REP | Base interface for SAPUI5 Repository | 20121122 | ||
| 2 | /UI5/IF_UI5_REP_RT | SAPUI5 Repository Runtime Interface | 20120119 |
Friends
Class /UI5/CL_UI5_REP_RT has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Private | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | For ABAP Unit Test: Create instances in test mode | 20120201 | ||
| 2 | Static Attribute | Protected | Type reference (TYPE) | STRING | '/UI5/CACHBUSTER_INFO' | Server cookie parameter | 20130103 | ||
| 3 | Static Attribute | Protected | Type reference (TYPE) | I | 7200 | 20130103 | |||
| 4 | Static Attribute | Protected | Type reference (TYPE) | STRING | 'cachebuster_info' | Server cookie parameter | 20130103 | ||
| 5 | Constant | Private | Type reference (TYPE) | CHAR1 | 'B' | Internal target repository BSP | 20120119 | ||
| 6 | Constant | Private | Type reference (TYPE) | CHAR1 | 'M' | Internal target repository MIME | 20120119 | ||
| 7 | Constant | Private | Type reference (TYPE) | STRING | 'UI5RepositoryPathMapping.xml' | Page name for path mapping | 20120119 | ||
| 8 | Constant | Private | Type reference (TYPE) | STRING | '/SAP/BC/BSP' | Startpath in MIME repository | 20120119 | ||
| 9 | Instance attribute | Private | Object reference (TYPE REF TO) | /UI5/IF_UI5_REP_TEXTS_RT | Instance of Ui5 Repository Texts API | 20120119 | |||
| 10 | Instance attribute | Private | Object reference (TYPE REF TO) | LIF_PERSISTENCE_LAYER | Persistence layer | 20120201 | |||
| 11 | Instance attribute | Private | Type reference (TYPE) | STRING | name of UI5 repository | 20120119 | |||
| 12 | Instance attribute | Private | Object reference (TYPE REF TO) | /UI5/CL_UI5_REP_PATH_MAPPER | Path Mapper | 20120119 | |||
| 13 | Instance attribute | Private | Type reference (TYPE) | STRING | ABAP_UNDEFINED | Path to the deployment root folder | 20140218 | ||
| 14 | Instance attribute | Private | Type reference (TYPE) | STRING | ABAP_UNDEFINED | Path to the source root folder | 20140218 | ||
| 15 | Instance attribute | Private | Type reference (TYPE) | STRING | ABAP_UNDEFINED | Path to the translation root folder | 20140218 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | CONSTRUCTOR | 20120119 | |
| 2 | Instance method | Private | Method | Determines path to all resource roots | 20140225 | |
| 3 | Instance method | Private | Method | Gets ETAg for a file in the BSP repository | 20120329 | |
| 4 | Instance method | Private | Method | Gets ETag for a file in the MIME repository | 20120329 | |
| 5 | Instance method | Private | Method | Gets a file in the BSP repository | 20120119 | |
| 6 | Instance method | Private | Method | Gets a file in the MIME repository | 20120119 | |
| 7 | Instance method | Private | Method | Gets MIME path belonging to BSP-Application | 20120613 | |
| 8 | Instance method | Private | Method | Get instance of repository path mapper | 20120119 | |
| 9 | Instance method | Public | Method | Get WebContent folder name | 20130612 | |
| 10 | Instance method | Private | Method | Negotiates resource bundle request | 20130529 | |
| 11 | Static method | Public | Method | Reset cache buster for UI5 Repository | 20130108 | |
| 12 | Static method | Public | Method | Update cache buster for UI5 Repository | 20131127 |
Events
Class /UI5/CL_UI5_REP_RT has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | CACHEBUSTER_INFO_ENTRIES | Public | See coding | 20120911 | cachebuster_info_entries TYPE STANDARD TABLE OF cachebuster_info_entry WITH KEY path
|
||
| 2 | CACHEBUSTER_INFO_ENTRY | Public | See coding | 20120911 | BEGIN OF cachebuster_info_entry,
path TYPE string,
etag TYPE string,
END OF cachebuster_info_entry
|
Method Signatures
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_BSP_REPO_NAME | Call by reference | Type reference (TYPE) | O2APPLNAME | Name of BSP Application | 20120119 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120120 |
Method DET_PATH_TO_RESOURCE_ROOTS Signature
Method DET_PATH_TO_RESOURCE_ROOTS on class /UI5/CL_UI5_REP_RT has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for SAPUI5 Repository RT | 20140225 |
Method GET_ETAG_FROM_BSP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_ETAG | Call by reference | Type reference (TYPE) | STRING | ETag | 20120329 | |||
| 2 | IV_PATH | Call by reference | Type reference (TYPE) | STRING | path inside UI5 repository | 20120329 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120329 |
Method GET_ETAG_FROM_MIME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_ETAG | Call by reference | Type reference (TYPE) | STRING | ETag | 20120329 | |||
| 2 | IV_PATH | Call by reference | Type reference (TYPE) | STRING | path inside UI5 repository | 20120329 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120329 |
Method GET_FILE_FROM_BSP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_FILE_CONTENT | Call by reference | Type reference (TYPE) | XSTRING | File content as XSTRING | 20120119 | |||
| 2 | EV_FILE_CONTENT_AS_STRING | Call by reference | Type reference (TYPE) | STRING | File content as STRING | 20131108 | |||
| 3 | EV_LAST_MODIFIED | Call by reference | Type reference (TYPE) | TIMESTAMP | last modified | 20120119 | |||
| 4 | EV_MIME_TYPE | Call by reference | Type reference (TYPE) | CSEQUENCE | mime type | 20120119 | |||
| 5 | IV_CODE_PAGE | Call by reference | Type reference (TYPE) | STRING | 'UTF-8' | code page | 20120119 | ||
| 6 | IV_PATH | Call by reference | Type reference (TYPE) | STRING | path inside UI5 repository | 20120119 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120120 |
Method GET_FILE_FROM_MIME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_FILE_CONTENT | Call by reference | Type reference (TYPE) | XSTRING | File content as XSTRING | 20120119 | |||
| 2 | EV_LAST_MODIFIED | Call by reference | Type reference (TYPE) | TIMESTAMP | last modified | 20120119 | |||
| 3 | EV_MIME_TYPE | Call by reference | Type reference (TYPE) | CSEQUENCE | mime type | 20120119 | |||
| 4 | IV_CODE_PAGE | Call by reference | Type reference (TYPE) | STRING | 'UTF-8' | code page | 20120119 | ||
| 5 | IV_PATH | Call by reference | Type reference (TYPE) | STRING | path inside UI5 repository | 20120119 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120120 |
Method GET_MIME_PATH_BSP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RESULT | Value transfer | Type reference (TYPE) | STRING | 20120613 |
Method GET_MIME_PATH_BSP on class /UI5/CL_UI5_REP_RT has no exception.
Method GET_PATH_MAPPER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RESULT | Value transfer | Object reference (TYPE REF TO) | /UI5/CL_UI5_REP_PATH_MAPPER | Mapping repository path to internal paths | 20120119 |
Method GET_PATH_MAPPER on class /UI5/CL_UI5_REP_RT has no exception.
Method GET_WEBCONTENT_FOLDER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_PATH | Call by reference | Type reference (TYPE) | STRING | path inside UI5 repository | 20130612 | |||
| 2 | IV_RESOURCE_ROOT | Call by reference | Type reference (TYPE) | STRING | Resource root to be served | 20140304 | |||
| 3 | RV_RESULT | Value transfer | Type reference (TYPE) | STRING | webcontent folder | 20130612 |
Method GET_WEBCONTENT_FOLDER on class /UI5/CL_UI5_REP_RT has no exception.
Method NEGOTIATE_RES_BUNDLE_REQUEST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_ETAG | Call by reference | Type reference (TYPE) | STRING | ETag | 20130529 | |||
| 2 | EV_FILE_CONTENT | Call by reference | Type reference (TYPE) | XSTRING | File content as XSTRING | 20130529 | |||
| 3 | EV_LAST_MODIFIED | Call by reference | Type reference (TYPE) | TIMESTAMP | last modified | 20130529 | |||
| 4 | EV_MIME_TYPE | Call by reference | Type reference (TYPE) | CSEQUENCE | mime type | 20130529 | |||
| 5 | IV_CODE_PAGE | Call by reference | Type reference (TYPE) | STRING | 'UTF-8' | code page | 20130529 | ||
| 6 | IV_PATH | Call by reference | Type reference (TYPE) | STRING | path inside the UI5 repository | 20130529 |
Method NEGOTIATE_RES_BUNDLE_REQUEST on class /UI5/CL_UI5_REP_RT has no exception.
Method RESET_CACHEBUSTER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_LANGUAGE | Call by reference | Type reference (TYPE) | STRING | 20130108 | ||||
| 2 | IV_ON_THIS_SERVER_ONLY | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20130108 | |||
| 3 | IV_UI5_APPLICATION_NAME | Call by reference | Type reference (TYPE) | STRING | 20130108 | ||||
| 4 | RV_ENTRIES_CLEARED | Value transfer | Type reference (TYPE) | I | 20130108 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for SAPUI5 Repository RT | 20130108 |
Method UPDATE_CACHEBUSTER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_ENTRIES_UPDATED | Call by reference | Type reference (TYPE) | I | Number of cache entries updated | 20131127 | |||
| 2 | EV_LOG_MESSAGES | Call by reference | Type reference (TYPE) | /UI5/TEXT_LOG_T | Log messages | 20131127 | |||
| 3 | EV_SUCCESS | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20131127 | ||||
| 4 | IV_CACHE_LIFE_TIME | Call by reference | Type reference (TYPE) | I | Time span [in sec] this update stays valid | 20131127 | |||
| 5 | IV_DONT_UPDATE_IF_CACHE_VALID | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | Do not update if cache is still valid | 20131127 | ||
| 6 | IV_ON_THIS_SERVER_ONLY | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Update this server only | 20131127 | ||
| 7 | IV_TIME_LAST_IMPORT | Call by reference | Type reference (TYPE) | TIMESTAMP | Time of last import: Is calculated if not specified | 20131127 | |||
| 8 | IV_UPDATE_AFTER_ANY_IMPORT | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | Update in case a tranport has been imported | 20131127 | ||
| 9 | IV_UPDATE_INTERVAL | Call by reference | Type reference (TYPE) | I | Scheduling intervall [in secs] for the cachbuster update | 20131127 |
Method UPDATE_CACHEBUSTER on class /UI5/CL_UI5_REP_RT has no exception.
History
| Last changed by/on | SAP | 20141120 |
| SAP Release Created in | 100 |