SAP ABAP Class IF_STW_ACTIVITY (StreamWork Activity)
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface composition (i COMPRISING i_ref)  IF_STW_FEED_RESOURCE StreamWork Feed Resource 20110914
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Interface composition (i COMPRISING i_ref)  IF_STW_ACTIVITY_INTERNAL StreamWork Activity Internal 20110811
2 Interface implementation (CLASS c. INTERFACES i_ref)  CL_STW_ACTIVITY StreamWork Activity 20110805
3 Interface implementation (CLASS c. INTERFACES i_ref)  TD_STW_GENERAL_ABSTRACT general abstract testdouble to reduce note dependencies 20120504
Properties
Class IF_STW_ACTIVITY  
Short Description StreamWork Activity    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package      
Created 20110729   SAP 
Last change 20130531   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 IF_STW_ACTIVITY Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
3 IF_STW_ITEM Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
4 IF_STW_USER Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
Class IF_STW_ACTIVITY has no interface implemented.
Friends
Class IF_STW_ACTIVITY has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_DUE_DATE Constant Public See coding 20120719
2 GC_INVITABLE Constant Public See coding num invitable of a activity 20110803
3 GC_PRIVACY Constant Public See coding Enum Privacy of a activty 20110803
4 GC_REMINDER Constant Public See coding 20120719
5 GC_SHARING Constant Public See coding Enum Sharing of a activity 20110803
6 GC_STATUS Constant Public See coding 20111005
7 GC_URL_TYPE Constant Public See coding 20110929
8 GC_VISIBLITY Constant Public See coding 20111028
Methods
# Method Level Visibility Method type Description Created on
1 CREATE_ITEM_INSTANCE Instance method Public Method Create Item Instance 20111103
2 CREATE_TASK Instance method Public Method Create Task 20120604
3 FOLLOW Instance method Public Method 20110914
4 GET_CREATED_AT Instance method Public Method Get Attribute "Created at" 20111006
5 GET_CREATOR Instance method Public Method Get the Creator of an Activity 20111005
6 GET_DUE_DATE Instance method Public Method Get Activity Attribute "Due Date" 20120703
7 GET_FOLLOWERS Instance method Public Method 20110914
8 GET_ID Instance method Public Method Get the Activity ID 20110729
9 GET_INVITATIONS Instance method Public Method Get the Pending Participant Invitations of an Activity 20111215
10 GET_ITEMS Instance method Public Method Get Items for the Activity 20111115
11 GET_LINK Instance method Public Method Get the Link to an Activity 20110929
12 GET_NAME Instance method Public Method Get the Activity Name 20110729
13 GET_OWNER Instance method Public Method Get the Owner of the Activity 20110729
14 GET_PARTICIPANTS Instance method Public Method Get the Participants of an Activity 20111005
15 GET_PRIVACY Instance method Public Method Get Activity Attribute "Privacy" 20110804
16 GET_PURPOSE Instance method Public Method Get Activity Description 20110803
17 GET_REMINDER Instance method Public Method Get Activity Attribute "Reminder" 20120703
18 GET_RESOURCE_FEED Instance method Public Method 20110914
19 GET_SHARING Instance method Public Method Get Activity Attribute "Sharing" 20110804
20 GET_STATUS Instance method Public Method Get the Status of an Activity 20111005
21 GET_TAGS Instance method Public Method Get Tags 20111121
22 GET_TASKS Instance method Public Method Get Tasks 20120605
23 GET_UPDATED_AT Instance method Public Method Get Attribute "Updated At" 20111006
24 GET_UPDATE_COUNT Instance method Public Method Get Attribute "Update Count" 20111028
25 GET_VISIBILITY Instance method Public Method Obsolete: Get Attribute "Visibility" 20111028
26 INVITE_PARTICIPANTS Instance method Public Method Invite Participants to an Activity 20110913
27 POST_STATUS_UPDATE Instance method Public Method 20110914
28 REMOVE_PARTICIPANT Instance method Public Method Remove a Participant from an Activity 20111025
29 RESET_EVENT_COUNTER Instance method Public Method Reset the Update Counter for an Activity 20120228
30 SET_DUE_DATE Instance method Public Method Set Due Date and Reminder of Activity 20120708
31 SET_NAME Instance method Public Method Set Name 20120208
32 SET_OWNER Instance method Public Method Set the Owner of the Activity 20120209
33 SET_PRIVACY Instance method Public Method Set Activity Attribute "Privacy" 20120210
34 SET_SHARING Instance method Public Method Set Activity Attribute "Sharing" 20120210
35 SET_STATUS Instance method Public Method Set Status 20111115
36 UNFOLLOW Instance method Public Method 20110914
Events
Class IF_STW_ACTIVITY has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TS_ACTIVITY_TAG Public See coding Activity Tag 20111121 BEGIN OF ts_activity_tag, tag_id TYPE stw_activity_tag_id, tag_value TYPE stw_activity_tag_value, END OF ts_activity_tag
2 TS_EXTERNAL_ENTITY_INFO Public See coding External Reference 20111004 BEGIN OF ts_external_entity_info, external_entity_id TYPE string, external_entity_link_back_url TYPE string, END OF ts_external_entity_info
3 TS_INVITATION_ERROR Public See coding Invitation Error 20110914 BEGIN OF ts_invitation_error, sw_user TYPE REF TO if_stw_user, error TYPE REF TO cx_stw_activity, END OF ts_invitation_error
4 TS_INVITATION_RESULT Public See coding Invitation Result 20110914 BEGIN OF ts_invitation_result, invited_users TYPE if_stw_user=>tt_sw_user, already_participants TYPE if_stw_user=>tt_sw_user, not_invited_users TYPE tt_invitation_error, END OF ts_invitation_result
5 TT_ACTIVITY Public See coding List of Activity References 20111027 tt_activity TYPE STANDARD TABLE OF REF TO if_stw_activity WITH DEFAULT KEY
6 TT_ACTIVITY_ID Public See coding List of Activity IDs 20111027 tt_activity_id TYPE STANDARD TABLE OF stw_activity_id WITH DEFAULT KEY
7 TT_ACTIVITY_TAG Public See coding List of Activity Tags 20111121 tt_activity_tag TYPE STANDARD TABLE OF ts_activity_tag WITH DEFAULT KEY
8 TT_INVITATION_ERROR Public See coding List of Invitation Errors 20110914 tt_invitation_error TYPE STANDARD TABLE OF ts_invitation_error WITH KEY sw_user
9 TV_ACTIVITY_CREATED_AT Public Type reference (TYPE) TIMESTAMP Created at (Timestamp) 20111004
10 TV_ACTIVITY_DUE_DATE Public Type reference (TYPE) STW_ACTIVITY_DUE_DATE StreamWork Activity Due Date 20120702
11 TV_ACTIVITY_DUE_DATE_TS Public Type reference (TYPE) STW_ACTIVITY_DUE_DATE_TS 20120719
12 TV_ACTIVITY_ID Public Type reference (TYPE) STW_ACTIVITY_ID Activity ID 20111103
13 TV_ACTIVITY_INVITABLE Public Type reference (TYPE) STW_ACTIVITY_INVITABLE Invitable in Case of Confidential Privacy 20110803
14 TV_ACTIVITY_NAME Public Type reference (TYPE) STW_ACTIVITY_NAME Activity Name 20110729
15 TV_ACTIVITY_PRIVACY Public Type reference (TYPE) STW_ACTIVITY_PRIVACY Privacy 20110803
16 TV_ACTIVITY_PURPOSE Public Type reference (TYPE) STW_ACTIVITY_PURPOSE Objectives 20110803
17 TV_ACTIVITY_REMINDER Public Type reference (TYPE) STW_ACTIVITY_REMINDER StreamWork Activity Due Date Reminder 20120702
18 TV_ACTIVITY_REMINDER_TS Public Type reference (TYPE) STW_ACTIVITY_REMINDER_TS 20120719
19 TV_ACTIVITY_SHARING Public Type reference (TYPE) STW_ACTIVITY_SHARING Sharing State 20110729
20 TV_ACTIVITY_STATUS Public Type reference (TYPE) STW_ACTIVITY_STATUS Status 20110927
21 TV_ACTIVITY_TEMPLATE_ID Public Type reference (TYPE) STW_ACTIVITY_TEMPLATE_ID Template ID 20110729
22 TV_ACTIVITY_UPDATED_AT Public Type reference (TYPE) TIMESTAMP Updated at (Timestamp) 20111004
23 TV_ACTIVITY_UPDATE_COUNT Public Type reference (TYPE) STW_ACTIVITY_UPDATE_COUNT Update Count 20111026
24 TV_ACTIVITY_URL_TYPE Public Type reference (TYPE) STW_ACTIVITY_URL_TYPE URL Type 20111028
25 TV_ACTIVITY_VISIBILITY Public Type reference (TYPE) STW_ACTIVITY_VISIBLE Visibility of Activity 20111028
Method Signatures

