SAP ABAP Class CL_SMI_ODATA_XML_CONVERTER (Extracts & Converts DOM of OData XML to ABAP)
Hierarchy
SAP_UI (Software Component) User Interface Technology
   CA-UI2-AR-SM (Application Component) SAP UI Integration - Social Media Collaboration Enablement
     AR_702_SM_SERVICES (Package) UI AR - Social Media Data Provider Impl. (Rel. Dependent)
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_SMI_ODATA_XML_CONVERTER SMI XML converter (XML->SMI data types for Gateway) 20130530
Properties
Class CL_SMI_ODATA_XML_CONVERTER  
Short Description Extracts & Converts DOM of OData XML to ABAP    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package AR_702_SM_SERVICES   UI AR - Social Media Data Provider Impl. (Rel. Dependent) 
Created 20130530   SAP 
Last change 20141120    
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 CL_SM_INTEGRATION_MPC Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
3 CL_SM_INTEGRATION_MPC_EXT Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
4 IF_SMI_ODATA_XML_CONVERTER Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
# Interface Abstract Final Description Created on
1 IF_SMI_ODATA_XML_CONVERTER SMI XML converter (XML->SMI data types for Gateway) 20130530
Friends
Class CL_SMI_ODATA_XML_CONVERTER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MV_ODATA_METADATA_NAMESPACE Instance attribute Private Type reference (TYPE) STRING 20130530
Methods
# Method Level Visibility Method type Description Created on
1 EDM_BOOLEAN_TO_C Instance method Private Method Converts OData boolean simple type string to ABAP type. 20130530
2 EDM_DATETIMEOFFSET_TO_P Instance method Private Method Converts OData datetimeoffset simple type to ABAP type. 20130530
3 EDM_INT32_TO_I Instance method Private Method Converts OData integer32 simple type string to ABAP type. 20130530
4 GET_ENTITY_CATEGORY Instance method Private Method Returns the category of the entity 20130610
5 GET_GROUP_ID_FROM_XML Instance method Private Method Get the group id from the xml document 20130710
6 GET_ODATA_METADATA_NAMESPACE Instance method Private Method Returns the OData Metadata Namespace URI 20130530
7 GET_USER_BY_EMAIL Instance method Private Method Returns the first SAPUSER associated with given email 20130709
8 NOTIFICATION_TO_NOTICE Instance method Private Method Converts a notification node into a notice structure. 20131025
9 PROPERTIES_NODES_TO_GROUPS Instance method Private Method Converts a collection of nodes into group structures 20130530
10 PROPERTIES_NODES_TO_MEMBERS Instance method Private Method Converts a collection of nodes into member structures 20130530
11 PROPERTIES_NODES_TO_NOTICES Instance method Private Method Converts a collection of nodes into notice structures 20130912
12 PROPERTIES_NODE_TO_FEEDENTRY Instance method Private Method Converts a single properties node into a feedentry structure 20130829
13 PROPERTIES_NODE_TO_MEMBER Instance method Private Method Converts a single properties node into a member structure 20130530
14 PROPERTIES_NODE_TO_NOTICE Instance method Private Method Converts a single properties node into a notice structure 20130912
15 PROPS_NODES_TO_FEEDENTRIES Instance method Private Method Converts a collection of nodes into feedentry structures 20130917
16 PROPS_NODES_TO_FOLDERS Instance method Private Method Converts a collection of nodes into folder structures 20131029
17 PROPS_NODES_TO_GROUPINVITES Instance method Private Method Converts a collection of nodes into groupinvite structure 20130530
18 PROPS_NODES_TO_GROUPMEMBERS Instance method Private Method Converts a collection of nodes into group member structures 20130604
19 PROPS_NODES_TO_SAPGROUPMEMBERS Instance method Private Method Converts to a group invite list (SAPGroupMember entities) 20130709
20 PROPS_NODE_TO_CONTENTITEM Instance method Private Method Converts a single properties node -> content item structure 20131101
21 PROPS_NODE_TO_EXTERNALOBJECT Instance method Private Method Converts a single properties node ->externalobject structure 20140312
22 PROPS_NODE_TO_FOLDER Instance method Private Method Converts a single properties node -> folder structure 20131029
23 PROPS_NODE_TO_GROUPINVITE Instance method Private Method Converts a single properties node into a groupinvite struct 20130530
24 PROPS_NODE_TO_GROUPMEMBER Instance method Private Method Converts a single properties node -> group member structure 20130604
Events
Class CL_SMI_ODATA_XML_CONVERTER has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TT_IXML_NODES Public See coding 20131024 tt_ixml_nodes type standard table of ref to if_ixml_node
Method Signatures

