Clearspace API (2.5.29) Core Javadocs

com.jivesoftware.community.event
Class ProjectEvent

java.lang.Object
  extended by com.jivesoftware.community.event.ProjectEvent
All Implemented Interfaces:
com.jivesoftware.community.JiveEvent

public class ProjectEvent
extends Object
implements com.jivesoftware.community.JiveEvent


Field Summary
static int PROJECT_CREATED
          � Project was added to the system.
static int PROJECT_MODIFIED
          A work space was modified.
static int PROJECT_REMOVED
          A work space was removed from the system.
 
Constructor Summary
ProjectEvent(int eventType, Project project, Map<String,? extends Object> params)
          Creates a new task event.
 
Method Summary
 Date getDate()
           
 int getEventType()
           
 Map<String,? extends Object> getParams()
           
 Project getProject()
          Returns the work space that the event corresponds to.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROJECT_CREATED

public static final int PROJECT_CREATED
� Project was added to the system.

See Also:
Constant Field Values

PROJECT_MODIFIED

public static final int PROJECT_MODIFIED
A work space was modified.

See Also:
Constant Field Values

PROJECT_REMOVED

public static final int PROJECT_REMOVED
A work space was removed from the system.

See Also:
Constant Field Values
Constructor Detail

ProjectEvent

public ProjectEvent(int eventType,
                    Project project,
                    Map<String,? extends Object> params)
Creates a new task event.

Parameters:
eventType - the type of the tag event.
project - the project the event corresponds to.
params - parameters corresponding to the event.
Method Detail

getEventType

public int getEventType()
Specified by:
getEventType in interface com.jivesoftware.community.JiveEvent

getProject

public Project getProject()
Returns the work space that the event corresponds to.

Returns:
the work space the event corresponds to.

getParams

public Map<String,? extends Object> getParams()
Specified by:
getParams in interface com.jivesoftware.community.JiveEvent

getDate

public Date getDate()
Specified by:
getDate in interface com.jivesoftware.community.JiveEvent

Clearspace Project Page

Copyright © 1999-2007 Jive Software.