Hierarchy
⤷
⤷
Properties
| Class | CL_WCF_UST_SERVICES | |
| Short Description | Services for CST | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | WCF_UST_CORE | Central Sharing Tool - Core Objects |
| Created | 20090813 | SAP |
| Last change | 20110908 | SAP |
| 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) | |
| 2 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
Interfaces
Class CL_WCF_UST_SERVICES has no interface implemented.
Friends
Class CL_WCF_UST_SERVICES has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Protected | Object reference (TYPE REF TO) | CL_WCF_UST_CONST | UST Constants | 20090813 | |||
| 2 | Static Attribute | Protected | Object reference (TYPE REF TO) | CL_WCF_UST_SERVICES | Services for UST | 20090813 | |||
| 3 | Static Attribute | Private | Type reference (TYPE) | BOOLEAN | ABAP_FALSE | Function profile value | 20091117 | ||
| 4 | Static Attribute | Protected | Type reference (TYPE) | STRING | 20091117 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20090813 | |
| 2 | Static method | Public | Method | Returns all business role defined for a given user | 20090925 | |
| 3 | Static method | Public | Method | Returns the source of user's roles | 20091019 | |
| 4 | Static method | Public | Method | Returns business role associated to a organization unit | 20090925 | |
| 5 | Static method | Public | Method | Returns business role associated to a organization position | 20090925 | |
| 6 | Static method | Private | Method | Returns children object of a given orgarnization object | 20090820 | |
| 7 | Static method | Public | Method | Returns business role the user is currently using | 20090819 | |
| 8 | Static method | Public | Method | Returns organization the user is currently using, if any | 20090925 | |
| 9 | Static method | Public | Method | Returns organization position user is currently using if any | 20090819 | |
| 10 | Static method | Public | Method | Returns current timestamp | 20090813 | |
| 11 | Static method | Public | Method | Returns the singleton instance. | 20090813 | |
| 12 | Static method | Public | Method | Creates a new id | 20090813 | |
| 13 | Static method | Public | Method | Returns all Organization structure | 20090819 | |
| 14 | Static method | Public | Method | Returns text for a given organization element | 20090819 | |
| 15 | Static method | Public | Method | Returns organization from a given position | 20090925 | |
| 16 | Static method | Public | Method | Returns recipient description | 20091007 | |
| 17 | Static method | Public | Method | Returns Regular expression corresponding to provided pattern | 20090827 | |
| 18 | Static method | Public | Method | Returns role description | 20091007 | |
| 19 | Static method | Public | Method | Returns role corresponding to recipient | 20091013 | |
| 20 | Static method | Public | Method | Returns user first & last name | 20090828 | |
| 21 | Static method | Public | Method | Returns true if sharing is enabled for current user | 20091008 | |
| 22 | Static method | Protected | Method | Returns true if advance sharer is allowed for a role | 20091008 | |
| 23 | Static method | Public | Method | Returns true if sharing is enabled for current user | 20091008 | |
| 24 | Static method | Protected | Method | Returns true if recipient is allowed for a role | 20091008 | |
| 25 | Static method | Public | Method | Returns true if share Draft is enabled | 20091006 | |
| 26 | Static method | Public | Method | Returns true if provided instance is of the given class name | 20090901 | |
| 27 | Static method | Public | Method | Returns true if sharing is enabled for current user | 20100302 | |
| 28 | Static method | Protected | Method | Returns true if advance sharer is allowed for a role | 20100302 | |
| 29 | Static method | Public | Method | Does user is a recipient for a given recipient list | 20091118 | |
| 30 | Static method | Public | Method | Returns true if a given search is in central (Launcher) | 20091028 | |
| 31 | Static method | Protected | Method | Returns true if sharer is allowed for a role | 20091008 | |
| 32 | Static method | Public | Method | Returns true if sharing is enabled for current user | 20091001 | |
| 33 | Static method | Private | Method | Loads function profile value | 20091117 | |
| 34 | Static method | Public | Method | Returns true if a given role actually exists | 20091125 |
Events
Class CL_WCF_UST_SERVICES has no event.
Types
Class CL_WCF_UST_SERVICES has no local type.
Method Signatures
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_WCF_UST_SERVICES has no parameter.
Method CLASS_CONSTRUCTOR on class CL_WCF_UST_SERVICES has no exception.
Method GET_BUSINESS_ROLES_FOR_USER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_USER | Call by reference | Type reference (TYPE) | SYUNAME | User Name | 20090928 | |||
| 2 | RT_ROLES | Value transfer | Type reference (TYPE) | CRMT_UI_PROFILE_TAB | Business Role | 20090928 |
Method GET_BUSINESS_ROLES_FOR_USER on class CL_WCF_UST_SERVICES has no exception.
Method GET_BUSINESS_ROLES_SOURCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_USER | Call by reference | Type reference (TYPE) | SYUNAME | User Name | 20091019 | |||
| 2 | RV_SOURCE | Value transfer | Type reference (TYPE) | CRMT_UI_PROFILE_SOURCE | Source of the Available Business Roles | 20091019 |
Method GET_BUSINESS_ROLES_SOURCE on class CL_WCF_UST_SERVICES has no exception.
Method GET_BUSINESS_ROLE_FOR_ORG_UNIT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_UNIT | Call by reference | Type reference (TYPE) | WCF_UST_ORG_OBJECT_ID | Organization object id (Org unit, postion, user) | 20090928 | |||
| 2 | RV_ROLE | Value transfer | Type reference (TYPE) | CRMT_UI_PROFILE | Business Role | 20090928 |
Method GET_BUSINESS_ROLE_FOR_ORG_UNIT on class CL_WCF_UST_SERVICES has no exception.
Method GET_BUSINESS_ROLE_FOR_POSITION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_POSITION | Call by reference | Type reference (TYPE) | WCF_UST_ORG_OBJECT_ID | Organization object id (Org unit, postion, user) | 20090928 | |||
| 2 | RV_ROLE | Value transfer | Type reference (TYPE) | CRMT_UI_PROFILE | Business Role | 20090928 |
Method GET_BUSINESS_ROLE_FOR_POSITION on class CL_WCF_UST_SERVICES has no exception.
Method GET_CHILDREN_ORG_OBJECTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_ORG_OBJECT | Call by reference | Type reference (TYPE) | WCF_USTS_ORGANIZATION | Organization structure | 20090820 | |||
| 2 | IV_INCLUDE_USERS | Call by reference | Type reference (TYPE) | BOOLEAN | ABAP_FALSE | Include users in returned organization objects | 20090820 | ||
| 3 | RT_CHILDREN | Value transfer | Type reference (TYPE) | WCF_USTT_ORGANIZATION | Organization structure | 20090820 |
Method GET_CHILDREN_ORG_OBJECTS on class CL_WCF_UST_SERVICES has no exception.
Method GET_CURRENT_BUSINESS_ROLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_ROLE | Value transfer | Type reference (TYPE) | CRMT_UI_PROFILE | Business Role | 20090819 |
Method GET_CURRENT_BUSINESS_ROLE on class CL_WCF_UST_SERVICES has no exception.
Method GET_CURRENT_ORGANIZATION_UNIT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_ORGANIZATION | Value transfer | Type reference (TYPE) | WCF_UST_ORG_OBJECT_ID | Organization unit | 20090925 |
Method GET_CURRENT_ORGANIZATION_UNIT on class CL_WCF_UST_SERVICES has no exception.
Method GET_CURRENT_ORG_POSITION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_POSITION | Value transfer | Type reference (TYPE) | WCF_UST_ORG_OBJECT_ID | Position in Organization unit | 20090819 |
Method GET_CURRENT_ORG_POSITION on class CL_WCF_UST_SERVICES has no exception.
Method GET_CURRENT_TIMESTAMP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_TIMESTAMP | Value transfer | Type reference (TYPE) | WCF_UST_TIMESTAMP | Creation timestamp | 20090813 |
Method GET_CURRENT_TIMESTAMP on class CL_WCF_UST_SERVICES 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_WCF_UST_SERVICES | Services for UST | 20090813 |
Method GET_INSTANCE on class CL_WCF_UST_SERVICES has no exception.
Method GET_NEW_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_ID | Value transfer | Type reference (TYPE) | WCF_UST_ID | Unique Id | 20090813 |
Method GET_NEW_ID on class CL_WCF_UST_SERVICES has no exception.
Method GET_ORG_STRUCTURE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_INCLUDE_USERS | Call by reference | Type reference (TYPE) | BOOLEAN | ABAP_FALSE | Include users in returned organization objects | 20090820 | ||
| 2 | RT_ORGANIZATION | Value transfer | Type reference (TYPE) | WCF_USTT_ORGANIZATION | Organization structure | 20090820 |
Method GET_ORG_STRUCTURE on class CL_WCF_UST_SERVICES has no exception.
Method GET_ORG_TEXTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_LONG_TEXT | Call by reference | Type reference (TYPE) | WCF_UST_NAME | Text | 20090819 | |||
| 2 | EV_SHORT_TEXT | Call by reference | Type reference (TYPE) | WCF_UST_NAME | Text | 20090819 | |||
| 3 | IV_ORG_OBJECT_ID | Call by reference | Type reference (TYPE) | WCF_UST_ORG_OBJECT_ID | Organization unit | 20090819 | |||
| 4 | IV_ORG_OBJECT_TYPE | Call by reference | Type reference (TYPE) | WCF_UST_ORG_OBJECT_TYPE | CL_WCF_UST_CONST=>GC_ORG_UNIT_TYPE_ORGANIZATION | Object Type | 20090819 |
Method GET_ORG_TEXTS on class CL_WCF_UST_SERVICES has no exception.
Method GET_ORG_UNIT_FROM_POSITION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_POSITION | Call by reference | Type reference (TYPE) | WCF_UST_ORG_OBJECT_ID | Object ID | 20090925 | |||
| 2 | RV_ORGANIZATION | Value transfer | Type reference (TYPE) | WCF_UST_ORG_OBJECT_ID | Object ID | 20090925 |
Method GET_ORG_UNIT_FROM_POSITION on class CL_WCF_UST_SERVICES has no exception.
Method GET_RECIPIENT_DESCRIPTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_RECIPIENT | Call by reference | Type reference (TYPE) | WCF_USTS_RECIPIENT | Share distribution list | 20091007 | |||
| 2 | RV_DESCRIPTION | Value transfer | Type reference (TYPE) | WCF_UST_DESCRIPTION | Item Description | 20091007 |
Method GET_RECIPIENT_DESCRIPTION on class CL_WCF_UST_SERVICES has no exception.
Method GET_REGEX Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_PATTERN | Call by reference | Type reference (TYPE) | STRING | 20090827 | ||||
| 2 | RV_REGEX | Value transfer | Type reference (TYPE) | STRING | 20090827 |
Method GET_REGEX on class CL_WCF_UST_SERVICES has no exception.
Method GET_ROLE_DESCRIPTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ROLE | Call by reference | Type reference (TYPE) | CRMT_UI_PROFILE | Business Role | 20091007 | |||
| 2 | RV_DESCRIPTION | Value transfer | Type reference (TYPE) | CRMT_UI_DESCRIPTION30 | Description | 20091007 |
Method GET_ROLE_DESCRIPTION on class CL_WCF_UST_SERVICES has no exception.
Method GET_ROLE_FOR_RECIPIENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_RECIPIENT | Call by reference | Type reference (TYPE) | WCF_USTS_RECIPIENT | Share distribution list | 20091013 | |||
| 2 | RT_ROLES | Value transfer | Type reference (TYPE) | CRMT_UI_PROFILE_TAB | Business Roles | 20091013 |
Method GET_ROLE_FOR_RECIPIENT on class CL_WCF_UST_SERVICES has no exception.
Method GET_USER_NAMES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_USERNAME | Call by reference | Type reference (TYPE) | WCF_UST_USER | User Name | 20090828 | |||
| 2 | RV_NAMES | Value transfer | Type reference (TYPE) | WCF_UST_NAME | First & Last name | 20090828 |
Method GET_USER_NAMES on class CL_WCF_UST_SERVICES has no exception.
Method IS_ADVANCED_SHARING_ENABLED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_USER | Call by reference | Type reference (TYPE) | SYUNAME | SY-UNAME | User Name | 20091008 | ||
| 2 | RV_ENABLED | Value transfer | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20091008 |
Method IS_ADVANCED_SHARING_ENABLED on class CL_WCF_UST_SERVICES has no exception.
Method IS_ADV_SHARER_ENABLED_FOR_ROLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_IS_ENABLED | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20091008 |
Method IS_ADV_SHARER_ENABLED_FOR_ROLE on class CL_WCF_UST_SERVICES has no exception.
Method IS_CST_ENABLED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_USER | Call by reference | Type reference (TYPE) | SYUNAME | SY-UNAME | User Name | 20091008 | ||
| 2 | RV_ENABLED | Value transfer | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20091008 |
Method IS_CST_ENABLED on class CL_WCF_UST_SERVICES has no exception.
Method IS_CST_ENABLED_FOR_ROLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_IS_ENABLED | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20091008 |
Method IS_CST_ENABLED_FOR_ROLE on class CL_WCF_UST_SERVICES has no exception.
Method IS_DRAFT_ENABLED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_ENABLED | Value transfer | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20091006 |
Method IS_DRAFT_ENABLED on class CL_WCF_UST_SERVICES has no exception.
Method IS_INSTANCE_OF Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_INSTANCE | Call by reference | Object reference (TYPE REF TO) | OBJECT | 20090901 | ||||
| 2 | IV_CLASS_NAME | Call by reference | Type reference (TYPE) | SEOCLSNAME | Object Type Name | 20090901 | |||
| 3 | RV_IS_INSTANCE | Value transfer | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20090901 |
Method IS_INSTANCE_OF on class CL_WCF_UST_SERVICES has no exception.
Method IS_RECIPIENT_ENABLED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_USER | Call by reference | Type reference (TYPE) | SYUNAME | SY-UNAME | User Name | 20100302 | ||
| 2 | RV_ENABLED | Value transfer | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20100302 |
Method IS_RECIPIENT_ENABLED on class CL_WCF_UST_SERVICES has no exception.
Method IS_RECIPIENT_ENABLED_FOR_ROLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_IS_ENABLED | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20100302 |
Method IS_RECIPIENT_ENABLED_FOR_ROLE on class CL_WCF_UST_SERVICES has no exception.
Method IS_RECIPIENT_FOR_SHARE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_RECIPIENTS | Call by reference | Type reference (TYPE) | WCF_USTT_RECIPIENT | Share distribution list | 20091118 | |||
| 2 | IV_USER | Call by reference | Type reference (TYPE) | SYUNAME | User Name | 20091118 | |||
| 3 | RV_IS_RECIPIENT | Value transfer | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20091118 |
Method IS_RECIPIENT_FOR_SHARE on class CL_WCF_UST_SERVICES has no exception.
Method IS_SEARCH_CENTRAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_SEARCH_ID | Call by reference | Type reference (TYPE) | GUID_32 | GUID in 'CHAR' Format in Uppercase | 20091028 | |||
| 2 | IV_USER | Call by reference | Type reference (TYPE) | SYUNAME | SY-UNAME | User Name | 20091028 | ||
| 3 | RV_IN_CENTRAL | Value transfer | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20091028 |
Method IS_SEARCH_CENTRAL on class CL_WCF_UST_SERVICES has no exception.
Method IS_SHARER_ENABLED_FOR_ROLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_IS_ENABLED | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20091008 |
Method IS_SHARER_ENABLED_FOR_ROLE on class CL_WCF_UST_SERVICES has no exception.
Method IS_SHARING_ENABLED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_USER | Call by reference | Type reference (TYPE) | SYUNAME | SY-UNAME | User Name | 20091001 | ||
| 2 | RV_ENABLED | Value transfer | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20091001 |
Method IS_SHARING_ENABLED on class CL_WCF_UST_SERVICES has no exception.
Method LOAD_FUNCTION_PROFILE Signature
Method LOAD_FUNCTION_PROFILE on class CL_WCF_UST_SERVICES has no parameter.
Method LOAD_FUNCTION_PROFILE on class CL_WCF_UST_SERVICES has no exception.
Method ROLE_EXISTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ROLE | Call by reference | Type reference (TYPE) | CRMT_UI_PROFILE | Business Role | 20091125 | |||
| 2 | RV_EXISTS | Value transfer | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20091125 |
Method ROLE_EXISTS on class CL_WCF_UST_SERVICES has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 701 |