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 ABAP 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 CONF Instance attribute Protected Type reference (TYPE) T_TINY_CONF Configuration of Tiny Data 20130709
2 C_MAX_ITERATIONS Constant Private Type reference (TYPE) I 2147483647 Maximum iterations are limited by positive INT4 value range 20130710
3 C_TINY_CONF_TAB Constant Public Type reference (TYPE) TABNAME '/UI2/TINY_CONF' Table Name 20130709
4 C_TINY_DATA_TAB Constant Public Type reference (TYPE) TABNAME '/UI2/TINY_DATA' Table Name 20130709
5 MV_CLIENT Instance attribute Protected Type reference (TYPE) MANDT Client 20140519
6 SELF 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 DELETE_TINY_DATA Instance method Public Method Delete Personal Entries or Complete Table 20130712
2 GET_ALIAS Instance method Public Method Gets / Creates Short Alias of Data String 20130708
3 GET_AUTO_ID Instance method Protected Method Get New Automatically Created ID 20130710
4 GET_DATA_BY_ALIAS Instance method Protected Method Get Data String From Data Base By Alias 20130708
5 GET_DATA_BY_MD5 Instance method Protected Method Get Data String From Data Base By MD5 Hash Key 20130708
6 GET_INSTANCE Static method Public Method 20130708
7 GET_MD5 Instance method Protected Method Create MD5 Hash Key of Data String 20130710
8 GET_NEW_ALIAS Instance method Protected Method Create New Alias 20130710
9 RESOLVE_ALIAS Instance method Public Method Returns Data String of Alias 20130702
10 UPDATE_TINY_CONF Instance method Protected Method Update Tiny Configuration Table 20130710
11 UPDATE_TINY_DATA 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 Importing 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 Importing IV_DATA Call by reference Type reference (TYPE) CSEQUENCE Data to be shortened 20130708
2 Importing IV_PERSONAL Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Alias refers to personal data 20130710
3 Importing IV_PROTECTED Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Alias data shall not be overwritten on table re-iteration 20130708
4 Importing IV_SUGGESTION Call by reference Type reference (TYPE) CSEQUENCE Suggested alias value 20130708
5 Returning 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 Returning 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 Importing IV_ALIAS Call by reference Type reference (TYPE) CSEQUENCE 20130708
2 Returning 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 Importing IV_MD5 Call by reference Type reference (TYPE) CSEQUENCE 20130708
2 Importing IV_PERSONAL Call by reference Type reference (TYPE) ABAP_BOOL Alias refers to personal data 20130710
3 Returning 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 Importing IV_CLIENT Call by reference Type reference (TYPE) MANDT SY-MANDT Client 20140519
2 Returning 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 Importing IV_LENGTH Call by reference Type reference (TYPE) I 0 String length to be involved in calculation 20130710
2 Importing IV_VALUE Call by reference Type reference (TYPE) STRING Input string 20130710
3 Returning 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 Importing IV_SUGGESTION Call by reference Type reference (TYPE) CSEQUENCE Suggested alias value 20130710
2 Returning 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 Importing IV_ALIAS Call by reference Type reference (TYPE) CSEQUENCE TinyData alias 20130702
2 Importing IV_USER Call by reference Attribute reference (LIKE) SY-UNAME SY-UNAME 20130702
3 Returning 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 Importing 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 Importing IV_ALIAS Call by reference Type reference (TYPE) CSEQUENCE Alias of given data 20130710
2 Importing IV_DATA Call by reference Type reference (TYPE) CSEQUENCE Data that gets alias 20130710
3 Importing IV_MD5 Call by reference Type reference (TYPE) CSEQUENCE MD5 hash of given data 20130710
4 Importing IV_PERSONAL Call by reference Type reference (TYPE) ABAP_BOOL Alias refers to personal data 20130710
5 Importing 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