Jive API (3.0.13) 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.
 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
 

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

Returns:
the user who performed the activity

getCreationDate

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.

Jive Product Page

Copyright © 1999-2007 Jive Software.