SAP ABAP Class CL_FDT_WD_OBJECT_STACK (FDT WD: Object Stack for Web Dynpro UI)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-SRV-BR (Application Component) BRFplus - ABAP-Based Business Rules
     SFDT_WD_INFRASTRUCTURE (Package) BRFplus: Web Dynpro UI: Infrastructure
Properties
Class CL_FDT_WD_OBJECT_STACK  
Short Description FDT WD: Object Stack for Web Dynpro UI    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SFDT_WD_INFRASTRUCTURE   BRFplus: Web Dynpro UI: Infrastructure 
Created 20060718   SAP 
Last change 20110908   SAP 
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)
2 IF_FDT_TYPES Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
3 IF_FDT_WD_TYPES Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
Class CL_FDT_WD_OBJECT_STACK has no interface implemented.
Friends
Class CL_FDT_WD_OBJECT_STACK has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_ACTION_TAB_FOLLOWUP Constant Public Type reference (TYPE) STRING 'FOLLOW_UP' 20090806
2 GC_ACTION_TAB_PROPERTIES Constant Public Type reference (TYPE) STRING 'ACTION_PROPERTIES' 20090806
3 GC_MAX_HISTORY_SIZE Constant Public Type reference (TYPE) I 500 max History size 20070522
4 GC_MAX_STACK_SIZE Constant Public Type reference (TYPE) I 4 max Stack size 20070522
5 MT_HISTORY Instance attribute Private Type reference (TYPE) T_HISTORY History 20060912
6 MT_STACK Instance attribute Private Type reference (TYPE) T_STACK Stack 20060912
7 MV_BACK_NAVIGATION Instance attribute Private Type reference (TYPE) ABAP_BOOL Back Navigation 20060914
8 MV_NO_SIZE_LIMIT Instance attribute Private Type reference (TYPE) ABAP_BOOL True: No Size Limit 20070615
Methods
# Method Level Visibility Method type Description Created on
1 ADD_OBJECT Instance method Public Method Adds an object to the stack 20060718
2 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20070615
3 GET_CURRENT_OBJECT Instance method Public Method Returns the current object 20061207
4 GET_HISTORY_SIZE Instance method Public Method Returns the number of objects in the history 20061109
5 GET_LAST_OBJECT Instance method Public Method Returns the last object 20060728
6 GET_OBJECT Instance method Public Method Returns the object by Id 20060726
7 GET_OBJECTS Instance method Public Method Returns the objects of the stack 20060912
8 GET_OBJECTS_BY_TYPE Instance method Public Method Returns objects of the stack, which have the provided type 20100608
9 GET_STACK_SIZE Instance method Public Method Returns the number of the objects in stack 20061109
10 GET_TOP_OBJECT Instance method Public Method Returns the object on top of the stack 20060718
11 GET_UNMODIFIED_OBJECT Instance method Public Method Returns the an unmodified object (id of usage slot) 20090624
12 INIT_STACK Instance method Public Method Initiliazes the stack 20081211
13 IS_OBJECT_IN_STACK Instance method Public Method Returns, if the object is in the stack 20060718
14 IS_UNSAVED_OBJECT_IN_STACK Instance method Public Method Returns, if there is an unsaved object in the stack 20060914
15 MOVE_OBJECT_TO_TOP_OF_STACK Instance method Private Method Adds an object to the stack 20100915
16 REMOVE_OBJECT Instance method Public Method Removes the object 20060901
17 REMOVE_TOP_OBJECT Instance method Public Method Removes the object on top of the stack 20060720
18 SET_ACTION_TAB Instance method Public Method Sets Action Tab for redisplay 20090806
19 SET_HISTORY_CONTEXT Instance method Public Method Sets the UI context for the current history entry 20090120
20 SET_MODELS Instance method Public Method Sets the models for an object 20060728
21 SET_USAGES Instance method Public Method Sets the WD usages for object 20060831
Events
Class CL_FDT_WD_OBJECT_STACK has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 S_HISTORY Public See coding 20060913 BEGIN OF s_history , id TYPE if_fdt_types=>id, timestamp TYPE if_fdt_types=>timestamp, delete type abap_bool, context type ref to if_fdt_wd_ui_context, END OF s_history
2 S_OBJECT Public See coding Object in Stack 20060726 BEGIN OF s_object, id TYPE if_fdt_types=>id, timestamp TYPE if_fdt_types=>timestamp, admin_data_model TYPE REF TO if_fdt_wd_model, usage_id TYPE i, object_model TYPE REF TO if_fdt_wd_model, om_model TYPE REF TO if_fdt_wd_object_manager_model, action_tab type string, END OF s_object
3 S_STACK Private See coding Stack (Structure) 20060726 BEGIN OF s_stack, id TYPE if_fdt_types=>id, timestamp TYPE if_fdt_types=>timestamp, object TYPE s_object, END OF s_stack
4 T_HISTORY Public See coding 20060913 t_history TYPE STANDARD TABLE OF s_history WITH DEFAULT KEY
5 T_OBJECT Public See coding Objects in Stack 20060912 t_object TYPE STANDARD TABLE OF s_object WITH DEFAULT KEY
6 T_STACK Private See coding Stack 20060726 t_stack TYPE STANDARD TABLE OF s_stack WITH DEFAULT KEY
Method Signatures

