Clearspace API (1.7.0) Core Javadocs

com.jivesoftware.community
Interface Activity


public interface Activity

Represents activity within a community. Activity is always related to some piece of content, which can be retrieved by calling getJiveObject(). Activity always has a type, which can be retrieved by calling getType().

See Also:
JiveContentObject, JiveObject

Nested Class Summary
static class Activity.Type
          Defines a specific type of activity with regard to a piece of content.
 
Method Summary
 JiveObject getContainerObject()
          Returns the parent object of the piece of content this activity pertains to, or null if no parent exists.
 java.util.Date getCreationDate()
          Returns the date the activity was created.
 JiveObject getJiveObject()
          Returns the jive object this activity pertains to.
 Activity.Type getType()
          Returns the type of activity this instance represents.
 User getUser()
          Returns the user who performed the activity, or null if the activity was performed by a guest.
 

Method Detail

getJiveObject

JiveObject getJiveObject()
Returns the jive object this activity pertains to.

Returns:
the jive object this activity pertains to.

getContainerObject

JiveObject getContainerObject()
Returns the parent object of the piece of content this activity pertains to, or null if no parent exists.

Returns:
the parent object of the piece of content this activity pertains to, or null if no parent exists.

getUser

User getUser()
Returns the user who performed the activity, or null if the activity was performed by a guest.

Returns:
the user who performed the activity, or null if the activity was performed by a guest.

getCreationDate

java.util.Date getCreationDate()
Returns the date the activity was created.

Returns:
the date the activity was created.

getType

Activity.Type getType()
Returns the type of activity this instance represents.

Returns:
the type of activity this instance represents.

Clearspace Project Page

Copyright © 1999-2007 Jive Software.