SAP ABAP Class CL_CTS_UI_LOCK_VIEWER (Assistence Class for lock viewer UI)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-CTS-TMS-CTR (Application Component) Central CTS # Transport Management
     SCTS_DIST_CTL_WDUI (Package) Central CTS Web Dynpro UIs
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_WD_COMPONENT_ASSISTANCE Basis for a Web Dynpro assistance class 20110919
Properties
Class CL_CTS_UI_LOCK_VIEWER  
Short Description Assistence Class for lock viewer UI    
Super Class CL_WD_COMPONENT_ASSISTANCE Basis for a Web Dynpro assistance class 
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SCTS_DIST_CTL_WDUI   Central CTS Web Dynpro UIs 
Created 20110919   SAP 
Last change 20140121   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 CL_CTS_TR_LOCK Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
2 IF_CTS_SYSTEM Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
Class CL_CTS_UI_LOCK_VIEWER has no interface implemented.
Friends
Class CL_CTS_UI_LOCK_VIEWER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CO_APPLICATION_ID Constant Public Type reference (TYPE) CHAR40 'default' Character field of length 40 20111128
Methods
# Method Level Visibility Method type Description Created on
1 ADD_LOCK Instance method Public Method Erzeugt eine neue Sperre 20110919
2 CREATE_WL_ENTRY Instance method Public Method creates a whitelist entry for a given lock 20111206
3 FILTER Instance method Public Method Filter eine gegebene Liste von Sperren 20110919
4 GET_LOCKS Instance method Public Method Liefert eine Liste aller Sperren 20110919
5 GET_WHITELIST Instance method Public Method returns the whitelist (UI compatible) for the given lock 20111206
6 REMOVE_LOCK Instance method Public Method Entfernt eine Sperre 20110919
7 REMOVE_WL_ENTRY Instance method Public Method removes a whitelist entry for a given lock 20111206
8 SWITCH_LOCK_STATE Instance method Public Method Ändert den Status (an/aus) der Sperre 20110919
9 SWITCH_WHITELIST_ENABLED Instance method Public Method switches the state of whitelist_enabled of the given lock 20111206
Events
Class CL_CTS_UI_LOCK_VIEWER has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TY_UI_WHITELIST Public See coding 20111206 TY_UI_WHITELIST TYPE STANDARD TABLE OF ty_ui_whitelist_entry WITH DEFAULT KEY
2 TY_UI_WHITELIST_ENTRY Public Type reference (TYPE) CTS_UI_TR_LOCK_WHITELIST 20111206
3 UI_LOCK Public Type reference (TYPE) CTS_UI_TR_LOCK Central CTS: transport locks for CTS lock viewer UI 20110919
4 UI_LOCKS Public Type reference (TYPE) CTS_UI_TR_LOCKS Central CTS: transport locks for CTS lock viewer UI 20110919
Method Signatures

Method ADD_LOCK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_PROJECT Call by reference Object reference (TYPE REF TO) IF_CTS_PROJECT Central CTS: Generic Project 20111128
2 Importing IO_SYSTEM Call by reference Object reference (TYPE REF TO) IF_CTS_SYSTEM General System 20111128
3 Importing IV_SYSTEM Call by reference Type reference (TYPE) IF_CTS_SYSTEM=>TY_NAME 20111128
4 Returning LOCK Value transfer Type reference (TYPE) UI_LOCK 20110919
5 Importing TYPE Call by reference Type reference (TYPE) CL_CTS_TR_LOCK=>LOCK_TYPE The type of a lock, i.e. import or export lock 20110919
# Exception Resumable Description Created on
1 CX_CTS_LANDSCAPE_SYSTEM Exceptions from Handling Systems 20111026
2 CX_CTS_LOCK_DOES_ALREADY_EXIST cCTS: Transport lock does already exist 20111026
3 CX_CTS_NO_AUTHORITY No authorization for this action 20111026
4 CX_CTS_PROJECT Central CTS: Project exception 20111026
5 CX_CTS_TMS_QA_ACTIVE cCTS: Former QA in TMS is active for a system 20111026
6 CX_CTS_TR_LOCKING cCTS: Exception Class for transport locks 20110919

