Interface MutableActivityObject
-
- All Superinterfaces:
ActivityObject
,JsonAdaptable
@ProviderType public interface MutableActivityObject extends ActivityObject
MutableActivityObject
...
-
-
Method Summary
-
Methods inherited from interface com.adobe.granite.activitystreams.ActivityObject
getAttachments, getAuthor, getAuthorUserId, getContent, getDisplayName, getDownstreamDuplicates, getId, getImage, getMutableActivityObject, getObjectType, getProperties, getPublished, getSummary, getUpdated, getUpstreamDuplicates, getURL
-
Methods inherited from interface com.adobe.granite.activitystreams.JsonAdaptable
toJSON
-
-
-
-
Method Detail
-
setId
MutableActivityObject setId(java.lang.String id)
-
setURL
MutableActivityObject setURL(java.lang.String url)
-
setObjectType
MutableActivityObject setObjectType(java.lang.String objectType)
-
setAuthor
MutableActivityObject setAuthor(ActivityObject author)
-
setAuthorUserId
MutableActivityObject setAuthorUserId(java.lang.String userId)
-
setContent
MutableActivityObject setContent(java.lang.String content)
-
setDisplayName
MutableActivityObject setDisplayName(java.lang.String displayName)
-
setSummary
MutableActivityObject setSummary(java.lang.String summary)
-
setPublished
MutableActivityObject setPublished(long published)
-
setUpdated
MutableActivityObject setUpdated(long updated)
-
setImage
MutableActivityObject setImage(MediaLink icon)
-
setAttachments
MutableActivityObject setAttachments(ActivityObject[] attachments)
-
setDownstreamDuplicates
MutableActivityObject setDownstreamDuplicates(java.lang.String[] ids)
-
setUpstreamDuplicates
MutableActivityObject setUpstreamDuplicates(java.lang.String[] ids)
-
setProperty
MutableActivityObject setProperty(java.lang.String name, java.lang.Object value)
Sets the property with the give name and value.- Parameters:
name
- name of the propertyvalue
- value of the property- Returns:
- this object for chaining.
- Since:
- 0.0.10
-
-