SAP ABAP Class CL_CLS_ASSIGNMENT_CACHE (Cache for classifications)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-DWB-UTL-CLS (Application Component) Classification Toolset
     SPAK_API_CLASSIFICATION (Package) API for Classification Tool Set
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_CLS_ASSIGNMENT_CACHE Cache for classifications 20070313
Properties
Class CL_CLS_ASSIGNMENT_CACHE  
Short Description Cache for classifications    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SPAK_API_CLASSIFICATION   API for Classification Tool Set 
Created 20070313   SAP 
Last change 20090618   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_CLS_ASSIGNMENT_CACHE has no forward declaration.
Interfaces
# Interface Abstract Final Description Created on
1 IF_CLS_ASSIGNMENT_CACHE Cache for classifications 20070313
Friends
Class CL_CLS_ASSIGNMENT_CACHE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 ACCESS_COUNTER Instance attribute Private Type reference (TYPE) I 20070313
2 ASSIGNMENT_CACHE Instance attribute Private Type reference (TYPE) TY_CACHED_ASSIGNMENTS 20070313
3 HIT_COUNTER Instance attribute Private Type reference (TYPE) I 20070313
4 ID_CACHE Instance attribute Private Type reference (TYPE) TY_CACHED_ID_LIST 20070313
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_ASSIGNMENT_EXISTENCE Instance method Private Method Checks if needed instance already exists in memory 20070313
2 CHECK_ID_EXISTENCE Instance method Private Method Checks if needed instance already exists in memory 20070313
3 GET_ASSIGNMENT_OBJECT Instance method Public Method Returns an existing classification 20070313
Events
Class CL_CLS_ASSIGNMENT_CACHE has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TY_CACHED_ASSIGNMENT Private See coding 20070313 begin of ty_cached_assignment, object type pak_object_key, attribute type CLS_ATTRIBUTE_NAME, object_ref type ref to IF_CLS_ATTR_VALUE_ASSIGNMENT, end of ty_cached_assignment
2 TY_CACHED_ASSIGNMENTS Private See coding 20070313 ty_cached_assignments type hashed table of ty_cached_assignment with unique key object attribute
3 TY_CACHED_ID Private See coding 20070313 begin of ty_cached_id, id type GUID_32, object_ref type ref to IF_CLS_ATTR_VALUE_ASSIGNMENT, end of ty_cached_id
4 TY_CACHED_ID_LIST Private See coding 20070313 ty_cached_id_list type hashed table of ty_cached_id with unique key id
Method Signatures

Method CHECK_ASSIGNMENT_EXISTENCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_ATTRIBUTE Call by reference Type reference (TYPE) CLS_ATTRIBUTE_NAME Characteristic 20070313
2 Importing IM_OBJECT Call by reference Type reference (TYPE) PAK_OBJECT_KEY Object 20070313
3 Returning RE_ASSIGNMENT Value transfer Object reference (TYPE REF TO) IF_CLS_ATTR_VALUE_ASSIGNMENT Attribute value assignment 20070313

Method CHECK_ASSIGNMENT_EXISTENCE on class CL_CLS_ASSIGNMENT_CACHE has no exception.

Method CHECK_ID_EXISTENCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_ID Call by reference Type reference (TYPE) GUID_32 Name of an object; e.g. package name, interface name 20070313
2 Returning RE_OBJECT Value transfer Object reference (TYPE REF TO) IF_CLS_ATTR_VALUE_ASSIGNMENT Attribute value assignment 20070313

Method CHECK_ID_EXISTENCE on class CL_CLS_ASSIGNMENT_CACHE has no exception.

Method GET_ASSIGNMENT_OBJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_ASSIGNMENT_ID Call by reference Type reference (TYPE) GUID_32 GUID in 'CHAR' Format in Uppercase 20070313
2 Importing IM_ATTRIBUTE Call by reference Type reference (TYPE) CLS_ATTRIBUTE_NAME Attribute 20070313
3 Importing IM_OBJECT Call by reference Type reference (TYPE) PAK_OBJECT_KEY Object 20070313
4 Importing IM_PACKAGE Call by reference Type reference (TYPE) DEVCLASS Package 20070313
5 Returning RE_ASSIGNMENT Value transfer Object reference (TYPE REF TO) IF_CLS_ATTR_VALUE_ASSIGNMENT Instance representing the group 20070313
# Exception Resumable Description Created on
1 CX_PAK_INVALID_DATA Invalid package data 20070313
2 CX_PAK_INVALID_STATE Operation can't be executed in present object state 20070313
3 CX_PAK_NOT_AUTHORIZED User does not have the right privileges 20070313
History
Last changed by/on SAP  20090618 
SAP Release Created in 710