Package com.xpn.xwiki.notify
Class DocChangeRule
- java.lang.Object
-
- com.xpn.xwiki.notify.DocChangeRule
-
- All Implemented Interfaces:
XWikiNotificationRule
- Direct Known Subclasses:
DocObjectChangedRule
,PropertyChangedRule
@Deprecated public class DocChangeRule extends Object implements XWikiNotificationRule
Deprecated.
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.slf4j.Logger
LOGGER
Deprecated.
-
Constructor Summary
Constructors Constructor Description DocChangeRule()
Deprecated.DocChangeRule(XWikiDocChangeNotificationInterface target)
Deprecated.DocChangeRule(XWikiDocChangeNotificationInterface target, boolean pre, boolean post)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description XWikiDocChangeNotificationInterface
getTarget()
Deprecated.boolean
isPostverify()
Deprecated.boolean
isPreverify()
Deprecated.void
preverify(XWikiDocument newdoc, XWikiDocument olddoc, XWikiContext context)
Deprecated.void
preverify(XWikiDocument doc, String action, XWikiContext context)
Deprecated.void
setPostverify(boolean postnotify)
Deprecated.void
setPreverify(boolean prenotify)
Deprecated.void
setTarget(XWikiDocChangeNotificationInterface target)
Deprecated.void
verify(XWikiDocument newdoc, XWikiDocument olddoc, XWikiContext context)
Deprecated.Note: olddoc is null when the document is new and has never been savedvoid
verify(XWikiDocument doc, String action, XWikiContext context)
Deprecated.
-
-
-
Constructor Detail
-
DocChangeRule
public DocChangeRule()
Deprecated.
-
DocChangeRule
public DocChangeRule(XWikiDocChangeNotificationInterface target)
Deprecated.
-
DocChangeRule
public DocChangeRule(XWikiDocChangeNotificationInterface target, boolean pre, boolean post)
Deprecated.
-
-
Method Detail
-
getTarget
public XWikiDocChangeNotificationInterface getTarget()
Deprecated.
-
setTarget
public void setTarget(XWikiDocChangeNotificationInterface target)
Deprecated.
-
verify
public void verify(XWikiDocument newdoc, XWikiDocument olddoc, XWikiContext context)
Deprecated.Description copied from interface:XWikiNotificationRule
Note: olddoc is null when the document is new and has never been saved- Specified by:
verify
in interfaceXWikiNotificationRule
-
preverify
public void preverify(XWikiDocument newdoc, XWikiDocument olddoc, XWikiContext context)
Deprecated.- Specified by:
preverify
in interfaceXWikiNotificationRule
-
verify
public void verify(XWikiDocument doc, String action, XWikiContext context)
Deprecated.- Specified by:
verify
in interfaceXWikiNotificationRule
-
preverify
public void preverify(XWikiDocument doc, String action, XWikiContext context)
Deprecated.- Specified by:
preverify
in interfaceXWikiNotificationRule
-
isPostverify
public boolean isPostverify()
Deprecated.
-
setPostverify
public void setPostverify(boolean postnotify)
Deprecated.
-
isPreverify
public boolean isPreverify()
Deprecated.
-
setPreverify
public void setPreverify(boolean prenotify)
Deprecated.
-
-