SAP ABAP Class CL_CTS_USER_DEFAULTS (CTS User Defaults)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-CTS-TMS-CTR (Application Component) Central CTS # Transport Management
⤷
SCTS_DIST_CTL_COMMON (Package) Common Parts of cCTS Organizer and Transport Manager
⤷
⤷
Properties
| Class | CL_CTS_USER_DEFAULTS | |
| Short Description | CTS User Defaults | |
| Super Class | ||
| Instantiability of a Class | 1 | Protected |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SCTS_DIST_CTL_COMMON | Common Parts of cCTS Organizer and Transport Manager |
| Created | 20090812 | SAP |
| Last change | 20140121 | 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 CL_CTS_USER_DEFAULTS has no interface implemented.
Friends
Class CL_CTS_USER_DEFAULTS has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | I | 512 | 20090817 | |||
| 2 | Constant | Private | Type reference (TYPE) | I | 2000 | 20090816 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20090816 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | SYUNAME | User Name | 20090812 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Protected | Method | Compress content | 20090816 | |
| 2 | Instance method | Protected | Method | Decompress content | 20090816 | |
| 3 | Instance method | Protected | Method | Helper for deserialization | 20090812 | |
| 4 | Instance method | Public | Method | Get Boolean value for key | 20090812 | |
| 5 | Instance method | Public | Method | Get object value for key | 20090813 | |
| 6 | Instance method | Public | Method | Get string value for key | 20090814 | |
| 7 | Instance method | Public | Method | Get a table value for key | 20090813 | |
| 8 | Instance method | Public | Method | Get user | 20090817 | |
| 9 | Instance method | Public | Method | Get general value for key | 20090813 | |
| 10 | Instance method | Public | Method | Returns abap_true if a value exists for the given key | 20090825 | |
| 11 | Instance method | Protected | Method | Read from database | 20090812 | |
| 12 | Instance method | Public | Method | Remove given default | 20090812 | |
| 13 | Instance method | Public | Method | Reset user defaults | 20090812 | |
| 14 | Instance method | Protected | Method | Helper for serialization | 20090812 | |
| 15 | Instance method | Public | Method | Set Boolean value for key | 20090812 | |
| 16 | Instance method | Public | Method | Set object value for key | 20090813 | |
| 17 | Instance method | Public | Method | Set string value for key | 20090814 | |
| 18 | Instance method | Public | Method | Set a table value for key | 20090813 | |
| 19 | Instance method | Public | Method | Set general value for key | 20090813 | |
| 20 | Static method | Public | Method | Returns the standard user defaults handler | 20090812 | |
| 21 | Instance method | Protected | Method | Write to database | 20090812 |
Events
Class CL_CTS_USER_DEFAULTS has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | LT_KEY | Public | Type reference (TYPE) | STRING | 20090812 | |
Method Signatures
Method COMPRESS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ENTRY | Call by reference | Type reference (TYPE) | SCTS_USERDEFAULT | 20090816 |
Method COMPRESS on class CL_CTS_USER_DEFAULTS has no exception.
Method DECOMPRESS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ENTRY | Call by reference | Type reference (TYPE) | SCTS_USERDEFAULT | 20090816 |
Method DECOMPRESS on class CL_CTS_USER_DEFAULTS has no exception.
Method DESERIALIZE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DATA | Call by reference | Type reference (TYPE) | ANY | 20090812 | ||||
| 2 | XML | Call by reference | Type reference (TYPE) | STRING | 20090812 |
Method DESERIALIZE on class CL_CTS_USER_DEFAULTS has no exception.
Method GET_BOOLEAN_FOR_KEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | KEY | Call by reference | Type reference (TYPE) | LT_KEY | 20090812 | ||||
| 2 | VALUE | Value transfer | Type reference (TYPE) | BOOLEAN | boolsche Variable (X=true, -=false, space=unknown) | 20090812 |
Method GET_BOOLEAN_FOR_KEY on class CL_CTS_USER_DEFAULTS has no exception.
Method GET_OBJECT_FOR_KEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | KEY | Call by reference | Type reference (TYPE) | LT_KEY | 20090813 | ||||
| 2 | VALUE | Value transfer | Object reference (TYPE REF TO) | IF_SERIALIZABLE_OBJECT | Serialisierbares Objekt | 20090813 |
Method GET_OBJECT_FOR_KEY on class CL_CTS_USER_DEFAULTS has no exception.
Method GET_STRING_FOR_KEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | KEY | Call by reference | Type reference (TYPE) | LT_KEY | 20090814 | ||||
| 2 | VALUE | Value transfer | Type reference (TYPE) | STRING | 20090814 |
Method GET_STRING_FOR_KEY on class CL_CTS_USER_DEFAULTS has no exception.
Method GET_TABLE_FOR_KEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | KEY | Call by reference | Type reference (TYPE) | LT_KEY | 20090813 | ||||
| 2 | VALUE | Call by reference | Type reference (TYPE) | ANY TABLE | 20090813 |
Method GET_TABLE_FOR_KEY on class CL_CTS_USER_DEFAULTS has no exception.
Method GET_USER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | USER | Value transfer | Type reference (TYPE) | SYUNAME | Benutzername | 20090817 |
Method GET_USER on class CL_CTS_USER_DEFAULTS has no exception.
Method GET_VALUE_FOR_KEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | KEY | Call by reference | Type reference (TYPE) | LT_KEY | 20090813 | ||||
| 2 | VALUE | Call by reference | Type reference (TYPE) | ANY | 20090813 |
Method GET_VALUE_FOR_KEY on class CL_CTS_USER_DEFAULTS has no exception.
Method HAS_VALUE_FOR_KEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | FLAG | Value transfer | Type reference (TYPE) | BOOLEAN | boolsche Variable (X=true, -=false, space=unknown) | 20090825 | |||
| 2 | KEY | Call by reference | Type reference (TYPE) | LT_KEY | 20090825 |
Method HAS_VALUE_FOR_KEY on class CL_CTS_USER_DEFAULTS has no exception.
Method READ Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | KEY | Call by reference | Type reference (TYPE) | LT_KEY | 20090812 | ||||
| 2 | VALUE | Call by reference | Type reference (TYPE) | ANY | 20090812 |
Method READ on class CL_CTS_USER_DEFAULTS has no exception.
Method REMOVE_VALUE_FOR_KEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | KEY | Call by reference | Type reference (TYPE) | LT_KEY | 20090812 | ||||
| 2 | SUCCESS | Value transfer | Type reference (TYPE) | BOOLEAN | 20090813 |
Method REMOVE_VALUE_FOR_KEY on class CL_CTS_USER_DEFAULTS has no exception.
Method RESET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SUCCESS | Value transfer | Type reference (TYPE) | BOOLEAN | boolsche Variable (X=true, -=false, space=unknown) | 20090814 |
Method RESET on class CL_CTS_USER_DEFAULTS has no exception.
Method SERIALIZE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DATA | Call by reference | Type reference (TYPE) | ANY | 20090812 | ||||
| 2 | XML | Value transfer | Type reference (TYPE) | STRING | 20090812 |
Method SERIALIZE on class CL_CTS_USER_DEFAULTS has no exception.
Method SET_BOOLEAN_FOR_KEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | KEY | Call by reference | Type reference (TYPE) | LT_KEY | 20090812 | ||||
| 2 | SUCCESS | Value transfer | Type reference (TYPE) | BOOLEAN | 20090813 | ||||
| 3 | VALUE | Call by reference | Type reference (TYPE) | BOOLEAN | boolsche Variable (X=true, -=false, space=unknown) | 20090812 |
Method SET_BOOLEAN_FOR_KEY on class CL_CTS_USER_DEFAULTS has no exception.
Method SET_OBJECT_FOR_KEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | KEY | Call by reference | Type reference (TYPE) | LT_KEY | 20090813 | ||||
| 2 | SUCCESS | Value transfer | Type reference (TYPE) | BOOLEAN | boolsche Variable (X=true, -=false, space=unknown) | 20090813 | |||
| 3 | VALUE | Call by reference | Object reference (TYPE REF TO) | IF_SERIALIZABLE_OBJECT | Serialisierbares Objekt | 20090813 |
Method SET_OBJECT_FOR_KEY on class CL_CTS_USER_DEFAULTS has no exception.
Method SET_STRING_FOR_KEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | KEY | Call by reference | Type reference (TYPE) | LT_KEY | 20090814 | ||||
| 2 | SUCCESS | Value transfer | Type reference (TYPE) | BOOLEAN | boolsche Variable (X=true, -=false, space=unknown) | 20090814 | |||
| 3 | VALUE | Call by reference | Type reference (TYPE) | CSEQUENCE | 20090814 |
Method SET_STRING_FOR_KEY on class CL_CTS_USER_DEFAULTS has no exception.
Method SET_TABLE_FOR_KEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | KEY | Call by reference | Type reference (TYPE) | LT_KEY | 20090813 | ||||
| 2 | SUCCESS | Value transfer | Type reference (TYPE) | BOOLEAN | boolsche Variable (X=true, -=false, space=unknown) | 20090813 | |||
| 3 | VALUE | Call by reference | Type reference (TYPE) | ANY TABLE | 20090813 |
Method SET_TABLE_FOR_KEY on class CL_CTS_USER_DEFAULTS has no exception.
Method SET_VALUE_FOR_KEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | KEY | Call by reference | Type reference (TYPE) | LT_KEY | 20090813 | ||||
| 2 | SUCCESS | Value transfer | Type reference (TYPE) | BOOLEAN | 20090813 | ||||
| 3 | VALUE | Call by reference | Type reference (TYPE) | ANY | 20090813 |
Method SET_VALUE_FOR_KEY on class CL_CTS_USER_DEFAULTS has no exception.
Method STANDARD_DEFAULTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | HANDLER | Value transfer | Object reference (TYPE REF TO) | CL_CTS_USER_DEFAULTS | CTS User Defaults | 20090812 | |||
| 2 | NEVER_COMPRESS | Call by reference | Type reference (TYPE) | BOOLEAN | ABAP_FALSE | boolsche Variable (X=true, -=false, space=unknown) | 20090816 | ||
| 3 | USER | Call by reference | Type reference (TYPE) | SYUNAME | Benutzername | 20090812 |
Method STANDARD_DEFAULTS on class CL_CTS_USER_DEFAULTS has no exception.
Method WRITE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | KEY | Call by reference | Type reference (TYPE) | LT_KEY | 20090812 | ||||
| 2 | SUCCESS | Value transfer | Type reference (TYPE) | BOOLEAN | 20090813 | ||||
| 3 | VALUE | Call by reference | Type reference (TYPE) | ANY | 20090812 |
Method WRITE on class CL_CTS_USER_DEFAULTS has no exception.
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 702 |