Method EDM_BOOLEAN_TO_C Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_VALUE Call by reference Type reference (TYPE) STRING OData EDM Boolean simple type instance string. 20130530
2 Returning RV_VALUE Value transfer Type reference (TYPE) ABAP_BOOL ABAP representation of an the input EDM simple type. 20130530

Method EDM_BOOLEAN_TO_C on class CL_SMI_ODATA_XML_CONVERTER has no exception.

Method EDM_DATETIMEOFFSET_TO_P Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_TIMESTAMP Value transfer Type reference (TYPE) P ABAP representation of an the input EDM simple type. 20130530
2 Importing IV_DATE_TIME_OFFSET Call by reference Type reference (TYPE) STRING OData EDM DateTimeOffset simple type instance string. 20130530

Method EDM_DATETIMEOFFSET_TO_P on class CL_SMI_ODATA_XML_CONVERTER has no exception.

Method EDM_INT32_TO_I Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_VALUE Call by reference Type reference (TYPE) STRING OData EDM Int32 simple type instance string. 20130530
2 Returning RV_VALUE Value transfer Type reference (TYPE) I ABAP representation of an the input EDM simple type. 20130530

Method EDM_INT32_TO_I on class CL_SMI_ODATA_XML_CONVERTER has no exception.

Method GET_ENTITY_CATEGORY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_IXML_NODE Call by reference Object reference (TYPE REF TO) IF_IXML_NODE DOM node whose OData entity type is to be determined. 20130610
2 Returning RV_CATEGORY Value transfer Type reference (TYPE) STRING Entity type of the input properties DOM node. 20130610

Method GET_ENTITY_CATEGORY on class CL_SMI_ODATA_XML_CONVERTER has no exception.

Method GET_GROUP_ID_FROM_XML Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_IXML_DOCUMENT Call by reference Object reference (TYPE REF TO) IF_IXML_DOCUMENT DOM from which to extract a group id. 20130710
2 Returning RV_GROUP_ID Value transfer Type reference (TYPE) I Group id extracted from the input DOM. 20130710

Method GET_GROUP_ID_FROM_XML on class CL_SMI_ODATA_XML_CONVERTER has no exception.

Method GET_ODATA_METADATA_NAMESPACE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_IXML_DOCUMENT Call by reference Object reference (TYPE REF TO) IF_IXML_DOCUMENT DOM to extract the OData metadata namespace URI from. 20130530
2 Returning RV_ODATA_METADATA_NAMESPACE Value transfer Type reference (TYPE) STRING OData metadata namespace URI extracted from the input DOM. 20130530

Method GET_ODATA_METADATA_NAMESPACE on class CL_SMI_ODATA_XML_CONVERTER has no exception.

Method GET_USER_BY_EMAIL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_EMAIL Call by reference Type reference (TYPE) STRING EMail of user name to obtain. 20130709
2 Returning RV_USER Value transfer Type reference (TYPE) STRING User name associated to the input email. 20130709

Method GET_USER_BY_EMAIL on class CL_SMI_ODATA_XML_CONVERTER has no exception.

Method NOTIFICATION_TO_NOTICE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_NOTICE Call by reference Type reference (TYPE) CL_SM_INTEGRATION_MPC_EXT=>TS_NOTICE The notice structure generated from the notification node. 20131025
2 Importing IO_NOTIFICATION Call by reference Object reference (TYPE REF TO) IF_IXML_NODE Notification node to use to generate the notice structure. 20131025

Method NOTIFICATION_TO_NOTICE on class CL_SMI_ODATA_XML_CONVERTER has no exception.

Method PROPERTIES_NODES_TO_GROUPS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_GROUPS Call by reference Type reference (TYPE) CL_SM_INTEGRATION_MPC_EXT=>TT_GROUP ABAP representations of Group entities in input DOM. 20130530
2 Importing IO_PROPERTIES_NODES Call by reference Object reference (TYPE REF TO) IF_IXML_NODE_COLLECTION Collection of DOM nodes containing Group entity properties. 20130530

Method PROPERTIES_NODES_TO_GROUPS on class CL_SMI_ODATA_XML_CONVERTER has no exception.

