SAP ABAP Class CL_CFX_HIERARCHY (General Hierarchy Iterator)
Hierarchy
☛
CPRXRPM (Software Component) SAP Portfolio and Project Management 6.0
⤷
PLM-CFO (Application Component) Collaboration Folders
⤷
CFX_FOLDERS (Package) Collaboration Folders: Folder and Documents
⤷
⤷
Properties
| Class | CL_CFX_HIERARCHY | |
| Short Description | General Hierarchy Iterator | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | CFX_FOLDERS | Collaboration Folders: Folder and Documents |
| Created | 20041004 | SAP |
| Last change | 20141109 | |
| 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 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_CFX_HIERARCHY has no interface implemented.
Friends
Class CL_CFX_HIERARCHY has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Protected | Type reference (TYPE) | CFX_TT_HIERARCHY | Node in Hierarchy | 20041004 | |||
| 2 | Instance attribute | Protected | Type reference (TYPE) | CFX_TT_OBJECT_TYPE_RANGE | Object Type Range | 20041027 | |||
| 3 | Instance attribute | Protected | Type reference (TYPE) | I | 0 | Current Index for an Instance | 20041004 | ||
| 4 | Instance attribute | Protected | Type reference (TYPE) | CFX_BOOLEAN | ABAP_TRUE | First/Last Instance Reached | 20041004 | ||
| 5 | Instance attribute | Protected | Type reference (TYPE) | I | 0 | Index of Last Instance | 20041004 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | Add Node | 20041005 | |
| 2 | Instance method | Public | Method | Structures Hierarchy for Root Node | 20041005 | |
| 3 | Instance method | Private | Method | Gets Subnodes | 20041005 | |
| 4 | Instance method | Public | Method | All Instances | 20041004 | |
| 5 | Instance method | Public | Method | Number of Instances Corresponding to the Filter | 20041004 | |
| 6 | Instance method | Public | Method | Get Current Node | 20041004 | |
| 7 | Instance method | Public | Method | Get First Node | 20041004 | |
| 8 | Instance method | Public | Method | Last Node | 20041004 | |
| 9 | Instance method | Public | Method | Gets the Level in the hierarchy | 20070411 | |
| 10 | Instance method | Public | Method | Get Next Node | 20041004 | |
| 11 | Instance method | Public | Method | Get Previous Node | 20041004 | |
| 12 | Instance method | Public | Method | Final or First Node Has Been Reached | 20041004 | |
| 13 | Instance method | Public | Method | Sort Object 1 Under Object 2 | 20041018 | |
| 14 | Instance method | Private | Method | Registers Children for Node in Hierarchy Table | 20041005 | |
| 15 | Instance method | Public | Method | Delete a node | 20041004 | |
| 16 | Instance method | Public | Method | Delete All Nodes | 20041004 | |
| 17 | Instance method | Public | Method | Determine Current Nodes | 20041004 |
Events
Class CL_CFX_HIERARCHY has no event.
Types
Class CL_CFX_HIERARCHY has no local type.
Method Signatures
Method ADD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_NODE_IS_RECURSIVE | Call by reference | Type reference (TYPE) | CFX_BOOLEAN | 'X' = Knoten abgelehnt, da er rekursive Struktur erzeugt | 20050711 | |||
| 2 | IP_INSTANCE | Call by reference | Object reference (TYPE REF TO) | IF_CFX_HIERARCHY_ELEMENT | Gemeinsame Schnittstelle aller Objekte in der Hierarchie | 20041005 | |||
| 3 | IP_PARENT | Call by reference | Object reference (TYPE REF TO) | IF_CFX_HIERARCHY_ELEMENT | Gemeinsame Schnittstelle aller Objekte in der Hierarchie | 20041027 | |||
| 4 | I_LEVEL | Call by reference | Type reference (TYPE) | INT4 | Natürliche Zahl | 20041005 |
Method ADD on class CL_CFX_HIERARCHY has no exception.
Method CREATE_HIERARCHY_FOR_ROOT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_IS_INCOMPLETE | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20070917 | ||||
| 2 | IP_ROOT | Value transfer | Object reference (TYPE REF TO) | IF_CFX_HIERARCHY_ELEMENT | Gemeinsame Schnittstelle aller Objekte in der Hierarchie | 20041005 | |||
| 3 | IT_OBJECT_TYPE_RANGE | Call by reference | Type reference (TYPE) | CFX_TT_OBJECT_TYPE_RANGE | Objekttyp-Range | 20041027 | |||
| 4 | I_CREATE_FOR_EXPORT | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20070917 | |||
| 5 | I_MAX_EXPLOSION_LEVEL | Call by reference | Type reference (TYPE) | INT4 | Maximale Auflösungstufe | 20041005 |
Method CREATE_HIERARCHY_FOR_ROOT on class CL_CFX_HIERARCHY has no exception.
Method EXPLODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_IS_INCOMPLETE | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20070917 | ||||
| 2 | IP_PARENT | Call by reference | Object reference (TYPE REF TO) | IF_CFX_HIERARCHY_ELEMENT | Gemeinsame Schnittstelle aller Objekte in der Hierarchie | 20041005 | |||
| 3 | I_CREATE_FOR_EXPORT | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20070917 | |||
| 4 | I_EXPLOSION_LEVEL | Call by reference | Type reference (TYPE) | INT4 | 0 | Aktuelle Auflösungsstufe | 20041005 | ||
| 5 | I_MAX_EXPLOSION_LEVEL | Call by reference | Type reference (TYPE) | INT4 | Maximale Auflösungsstufe | 20041005 |
Method EXPLODE on class CL_CFX_HIERARCHY has no exception.
Method GET_ALL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RT_HIERARCHY_ELEMENTS | Value transfer | Type reference (TYPE) | CFX_TT_HIERARCHY | Knoten in der Hierarchie | 20041004 |
Method GET_ALL on class CL_CFX_HIERARCHY has no exception.
Method GET_COUNT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_COUNT | Value transfer | Type reference (TYPE) | I | Anzahl der Instanzen | 20041004 |
Method GET_COUNT on class CL_CFX_HIERARCHY has no exception.
Method GET_CURRENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RS_NODE | Value transfer | Type reference (TYPE) | CFX_TS_HIERARCHY | Knoten in der Hierarchie | 20041005 |
Method GET_CURRENT on class CL_CFX_HIERARCHY has no exception.
Method GET_FIRST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RS_NODE | Value transfer | Type reference (TYPE) | CFX_TS_HIERARCHY | Knoten in der Hierarchie | 20041005 |
Method GET_FIRST on class CL_CFX_HIERARCHY has no exception.
Method GET_LAST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RS_NODE | Value transfer | Type reference (TYPE) | CFX_TS_HIERARCHY | Knoten in der Hierarchie | 20041005 |
Method GET_LAST on class CL_CFX_HIERARCHY has no exception.
Method GET_LEVEL_IN_HIERARCHY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_HLEVEL | Call by reference | Type reference (TYPE) | INT4 | Natural number | 20070411 | |||
| 2 | IP_INSTANCE | Call by reference | Object reference (TYPE REF TO) | IF_CFX_HIERARCHY_ELEMENT | Common Interface of All Objects in the Hierarchy | 20070411 |
Method GET_LEVEL_IN_HIERARCHY on class CL_CFX_HIERARCHY has no exception.
Method GET_NEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RS_NODE | Value transfer | Type reference (TYPE) | CFX_TS_HIERARCHY | Knoten in der Hierarchie | 20041005 |
Method GET_NEXT on class CL_CFX_HIERARCHY has no exception.
Method GET_PREVIOUS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RS_NODE | Value transfer | Type reference (TYPE) | CFX_TS_HIERARCHY | Knoten in der Hierarchie | 20041005 |
Method GET_PREVIOUS on class CL_CFX_HIERARCHY has no exception.
Method IS_DONE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_IS_DONE | Value transfer | Type reference (TYPE) | CFX_BOOLEAN | Boolscher Typ | 20041004 |
Method IS_DONE on class CL_CFX_HIERARCHY has no exception.
Method MOVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IP_ELEMENT1 | Call by reference | Object reference (TYPE REF TO) | IF_CFX_HIERARCHY_ELEMENT | Gemeinsame Schnittstelle aller Objekte in der Hierarchie | 20041018 | |||
| 2 | IP_ELEMENT2 | Call by reference | Object reference (TYPE REF TO) | IF_CFX_HIERARCHY_ELEMENT | Gemeinsame Schnittstelle aller Objekte in der Hierarchie | 20041018 | |||
| 3 | I_BELOW | Call by reference | Type reference (TYPE) | ABAP_BOOL | Sortiert El1 unter El2 ein wenn wahr | 20041018 |
Method MOVE on class CL_CFX_HIERARCHY has no exception.
Method REGISTER_CHILDREN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IP_CHILDREN | Call by reference | Object reference (TYPE REF TO) | CL_CFX_ITERATOR | Untergeordnete Knoten | 20041005 | |||
| 2 | IP_NODE | Value transfer | Object reference (TYPE REF TO) | IF_CFX_HIERARCHY_ELEMENT | Gemeinsame Schnittstelle aller Objekte in der Hierarchie | 20041005 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Instance ist nicht im Container enthalten | 20041005 |
Method REMOVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IP_INSTANCE | Value transfer | Object reference (TYPE REF TO) | IF_CFX_HIERARCHY_ELEMENT | Gemeinsame Schnittstelle aller Objekte in der Hierarchie | 20041004 |
Method REMOVE on class CL_CFX_HIERARCHY has no exception.
Method REMOVE_ALL Signature
Method REMOVE_ALL on class CL_CFX_HIERARCHY has no parameter.
Method REMOVE_ALL on class CL_CFX_HIERARCHY has no exception.
Method SET_CURRENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IP_INSTANCE | Value transfer | Object reference (TYPE REF TO) | IF_CFX_HIERARCHY_ELEMENT | Gemeinsame Schnittstelle aller Objekte in der Hierarchie | 20041004 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Instance ist nicht im Container enthalten | 20041004 |
History
| Last changed by/on | SAP | 20141109 |
| SAP Release Created in | 400 |