Method CREATE_ITEM_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ITEM_TYPE Call by reference Type reference (TYPE) STW_ITEM_TYPE Item Type 20111107
2 Returning RO_ITEM_INSTANCE Value transfer Object reference (TYPE REF TO) IF_STW_ITEM Item Instance 20111107
# Exception Resumable Description Created on
1 CX_STW_ACTIVITY 20111103
2 CX_STW_ITEM StreamWork Item exceptions 20111107

Method CREATE_TASK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_PARTICIPANT Call by reference Type reference (TYPE) IF_STW_USER=>TT_SW_USER List of Participants 20120604
2 Importing IV_DESCRIPTION Call by reference Type reference (TYPE) STW_TASK_DESCRIPTION Description 20120604
3 Importing IV_DUE_DATE Call by reference Type reference (TYPE) DATS Due Date 20120604
4 Importing IV_TITLE Call by reference Type reference (TYPE) STW_TASK_TITLE Title 20120604
5 Returning RO_TASK Value transfer Object reference (TYPE REF TO) IF_STW_TASK Task (Instance) 20120604
# Exception Resumable Description Created on
1 CX_STW_TASK 20120619

Method FOLLOW Signature

Method FOLLOW on class IF_STW_ACTIVITY has no parameter.
Method FOLLOW on class IF_STW_ACTIVITY has no exception.

