SAP ABAP Class CL_PAK_LOCKED_OBJECTS (List of this session's locked objects)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-ABA-LA (Application Component) Syntax, Compiler, Runtime
⤷
SPAK_WB_FOUNDATION (Package) Framework for integrating the APIs with the ABAP Workbench
⤷
⤷
Properties
| Class | CL_PAK_LOCKED_OBJECTS | |
| Short Description | List of this session's locked objects | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SPAK_WB_FOUNDATION | Framework for integrating the APIs with the ABAP Workbench |
| Created | 20050506 | SAP |
| Last change | 20071217 | SAP |
| 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) |
Interfaces
Class CL_PAK_LOCKED_OBJECTS has no interface implemented.
Friends
Class CL_PAK_LOCKED_OBJECTS has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Private | Type reference (TYPE) | TY_LOCKED_OBJECT_LIST | List of currently locked objects | 20050506 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Adds an object to the list of locked objects | 20050506 | |
| 2 | Static method | Public | Method | Returns whether an object exists in the list | 20050506 | |
| 3 | Static method | Public | Method | Removes an object from the list of locked objects | 20050506 | |
| 4 | Static method | Public | Method | Looks up an object from the list | 20050506 |
Events
Class CL_PAK_LOCKED_OBJECTS has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_LOCKED_OBJECT | Private | See coding | 20050506 | begin of TY_LOCKED_OBJECT,
type type trobjtype,
name type string,
object type ref to if_pak_wb_object_internal,
end of ty_locked_object
|
||
| 2 | TY_LOCKED_OBJECT_LIST | Private | See coding | 20050506 | ty_locked_object_list type hashed table of ty_locked_object with unique key type name
|
Method Signatures
Method ADD_OBJECT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_NAME | Call by reference | Type reference (TYPE) | CLIKE | The name of the object to add | 20050506 | |||
| 2 | IM_OBJECT | Call by reference | Object reference (TYPE REF TO) | IF_PAK_WB_OBJECT_INTERNAL | The workbench object to add | 20050506 | |||
| 3 | IM_TYPE | Call by reference | Type reference (TYPE) | TROBJTYPE | The class of the object to add ("workbench type") | 20050506 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Method can not be executed at present object state | 20060613 |
Method CONTAINS_OBJECT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_NAME | Call by reference | Type reference (TYPE) | CLIKE | The name of the object to search in the list | 20050506 | |||
| 2 | IM_TYPE | Call by reference | Type reference (TYPE) | TROBJTYPE | The type of the object to search in the list | 20050506 | |||
| 3 | RE_CONTAINS_OBJECT | Value transfer | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE if the object is in the list | 20050506 |
Method CONTAINS_OBJECT on class CL_PAK_LOCKED_OBJECTS has no exception.
Method DELETE_OBJECT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_NAME | Call by reference | Type reference (TYPE) | CLIKE | The name of the object to remove | 20050506 | |||
| 2 | IM_TYPE | Call by reference | Type reference (TYPE) | TROBJTYPE | The type of the object to remove | 20050506 |
Method DELETE_OBJECT on class CL_PAK_LOCKED_OBJECTS has no exception.
Method GET_OBJECT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_NAME | Call by reference | Type reference (TYPE) | CLIKE | The name of the object to return | 20050506 | |||
| 2 | IM_TYPE | Call by reference | Type reference (TYPE) | TROBJTYPE | The type of the object to return | 20050506 | |||
| 3 | RE_OBJECT | Value transfer | Object reference (TYPE REF TO) | IF_PAK_WB_OBJECT_INTERNAL | The requested object from the list | 20050506 |
Method GET_OBJECT on class CL_PAK_LOCKED_OBJECTS has no exception.
History
| Last changed by/on | SAP | 20071217 |
| SAP Release Created in | 710 |