com.xpn.xwiki.notify
Class DocChangeRule

java.lang.Object
  extended bycom.xpn.xwiki.notify.DocChangeRule
All Implemented Interfaces:
XWikiNotificationRule
Direct Known Subclasses:
DocObjectChangedRule, PropertyChangedRule

public class DocChangeRule
extends java.lang.Object
implements XWikiNotificationRule


Field Summary
private  XWikiDocChangeNotificationInterface target
           
 
Constructor Summary
DocChangeRule()
           
DocChangeRule(XWikiDocChangeNotificationInterface target)
           
 
Method Summary
 XWikiDocChangeNotificationInterface getTarget()
           
 void setTarget(XWikiDocChangeNotificationInterface target)
           
 void verify(XWikiDocument doc, java.lang.String action, XWikiContext context)
           
 void verify(XWikiDocument newdoc, XWikiDocument olddoc, XWikiContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

target

private XWikiDocChangeNotificationInterface target
Constructor Detail

DocChangeRule

public DocChangeRule()

DocChangeRule

public DocChangeRule(XWikiDocChangeNotificationInterface target)
Method Detail

getTarget

public XWikiDocChangeNotificationInterface getTarget()

setTarget

public void setTarget(XWikiDocChangeNotificationInterface target)

verify

public void verify(XWikiDocument newdoc,
                   XWikiDocument olddoc,
                   XWikiContext context)
Specified by:
verify in interface XWikiNotificationRule

verify

public void verify(XWikiDocument doc,
                   java.lang.String action,
                   XWikiContext context)
Specified by:
verify in interface XWikiNotificationRule


Copyright 2003 Ludovic Dubost