Method CREATE_WL_ENTRY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing LS_LOCK Call by reference Type reference (TYPE) UI_LOCK Central CTS: transport locks for CTS lock viewer UI 20111206
2 Importing LS_WL_ENTRY Call by reference Type reference (TYPE) TY_UI_WHITELIST_ENTRY 20111206
# Exception Resumable Description Created on
1 CX_CTS_NO_AUTHORITY No authorization for this action 20111206
2 CX_CTS_WHITELIST_NOT_ALLOWED cCTS: this lock does not allow whitelist entries 20111206

Method FILTER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing APPLICATION_ID_CONSTRAINT Call by reference Type reference (TYPE) STRING 20110919
2 Importing ATTRIBUTE_CONSTRAINT Call by reference Type reference (TYPE) STRING 20110919
3 Returning FILTERED_LOCKS Value transfer Type reference (TYPE) UI_LOCKS 20110919
4 Importing IS_ACTIVE Call by reference Type reference (TYPE) STRING 20110919
5 Importing OWNER Call by reference Type reference (TYPE) STRING 20110919
6 Importing SYSTEM_CONSTRAINT Call by reference Type reference (TYPE) STRING 20110919
7 Importing TYPE_CONSTRAINT Call by reference Type reference (TYPE) STRING 20110919
8 Importing VALUE_CONSTRAINT Call by reference Type reference (TYPE) STRING 20110919

Method FILTER on class CL_CTS_UI_LOCK_VIEWER has no exception.

Method GET_LOCKS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning LOCKS Value transfer Type reference (TYPE) CTS_UI_TR_LOCKS Central CTS: transport locks for CTS lock viewer UI 20110919

Method GET_LOCKS on class CL_CTS_UI_LOCK_VIEWER has no exception.

Method GET_WHITELIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing LS_UI_LOCK Call by reference Type reference (TYPE) UI_LOCK Central CTS: transport locks for CTS lock viewer UI 20111206
2 Returning RT_UI_WHITELIST Value transfer Type reference (TYPE) TY_UI_WHITELIST 20111206

Method GET_WHITELIST on class CL_CTS_UI_LOCK_VIEWER has no exception.

Method REMOVE_LOCK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_LOCK Call by reference Object reference (TYPE REF TO) CL_CTS_TR_LOCK 20110919
# Exception Resumable Description Created on
1 CX_CTS_NO_AUTHORITY No authorization for this action 20111027
2 CX_CTS_OBJECT_EXCEPTION All external object exceptions 20110919
3 CX_CTS_TR_LOCKING cCTS: Exception Class for transport locks 20110919

Method REMOVE_WL_ENTRY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing LS_LOCK Call by reference Type reference (TYPE) UI_LOCK Central CTS: transport locks for CTS lock viewer UI 20111206
2 Importing LS_WL_ENTRY Call by reference Type reference (TYPE) TY_UI_WHITELIST_ENTRY 20111206
# Exception Resumable Description Created on
1 CX_CTS_NO_AUTHORITY No authorization for this action 20111206
2 CX_CTS_WHITELIST_NOT_ALLOWED cCTS: this lock does not allow whitelist entries 20111206

Method SWITCH_LOCK_STATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing LOCK Call by reference Object reference (TYPE REF TO) CL_CTS_TR_LOCK 20110919
2 Returning STATE Value transfer Type reference (TYPE) BOOLEAN boolsche Variable (X=true, -=false, space=unknown) 20110919

Method SWITCH_LOCK_STATE on class CL_CTS_UI_LOCK_VIEWER has no exception.

Method SWITCH_WHITELIST_ENABLED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_LOCK Call by reference Type reference (TYPE) UI_LOCK Central CTS: transport locks for CTS lock viewer UI 20111206

Method SWITCH_WHITELIST_ENABLED on class CL_CTS_UI_LOCK_VIEWER has no exception.
History
Last changed by/on SAP  20140121 
SAP Release Created in 702