Method PROPERTIES_NODES_TO_MEMBERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MEMBERS Call by reference Type reference (TYPE) CL_SM_INTEGRATION_MPC_EXT=>TT_MEMBER ABAP representations of Member entities in input DOM. 20130530
2 Importing IO_PROPERTIES_NODES Call by reference Object reference (TYPE REF TO) IF_IXML_NODE_COLLECTION Collection of DOM nodes containing Member entity properties. 20130530

Method PROPERTIES_NODES_TO_MEMBERS on class CL_SMI_ODATA_XML_CONVERTER has no exception.

Method PROPERTIES_NODES_TO_NOTICES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_NOTICES Call by reference Type reference (TYPE) CL_SM_INTEGRATION_MPC_EXT=>TT_NOTICE ABAP representations of Notice entities in input DOM. 20130912
2 Importing IO_PROPERTIES_NODES Call by reference Object reference (TYPE REF TO) IF_IXML_NODE_COLLECTION Collection of DOM nodes containing Notice entity properties. 20130912

Method PROPERTIES_NODES_TO_NOTICES on class CL_SMI_ODATA_XML_CONVERTER has no exception.

Method PROPERTIES_NODE_TO_FEEDENTRY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_PROPERTIES_NODE Call by reference Object reference (TYPE REF TO) IF_IXML_NODE DOM node containing a FeedEntry entity's properties. 20130829
2 Returning RS_FEEDENTRY Value transfer Type reference (TYPE) CL_SM_INTEGRATION_MPC_EXT=>TS_FEEDENTRY ABAP representation of input DOM node. 20130829

Method PROPERTIES_NODE_TO_FEEDENTRY on class CL_SMI_ODATA_XML_CONVERTER has no exception.

Method PROPERTIES_NODE_TO_MEMBER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_PROPERTIES_NODE Call by reference Object reference (TYPE REF TO) IF_IXML_NODE DOM node containing a Member entity's properties. 20130530
2 Returning RS_MEMBER Value transfer Type reference (TYPE) CL_SM_INTEGRATION_MPC_EXT=>TS_MEMBER ABAP representation of input DOM node. 20130530

Method PROPERTIES_NODE_TO_MEMBER on class CL_SMI_ODATA_XML_CONVERTER has no exception.

Method PROPERTIES_NODE_TO_NOTICE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_PROPERTIES_NODE Call by reference Object reference (TYPE REF TO) IF_IXML_NODE DOM node containing a Notice entity's properties. 20130912
2 Returning RS_NOTICE Value transfer Type reference (TYPE) CL_SM_INTEGRATION_MPC_EXT=>TS_NOTICE ABAP representation of input DOM node. 20130912

Method PROPERTIES_NODE_TO_NOTICE on class CL_SMI_ODATA_XML_CONVERTER has no exception.

Method PROPS_NODES_TO_FEEDENTRIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_FEEDENTRIES Call by reference Type reference (TYPE) CL_SM_INTEGRATION_MPC_EXT=>TT_FEEDENTRY ABAP representations of FeedEntry entities in input DOM. 20130917
2 Importing IO_PROPERTIES_NODES Call by reference Object reference (TYPE REF TO) IF_IXML_NODE_COLLECTION DOM nodes collection containing FeedEntry entity properties. 20130917

Method PROPS_NODES_TO_FEEDENTRIES on class CL_SMI_ODATA_XML_CONVERTER has no exception.

Method PROPS_NODES_TO_FOLDERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_FOLDERS Call by reference Type reference (TYPE) CL_SM_INTEGRATION_MPC_EXT=>TT_FOLDER ABAP representations of GroupMember entities in input DOM. 20131029
2 Importing IO_PROPERTIES_NODES Call by reference Object reference (TYPE REF TO) IF_IXML_NODE_COLLECTION DOM nodes containing GroupMember entity properties. 20131029

Method PROPS_NODES_TO_FOLDERS on class CL_SMI_ODATA_XML_CONVERTER has no exception.

Method PROPS_NODES_TO_GROUPINVITES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_GROUPINVITES Call by reference Type reference (TYPE) CL_SM_INTEGRATION_MPC_EXT=>TT_GROUPINVITE ABAP representations of GroupInvite entities in input DOM. 20130530
2 Importing IO_PROPERTIES_NODES Call by reference Object reference (TYPE REF TO) IF_IXML_NODE_COLLECTION DOM nodes containing GroupInvite entity properties. 20130530