Method GET_CREATED_AT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_CREATED_AT Value transfer Type reference (TYPE) IF_STW_ACTIVITY=>TV_ACTIVITY_CREATED_AT Created At (TimeStamp) 20111006
# Exception Resumable Description Created on
1 CX_STW_ACTIVITY 20111006

Method GET_CREATOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RO_CREATOR Value transfer Object reference (TYPE REF TO) IF_STW_USER Creator of the Activity 20111005
# Exception Resumable Description Created on
1 CX_STW_ACTIVITY 20111006

Method GET_DUE_DATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_DUE_DATE Value transfer Type reference (TYPE) STW_ACTIVITY_DUE_DATE 20120703
# Exception Resumable Description Created on
1 CX_STW_ACTIVITY 20120703

Method GET_FOLLOWERS Signature

Method GET_FOLLOWERS on class IF_STW_ACTIVITY has no parameter.
Method GET_FOLLOWERS on class IF_STW_ACTIVITY has no exception.

Method GET_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_ACTIVITY_ID Value transfer Type reference (TYPE) STW_ACTIVITY_ID Activity ID 20110729

Method GET_ID on class IF_STW_ACTIVITY has no exception.

Method GET_INVITATIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_INVITATIONS Value transfer Type reference (TYPE) IF_STW_USER=>TT_SW_USER List of Invitations 20111215
# Exception Resumable Description Created on
1 CX_STW_ACTIVITY 20111215

