|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
net.sourceforge.pebble.api.event.PebbleEvent
net.sourceforge.pebble.api.event.blogentry.BlogEntryEvent
public class BlogEntryEvent
Event to signify that a blog entry has been added, removed or changed.
| Field Summary | |
|---|---|
static int |
BLOG_ENTRY_ADDED
constant representing blog entry added type |
static int |
BLOG_ENTRY_CHANGED
constant representing blog entry changed type |
static int |
BLOG_ENTRY_PUBLISHED
constant representing blog entry published type |
static int |
BLOG_ENTRY_REMOVED
constant representing blog entry removed type |
static int |
BLOG_ENTRY_UNPUBLISHED
constant representing blog entry unpublished type |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
BlogEntryEvent(BlogEntry blogEntry,
int type)
Creates a new instance with the specified source and type. |
|
BlogEntryEvent(BlogEntry blogEntry,
java.util.List propertyChangeEvents)
Creates a new instance with the specified source and type. |
|
| Method Summary | |
|---|---|
BlogEntry |
getBlogEntry()
Gets the blog entry that is the source of this event. |
java.util.List |
getPropertyChangeEvents()
Gets the list of property change events that caused this event. |
| Methods inherited from class net.sourceforge.pebble.api.event.PebbleEvent |
|---|
getType, isVetoed, toString, veto |
| Methods inherited from class java.util.EventObject |
|---|
getSource |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int BLOG_ENTRY_ADDED
public static final int BLOG_ENTRY_REMOVED
public static final int BLOG_ENTRY_CHANGED
public static final int BLOG_ENTRY_PUBLISHED
public static final int BLOG_ENTRY_UNPUBLISHED
| Constructor Detail |
|---|
public BlogEntryEvent(BlogEntry blogEntry,
int type)
blogEntry - the blog entry that created this eventtype - the type of this event
public BlogEntryEvent(BlogEntry blogEntry,
java.util.List propertyChangeEvents)
blogEntry - the blog entry that created this eventpropertyChangeEvents - the type of this event| Method Detail |
|---|
public BlogEntry getBlogEntry()
public java.util.List getPropertyChangeEvents()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||