SAP ABAP Class CL_ADT_RES_VERSION (Base class for wb object which support versioning)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-DWB-AIE-SRC (Application Component) ABAP Source Code editors in ABAP in Eclipse
     SEO_ADT (Package) ABAP Develeopment Tools integration for Class Builder
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_ADT_REST_RESOURCE Basis Class for ADT Resource Controllers 20110228
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_RSO_RES_TLOGO_HISTORY BW TLOGO object history 20130426
2 Inheritance (c INHERITING FROM c_ref)  CL_SRC_ADT_RES_VERSION Resource Source Objects Versions 20110228
Properties
Class CL_ADT_RES_VERSION  
Short Description Base class for wb object which support versioning    
Super Class CL_ADT_REST_RESOURCE Basis Class for ADT Resource Controllers 
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SEO_ADT   ABAP Develeopment Tools integration for Class Builder 
Created 20110209   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_ADT_RES_VERSION has no forward declaration.
Interfaces
Class CL_ADT_RES_VERSION has no interface implemented.
Friends
Class CL_ADT_RES_VERSION has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CO_RES_TYPE_VERSION Constant Public Type reference (TYPE) STRING 'Version' 20110228
2 CO_VERSIONNUMBER Constant Public Type reference (TYPE) STRING 'versionnumber' 20110228
3 CO_VERSIONTIMESTAMP Constant Public Type reference (TYPE) STRING 'timestamp' 20110228
4 CO_XML_NAMESPACE_PREFIX Constant Public Type reference (TYPE) STRING 'adtcore' 20110302
5 IS_SAP_SYSTEM Instance attribute Private Type reference (TYPE) ABAP_BOOL 20120210
6 VERSION_INFO_PROVIDER Instance attribute Private Object reference (TYPE REF TO) IF_WB_OBJECT_VERSION_PROVIDER 20110228
Methods
# Method Level Visibility Method type Description Created on
1 ADD_AUTHOR_TO_FEED_ENTRY Instance method Protected Method 20120210
2 CONSTRUCTOR Instance method Public Constructor 20110228
3 CONVERT_TIMESTAMP_TO_SYST Instance method Protected Method 20110303
4 CONVERT_TIMESTAMP_TO_UTC Instance method Protected Method 20110302
5 GENERATE_VERSION_CONTENT_URI Instance method Protected Method Returns the URI for accessing the version content 20110228
6 GENERATE_VERSION_FEED Instance method Protected Method Generates the ATOM feed 20110228
7 GET_HANDLER_FOR_VERS_CONTENT Instance method Protected Method Returns the content handler for serializing the version 20110228
8 GET_VERSION_CONTENT Instance method Private Method Returns the content for the given version id 20110228
9 GET_VERSION_LIST Instance method Private Method Returns list of version for given source object 20110228
10 GET_VERS_CONTENT_DATA_REF Instance method Protected Method Returns the version data type 20110228
11 GET_WB_OBJECT_FOR_URI Instance method Private Method Maps URI to wb object 20110228
12 VALIDATE_REQUEST_VERS_CONTENT Instance method Protected Method Validates the request for the version content 20110228
13 VALIDATE_REQUEST_VERS_LIST Instance method Protected Method Validates the request for the version list 20110228
Events
Class CL_ADT_RES_VERSION has no event.
Types
Class CL_ADT_RES_VERSION has no local type.
Method Signatures

Method ADD_AUTHOR_TO_FEED_ENTRY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing AUTHOR_NAME Call by reference Type reference (TYPE) SYUNAME 20120210
2 Changing FEED_ENTRY Call by reference Type reference (TYPE) IF_ATOM_TYPES=>ENTRY_S 20120210

Method ADD_AUTHOR_TO_FEED_ENTRY on class CL_ADT_RES_VERSION has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing SAP_SYSTEM_FLAG Call by reference Type reference (TYPE) ABAP_BOOL 20120210
2 Importing VERSION_INFO_PROVIDER Call by reference Object reference (TYPE REF TO) IF_WB_OBJECT_VERSION_PROVIDER 20110228