Method GET_ITEMS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_ITEM Value transfer Type reference (TYPE) IF_STW_ITEM=>TT_ITEM List of Items 20111202
# Exception Resumable Description Created on
1 CX_STW_ACTIVITY StreamWork Activity exceptions 20111115

Method GET_LINK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_URL_TYPE Call by reference Type reference (TYPE) IF_STW_ACTIVITY=>TV_ACTIVITY_URL_TYPE IF_STW_ACTIVITY=>GC_URL_TYPE-DEFAULT URL Type 20110929
2 Returning RV_LINK Value transfer Type reference (TYPE) STW_ENTITY_LINK Link (URL) to Resource 20110929
# Exception Resumable Description Created on
1 CX_STW_ACTIVITY 20110929

Method GET_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_NAME Value transfer Type reference (TYPE) IF_STW_ACTIVITY=>TV_ACTIVITY_NAME Activity Name 20110729
# Exception Resumable Description Created on
1 CX_STW_ACTIVITY 20111006

Method GET_OWNER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RO_OWNER Value transfer Object reference (TYPE REF TO) IF_STW_USER Owner of the Activity 20111005
# Exception Resumable Description Created on
1 CX_STW_ACTIVITY 20111006

Method GET_PARTICIPANTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_PARTICIPANTS Value transfer Type reference (TYPE) IF_STW_USER=>TT_SW_USER List of Participants 20111028
# Exception Resumable Description Created on
1 CX_STW_ACTIVITY 20111006

Method GET_PRIVACY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_PRIVACY Value transfer Type reference (TYPE) IF_STW_ACTIVITY=>TV_ACTIVITY_PRIVACY Privacy of the Activity 20110804
# Exception Resumable Description Created on
1 CX_STW_ACTIVITY 20111006

Method GET_PURPOSE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_PURPOSE Value transfer Type reference (TYPE) IF_STW_ACTIVITY=>TV_ACTIVITY_PURPOSE Purpose of the Activity 20110805
# Exception Resumable Description Created on
1 CX_STW_ACTIVITY 20111006

Method GET_REMINDER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_REMINDER Value transfer Type reference (TYPE) IF_STW_ACTIVITY=>TV_ACTIVITY_REMINDER 20120703
# Exception Resumable Description Created on
1 CX_STW_ACTIVITY 20120703

Method GET_RESOURCE_FEED Signature

Method GET_RESOURCE_FEED on class IF_STW_ACTIVITY has no parameter.
Method GET_RESOURCE_FEED on class IF_STW_ACTIVITY has no exception.

Method GET_SHARING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_SHARING Value transfer Type reference (TYPE) IF_STW_ACTIVITY=>TV_ACTIVITY_SHARING Sharing Attribute of the Activity 20110804
# Exception Resumable Description Created on
1 CX_STW_ACTIVITY 20111006

Method GET_STATUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_STATUS Value transfer Type reference (TYPE) IF_STW_ACTIVITY=>TV_ACTIVITY_STATUS Status of the Activity 20111005
# Exception Resumable Description Created on
1 CX_STW_ACTIVITY 20111006

Method GET_TAGS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_TAG Value transfer Type reference (TYPE) IF_STW_ACTIVITY=>TT_ACTIVITY_TAG List of Tags of the Activity 20111121
# Exception Resumable Description Created on
1 CX_STW_ACTIVITY 20111121

Method GET_TASKS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_TASKS Value transfer Type reference (TYPE) IF_STW_TASK=>TT_TASK List of Tasks of the Activity 20120605
# Exception Resumable Description Created on
1 CX_STW_ACTIVITY 20120605