Method ADD_OBJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_UI_CONTEXT Call by reference Object reference (TYPE REF TO) IF_FDT_WD_UI_CONTEXT FDT WD: Runtime-Context Channel for Web Dynpro UI 20090120
2 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID ID 20060726
3 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) IF_FDT_TYPES=>TIMESTAMP Timestamp 20060726

Method ADD_OBJECT on class CL_FDT_WD_OBJECT_STACK has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_NO_SIZE_LIMIT Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE True: No Stack Size Limit 20070615

Method CONSTRUCTOR on class CL_FDT_WD_OBJECT_STACK has no exception.

Method GET_CURRENT_OBJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RS_HISTORY Value transfer Type reference (TYPE) S_HISTORY History 20090120

Method GET_CURRENT_OBJECT on class CL_FDT_WD_OBJECT_STACK has no exception.

Method GET_HISTORY_SIZE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_HISTORY_SIZE Value transfer Type reference (TYPE) I History Size 20070522

Method GET_HISTORY_SIZE on class CL_FDT_WD_OBJECT_STACK has no exception.

Method GET_LAST_OBJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RS_HISTORY Value transfer Type reference (TYPE) S_HISTORY History 20060913

Method GET_LAST_OBJECT on class CL_FDT_WD_OBJECT_STACK has no exception.

Method GET_OBJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID ID 20060726
2 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) IF_FDT_TYPES=>TIMESTAMP Timestamp 20060726
3 Returning RS_OBJECT Value transfer Type reference (TYPE) S_OBJECT Object 20060726

Method GET_OBJECT on class CL_FDT_WD_OBJECT_STACK has no exception.

Method GET_OBJECTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID ID 20060912
2 Returning RT_OBJECT Value transfer Type reference (TYPE) T_OBJECT Object 20060912

Method GET_OBJECTS on class CL_FDT_WD_OBJECT_STACK has no exception.

Method GET_OBJECTS_BY_TYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_OBJECT_TYPE Call by reference Type reference (TYPE) IF_FDT_WD_TYPES=>S_OBJECT_TYPE_EXTENDED Object Type 20100608
2 Returning RT_OBJECT Value transfer Type reference (TYPE) T_OBJECT Object 20100608

Method GET_OBJECTS_BY_TYPE on class CL_FDT_WD_OBJECT_STACK has no exception.

Method GET_STACK_SIZE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_STACK_SIZE Value transfer Type reference (TYPE) I stack size 20070522

Method GET_STACK_SIZE on class CL_FDT_WD_OBJECT_STACK has no exception.

