@Deprecated public class DocObjectChangedRule extends DocChangeRule
LOGGER
Constructor and Description |
---|
DocObjectChangedRule()
Deprecated.
|
DocObjectChangedRule(XWikiDocChangeNotificationInterface target)
Deprecated.
|
DocObjectChangedRule(XWikiDocChangeNotificationInterface target,
String classname)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
String |
getClassName()
Deprecated.
|
boolean |
hasEqualObjects(XWikiDocument newdoc,
XWikiDocument olddoc,
String className)
Deprecated.
|
boolean |
hasEqualsObjectsForAllClasses(XWikiDocument newdoc,
XWikiDocument olddoc)
Deprecated.
|
boolean |
hasEqualsObjectsFromClass(XWikiDocument newdoc,
XWikiDocument olddoc,
String classname)
Deprecated.
|
void |
setClassName(String className)
Deprecated.
|
void |
verify(XWikiDocument newdoc,
XWikiDocument olddoc,
XWikiContext context)
Deprecated.
Note: olddoc is null when the document is new and has never been saved
|
getTarget, isPostverify, isPreverify, preverify, preverify, setPostverify, setPreverify, setTarget, verify
public DocObjectChangedRule()
public DocObjectChangedRule(XWikiDocChangeNotificationInterface target)
public DocObjectChangedRule(XWikiDocChangeNotificationInterface target, String classname)
public boolean hasEqualsObjectsFromClass(XWikiDocument newdoc, XWikiDocument olddoc, String classname)
public boolean hasEqualsObjectsForAllClasses(XWikiDocument newdoc, XWikiDocument olddoc)
public String getClassName()
public void setClassName(String className)
public boolean hasEqualObjects(XWikiDocument newdoc, XWikiDocument olddoc, String className)
public void verify(XWikiDocument newdoc, XWikiDocument olddoc, XWikiContext context)
XWikiNotificationRule
verify
in interface XWikiNotificationRule
verify
in class DocChangeRule
Copyright © 2004–2021 XWiki. All rights reserved.