Interface MutableActivity
-
- All Superinterfaces:
Activity
,JsonAdaptable
@ProviderType public interface MutableActivity extends Activity
MutableActivity
...
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MutableActivity
setActor(ActivityObject actor)
MutableActivity
setActorUserId(java.lang.String userId)
MutableActivity
setContent(java.lang.String content)
MutableActivity
setGenerator(ActivityObject provider)
MutableActivity
setIcon(MediaLink icon)
MutableActivity
setId(java.lang.String id)
MutableActivity
setObject(ActivityObject object)
MutableActivity
setProperty(java.lang.String name, java.lang.Object value)
Sets the property with the give name and value.MutableActivity
setProvider(ActivityObject provider)
MutableActivity
setPublished(long published)
MutableActivity
setTarget(ActivityObject target)
MutableActivity
setTitle(java.lang.String title)
MutableActivity
setUpdated(long updated)
MutableActivity
setURL(java.lang.String url)
MutableActivity
setVerb(java.lang.String verb)
-
Methods inherited from interface com.adobe.granite.activitystreams.Activity
getActor, getActorUserId, getContent, getGenerator, getIcon, getId, getMutableActivity, getObject, getPath, getProperties, getProvider, getPublished, getStream, getTarget, getTitle, getUpdated, getURL, getVerb
-
Methods inherited from interface com.adobe.granite.activitystreams.JsonAdaptable
toJSON
-
-
-
-
Method Detail
-
setId
MutableActivity setId(java.lang.String id)
-
setURL
MutableActivity setURL(java.lang.String url)
-
setVerb
MutableActivity setVerb(java.lang.String verb)
-
setTitle
MutableActivity setTitle(java.lang.String title)
-
setActor
MutableActivity setActor(ActivityObject actor)
-
setActorUserId
MutableActivity setActorUserId(java.lang.String userId)
-
setContent
MutableActivity setContent(java.lang.String content)
-
setTarget
MutableActivity setTarget(ActivityObject target)
-
setObject
MutableActivity setObject(ActivityObject object)
-
setPublished
MutableActivity setPublished(long published)
-
setProvider
MutableActivity setProvider(ActivityObject provider)
-
setGenerator
MutableActivity setGenerator(ActivityObject provider)
-
setUpdated
MutableActivity setUpdated(long updated)
-
setIcon
MutableActivity setIcon(MediaLink icon)
-
setProperty
MutableActivity 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
-
-