Clearspace API (2.5.29) Core Javadocs

com.jivesoftware.community.event
Class ImageEvent

java.lang.Object
  extended by com.jivesoftware.community.event.ImageEvent
All Implemented Interfaces:
com.jivesoftware.community.JiveEvent, Serializable

public class ImageEvent
extends Object
implements com.jivesoftware.community.JiveEvent, Serializable

A class for Image events. This class will be passed to ImageListeners whenever an image event is fired and contains all the pertinent information to the event.

See Also:
Serialized Form

Field Summary
static int IMAGE_ADDED
          Event type for whenever an image is added to a document.
static int IMAGE_DELETING
          Event type for whenever an image is about to be deleted.
 
Constructor Summary
ImageEvent(int eventType, JiveObject jiveObject, Image image, Map<String,? extends Object> params)
           
 
Method Summary
 Date getDate()
           
 int getEventType()
           
 Image getImage()
           
 JiveObject getJiveObject()
           
 Map<String,? extends Object> getParams()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IMAGE_ADDED

public static final int IMAGE_ADDED
Event type for whenever an image is added to a document.

See Also:
Constant Field Values

IMAGE_DELETING

public static final int IMAGE_DELETING
Event type for whenever an image is about to be deleted.

See Also:
Constant Field Values
Constructor Detail

ImageEvent

public ImageEvent(int eventType,
                  JiveObject jiveObject,
                  Image image,
                  Map<String,? extends Object> params)
Method Detail

getEventType

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

getJiveObject

public JiveObject getJiveObject()

getImage

public Image getImage()

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.