SAP ABAP Class /UI2/CL_TINY_DATA (String shortener class with DB persistance)
Hierarchy
☛
SAP_UI (Software Component) User Interface Technology
⤷
CA-UI2-INT-BE (Application Component) Backend Enablement
⤷
/UI2/BASIS_TINY_DATA (Package) Tiny Data Utility

⤷

⤷

Properties
Class | /UI2/CL_TINY_DATA | |
Short Description | String shortener class with DB persistance | |
Super Class | ||
Instantiability of a Class | 0 | Private |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | /UI2/BASIS_TINY_DATA | Tiny Data Utility |
Created | 20130702 | 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/CL_TINY_DATA has no interface implemented.
Friends
Class /UI2/CL_TINY_DATA 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) | T_TINY_CONF | Configuration of Tiny Data | 20130709 | ||
2 | ![]() |
Constant | Private | Type reference (TYPE) | I | 2147483647 | Maximum iterations are limited by positive INT4 value range | 20130710 | |
3 | ![]() |
Constant | Public | Type reference (TYPE) | TABNAME | '/UI2/TINY_CONF' | Table Name | 20130709 | |
4 | ![]() |
Constant | Public | Type reference (TYPE) | TABNAME | '/UI2/TINY_DATA' | Table Name | 20130709 | |
5 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | MANDT | Client | 20140519 | ||
6 | ![]() |
Static Attribute | Private | Object reference (TYPE REF TO) | /UI2/CL_TINY_DATA | String shortener class with DB persistance | 20130708 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Instance method | Public | Method | Delete Personal Entries or Complete Table | 20130712 |
2 | ![]() |
Instance method | Public | Method | Gets / Creates Short Alias of Data String | 20130708 |
3 | ![]() |
Instance method | Protected | Method | Get New Automatically Created ID | 20130710 |
4 | ![]() |
Instance method | Protected | Method | Get Data String From Data Base By Alias | 20130708 |
5 | ![]() |
Instance method | Protected | Method | Get Data String From Data Base By MD5 Hash Key | 20130708 |
6 | ![]() |
Static method | Public | Method | 20130708 | |
7 | ![]() |
Instance method | Protected | Method | Create MD5 Hash Key of Data String | 20130710 |
8 | ![]() |
Instance method | Protected | Method | Create New Alias | 20130710 |
9 | ![]() |
Instance method | Public | Method | Returns Data String of Alias | 20130702 |
10 | ![]() |
Instance method | Protected | Method | Update Tiny Configuration Table | 20130710 |
11 | ![]() |
Instance method | Protected | Method | Update Tiny Data Table | 20130710 |
Events
Class /UI2/CL_TINY_DATA has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | T_TINY_CONF | Protected | See coding | 20130711 | BEGIN OF t_tiny_conf,
client TYPE mandt,
max_count TYPE /ui2/tiny_max_count,
last_auto_id TYPE /ui2/tiny_auto_id,
iteration TYPE /ui2/tiny_iteration,
protected_count TYPE i,
END OF t_tiny_conf
|
||
2 | T_TINY_DATA | Protected | See coding | 20130711 | BEGIN OF t_tiny_data,
client TYPE mandt,
tiny_alias TYPE /ui2/tiny_alias,
md5 TYPE char32,
user_name TYPE syuname,
is_protected TYPE /ui2/tiny_is_protected,
created_at TYPE timestamp,
data TYPE string,
END OF t_tiny_data
|
Method Signatures
Method DELETE_TINY_DATA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_USER | Call by reference | Type reference (TYPE) | SYUNAME | Delete Only Entries of This User Name | 20130712 |
Method DELETE_TINY_DATA on class /UI2/CL_TINY_DATA has no exception.
Method GET_ALIAS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_DATA | Call by reference | Type reference (TYPE) | CSEQUENCE | Data to be shortened | 20130708 | ||
2 | ![]() |
IV_PERSONAL | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Alias refers to personal data | 20130710 | |
3 | ![]() |
IV_PROTECTED | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Alias data shall not be overwritten on table re-iteration | 20130708 | |
4 | ![]() |
IV_SUGGESTION | Call by reference | Type reference (TYPE) | CSEQUENCE | Suggested alias value | 20130708 | ||
5 | ![]() |
RV_ALIAS | Value transfer | Type reference (TYPE) | STRING | Data alias | 20130708 |
Method GET_ALIAS on class /UI2/CL_TINY_DATA has no exception.
Method GET_AUTO_ID Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RV_AUTO_ID | Value transfer | Type reference (TYPE) | /UI2/TINY_ALIAS | Tiny Data: Alias | 20130710 |
Method GET_AUTO_ID on class /UI2/CL_TINY_DATA has no exception.
Method GET_DATA_BY_ALIAS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_ALIAS | Call by reference | Type reference (TYPE) | CSEQUENCE | 20130708 | |||
2 | ![]() |
RS_DATA | Value transfer | Type reference (TYPE) | T_TINY_DATA | Tiny Data: Raw Data and Its Alias | 20130708 |
Method GET_DATA_BY_ALIAS on class /UI2/CL_TINY_DATA has no exception.
Method GET_DATA_BY_MD5 Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_MD5 | Call by reference | Type reference (TYPE) | CSEQUENCE | 20130708 | |||
2 | ![]() |
IV_PERSONAL | Call by reference | Type reference (TYPE) | ABAP_BOOL | Alias refers to personal data | 20130710 | ||
3 | ![]() |
RS_DATA | Value transfer | Type reference (TYPE) | T_TINY_DATA | Tiny Data: Raw Data and Its Alias | 20130708 |
Method GET_DATA_BY_MD5 on class /UI2/CL_TINY_DATA has no exception.
Method GET_INSTANCE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_CLIENT | Call by reference | Type reference (TYPE) | MANDT | SY-MANDT | Client | 20140519 | |
2 | ![]() |
RO_RESULT | Value transfer | Object reference (TYPE REF TO) | /UI2/CL_TINY_DATA | String shortener class with DB persistance | 20130708 |
Method GET_INSTANCE on class /UI2/CL_TINY_DATA has no exception.
Method GET_MD5 Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_LENGTH | Call by reference | Type reference (TYPE) | I | 0 | String length to be involved in calculation | 20130710 | |
2 | ![]() |
IV_VALUE | Call by reference | Type reference (TYPE) | STRING | Input string | 20130710 | ||
3 | ![]() |
RV_RESULT | Value transfer | Type reference (TYPE) | STRING | Caluclated MD5 hash key | 20130710 |
Method GET_MD5 on class /UI2/CL_TINY_DATA has no exception.
Method GET_NEW_ALIAS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_SUGGESTION | Call by reference | Type reference (TYPE) | CSEQUENCE | Suggested alias value | 20130710 | ||
2 | ![]() |
RV_ALIAS | Value transfer | Type reference (TYPE) | /UI2/TINY_ALIAS | Tiny Data: Alias | 20130710 |
Method GET_NEW_ALIAS on class /UI2/CL_TINY_DATA has no exception.
Method RESOLVE_ALIAS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_ALIAS | Call by reference | Type reference (TYPE) | CSEQUENCE | TinyData alias | 20130702 | ||
2 | ![]() |
IV_USER | Call by reference | Attribute reference (LIKE) | SY-UNAME | SY-UNAME | 20130702 | ||
3 | ![]() |
RV_DATA | Value transfer | Type reference (TYPE) | STRING | Stored data | 20130702 |
Method RESOLVE_ALIAS on class /UI2/CL_TINY_DATA has no exception.
Method UPDATE_TINY_CONF Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IS_CONF | Call by reference | Attribute reference (LIKE) | CONF | Configuration of Tiny Data | 20130710 |
Method UPDATE_TINY_CONF on class /UI2/CL_TINY_DATA has no exception.
Method UPDATE_TINY_DATA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_ALIAS | Call by reference | Type reference (TYPE) | CSEQUENCE | Alias of given data | 20130710 | ||
2 | ![]() |
IV_DATA | Call by reference | Type reference (TYPE) | CSEQUENCE | Data that gets alias | 20130710 | ||
3 | ![]() |
IV_MD5 | Call by reference | Type reference (TYPE) | CSEQUENCE | MD5 hash of given data | 20130710 | ||
4 | ![]() |
IV_PERSONAL | Call by reference | Type reference (TYPE) | ABAP_BOOL | Alias refers to personal data | 20130710 | ||
5 | ![]() |
IV_PROTECTED | Call by reference | Type reference (TYPE) | ABAP_BOOL | Data base entry shall not be overwritten | 20130710 |
Method UPDATE_TINY_DATA on class /UI2/CL_TINY_DATA has no exception.
History
Last changed by/on | SAP | 20141120 |
SAP Release Created in | 100 |