SAP ABAP Class CL_WCF_UST_SERVICES (Services for CST)
Hierarchy
WEBCUIF (Software Component) SAP Web UI Framework
   CA-WUI-UI (Application Component) User Interface
     WCF_UST_CORE (Package) Central Sharing Tool - Core Objects
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 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 CL_WCF_UST_CONST 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 SR_CO Static Attribute Protected Object reference (TYPE REF TO) CL_WCF_UST_CONST UST Constants 20090813
2 SR_ME Static Attribute Protected Object reference (TYPE REF TO) CL_WCF_UST_SERVICES Services for UST 20090813
3 SV_FUNCTION_PROFILE_LOADED Static Attribute Private Type reference (TYPE) BOOLEAN ABAP_FALSE Function profile value 20091117
4 SV_FUNCTION_PROFILE_VALUE Static Attribute Protected Type reference (TYPE) STRING 20091117
Methods
# Method Level Visibility Method type Description Created on
1 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20090813
2 GET_BUSINESS_ROLES_FOR_USER Static method Public Method Returns all business role defined for a given user 20090925
3 GET_BUSINESS_ROLES_SOURCE Static method Public Method Returns the source of user's roles 20091019
4 GET_BUSINESS_ROLE_FOR_ORG_UNIT Static method Public Method Returns business role associated to a organization unit 20090925
5 GET_BUSINESS_ROLE_FOR_POSITION Static method Public Method Returns business role associated to a organization position 20090925
6 GET_CHILDREN_ORG_OBJECTS Static method Private Method Returns children object of a given orgarnization object 20090820
7 GET_CURRENT_BUSINESS_ROLE Static method Public Method Returns business role the user is currently using 20090819
8 GET_CURRENT_ORGANIZATION_UNIT Static method Public Method Returns organization the user is currently using, if any 20090925
9 GET_CURRENT_ORG_POSITION Static method Public Method Returns organization position user is currently using if any 20090819
10 GET_CURRENT_TIMESTAMP Static method Public Method Returns current timestamp 20090813
11 GET_INSTANCE Static method Public Method Returns the singleton instance. 20090813
12 GET_NEW_ID Static method Public Method Creates a new id 20090813
13 GET_ORG_STRUCTURE Static method Public Method Returns all Organization structure 20090819
14 GET_ORG_TEXTS Static method Public Method Returns text for a given organization element 20090819
15 GET_ORG_UNIT_FROM_POSITION Static method Public Method Returns organization from a given position 20090925
16 GET_RECIPIENT_DESCRIPTION Static method Public Method Returns recipient description 20091007
17 GET_REGEX Static method Public Method Returns Regular expression corresponding to provided pattern 20090827
18 GET_ROLE_DESCRIPTION Static method Public Method Returns role description 20091007
19 GET_ROLE_FOR_RECIPIENT Static method Public Method Returns role corresponding to recipient 20091013
20 GET_USER_NAMES Static method Public Method Returns user first & last name 20090828
21 IS_ADVANCED_SHARING_ENABLED Static method Public Method Returns true if sharing is enabled for current user 20091008
22 IS_ADV_SHARER_ENABLED_FOR_ROLE Static method Protected Method Returns true if advance sharer is allowed for a role 20091008
23 IS_CST_ENABLED Static method Public Method Returns true if sharing is enabled for current user 20091008
24 IS_CST_ENABLED_FOR_ROLE Static method Protected Method Returns true if recipient is allowed for a role 20091008
25 IS_DRAFT_ENABLED Static method Public Method Returns true if share Draft is enabled 20091006
26 IS_INSTANCE_OF Static method Public Method Returns true if provided instance is of the given class name 20090901
27 IS_RECIPIENT_ENABLED Static method Public Method Returns true if sharing is enabled for current user 20100302
28 IS_RECIPIENT_ENABLED_FOR_ROLE Static method Protected Method Returns true if advance sharer is allowed for a role 20100302
29 IS_RECIPIENT_FOR_SHARE Static method Public Method Does user is a recipient for a given recipient list 20091118
30 IS_SEARCH_CENTRAL Static method Public Method Returns true if a given search is in central (Launcher) 20091028
31 IS_SHARER_ENABLED_FOR_ROLE Static method Protected Method Returns true if sharer is allowed for a role 20091008
32 IS_SHARING_ENABLED Static method Public Method Returns true if sharing is enabled for current user 20091001
33 LOAD_FUNCTION_PROFILE Static method Private Method Loads function profile value 20091117
34 ROLE_EXISTS 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 Importing IV_USER Call by reference Type reference (TYPE) SYUNAME User Name 20090928
2 Returning 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 Importing IV_USER Call by reference Type reference (TYPE) SYUNAME User Name 20091019
2 Returning 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 Importing IV_UNIT Call by reference Type reference (TYPE) WCF_UST_ORG_OBJECT_ID Organization object id (Org unit, postion, user) 20090928
2 Returning 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 Importing IV_POSITION Call by reference Type reference (TYPE) WCF_UST_ORG_OBJECT_ID Organization object id (Org unit, postion, user) 20090928
2 Returning 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 Importing IS_ORG_OBJECT Call by reference Type reference (TYPE) WCF_USTS_ORGANIZATION Organization structure 20090820
2 Importing IV_INCLUDE_USERS Call by reference Type reference (TYPE) BOOLEAN ABAP_FALSE Include users in returned organization objects 20090820
3 Returning 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 Returning 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 Returning 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 Returning 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 Returning 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 Returning 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 Returning 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 Importing IV_INCLUDE_USERS Call by reference Type reference (TYPE) BOOLEAN ABAP_FALSE Include users in returned organization objects 20090820
2 Returning 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 Exporting EV_LONG_TEXT Call by reference Type reference (TYPE) WCF_UST_NAME Text 20090819
2 Exporting EV_SHORT_TEXT Call by reference Type reference (TYPE) WCF_UST_NAME Text 20090819
3 Importing IV_ORG_OBJECT_ID Call by reference Type reference (TYPE) WCF_UST_ORG_OBJECT_ID Organization unit 20090819
4 Importing 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 Importing IV_POSITION Call by reference Type reference (TYPE) WCF_UST_ORG_OBJECT_ID Object ID 20090925
2 Returning 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 Importing IS_RECIPIENT Call by reference Type reference (TYPE) WCF_USTS_RECIPIENT Share distribution list 20091007
2 Returning 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 Importing IV_PATTERN Call by reference Type reference (TYPE) STRING 20090827
2 Returning 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 Importing IV_ROLE Call by reference Type reference (TYPE) CRMT_UI_PROFILE Business Role 20091007
2 Returning 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 Importing IS_RECIPIENT Call by reference Type reference (TYPE) WCF_USTS_RECIPIENT Share distribution list 20091013
2 Returning 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 Importing IV_USERNAME Call by reference Type reference (TYPE) WCF_UST_USER User Name 20090828
2 Returning 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 Importing IV_USER Call by reference Type reference (TYPE) SYUNAME SY-UNAME User Name 20091008
2 Returning 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 Returning 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 Importing IV_USER Call by reference Type reference (TYPE) SYUNAME SY-UNAME User Name 20091008
2 Returning 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 Returning 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 Returning 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 Importing IR_INSTANCE Call by reference Object reference (TYPE REF TO) OBJECT 20090901
2 Importing IV_CLASS_NAME Call by reference Type reference (TYPE) SEOCLSNAME Object Type Name 20090901
3 Returning 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 Importing IV_USER Call by reference Type reference (TYPE) SYUNAME SY-UNAME User Name 20100302
2 Returning 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 Returning 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 Importing IT_RECIPIENTS Call by reference Type reference (TYPE) WCF_USTT_RECIPIENT Share distribution list 20091118
2 Importing IV_USER Call by reference Type reference (TYPE) SYUNAME User Name 20091118
3 Returning 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 Importing IV_SEARCH_ID Call by reference Type reference (TYPE) GUID_32 GUID in 'CHAR' Format in Uppercase 20091028
2 Importing IV_USER Call by reference Type reference (TYPE) SYUNAME SY-UNAME User Name 20091028
3 Returning 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 Returning 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 Importing IV_USER Call by reference Type reference (TYPE) SYUNAME SY-UNAME User Name 20091001
2 Returning 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 Importing IV_ROLE Call by reference Type reference (TYPE) CRMT_UI_PROFILE Business Role 20091125
2 Returning 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