|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Activity instead.
public interface Activity
Activity represents a user activity object.
| Method Summary | |
|---|---|
Activity |
addObject(ActivityObject obj)
Deprecated. Adds an ActivityObject |
Activity |
addTarget(ActivityTarget obj)
Deprecated. Adds an ActivityTarget |
String |
getContent()
Deprecated. Gets the content |
Long |
getCreated()
Deprecated. Gets the created |
String |
getCreatedBy()
Deprecated. Gets the createdBy |
String |
getDescription()
Deprecated. Gets the description |
String |
getLink()
Deprecated. Gets the link |
String |
getNoCache()
Deprecated. Gets the noCache |
Collection<ActivityObject> |
getObjects()
Deprecated. Gets the ActivityObject of the activity |
String |
getPath()
Deprecated. Gets the path |
String |
getProperty(String name)
Deprecated. Gets the property value based on a property name (generic getter). |
String |
getResourceType()
Deprecated. Gets the resource type |
String |
getStreamName()
Deprecated. Gets the streamName |
Collection<ActivityTarget> |
getTargets()
Deprecated. Gets the ActivityTarget of the activity |
String |
getTitle()
Deprecated. Gets the title |
String |
getVerb()
Deprecated. Gets the verb |
Activity |
setContent(String content)
Deprecated. Sets the content |
Activity |
setCreated(Long created)
Deprecated. Sets the created |
Activity |
setCreatedBy(String createdBy)
Deprecated. Sets the createdBy |
Activity |
setDescription(String description)
Deprecated. Sets the description |
Activity |
setLink(String link)
Deprecated. Sets the link |
Activity |
setNoCache(String noCache)
Deprecated. Sets the noCache |
Activity |
setProperty(String name,
String value)
Deprecated. Sets the property value based on a property name (generic setter). |
Activity |
setStreamName(String streamName)
Deprecated. Sets the streamName |
Activity |
setTitle(String title)
Deprecated. Sets the title |
Activity |
setVerb(String verb)
Deprecated. Sets the verb |
JSONObject |
toJSON()
Deprecated. Gets the JSONObject representing the activity. |
| Method Detail |
|---|
String getTitle()
Activity setTitle(String title)
title - The new title
ActivityString getDescription()
Activity setDescription(String description)
description - The new description
ActivityString getContent()
Activity setContent(String content)
content - The new content
ActivityString getVerb()
Activity setVerb(String verb)
verb - The new verb
ActivityString getLink()
Activity setLink(String link)
link - The new link
ActivityString getStreamName()
Activity setStreamName(String streamName)
streamName - The new streamName
ActivityString getNoCache()
Activity setNoCache(String noCache)
noCache - The new noCache
ActivityLong getCreated()
Activity setCreated(Long created)
created - The new created
ActivityString getCreatedBy()
Activity setCreatedBy(String createdBy)
createdBy - The new createdBy
ActivityCollection<ActivityObject> getObjects()
ActivityObject of the activity
Activity addObject(ActivityObject obj)
ActivityObject
obj - The ActivityObject to add
ActivityCollection<ActivityTarget> getTargets()
ActivityTarget of the activity
Activity addTarget(ActivityTarget obj)
ActivityTarget
obj - The ActivityTarget to add
ActivityString getProperty(String name)
name - The name of the property
Activity setProperty(String name,
String value)
name - The name of the propertyvalue - The value of the property
ActivityString getPath()
String getResourceType()
JSONObject toJSON()
throws JSONException
JSONObject representing the activity.
JSONException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||