org.xwiki.bridge.event
Class WikiCreatingEvent

java.lang.Object
  extended by org.xwiki.observation.event.AbstractFilterableEvent
      extended by org.xwiki.bridge.event.AbstractWikiEvent
          extended by org.xwiki.bridge.event.WikiCreatingEvent
All Implemented Interfaces:
Serializable, WikiEvent, org.xwiki.observation.event.BeginEvent, org.xwiki.observation.event.BeginFoldEvent, org.xwiki.observation.event.Event, org.xwiki.observation.event.FilterableEvent

public class WikiCreatingEvent
extends AbstractWikiEvent
implements org.xwiki.observation.event.BeginFoldEvent

An event triggered just before a wiki is about to be created.

Since:
3.2M1
Version:
$Id: 2e7bb6e850a59afc62bdc80a4aae30450a2315bf $
See Also:
Serialized Form

Constructor Summary
WikiCreatingEvent()
          Matches all WikiCreatingEvent events.
WikiCreatingEvent(org.xwiki.observation.event.filter.EventFilter eventFilter)
          Constructor using a custom EventFilter.
WikiCreatingEvent(String wikiId)
          Constructor initializing the event filter with a FixedNameEventFilter, meaning that this event will match only events affecting the same wiki.
 
Method Summary
 
Methods inherited from class org.xwiki.bridge.event.AbstractWikiEvent
getWikiId
 
Methods inherited from class org.xwiki.observation.event.AbstractFilterableEvent
equals, getEventFilter, hashCode, matches
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.xwiki.observation.event.Event
matches
 

Constructor Detail

WikiCreatingEvent

public WikiCreatingEvent()
Matches all WikiCreatingEvent events.


WikiCreatingEvent

public WikiCreatingEvent(String wikiId)
Constructor initializing the event filter with a FixedNameEventFilter, meaning that this event will match only events affecting the same wiki.

Parameters:
wikiId - the wiki identifier

WikiCreatingEvent

public WikiCreatingEvent(org.xwiki.observation.event.filter.EventFilter eventFilter)
Constructor using a custom EventFilter.

Parameters:
eventFilter - the filter to use for matching events


Copyright © 2004-2013 XWiki. All Rights Reserved.