SAP ABAP Class CL_SMI_SOCIALUSERINFO (Social User Info)
Hierarchy
☛
SAP_BS_FND (Software Component) SAP Business Suite Foundation
⤷
CA-EPT-SMI (Application Component) Social Media Intelligence Foundation
⤷
BS_SOMI_DATA_MODELS (Package) Datta Models for Social Media Intelligence
⤷
⤷
Properties
| Class | CL_SMI_SOCIALUSERINFO | |
| Short Description | Social User Info | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | BS_SOMI_DATA_MODELS | Datta Models for Social Media Intelligence |
| Created | 20130218 | SAP |
| Last change | 20131127 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_SMI_SOCIALUSERINFO has no forward declaration.
Interfaces
Class CL_SMI_SOCIALUSERINFO has no interface implemented.
Friends
Class CL_SMI_SOCIALUSERINFO has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_SMI_SOCIALUSERINFO | Social User Info | 20130227 | |||
| 2 | Static Attribute | Private | Type reference (TYPE) | SMI_T_SOCIALUSERINFO_BUFFER | Buffer Table Type for SOCIALUSERINFO | 20130227 | |||
| 3 | Static Attribute | Protected | Type reference (TYPE) | SMI_T_SOCIALUSERINFO_LOCK | Table type for lock mode | 20130227 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Dequeue the lock and clear all the buffer | 20130311 | |
| 2 | Instance method | Public | Method | Check the uniqueness of account and the profile link | 20130503 | |
| 3 | Instance method | Public | Method | Refresh the buffers | 20130227 | |
| 4 | Instance method | Public | Method | Create a particular user info | 20130218 | |
| 5 | Instance method | Public | Method | Delete Social User info | 20130227 | |
| 6 | Instance method | Public | Method | Deletes the surrogate user | 20130503 | |
| 7 | Instance method | Public | Method | Returns the buffer | 20130304 | |
| 8 | Static method | Public | Method | Returns singleton instance | 20130227 | |
| 9 | Instance method | Public | Method | Get a particular user info | 20130218 | |
| 10 | Instance method | Public | Method | Get all user info | 20130219 | |
| 11 | Instance method | Public | Method | Lock record during DB commit | 20130227 | |
| 12 | Instance method | Public | Method | Queries the user info | 20130219 | |
| 13 | Instance method | Public | Method | Queries the user info by range | 20130218 | |
| 14 | Instance method | Public | Method | Save to DB | 20130227 | |
| 15 | Instance method | Private | Method | Dequeue all the lock in this transaction | 20130311 | |
| 16 | Instance method | Public | Method | Update a particular user info | 20130218 |
Events
Class CL_SMI_SOCIALUSERINFO has no event.
Types
Class CL_SMI_SOCIALUSERINFO has no local type.
Method Signatures
Method CANCEL Signature
Method CANCEL on class CL_SMI_SOCIALUSERINFO has no parameter.
Method CANCEL on class CL_SMI_SOCIALUSERINFO has no exception.
Method CHECK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_USER_INFO | Call by reference | Type reference (TYPE) | SMI_S_SOCIALUSERINFO | Structure for socialuserinfo table | 20130503 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Social Media Exception | 20130503 |
Method CLEANUP Signature
Method CLEANUP on class CL_SMI_SOCIALUSERINFO has no parameter.
Method CLEANUP on class CL_SMI_SOCIALUSERINFO has no exception.
Method CREATE_USER_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_SOCIALUSER | Call by reference | Type reference (TYPE) | SMI_SOCIALUSER | Social User ID | 20130321 | |||
| 2 | IS_USER_INFO | Call by reference | Type reference (TYPE) | SMI_S_SOCIALUSERINFO | User Information of the Social Media Channel | 20130218 | |||
| 3 | IV_ISUSERIDSURROGATE | Call by reference | Type reference (TYPE) | SMI_ISUSERIDSURROGATE | Is social user ID surrogate | 20130322 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Social Media Exception | 20130222 | ||
| 2 | Error Class for UUID Processing Errors | 20130321 |
Method DELETE_FROM_BUFFER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_USER_INFO | Call by reference | Type reference (TYPE) | SMI_S_SOCIALUSERINFO | User Information of the Social Media Channel | 20130227 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Social Media Exception | 20130227 |
Method DELETE_SURROGATE_USER_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_SOCIALMEDIACHANNEL | Call by reference | Type reference (TYPE) | SMI_SOCIALMEDIACHANNEL | Social Media Channel Code | 20130503 | |||
| 2 | IV_SURROGATE_SOCIALUSER | Call by reference | Type reference (TYPE) | SMI_SOCIALUSER | Surrogate User ID | 20130503 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Social Media Exception | 20130503 |
Method GET_BUFFER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RT_BUFFER | Value transfer | Type reference (TYPE) | SMI_T_SOCIALUSERINFO_BUFFER | Buffer Table Type for SOCIALUSERINFO | 20130304 |
Method GET_BUFFER on class CL_SMI_SOCIALUSERINFO has no exception.
Method GET_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RO_INSTANCE | Value transfer | Object reference (TYPE REF TO) | CL_SMI_SOCIALUSERINFO | Social User Info | 20130227 |
Method GET_INSTANCE on class CL_SMI_SOCIALUSERINFO has no exception.
Method GET_USER_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_USER_INFO | Call by reference | Type reference (TYPE) | SMI_S_SOCIALUSERINFO | Social User Info | 20130218 | |||
| 2 | IV_CHANNEL_ID | Call by reference | Type reference (TYPE) | SMI_SOCIALMEDIACHANNEL | Social Media Channel Code | 20130218 | |||
| 3 | IV_SOCIAL_USER_ID | Call by reference | Type reference (TYPE) | SMI_SOCIALUSER | Social User ID | 20130218 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Social Media Exception | 20130222 |
Method GET_USER_INFO_TAB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_USER_INFO | Call by reference | Type reference (TYPE) | SMI_T_SOCIALUSERINFO | Social User Data | 20130219 | |||
| 2 | IV_CHANNEL_ID | Call by reference | Type reference (TYPE) | SMI_SOCIALMEDIACHANNEL | Social Media Channel Code | 20130219 | |||
| 3 | IV_SOCIAL_USER_ID | Call by reference | Type reference (TYPE) | SMI_SOCIALUSER | Social User ID | 20130219 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130222 |
Method LOCK_RECORD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_LOCK_MODE | Call by reference | Type reference (TYPE) | ENQMODE | 'X' | Lock mode | 20130227 | ||
| 2 | IV_SOCIALMEDIACHANNEL | Call by reference | Type reference (TYPE) | SOCIALUSERINFO-SOCIALMEDIACHANNEL | Social Media Channel Code | 20130227 | |||
| 3 | IV_SOCIALUSER | Call by reference | Type reference (TYPE) | SOCIALUSERINFO-SOCIALUSER | Social User ID | 20130227 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Social Media Exception | 20130227 |
Method QUERY_USER_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_USER_INFO | Call by reference | Type reference (TYPE) | SMI_T_SOCIALUSERINFO | Table type for Social User Info | 20130219 | |||
| 2 | IV_CHANNEL | Call by reference | Type reference (TYPE) | SMI_SOCIALMEDIACHANNEL | Social Media Channel Code | 20130219 | |||
| 3 | IV_CREATION_DATETIME | Call by reference | Type reference (TYPE) | SMI_CREATIONDATETIME | Post Creation Timestamp | 20130219 | |||
| 4 | IV_ISUSERIDSURROGATE | Call by reference | Type reference (TYPE) | SMI_ISUSERIDSURROGATE | Is social user ID surrogate | 20130321 | |||
| 5 | IV_USER | Call by reference | Type reference (TYPE) | SMI_SOCIALUSER | Social User ID | 20130219 | |||
| 6 | IV_USER_ACCOUNT | Call by reference | Type reference (TYPE) | SMI_SOCIALUSERACCOUNT | Social User Account | 20130219 | |||
| 7 | IV_USER_EMAIL | Call by reference | Type reference (TYPE) | SMI_SOCIALUSEREMAILADDRESS | Social User E-mail Address | 20130219 | |||
| 8 | IV_USER_PROFILE | Call by reference | Type reference (TYPE) | SMI_SOCIALUSERPROFILELINK | Link to user profile in a particular media channel | 20130219 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Social Media Exception | 20130222 |
Method QUERY_USER_INFO_BY_RANGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_USER_INFO | Call by reference | Type reference (TYPE) | SMI_T_SOCIALUSERINFO | Social User Info | 20130218 | |||
| 2 | IT_CHANNEL | Call by reference | Type reference (TYPE) | SMI_T_SOCIALMEDIACHANNEL_RANGE | Range Table for channel | 20130218 | |||
| 3 | IT_CREATION_DATETIME | Call by reference | Type reference (TYPE) | SMI_T_CREATIONDATETIME_RANGE | Creation date time range table | 20130218 | |||
| 4 | IT_USER | Call by reference | Type reference (TYPE) | SMI_T_SOCIALUSER_RANGE | User range table | 20130218 | |||
| 5 | IT_USER_ACCOUNT | Call by reference | Type reference (TYPE) | SMI_T_SOCIALUSERACCOUNT_RANGE | User account range table | 20130218 | |||
| 6 | IT_USER_EMAIL | Call by reference | Type reference (TYPE) | SMI_T_USEREMAILADDRESS_RANGE | Email Range Tab | 20130218 | |||
| 7 | IT_USER_PROFILE | Call by reference | Type reference (TYPE) | SMI_T_PROFILELINK_RANGE | Profile link range table | 20130218 | |||
| 8 | IV_ISUSERIDSURROGATE | Call by reference | Type reference (TYPE) | SMI_ISUSERIDSURROGATE | Is social user ID surrogate | 20130322 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Social Media Exception | 20130222 |
Method SAVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_NO_COMMIT | Call by reference | Type reference (TYPE) | BOOLE_D | Commit changes to DB | 20130227 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Social Media Exception | 20130227 |
Method UNLOCK_ALL Signature
Method UNLOCK_ALL on class CL_SMI_SOCIALUSERINFO has no parameter.
Method UNLOCK_ALL on class CL_SMI_SOCIALUSERINFO has no exception.
Method UPDATE_USER_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_USER_INFO | Call by reference | Type reference (TYPE) | SMI_S_SOCIALUSERINFO | User Information of the Social Media Channel | 20130218 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Social Media Exception | 20130222 |
History
| Last changed by/on | SAP | 20131127 |
| SAP Release Created in | 747 |