Activity
instead.public interface Activity
Activity
represents a user activity object.Modifier and Type | Method and Description |
---|---|
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. |
String getTitle()
Activity setTitle(String title)
title
- The new titleActivity
String getDescription()
Activity setDescription(String description)
description
- The new descriptionActivity
String getContent()
Activity setContent(String content)
content
- The new contentActivity
String getVerb()
Activity setVerb(String verb)
verb
- The new verbActivity
String getLink()
Activity setLink(String link)
link
- The new linkActivity
String getStreamName()
Activity setStreamName(String streamName)
streamName
- The new streamNameActivity
String getNoCache()
Activity setNoCache(String noCache)
noCache
- The new noCacheActivity
Long getCreated()
Activity setCreated(Long created)
created
- The new createdActivity
String getCreatedBy()
Activity setCreatedBy(String createdBy)
createdBy
- The new createdByActivity
Collection<ActivityObject> getObjects()
ActivityObject
of the activityActivity addObject(ActivityObject obj)
ActivityObject
obj
- The ActivityObject
to addActivity
Collection<ActivityTarget> getTargets()
ActivityTarget
of the activityActivity addTarget(ActivityTarget obj)
ActivityTarget
obj
- The ActivityTarget
to addActivity
String getProperty(String name)
name
- The name of the propertyActivity setProperty(String name, String value)
name
- The name of the propertyvalue
- The value of the propertyActivity
String getPath()
String getResourceType()
JSONObject toJSON() throws JSONException
JSONObject
representing the activity.JSONException
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"