SAP ABAP Class CL_SAUNIT_FAVORITE_ACCESS_SVC (Service to load and save favorites)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-DWB-TOO-UT (Application Component) ABAP Unit
⤷
SABP_UNIT_WORKBENCH (Package) - Internal - No reuse - Workbench integration, test browser
⤷
⤷
Properties
| Class | CL_SAUNIT_FAVORITE_ACCESS_SVC | |
| Short Description | Service to load and save favorites | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SABP_UNIT_WORKBENCH | - Internal - No reuse - Workbench integration, test browser |
| Created | 20080816 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_SAUNIT_FAVORITE_ACCESS_SVC has no forward declaration.
Interfaces
Class CL_SAUNIT_FAVORITE_ACCESS_SVC has no interface implemented.
Friends
Class CL_SAUNIT_FAVORITE_ACCESS_SVC has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Protected | Object reference (TYPE REF TO) | CL_SAUNIT_FAVORITE_INFO_SVC | Service | 20080818 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | 20080818 | ||
| 2 | Instance method | Public | Method | Loads a Favorite | 20080816 | |
| 3 | Instance method | Public | Method | Prolongues expiry date | 20110907 | |
| 4 | Instance method | Public | Method | Stores a Favorite | 20080816 | |
| 5 | Instance method | Protected | Method | Computes expiry | 20110907 | |
| 6 | Instance method | Protected | Method | Converts DB presentation to a Favorite | 20080816 | |
| 7 | Instance method | Protected | Method | Converts Favorite to DB presentation | 20080816 | |
| 8 | Instance method | Protected | Method | Reads Favorite from repository | 20080816 | |
| 9 | Instance method | Protected | Method | 20120521 | ||
| 10 | Instance method | Protected | Method | Writes Favorite to repository | 20080816 |
Events
Class CL_SAUNIT_FAVORITE_ACCESS_SVC has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_S_BASE_RECORD | Protected | Type reference (TYPE) | SAUNIT_FAV_BASE | 20080816 | |
|
| 2 | TY_S_CLAS_RECORD | Protected | Type reference (TYPE) | SAUNIT_FAV_CLAS | 20080816 | |
|
| 3 | TY_S_DB_FORMAT | Protected | See coding | 20080816 | begin of ty_S_Db_Format,
base type ty_S_Base_Record,
programs type ty_T_prog_Records,
classes type ty_T_Clas_Records,
end of ty_S_Db_Format
|
||
| 4 | TY_S_PROG_RECORD | Protected | Type reference (TYPE) | SAUNIT_FAV_PROG | 20080816 | |
|
| 5 | TY_T_CLAS_RECORDS | Protected | See coding | 20080816 | ty_T_Clas_Records type sorted table of ty_S_Clas_Record
with non-unique key
obj_Name
obj_Type
class_Name
|
||
| 6 | TY_T_PROG_RECORDS | Protected | See coding | 20080816 | ty_T_prog_Records type standard table of ty_S_prog_Record
with non-unique key
obj_Name
obj_Type
|
Method Signatures
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_INFO_SVC | Call by reference | Object reference (TYPE REF TO) | CL_SAUNIT_FAVORITE_INFO_SVC | Service | 20080818 |
Method CONSTRUCTOR on class CL_SAUNIT_FAVORITE_ACCESS_SVC has no exception.
Method LOAD_FAVORITE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_FAVORITE_NAME | Call by reference | Type reference (TYPE) | CSEQUENCE | Name of Favorite | 20080816 | |||
| 2 | I_OWNER | Call by reference | Type reference (TYPE) | SYUNAME | Owner of Favorite | 20080816 | |||
| 3 | RESULT | Value transfer | Object reference (TYPE REF TO) | CL_SAUNIT_FAVORITE | Favorite | 20080816 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error during Access to Persistency Layer | 20110211 |
Method PROLONGUE_EXPIRY_DATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_FAVORITE | Call by reference | Object reference (TYPE REF TO) | CL_SAUNIT_FAVORITE | Favorite | 20110907 |
Method PROLONGUE_EXPIRY_DATE on class CL_SAUNIT_FAVORITE_ACCESS_SVC has no exception.
Method SAVE_FAVORITE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_FAVORITE | Call by reference | Object reference (TYPE REF TO) | CL_SAUNIT_FAVORITE | Favorite | 20080816 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Invalid State | 20080818 | ||
| 2 | Error during Access to Persistency Layer | 20080818 |
Method _COMPUTE_EXPIRY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RESULT | Value transfer | Type reference (TYPE) | TIMESTAMP | 20110907 |
Method _COMPUTE_EXPIRY on class CL_SAUNIT_FAVORITE_ACCESS_SVC has no exception.
Method _CONVERT_FROM_DB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_DB_FORMAT | Call by reference | Type reference (TYPE) | TY_S_DB_FORMAT | 20080816 | ||||
| 2 | RESULT | Value transfer | Object reference (TYPE REF TO) | CL_SAUNIT_FAVORITE | Favorite | 20080816 |
Method _CONVERT_FROM_DB on class CL_SAUNIT_FAVORITE_ACCESS_SVC has no exception.
Method _CONVERT_TO_DB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_FAVORITE | Call by reference | Object reference (TYPE REF TO) | CL_SAUNIT_FAVORITE | 20080816 | ||||
| 2 | RESULT | Value transfer | Type reference (TYPE) | TY_S_DB_FORMAT | Favorite | 20080816 |
Method _CONVERT_TO_DB on class CL_SAUNIT_FAVORITE_ACCESS_SVC has no exception.
Method _READ_FAVORITE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_FAVORITE_NAME | Call by reference | Type reference (TYPE) | CSEQUENCE | Name of Favorite | 20080816 | |||
| 2 | I_OWNER | Call by reference | Type reference (TYPE) | SYUNAME | Owner of Favorite | 20080816 | |||
| 3 | RESULT | Value transfer | Type reference (TYPE) | TY_S_DB_FORMAT | Favorite | 20080816 |
Method _READ_FAVORITE on class CL_SAUNIT_FAVORITE_ACCESS_SVC has no exception.
Method _SAVE_FAVORITE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_FAVORITE | Call by reference | Object reference (TYPE REF TO) | CL_SAUNIT_FAVORITE | 20120521 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120521 | |||
| 2 | 20120521 |
Method _STORE_FAVORITE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_DB_FORMAT | Call by reference | Type reference (TYPE) | TY_S_DB_FORMAT | 20080816 |
Method _STORE_FAVORITE on class CL_SAUNIT_FAVORITE_ACCESS_SVC has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 712 |