@ProviderType public interface ActivityStream extends ActivityCollection
EMPTY
Modifier and Type | Method and Description |
---|---|
Activity |
append(Activity activity)
Appends a new activity to this stream.
|
void |
delete()
Deletes this activity stream and all it's activities.
|
java.lang.String |
getContainerId()
Returns the id of the stream container, which is the userId for user streams and the document path for topic
streams.
|
Resource |
getContainerResource()
Returns the container that this stream belongs to.
|
java.lang.String |
getId()
Returns the ID of this activity stream.
|
java.lang.String |
getName()
Returns the name of the stream.
|
Resource |
getResource()
Returns the resource that this stream is bound to.
|
java.lang.String |
getTitle()
Returns the title of the stream.
|
boolean |
isDefaultStream()
Checks if this is a default stream.
|
boolean |
isDefaultUserStream()
Deprecated.
since 0.0.8. use
isDefaultStream() instead. |
getActivities
java.lang.String getId()
@Deprecated boolean isDefaultUserStream()
isDefaultStream()
instead.true
if this is the default user stream.boolean isDefaultStream()
true
if this is the default stream.Resource getResource()
Resource getContainerResource()
java.lang.String getContainerId()
null
if the container id cannot be determinedjava.lang.String getName()
java.lang.String getTitle()
void delete() throws ActivityException
ActivityException
Activity append(Activity activity) throws ActivityException
activity
- the activity to write.ActivityException
- if an error occurs.Copyright © 2010 - 2020 Adobe. All Rights Reserved