Method PROPS_NODES_TO_GROUPINVITES on class CL_SMI_ODATA_XML_CONVERTER has no exception.

Method PROPS_NODES_TO_GROUPMEMBERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_GROUPMEMBERS Call by reference Type reference (TYPE) CL_SM_INTEGRATION_MPC_EXT=>TT_GROUPMEMBER ABAP representations of GroupMember entities in input DOM. 20130604
2 Importing IO_PROPERTIES_NODES Call by reference Object reference (TYPE REF TO) IF_IXML_NODE_COLLECTION DOM nodes containing GroupMember entity properties. 20130604

Method PROPS_NODES_TO_GROUPMEMBERS on class CL_SMI_ODATA_XML_CONVERTER has no exception.

Method PROPS_NODES_TO_SAPGROUPMEMBERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_SAPGROUPMEMBERS Call by reference Type reference (TYPE) CL_SM_INTEGRATION_MPC_EXT=>TT_SAPGROUPMEMBER SAPJamGroup built from the GroupMember and Member entities. 20130709
2 Importing IO_PROPERTIES_NODES Call by reference Object reference (TYPE REF TO) IF_IXML_NODE_COLLECTION Collection of Member and GroupMember DOM nodes. dsk kdm kdsm 20130709
3 Importing IV_GROUP_ID Call by reference Type reference (TYPE) I Group id used to get the GroupMember and Member entities. 20130709

Method PROPS_NODES_TO_SAPGROUPMEMBERS on class CL_SMI_ODATA_XML_CONVERTER has no exception.

Method PROPS_NODE_TO_CONTENTITEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_PROPERTIES_NODE Call by reference Object reference (TYPE REF TO) IF_IXML_NODE DOM node containing a ContentItem entity's properties. 20131101
2 Returning RS_CONTENTITEM Value transfer Type reference (TYPE) CL_SM_INTEGRATION_MPC_EXT=>TS_CONTENTITEM ABAP representation of input DOM node. 20131101

Method PROPS_NODE_TO_CONTENTITEM on class CL_SMI_ODATA_XML_CONVERTER has no exception.

Method PROPS_NODE_TO_EXTERNALOBJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_PROPERTIES_NODE Call by reference Object reference (TYPE REF TO) IF_IXML_NODE DOM node containing an ExternlObject entity's properties. 20140312
2 Returning RS_EXTERNALOBJECT Value transfer Type reference (TYPE) CL_SM_INTEGRATION_MPC_EXT=>TS_EXTERNALOBJECT ABAP representation of input DOM node. 20140312

Method PROPS_NODE_TO_EXTERNALOBJECT on class CL_SMI_ODATA_XML_CONVERTER has no exception.

Method PROPS_NODE_TO_FOLDER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_PROPERTIES_NODE Call by reference Object reference (TYPE REF TO) IF_IXML_NODE DOM node containing a GroupMember entity's properties. 20131029
2 Returning RS_FOLDER Value transfer Type reference (TYPE) CL_SM_INTEGRATION_MPC_EXT=>TS_FOLDER ABAP representation of input DOM node. 20131029

Method PROPS_NODE_TO_FOLDER on class CL_SMI_ODATA_XML_CONVERTER has no exception.

Method PROPS_NODE_TO_GROUPINVITE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_PROPERTIES_NODE Call by reference Object reference (TYPE REF TO) IF_IXML_NODE DOM node containing a GroupInvite entity's properties. 20130530
2 Returning RS_GROUPINVITE Value transfer Type reference (TYPE) CL_SM_INTEGRATION_MPC_EXT=>TS_GROUPINVITE ABAP representation of input DOM node. 20130530

Method PROPS_NODE_TO_GROUPINVITE on class CL_SMI_ODATA_XML_CONVERTER has no exception.

Method PROPS_NODE_TO_GROUPMEMBER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_PROPERTIES_NODE Call by reference Object reference (TYPE REF TO) IF_IXML_NODE DOM node containing a GroupMember entity's properties. 20130604
2 Returning RS_GROUPMEMBER Value transfer Type reference (TYPE) CL_SM_INTEGRATION_MPC_EXT=>TS_GROUPMEMBER ABAP representation of input DOM node. 20130604

Method PROPS_NODE_TO_GROUPMEMBER on class CL_SMI_ODATA_XML_CONVERTER has no exception.
History
Last changed by/on SAP  20141120 
SAP Release Created in 100