org.xwiki.bridge.event
Class WikiCopiedEvent

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

public class WikiCopiedEvent
extends AbstractWikiEvent

An event triggered after a wiki has been copied.

Since:
4.3M1
Version:
$Id: aa08427d5ddb61760b42e9f325963c7b3695a380 $
See Also:
Serialized Form

Constructor Summary
WikiCopiedEvent()
          Matches all WikiCopiedEvent events.
WikiCopiedEvent(String sourceWikiId, String targetWikiId)
          Matches events affecting the same wikis.
 
Method Summary
 String getSourceWikiId()
           
 String getTargetWikiId()
           
 boolean matches(Object otherEvent)
           
 
Methods inherited from class org.xwiki.bridge.event.AbstractWikiEvent
getWikiId
 
Methods inherited from class org.xwiki.observation.event.AbstractFilterableEvent
equals, getEventFilter, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WikiCopiedEvent

public WikiCopiedEvent()
Matches all WikiCopiedEvent events.


WikiCopiedEvent

public WikiCopiedEvent(String sourceWikiId,
                       String targetWikiId)
Matches events affecting the same wikis.

Parameters:
sourceWikiId - the source wiki identifier
targetWikiId - the target wiki identifier
Method Detail

matches

public boolean matches(Object otherEvent)
Specified by:
matches in interface org.xwiki.observation.event.Event
Overrides:
matches in class org.xwiki.observation.event.AbstractFilterableEvent

getSourceWikiId

public String getSourceWikiId()
Returns:
the source wiki identifier

getTargetWikiId

public String getTargetWikiId()
Returns:
the target wiki identifier


Copyright © 2004-2013 XWiki. All Rights Reserved.