SAP ABAP Class CL_FPM_CONTEXT_MANAGER (FPM Context Manager)
Hierarchy
☛
SAP_UI (Software Component) User Interface Technology
⤷
BC-WD-CMP-FPM (Application Component) Floorplan Manager Web Dynpro ABAP
⤷
APB_FPM_CORE (Package) Floorplan Manager (Framework)
⤷
⤷
Properties
| Class | CL_FPM_CONTEXT_MANAGER | |
| Short Description | FPM Context Manager | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | APB_FPM_CORE | Floorplan Manager (Framework) |
| Created | 20090720 | SAP |
| Last change | 20141120 | |
| 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) | |
| 2 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
Class CL_FPM_CONTEXT_MANAGER has no interface implemented.
Friends
Class CL_FPM_CONTEXT_MANAGER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_WD_CONTEXT_NODE | Web Dynpro: Interface for Context Nodes | 20090720 | |||
| 2 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_FPM_NODE | Interface for FPM nodes | 20090720 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Private | Method | Builds a sorted table of FPM and related context elements | 20091104 | |
| 2 | Instance method | Public | Constructor | Constructor | 20090720 | |
| 3 | Static method | Private | Method | Creates internal FPM data from WD context | 20090720 | |
| 4 | Instance method | Public | Method | Gets WD context root node | 20090720 | |
| 5 | Instance method | Public | Method | Gets FPM root node | 20090720 | |
| 6 | Instance method | Public | Method | Refreshes internal FPM data from WD context | 20090720 | |
| 7 | Instance method | Public | Method | Updates whole WD context from internal FPM data | 20090720 | |
| 8 | Instance method | Public | Method | Updates WD context from specified FPM nodes/attributes | 20090725 | |
| 9 | Static method | Private | Method | Updates a single WD context node with elements from FPM node | 20091104 | |
| 10 | Instance method | Public | Method | Updates FPM data from specified WD context nodes/attributes | 20090725 | |
| 11 | Static method | Private | Method | Updates a single FPM node with elements from WD context node | 20091104 |
Events
Class CL_FPM_CONTEXT_MANAGER has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_S_CTX_EL_FPM_EL_RELATION | Private | See coding | 20091104 | BEGIN OF ty_s_ctx_el_fpm_el_relation,
ctx_el TYPE REF TO if_wd_context_element,
fpm_el TYPE REF TO if_fpm_element,
END OF ty_s_ctx_el_fpm_el_relation
|
||
| 2 | TY_S_NODE_ATTRIBUTES | Public | See coding | Node, element, and attributes | 20090801 | BEGIN OF ty_s_node_attributes,
node_name TYPE string,
node_attributes TYPE HASHED TABLE OF string
WITH UNIQUE KEY table_line,
element_index TYPE i,
END OF ty_s_node_attributes
|
|
| 3 | TY_T_CTX_EL_FPM_EL_RELATION | Private | See coding | 20091104 | ty_t_ctx_el_fpm_el_relation TYPE SORTED TABLE OF ty_s_ctx_el_fpm_el_relation
WITH UNIQUE KEY ctx_el
|
||
| 4 | TY_T_NODE_ATTRIBUTES | Public | See coding | Table of nodes, elements, and attributes | 20090801 | ty_t_node_attributes TYPE HASHED TABLE OF ty_s_node_attributes
WITH UNIQUE KEY node_name
|
Method Signatures
Method BUILD_FPM_CONTEXT_RELATION_TAB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_FPM_NODE | Call by reference | Object reference (TYPE REF TO) | IF_FPM_NODE | Interface for FPM nodes | 20091104 | |||
| 2 | RT_CTX_EL_FPM_EL_RELATION | Value transfer | Type reference (TYPE) | TY_T_CTX_EL_FPM_EL_RELATION | Relation table of FPM and corresponding WD context elements | 20091104 |
Method BUILD_FPM_CONTEXT_RELATION_TAB on class CL_FPM_CONTEXT_MANAGER has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_WD_CONTEXT_ROOT_NODE | Call by reference | Object reference (TYPE REF TO) | IF_WD_CONTEXT_NODE | Web Dynpro: Interface for Context Nodes | 20090812 |
Method CONSTRUCTOR on class CL_FPM_CONTEXT_MANAGER has no exception.
Method CREATE_FROM_CONTEXT_NODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_FPM_PARENT_ELEMENT | Call by reference | Object reference (TYPE REF TO) | CL_FPM_ELEMENT | FPM Element | 20090720 | |||
| 2 | IO_WD_CONTEXT_NODE | Call by reference | Object reference (TYPE REF TO) | IF_WD_CONTEXT_NODE | Web Dynpro: Interface for Context Nodes | 20090812 | |||
| 3 | RO_FPM_NODE | Value transfer | Object reference (TYPE REF TO) | CL_FPM_NODE | Interface for FPM nodes | 20090720 |
Method CREATE_FROM_CONTEXT_NODE on class CL_FPM_CONTEXT_MANAGER has no exception.
Method GET_CONTEXT_ROOT_NODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RO_WD_CONTEXT_ROOT_NODE | Value transfer | Object reference (TYPE REF TO) | IF_WD_CONTEXT_NODE | Web Dynpro: Interface for Context Nodes | 20090812 |
Method GET_CONTEXT_ROOT_NODE on class CL_FPM_CONTEXT_MANAGER has no exception.
Method GET_FPM_ROOT_NODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RO_FPM_ROOT_NODE | Value transfer | Object reference (TYPE REF TO) | IF_FPM_NODE | Interface for FPM nodes | 20090720 |
Method GET_FPM_ROOT_NODE on class CL_FPM_CONTEXT_MANAGER has no exception.
Method REFRESH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_WD_CONTEXT_ROOT_NODE | Call by reference | Object reference (TYPE REF TO) | IF_WD_CONTEXT_NODE | Web Dynpro: Interface for Context Nodes | 20140702 |
Method REFRESH on class CL_FPM_CONTEXT_MANAGER has no exception.
Method UPDATE_CONTEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_WD_CONFIG_CONTEXT | Call by reference | Object reference (TYPE REF TO) | IF_WD_CONFIG_CONTEXT | Modification of Configuration Context | 20090812 |
Method UPDATE_CONTEXT on class CL_FPM_CONTEXT_MANAGER has no exception.
Method UPDATE_CONTEXT_ATTRIBUTES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_WD_CONFIG_CONTEXT | Call by reference | Object reference (TYPE REF TO) | IF_WD_CONFIG_CONTEXT | Modification of Configuration Context | 20090812 | |||
| 2 | IT_RELEVANT_NODE_ATTRIBUTES | Call by reference | Type reference (TYPE) | TY_T_NODE_ATTRIBUTES | Table of nodes, elements, and attributes | 20091102 | |||
| 3 | IV_CONSIDER_ALL_NODES_AND_ATTR | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | Consider all nodes, elements and attributes for the update | 20091102 | ||
| 4 | IV_CONSIDER_CHILDREN_OF_NEW_EL | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Indicator: Consider child nodes/elements of new elements | 20091111 | ||
| 5 | IV_UPDATE_CHANGES_ONLY | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Update target node/element only if source has been changed | 20090801 |
Method UPDATE_CONTEXT_ATTRIBUTES on class CL_FPM_CONTEXT_MANAGER has no exception.
Method UPDATE_CONTEXT_NODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_FPM_NODE | Call by reference | Object reference (TYPE REF TO) | IF_FPM_NODE | Interface for FPM nodes | 20091104 | |||
| 2 | IO_WD_CONFIG_CONTEXT | Call by reference | Object reference (TYPE REF TO) | IF_WD_CONFIG_CONTEXT | Modification of Configuration Context | 20091104 | |||
| 3 | IT_RELEVANT_NODE_ATTRIBUTES | Call by reference | Type reference (TYPE) | TY_T_NODE_ATTRIBUTES | Table of relevant source nodes, elements, and attributes | 20091104 | |||
| 4 | IV_CONSIDER_ALL_NODES_AND_ATTR | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | Consider all nodes, elements and attributes for the update | 20091104 | ||
| 5 | IV_CONSIDER_CHILDREN_OF_NEW_EL | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Indicator: Consider child nodes/elements of new elements | 20091111 | ||
| 6 | IV_UPDATE_CHANGES_ONLY | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Update target node/element only if source has been changed | 20091104 |
Method UPDATE_CONTEXT_NODE on class CL_FPM_CONTEXT_MANAGER has no exception.
Method UPDATE_FROM_CONTEXT_ATTRIBUTES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_RELEVANT_NODE_ATTRIBUTES | Call by reference | Type reference (TYPE) | TY_T_NODE_ATTRIBUTES | Table of nodes, elements, and attributes | 20091102 | |||
| 2 | IV_CONSIDER_ALL_NODES_AND_ATTR | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | Consider all nodes, elements and attributes for the update | 20091102 | ||
| 3 | IV_CONSIDER_CHILDREN_OF_NEW_EL | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Indicator: Consider child nodes/elements of new elements | 20091111 |
Method UPDATE_FROM_CONTEXT_ATTRIBUTES on class CL_FPM_CONTEXT_MANAGER has no exception.
Method UPDATE_FROM_CONTEXT_NODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_FPM_NODE | Call by reference | Object reference (TYPE REF TO) | IF_FPM_NODE | Interface for FPM nodes | 20091104 | |||
| 2 | IT_RELEVANT_NODE_ATTRIBUTES | Call by reference | Type reference (TYPE) | TY_T_NODE_ATTRIBUTES | Table of relevant source nodes, elements, and attributes | 20091104 | |||
| 3 | IV_CONSIDER_ALL_NODES_AND_ATTR | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | Consider all nodes, elements and attributes for the update | 20091104 | ||
| 4 | IV_CONSIDER_CHILDREN_OF_NEW_EL | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Indicator: Consider child nodes/elements of new elements | 20091111 |
Method UPDATE_FROM_CONTEXT_NODE on class CL_FPM_CONTEXT_MANAGER has no exception.
History
| Last changed by/on | SAP | 20141120 |
| SAP Release Created in | 730 |