Method GET_UPDATED_AT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_UPDATED_AT Value transfer Type reference (TYPE) IF_STW_ACTIVITY=>TV_ACTIVITY_UPDATED_AT Activity Updated at (Timestamp) 20111006
# Exception Resumable Description Created on
1 CX_STW_ACTIVITY 20111006

Method GET_UPDATE_COUNT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_UPDATE_COUNT Value transfer Type reference (TYPE) IF_STW_ACTIVITY=>TV_ACTIVITY_UPDATE_COUNT Update Count 20111028
# Exception Resumable Description Created on
1 CX_STW_ACTIVITY 20111028

Method GET_VISIBILITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_VISIBILITY Value transfer Type reference (TYPE) IF_STW_ACTIVITY=>TV_ACTIVITY_VISIBILITY Visibility of the Activity 20111028

Method GET_VISIBILITY on class IF_STW_ACTIVITY has no exception.

Method INVITE_PARTICIPANTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_INVITATION_RESULT Call by reference Type reference (TYPE) IF_STW_ACTIVITY=>TS_INVITATION_RESULT Invitation Result 20110918
2 Importing IT_SW_USER Call by reference Type reference (TYPE) IF_STW_USER=>TT_SW_USER List of StreamWork Users 20110913
# Exception Resumable Description Created on
1 CX_STW_ACTIVITY 20110915

Method POST_STATUS_UPDATE Signature

Method POST_STATUS_UPDATE on class IF_STW_ACTIVITY has no parameter.
Method POST_STATUS_UPDATE on class IF_STW_ACTIVITY has no exception.

Method REMOVE_PARTICIPANT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_SW_USER Call by reference Object reference (TYPE REF TO) IF_STW_USER StreamWork User 20111025
# Exception Resumable Description Created on
1 CX_STW_ACTIVITY 20111025

Method RESET_EVENT_COUNTER Signature

Method RESET_EVENT_COUNTER on class IF_STW_ACTIVITY has no parameter.
# Exception Resumable Description Created on
1 CX_STW_ACTIVITY StreamWork Activity exceptions 20120228

Method SET_DUE_DATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_DUE_DATE Call by reference Type reference (TYPE) STW_ACTIVITY_DUE_DATE StreamWork Activity Due Date 20120708
2 Importing IV_REMINDER Call by reference Type reference (TYPE) STW_ACTIVITY_REMINDER StreamWork Activity Due Date Reminder 20120708
# Exception Resumable Description Created on
1 CX_STW_ACTIVITY StreamWork Activity exceptions 20120708

Method SET_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_NAME Call by reference Type reference (TYPE) IF_STW_ACTIVITY=>TV_ACTIVITY_NAME Name of the Activity 20120208
# Exception Resumable Description Created on
1 CX_STW_ACTIVITY 20120208

Method SET_OWNER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_OWNER Value transfer Object reference (TYPE REF TO) IF_STW_USER Owner of the Activity 20120209
# Exception Resumable Description Created on
1 CX_STW_ACTIVITY 20120209

Method SET_PRIVACY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_PRIVACY Value transfer Type reference (TYPE) IF_STW_ACTIVITY=>TV_ACTIVITY_PRIVACY Privacy of the Activity 20120210
# Exception Resumable Description Created on
1 CX_STW_ACTIVITY 20120210

Method SET_SHARING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_SHARING Value transfer Type reference (TYPE) IF_STW_ACTIVITY=>TV_ACTIVITY_SHARING Sharing Attribute of the Activity 20120210
# Exception Resumable Description Created on
1 CX_STW_ACTIVITY 20120210

Method SET_STATUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_STATUS Call by reference Type reference (TYPE) IF_STW_ACTIVITY=>TV_ACTIVITY_STATUS Status of the Activity 20111115
# Exception Resumable Description Created on
1 CX_STW_ACTIVITY 20111116

Method UNFOLLOW Signature

Method UNFOLLOW on class IF_STW_ACTIVITY has no parameter.
Method UNFOLLOW on class IF_STW_ACTIVITY has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in