| |
|
| com.ecyrd.jspwiki.event.WikiEvent com.ecyrd.jspwiki.event.WikiPageEvent com.ecyrd.jspwiki.event.WikiPageRenameEvent
Field Summary | |
final public static int | PAGE_RENAMED Indicates a page rename event. |
Method Summary | |
public String | eventName() Returns a textual representation of the event type. | public String | getNewPageName() Returns the new Wiki page name associated with this event. | public String | getOldPageName() Returns the old Wiki page name associated with this event. | public String | getTypeDescription() Returns a human-readable description of the event type. | public static boolean | isValidType(int type) Returns true if the int value is a WikiPageRenameEvent type. |
WikiPageRenameEvent | public WikiPageRenameEvent(Object src, String oldname, String newname)(Code) | | Constructs an instance of this event.
Parameters: src - the Object that is the source of the event. Parameters: oldname - the old name of the WikiPage being acted upon. Parameters: newname - the new name of the WikiPage being acted upon. |
eventName | public String eventName()(Code) | | Returns a textual representation of the event type.
a String representation of the type |
getNewPageName | public String getNewPageName()(Code) | | Returns the new Wiki page name associated with this event. This
returns the same value as the superclass'
WikiPageRenameEvent.getPageName() .
This may be null if unavailable.
the new Wiki page name associated with this WikiEvent, or null. |
getOldPageName | public String getOldPageName()(Code) | | Returns the old Wiki page name associated with this event.
This may be null if unavailable.
the old Wiki page name associated with this WikiEvent, or null. |
getTypeDescription | public String getTypeDescription()(Code) | | Returns a human-readable description of the event type.
a String description of the type |
isValidType | public static boolean isValidType(int type)(Code) | | Returns true if the int value is a WikiPageRenameEvent type.
|
|
|
|