SAP ABAP Class CL_SRM_XML_REC_MODEL_CACHE (Cache for Record Models)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-SRV-RM (Application Component) SAP Records Management
     SRM_XML_BR_MD_FP (Package) XML, Browser, Modeler, File Plan
Properties
Class CL_SRM_XML_REC_MODEL_CACHE  
Short Description Cache for Record Models    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status P  SAP Standard Production Program 
Category 0   
Package SRM_XML_BR_MD_FP   XML, Browser, Modeler, File Plan 
Created 20050330   SAP 
Last change 20050519   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_SRM_XML_REC_MODEL_CACHE has no forward declaration.
Interfaces
Class CL_SRM_XML_REC_MODEL_CACHE has no interface implemented.
Friends
Class CL_SRM_XML_REC_MODEL_CACHE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CACHE_SIZE Instance attribute Private Type reference (TYPE) I Size of the Cache 20050419
2 CACHE_TAB Instance attribute Private Type reference (TYPE) TYPE_CACHE_TAB Cache 20050419
Methods
# Method Level Visibility Method type Description Created on
1 ADD_MODEL_TO_CACHE Instance method Public Method Inserts the Record Model to the Cache 20050419
2 CONSTRUCTOR Instance method Public Constructor Constructor 20050419
3 DELETE_OLDEST_ENTRY Instance method Private Method Delete Oldest Entry from the Cache 20050419
4 GET_PHYSICAL_VERSION Instance method Private Method Read the Physical Version of a Document 20050419
5 IS_MODEL_IN_CACHE Instance method Public Method Checks if a record model is in the cache 20050419
6 SET_MODEL_FROM_CACHE Instance method Public Method Set Record Model from the Cache 20050419
Events
Class CL_SRM_XML_REC_MODEL_CACHE has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TYPE_CACHE Private See coding 20050419 BEGIN OF type_cache, id TYPE string, semantic_id TYPE string, ixml_document TYPE REF TO if_ixml_document, version type string, timestamp TYPE timestamp, END OF type_cache
2 TYPE_CACHE_TAB Private See coding 20050419 type_cache_tab TYPE HASHED TABLE OF type_cache WITH UNIQUE KEY id
Method Signatures

Method ADD_MODEL_TO_CACHE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_DOCUMENT Call by reference Object reference (TYPE REF TO) IF_SRM_DOCUMENT GSP 2: interface document 20050419
2 Importing IM_MODEL Call by reference Object reference (TYPE REF TO) CL_SRM_XML_SUPER common methods 20050419
3 Importing IM_MODEL_DOC_ID Call by reference Type reference (TYPE) STRING 20050419

Method ADD_MODEL_TO_CACHE on class CL_SRM_XML_REC_MODEL_CACHE has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_CACHE_SIZE Call by reference Type reference (TYPE) I 1 Cache-Groesse 20050419

Method CONSTRUCTOR on class CL_SRM_XML_REC_MODEL_CACHE has no exception.

Method DELETE_OLDEST_ENTRY Signature

Method DELETE_OLDEST_ENTRY on class CL_SRM_XML_REC_MODEL_CACHE has no parameter.
Method DELETE_OLDEST_ENTRY on class CL_SRM_XML_REC_MODEL_CACHE has no exception.

Method GET_PHYSICAL_VERSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_DOCUMENT Call by reference Object reference (TYPE REF TO) IF_SRM_DOCUMENT GSP 2: interface document 20050419
2 Returning RE_VERSION Value transfer Type reference (TYPE) STRING 20050419

Method GET_PHYSICAL_VERSION on class CL_SRM_XML_REC_MODEL_CACHE has no exception.

Method IS_MODEL_IN_CACHE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_DOCUMENT Call by reference Object reference (TYPE REF TO) IF_SRM_DOCUMENT GSP 2: interface document 20050419
2 Importing IM_DOC_ID Call by reference Type reference (TYPE) STRING DocId 20050419
3 Returning RE_IS_IN_CACHE Value transfer Type reference (TYPE) SRMBOOLEAN Boolean: Mögliche Werte IF_SRM=>TRUE / FALSE 20050419

Method IS_MODEL_IN_CACHE on class CL_SRM_XML_REC_MODEL_CACHE has no exception.

Method SET_MODEL_FROM_CACHE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_MODEL Call by reference Object reference (TYPE REF TO) CL_SRM_XML_SUPER xml 20050419
2 Importing IM_MODEL_DOC_ID Call by reference Type reference (TYPE) STRING DocId 20050419
# Exception Resumable Description Created on
1 CX_SRM_XML_REC_MODEL_CACHE Ausnahmen zum Aktenmodell-Cache 20050419
History
Last changed by/on SAP  20050519 
SAP Release Created in