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 F_INFO_SVC 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 CONSTRUCTOR Instance method Public Constructor 20080818
2 LOAD_FAVORITE Instance method Public Method Loads a Favorite 20080816
3 PROLONGUE_EXPIRY_DATE Instance method Public Method Prolongues expiry date 20110907
4 SAVE_FAVORITE Instance method Public Method Stores a Favorite 20080816
5 _COMPUTE_EXPIRY Instance method Protected Method Computes expiry 20110907
6 _CONVERT_FROM_DB Instance method Protected Method Converts DB presentation to a Favorite 20080816
7 _CONVERT_TO_DB Instance method Protected Method Converts Favorite to DB presentation 20080816
8 _READ_FAVORITE Instance method Protected Method Reads Favorite from repository 20080816
9 _SAVE_FAVORITE Instance method Protected Method 20120521
10 _STORE_FAVORITE 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 Importing 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 Importing I_FAVORITE_NAME Call by reference Type reference (TYPE) CSEQUENCE Name of Favorite 20080816
2 Importing I_OWNER Call by reference Type reference (TYPE) SYUNAME Owner of Favorite 20080816
3 Returning RESULT Value transfer Object reference (TYPE REF TO) CL_SAUNIT_FAVORITE Favorite 20080816
# Exception Resumable Description Created on
1 CX_SAUNIT_FAV_IO_ERROR 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 Importing 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 Importing I_FAVORITE Call by reference Object reference (TYPE REF TO) CL_SAUNIT_FAVORITE Favorite 20080816
# Exception Resumable Description Created on
1 CX_SAUNIT_BAD_STATE Invalid State 20080818
2 CX_SAUNIT_FAV_IO_ERROR 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 Returning 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 Importing I_DB_FORMAT Call by reference Type reference (TYPE) TY_S_DB_FORMAT 20080816
2 Returning 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 Importing I_FAVORITE Call by reference Object reference (TYPE REF TO) CL_SAUNIT_FAVORITE 20080816
2 Returning 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 Importing I_FAVORITE_NAME Call by reference Type reference (TYPE) CSEQUENCE Name of Favorite 20080816
2 Importing I_OWNER Call by reference Type reference (TYPE) SYUNAME Owner of Favorite 20080816
3 Returning 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 Importing I_FAVORITE Call by reference Object reference (TYPE REF TO) CL_SAUNIT_FAVORITE 20120521
# Exception Resumable Description Created on
1 CX_SAUNIT_BAD_STATE 20120521
2 CX_SAUNIT_FAV_IO_ERROR 20120521

Method _STORE_FAVORITE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing 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