Method CONSTRUCTOR on class CL_ADT_RES_VERSION has no exception.

Method CONVERT_TIMESTAMP_TO_SYST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RESULT Value transfer Type reference (TYPE) TIMESTAMP 20110303
2 Importing TIMESTAMP Call by reference Type reference (TYPE) TIMESTAMP 20110303

Method CONVERT_TIMESTAMP_TO_SYST on class CL_ADT_RES_VERSION has no exception.

Method CONVERT_TIMESTAMP_TO_UTC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RESULT Value transfer Type reference (TYPE) TIMESTAMP 20110302
2 Importing TIMESTAMP Call by reference Type reference (TYPE) TIMESTAMP 20110302

Method CONVERT_TIMESTAMP_TO_UTC on class CL_ADT_RES_VERSION has no exception.

Method GENERATE_VERSION_CONTENT_URI Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RESULT Value transfer Type reference (TYPE) STRING 20110228
2 Importing TIMESTAMP Call by reference Type reference (TYPE) TIMESTAMP 20110228
3 Importing URI Call by reference Type reference (TYPE) STRING 20110228
4 Importing VERSION_ID Call by reference Type reference (TYPE) STRING 20110228

Method GENERATE_VERSION_CONTENT_URI on class CL_ADT_RES_VERSION has no exception.

Method GENERATE_VERSION_FEED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RESULT Value transfer Type reference (TYPE) IF_ATOM_TYPES=>FEED_S 20110228
2 Importing URI Call by reference Type reference (TYPE) STRING 20110228
3 Importing VERSIONS Call by reference Object reference (TYPE REF TO) IF_WB_OBJECT_VERSION_LIST 20110228
# Exception Resumable Description Created on
1 CX_WB_OBJECT_VERSIONING 20110228

Method GET_HANDLER_FOR_VERS_CONTENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RESULT Value transfer Object reference (TYPE REF TO) IF_ADT_REST_CONTENT_HANDLER 20110228

Method GET_HANDLER_FOR_VERS_CONTENT on class CL_ADT_RES_VERSION has no exception.

Method GET_VERSION_CONTENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing REQUEST Call by reference Object reference (TYPE REF TO) IF_ADT_REST_REQUEST 20110228
2 Importing RESPONSE Call by reference Object reference (TYPE REF TO) IF_ADT_REST_RESPONSE 20110228
# Exception Resumable Description Created on
1 CX_ADT_REST 20110228

Method GET_VERSION_LIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing REQUEST Call by reference Object reference (TYPE REF TO) IF_ADT_REST_REQUEST 20110228
2 Importing RESPONSE Call by reference Object reference (TYPE REF TO) IF_ADT_REST_RESPONSE 20110228
# Exception Resumable Description Created on
1 CX_ADT_REST 20110228

Method GET_VERS_CONTENT_DATA_REF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RESULT Value transfer Object reference (TYPE REF TO) DATA 20110228

Method GET_VERS_CONTENT_DATA_REF on class CL_ADT_RES_VERSION has no exception.

Method GET_WB_OBJECT_FOR_URI Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RESULT Value transfer Object reference (TYPE REF TO) CL_WB_OBJECT 20110228
2 Importing URI Call by reference Type reference (TYPE) STRING 20110228
# Exception Resumable Description Created on
1 CX_ADT_RES_NOT_FOUND 20110228

Method VALIDATE_REQUEST_VERS_CONTENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing REQUEST Call by reference Object reference (TYPE REF TO) IF_ADT_REST_REQUEST 20110228
# Exception Resumable Description Created on
1 CX_ADT_REST 20110228

Method VALIDATE_REQUEST_VERS_LIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing REQUEST Call by reference Object reference (TYPE REF TO) IF_ADT_REST_REQUEST 20110228
# Exception Resumable Description Created on
1 CX_ADT_REST 20110228
History
Last changed by/on SAP  20130531 
SAP Release Created in