com.xpn.xwiki.notify
Class PropertyChangedRule

java.lang.Object
  extended bycom.xpn.xwiki.notify.DocChangeRule
      extended bycom.xpn.xwiki.notify.PropertyChangedRule
All Implemented Interfaces:
XWikiNotificationRule

public class PropertyChangedRule
extends DocChangeRule


Field Summary
private  java.lang.String className
           
private  java.lang.String propertyName
           
 
Fields inherited from class com.xpn.xwiki.notify.DocChangeRule
 
Constructor Summary
PropertyChangedRule(XWikiDocChangeNotificationInterface target, java.lang.String classname, java.lang.String propertyName)
           
 
Method Summary
 java.lang.String getClassName()
           
 java.lang.String getPropertyName()
           
 boolean hasEqualProperty(XWikiDocument newdoc, XWikiDocument olddoc, java.lang.String className, java.lang.String propertyName)
           
 void setClassName(java.lang.String className)
           
 void setPropertyName(java.lang.String propertyName)
           
 void verify(XWikiDocument newdoc, XWikiDocument olddoc, XWikiContext context)
           
 
Methods inherited from class com.xpn.xwiki.notify.DocChangeRule
getTarget, setTarget, verify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

className

private java.lang.String className

propertyName

private java.lang.String propertyName
Constructor Detail

PropertyChangedRule

public PropertyChangedRule(XWikiDocChangeNotificationInterface target,
                           java.lang.String classname,
                           java.lang.String propertyName)
Method Detail

getClassName

public java.lang.String getClassName()

setClassName

public void setClassName(java.lang.String className)

getPropertyName

public java.lang.String getPropertyName()

setPropertyName

public void setPropertyName(java.lang.String propertyName)

hasEqualProperty

public boolean hasEqualProperty(XWikiDocument newdoc,
                                XWikiDocument olddoc,
                                java.lang.String className,
                                java.lang.String propertyName)

verify

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


Copyright 2003 Ludovic Dubost