org.springframework.social.alfresco.api.entities
Class Activity

java.lang.Object
  extended by org.springframework.social.alfresco.api.entities.Activity

public class Activity
extends Object


Nested Class Summary
static class Activity.ActivitySummary
           
static class Activity.Who
          Activity Query WHO Values
 
Field Summary
static String SITEID
          Activity Query Parameter.
static String WHO
          Acitivity Query Parameter.
 
Constructor Summary
Activity()
           
 
Method Summary
 Activity.ActivitySummary getActivitySummary()
           
 String getActivityType()
           
 String getFeedPersonId()
           
 String getId()
           
 String getNetworkId()
           
 Date getPostedAt()
           
 String getPostPersonId()
           
 String getSiteId()
           
 void setActivitySummary(Activity.ActivitySummary activitySummary)
          Set the object summarizing the activity
 void setActivityType(String activityType)
          Set the Activity type

The following are the possible values:
ÔøΩ org.alfresco.comments.comment-created
ÔøΩ org.alfresco.comments.comment-updated
ÔøΩ org.alfresco.comments.comment-deleted
ÔøΩ org.alfresco.documentlibrary.files-added
ÔøΩ org.alfresco.documentlibrary.files-updated
ÔøΩ org.alfresco.documentlibrary.files-deleted
ÔøΩ org.alfresco.documentlibrary.file-added
ÔøΩ org.alfresco.documentlibrary.file-created
ÔøΩ org.alfresco.documentlibrary.file-deleted
ÔøΩ org.alfresco.documentlibrary.file-liked
ÔøΩ org.alfresco.documentlibrary.inline-edit
ÔøΩ org.alfresco.documentlibrary.folder-liked
ÔøΩ org.alfresco.site.user-joined
ÔøΩ org.alfresco.site.user-left
ÔøΩ org.alfresco.site.user-role-changed
ÔøΩ org.alfresco.site.group-added
ÔøΩ org.alfresco.site.group-removed
ÔøΩ org.alfresco.site.group-role-changed
ÔøΩ org.alfresco.discussions.reply-created
ÔøΩ org.alfresco.subscriptions.followed
ÔøΩ org.alfresco.subscriptions.subscribed
 void setFeedPersonId(String feedPersonId)
          Set the feed on which this activity was posted
 void setId(String id)
          Set the unique id of the activity
 void setNetworkId(String networkId)
          Set the unique id of the network on which the activity was performed
 void setPostedAt(Date postedAt)
          Set the date time at which the activity was performed
 void setPostPersonId(String postPersonId)
          Set the id of the person who performed the activity
 void setSiteId(String siteId)
          Set the unique id of the site on which the activity was performed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SITEID

public static final String SITEID
Activity Query Parameter. The id of a specific site. Specifying this parameter filters the returned collection to include just those activities for the specific site.

See Also:
Constant Field Values

WHO

public static final String WHO
Acitivity Query Parameter. Specifying a value of me filters the returned collection to include just those activities for the specified user. Specifying a value of others filters the returned collection to include just those activities that are not for the specified user.

See Also:
Constant Field Values
Constructor Detail

Activity

public Activity()
Method Detail

getPostPersonId

public String getPostPersonId()
Returns:
The id of the person who performed the activity

setPostPersonId

public void setPostPersonId(String postPersonId)
Set the id of the person who performed the activity

Parameters:
postPersonId -

getId

public String getId()
Returns:
The unique id of the activity

setId

public void setId(String id)
Set the unique id of the activity

Parameters:
id -

getSiteId

public String getSiteId()
Returns:
The unique id of the site on which the activity was performed

setSiteId

public void setSiteId(String siteId)
Set the unique id of the site on which the activity was performed

Parameters:
siteId -

getNetworkId

public String getNetworkId()
Returns:
The unique id of the network on which the activity was performed

setNetworkId

public void setNetworkId(String networkId)
Set the unique id of the network on which the activity was performed

Parameters:
networkId -

getFeedPersonId

public String getFeedPersonId()
Returns:
The feed on which this activity was posted

setFeedPersonId

public void setFeedPersonId(String feedPersonId)
Set the feed on which this activity was posted

Parameters:
feedPersonId -

getActivitySummary

public Activity.ActivitySummary getActivitySummary()
Returns:
An object summarizing the activity

setActivitySummary

public void setActivitySummary(Activity.ActivitySummary activitySummary)
Set the object summarizing the activity

Parameters:
activitySummary -

getActivityType

public String getActivityType()
Returns:
The type of activity. The following are the possible values:
ÔøΩ org.alfresco.comments.comment-created
ÔøΩ org.alfresco.comments.comment-updated
ÔøΩ org.alfresco.comments.comment-deleted
ÔøΩ org.alfresco.documentlibrary.files-added
ÔøΩ org.alfresco.documentlibrary.files-updated
ÔøΩ org.alfresco.documentlibrary.files-deleted
ÔøΩ org.alfresco.documentlibrary.file-added
ÔøΩ org.alfresco.documentlibrary.file-created
ÔøΩ org.alfresco.documentlibrary.file-deleted
ÔøΩ org.alfresco.documentlibrary.file-liked
ÔøΩ org.alfresco.documentlibrary.inline-edit
ÔøΩ org.alfresco.documentlibrary.folder-liked
ÔøΩ org.alfresco.documentlibrary.folder-added ÔøΩ org.alfresco.site.user-joined
ÔøΩ org.alfresco.site.user-left
ÔøΩ org.alfresco.site.user-role-changed
ÔøΩ org.alfresco.site.group-added
ÔøΩ org.alfresco.site.group-removed
ÔøΩ org.alfresco.site.group-role-changed
ÔøΩ org.alfresco.discussions.reply-created
ÔøΩ org.alfresco.subscriptions.followed
ÔøΩ org.alfresco.subscriptions.subscribed

setActivityType

public void setActivityType(String activityType)
Set the Activity type

The following are the possible values:
ÔøΩ org.alfresco.comments.comment-created
ÔøΩ org.alfresco.comments.comment-updated
ÔøΩ org.alfresco.comments.comment-deleted
ÔøΩ org.alfresco.documentlibrary.files-added
ÔøΩ org.alfresco.documentlibrary.files-updated
ÔøΩ org.alfresco.documentlibrary.files-deleted
ÔøΩ org.alfresco.documentlibrary.file-added
ÔøΩ org.alfresco.documentlibrary.file-created
ÔøΩ org.alfresco.documentlibrary.file-deleted
ÔøΩ org.alfresco.documentlibrary.file-liked
ÔøΩ org.alfresco.documentlibrary.inline-edit
ÔøΩ org.alfresco.documentlibrary.folder-liked
ÔøΩ org.alfresco.site.user-joined
ÔøΩ org.alfresco.site.user-left
ÔøΩ org.alfresco.site.user-role-changed
ÔøΩ org.alfresco.site.group-added
ÔøΩ org.alfresco.site.group-removed
ÔøΩ org.alfresco.site.group-role-changed
ÔøΩ org.alfresco.discussions.reply-created
ÔøΩ org.alfresco.subscriptions.followed
ÔøΩ org.alfresco.subscriptions.subscribed

Parameters:
activityType -

getPostedAt

public Date getPostedAt()
Returns:
The date time at which the activity was performed

setPostedAt

public void setPostedAt(Date postedAt)
Set the date time at which the activity was performed

Parameters:
postedAt -


Copyright © 2012 Alfresco Software Inc.. All Rights Reserved.