Method GET_TOP_OBJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RS_OBJECT Value transfer Type reference (TYPE) S_OBJECT Object 20060726

Method GET_TOP_OBJECT on class CL_FDT_WD_OBJECT_STACK has no exception.

Method GET_UNMODIFIED_OBJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RS_OBJECT Value transfer Type reference (TYPE) S_OBJECT Object 20090624

Method GET_UNMODIFIED_OBJECT on class CL_FDT_WD_OBJECT_STACK has no exception.

Method INIT_STACK Signature

Method INIT_STACK on class CL_FDT_WD_OBJECT_STACK has no parameter.
Method INIT_STACK on class CL_FDT_WD_OBJECT_STACK has no exception.

Method IS_OBJECT_IN_STACK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID ID 20060720
2 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) IF_FDT_TYPES=>TIMESTAMP Timestamp 20060720
3 Returning RV_IN_STACK Value transfer Type reference (TYPE) BOOLE_D True: Is in stack 20060720

Method IS_OBJECT_IN_STACK on class CL_FDT_WD_OBJECT_STACK has no exception.

Method IS_UNSAVED_OBJECT_IN_STACK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_UNSAVED_OBJECT Value transfer Type reference (TYPE) BOOLE_D unsaved object 20060914

Method IS_UNSAVED_OBJECT_IN_STACK on class CL_FDT_WD_OBJECT_STACK has no exception.

Method MOVE_OBJECT_TO_TOP_OF_STACK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID ID 20100915
2 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) IF_FDT_TYPES=>TIMESTAMP Timestamp 20100915

Method MOVE_OBJECT_TO_TOP_OF_STACK on class CL_FDT_WD_OBJECT_STACK has no exception.

Method REMOVE_OBJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID Id 20060901
2 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) IF_FDT_TYPES=>TIMESTAMP Timestamp 20060901

Method REMOVE_OBJECT on class CL_FDT_WD_OBJECT_STACK has no exception.

Method REMOVE_TOP_OBJECT Signature

Method REMOVE_TOP_OBJECT on class CL_FDT_WD_OBJECT_STACK has no parameter.
Method REMOVE_TOP_OBJECT on class CL_FDT_WD_OBJECT_STACK has no exception.

Method SET_ACTION_TAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ACTION_TAB Call by reference Type reference (TYPE) STRING Action Tab 20090806
2 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID Universal Unique Identifier 20090806
3 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) IF_FDT_TYPES=>TIMESTAMP Time Stamp (active version) 20090806

Method SET_ACTION_TAB on class CL_FDT_WD_OBJECT_STACK has no exception.

Method SET_HISTORY_CONTEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_UI_CONTEXT Call by reference Object reference (TYPE REF TO) IF_FDT_WD_UI_CONTEXT FDT WD: Runtime-Context Channel for Web Dynpro UI 20090120

Method SET_HISTORY_CONTEXT on class CL_FDT_WD_OBJECT_STACK has no exception.

Method SET_MODELS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_ADMIN_DATA_MODEL Call by reference Object reference (TYPE REF TO) IF_FDT_WD_MODEL Admin Data model 20060728
2 Importing IO_OBJECT_MODEL Call by reference Object reference (TYPE REF TO) IF_FDT_WD_MODEL Object model 20060728
3 Importing IO_OM_MODEL Call by reference Object reference (TYPE REF TO) IF_FDT_WD_OBJECT_MANAGER_MODEL Model 20060728
4 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID ID 20060728
5 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) IF_FDT_TYPES=>TIMESTAMP Timestamp 20060728

Method SET_MODELS on class CL_FDT_WD_OBJECT_STACK has no exception.

Method SET_USAGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID ID 20060831
2 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) IF_FDT_TYPES=>TIMESTAMP Timestamp 20060831
3 Importing IV_USAGE_ID Call by reference Type reference (TYPE) I Usage Id 20060831

Method SET_USAGES on class CL_FDT_WD_OBJECT_STACK has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 710