SAP ABAP Class CL_CNV_MBT_NE_CO_USR_SETNGS_CO (Controller class for user notification settings popup)
Hierarchy
☛
DMIS (Software Component) DMIS 2011_1
⤷
CA-EUR (Application Component) European Monetary Union: Euro
⤷
CNV_MBT_NOTIFICATION_ENGINE_CO (Package) ...
⤷
⤷
Properties
| Class | CL_CNV_MBT_NE_CO_USR_SETNGS_CO | |
| Short Description | Controller class for user notification settings popup | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | CNV_MBT_NOTIFICATION_ENGINE_CO | ... |
| Created | 20130828 | SAP |
| Last change | 20141030 | |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_CNV_MBT_NE_CO_USR_SETNGS_CO has no interface implemented.
Friends
Class CL_CNV_MBT_NE_CO_USR_SETNGS_CO has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | TYPENAME | 'CHAN_EMAIL_REG' | Name of Dictionary type | 20130917 | ||
| 2 | Constant | Public | Type reference (TYPE) | TYPENAME | 'CHAN_SAPDOC_REG' | Name of Dictionary type | 20130917 | ||
| 3 | Constant | Public | Type reference (TYPE) | TYPENAME | 'CHAN_SMS_REG' | Name of Dictionary type | 20130917 | ||
| 4 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_CNV_MBT_NE_CO_USR_SETNGS_CO | Controller class for user notification settings popup | 20130917 | |||
| 5 | Instance attribute | Public | Type reference (TYPE) | CNV_MBT_NE_CO_S_CHAN_VIS | Visibility of notification channels | 20130917 | |||
| 6 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_CNV_MBT_NE_CHANNEL | Channel Interface for Notifications | 20130917 | |||
| 7 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_CNV_MBT_NE_MANAGER | Change Manager Class | 20130917 | |||
| 8 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_CNV_MBT_NE_OBSERVER | Observer Class Implementing Subscriptions to Notifications | 20130917 | |||
| 9 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_CNV_MBT_NE_CHANNEL | Channel Interface for Notifications | 20130917 | |||
| 10 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_CNV_MBT_NE_CHANNEL | Channel Interface for Notifications | 20130917 | |||
| 11 | Instance attribute | Private | Type reference (TYPE) | CNV_MBT_NE_CO_T_EVENT_SETTINGS | Table of event settings | 20130917 | |||
| 12 | Instance attribute | Private | Type reference (TYPE) | CNV_MBT_NE_CO_SETTINGS_INHER | Settings of Notification engine are inherited | 20140116 | |||
| 13 | Instance attribute | Private | Type reference (TYPE) | CNV_MBT_NE_CO_NOT_ENAB | Flag if user has enabled notifications | 20130917 | |||
| 14 | Instance attribute | Private | Type reference (TYPE) | CNV_MBT_COT_OBJECT_GUID | SLO COT Object GUID | 20130917 | |||
| 15 | Instance attribute | Private | Type reference (TYPE) | CNV_MBT_COT_OBJECT_GUID | SLO COT Object GUID | 20140116 | |||
| 16 | Static Attribute | Private | Type reference (TYPE) | CNV_MBT_NE_CO_T_EVENT_SETTINGS | Table of event settings | 20140123 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Check if user receives notifications for that object | 20130917 | |
| 2 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20130917 | |
| 3 | Instance method | Public | Method | Discard the current changes on the notification settings | 20130917 | |
| 4 | Instance method | Private | Method | Fetch Notification Settings from DB | 20130917 | |
| 5 | Instance method | Private | Method | Fetch Notification Settings from DB | 20130917 | |
| 6 | Instance method | Public | Method | Get the users contact data | 20130917 | |
| 7 | Static method | Public | Method | Get unique instance | 20130917 | |
| 8 | Instance method | Public | Method | Get the packages the project is linked to | 20140221 | |
| 9 | Instance method | Public | Method | Get the notification settings | 20130917 | |
| 10 | Instance method | Public | Method | Save changes to DB | 20130917 | |
| 11 | Instance method | Public | Method | Set the scope for the user settings | 20130917 | |
| 12 | Instance method | Public | Method | Get the notification settings | 20130917 |
Events
Class CL_CNV_MBT_NE_CO_USR_SETNGS_CO has no event.
Types
Class CL_CNV_MBT_NE_CO_USR_SETNGS_CO has no local type.
Method Signatures
Method CHECK_RECEIVES_NOTIFICATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_MESSAGE | Call by reference | Type reference (TYPE) | STRING | Message in case notifications receiving is switched off | 20130917 | |||
| 2 | EV_MSG_TYPE | Call by reference | Type reference (TYPE) | SY-MSGTY | Messages, message type | 20130917 |
Method CHECK_RECEIVES_NOTIFICATION on class CL_CNV_MBT_NE_CO_USR_SETNGS_CO has no exception.
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_CNV_MBT_NE_CO_USR_SETNGS_CO has no parameter.
Method CLASS_CONSTRUCTOR on class CL_CNV_MBT_NE_CO_USR_SETNGS_CO has no exception.
Method DISCARD_CHANGES Signature
Method DISCARD_CHANGES on class CL_CNV_MBT_NE_CO_USR_SETNGS_CO has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Notification Engine Internal Error | 20130917 | ||
| 2 | Invalid Parameters | 20130917 |
Method FEED_SETTINGS_TO_DB Signature
Method FEED_SETTINGS_TO_DB on class CL_CNV_MBT_NE_CO_USR_SETNGS_CO has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Notification Engine Internal Error | 20130917 | ||
| 2 | Invalid Parameters | 20130917 |
Method FETCH_SETTINGS_FROM_DB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_EVENT_SETTINGS | Call by reference | Type reference (TYPE) | CNV_MBT_NE_CO_T_EVENT_SETTINGS | Table of event settings | 20140116 | |||
| 2 | EV_NOT_ENAB | Call by reference | Type reference (TYPE) | CNV_MBT_NE_CO_NOT_ENAB | Flag if user has enabled notifications | 20140116 | |||
| 3 | IV_SCOPE | Call by reference | Type reference (TYPE) | CNV_MBT_COT_OBJECT_GUID | SLO COT Object GUID | 20140116 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Notification Engine Internal Error | 20130917 | ||
| 2 | Invalid Parameters | 20130917 |
Method GET_CONTACT_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_EMAIL | Call by reference | Type reference (TYPE) | STRING | 20130917 | ||||
| 2 | EV_SMS | Call by reference | Type reference (TYPE) | STRING | 20130917 |
Method GET_CONTACT_DATA on class CL_CNV_MBT_NE_CO_USR_SETNGS_CO has no exception.
Method GET_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RR_INSTANCE | Value transfer | Object reference (TYPE REF TO) | CL_CNV_MBT_NE_CO_USR_SETNGS_CO | Controller class for user notification settings popup | 20130917 |
Method GET_INSTANCE on class CL_CNV_MBT_NE_CO_USR_SETNGS_CO has no exception.
Method GET_LINKED_PACKAGES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RT_PACK | Value transfer | Type reference (TYPE) | CNV_MBT_NE_CO_T_INHER_PACK | Table Type for Packid | 20140221 |
Method GET_LINKED_PACKAGES on class CL_CNV_MBT_NE_CO_USR_SETNGS_CO has no exception.
Method GET_SETTINGS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_EVENT_SETTINGS | Call by reference | Type reference (TYPE) | CNV_MBT_NE_CO_T_EVENT_SETTINGS | Table of event settings | 20130917 | |||
| 2 | EV_INHERITED | Call by reference | Type reference (TYPE) | CNV_MBT_NE_CO_SETTINGS_INHER | Settings of Notification engine are inherited | 20140116 | |||
| 3 | EV_NOT_ENAB | Call by reference | Type reference (TYPE) | CNV_MBT_NE_CO_NOT_ENAB | Flag if user has enabled notifications | 20130917 | |||
| 4 | EV_SET_DEFAULT | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20130917 |
Method GET_SETTINGS on class CL_CNV_MBT_NE_CO_USR_SETNGS_CO has no exception.
Method SAVE_CHANGES Signature
Method SAVE_CHANGES on class CL_CNV_MBT_NE_CO_USR_SETNGS_CO has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Notification Engine Internal Error | 20130917 | ||
| 2 | Invalid Parameters | 20130917 |
Method SET_SCOPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_SCOPE | Call by reference | Type reference (TYPE) | CNV_MBT_COT_OBJECT_GUID | SLO COT Object GUID | 20130917 | |||
| 2 | IV_SCOPE_REF | Call by reference | Type reference (TYPE) | CNV_MBT_COT_OBJECT_GUID | SLO COT Object GUID | 20140116 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Notification Engine Internal Error | 20130917 | ||
| 2 | Invalid Parameters | 20130917 |
Method SET_SETTINGS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_EVENT_SETTINGS | Call by reference | Type reference (TYPE) | CNV_MBT_NE_CO_T_EVENT_SETTINGS | Table of event settings | 20130917 | |||
| 2 | IV_INHERITED | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20140116 | ||||
| 3 | IV_NOT_ENAB | Call by reference | Type reference (TYPE) | CNV_MBT_NE_CO_NOT_ENAB | Flag if user has enabled notifications | 20130917 | |||
| 4 | IV_SET_DEFAULT | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20130917 | ||||
| 5 | RV_CHANGED | Value transfer | Type reference (TYPE) | ABAP_BOOL | Data Changed | 20130917 |
Method SET_SETTINGS on class CL_CNV_MBT_NE_CO_USR_SETNGS_CO has no exception.
History
| Last changed by/on | SAP | 20141030 |
| SAP Release Created in |