@Deprecated public class DocChangeRule extends Object implements XWikiNotificationRule
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
LOGGER
Deprecated.
|
Constructor and Description |
---|
DocChangeRule()
Deprecated.
|
DocChangeRule(XWikiDocChangeNotificationInterface target)
Deprecated.
|
DocChangeRule(XWikiDocChangeNotificationInterface target,
boolean pre,
boolean post)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
XWikiDocChangeNotificationInterface |
getTarget()
Deprecated.
|
boolean |
isPostverify()
Deprecated.
|
boolean |
isPreverify()
Deprecated.
|
void |
preverify(XWikiDocument doc,
String action,
XWikiContext context)
Deprecated.
|
void |
preverify(XWikiDocument newdoc,
XWikiDocument olddoc,
XWikiContext context)
Deprecated.
|
void |
setPostverify(boolean postnotify)
Deprecated.
|
void |
setPreverify(boolean prenotify)
Deprecated.
|
void |
setTarget(XWikiDocChangeNotificationInterface target)
Deprecated.
|
void |
verify(XWikiDocument doc,
String action,
XWikiContext context)
Deprecated.
|
void |
verify(XWikiDocument newdoc,
XWikiDocument olddoc,
XWikiContext context)
Deprecated.
Note: olddoc is null when the document is new and has never been saved
|
public DocChangeRule()
public DocChangeRule(XWikiDocChangeNotificationInterface target)
public DocChangeRule(XWikiDocChangeNotificationInterface target, boolean pre, boolean post)
public XWikiDocChangeNotificationInterface getTarget()
public void setTarget(XWikiDocChangeNotificationInterface target)
public void verify(XWikiDocument newdoc, XWikiDocument olddoc, XWikiContext context)
XWikiNotificationRule
verify
in interface XWikiNotificationRule
public void preverify(XWikiDocument newdoc, XWikiDocument olddoc, XWikiContext context)
preverify
in interface XWikiNotificationRule
public void verify(XWikiDocument doc, String action, XWikiContext context)
verify
in interface XWikiNotificationRule
public void preverify(XWikiDocument doc, String action, XWikiContext context)
preverify
in interface XWikiNotificationRule
public boolean isPostverify()
public void setPostverify(boolean postnotify)
public boolean isPreverify()
public void setPreverify(boolean prenotify)
Copyright © 2004–2021 XWiki. All rights reserved.