From aaff8bbe83e02bba861c5cf1c6645dedc4e0ac1d Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Tue, 07 Aug 2007 21:45:40 +0000
Subject: [PATCH] Add support for a new type of plugin which can be used to detect changes and take some action whenever a subordinate entry is modified as a result of a modify DN operation that targets an entry that has one or more children (i.e., a subtree move or subtree rename operation). At present, subordinate modify DN plugins are not allowed to change the contents of the entry as it is being moved/renamed, but an appropriate API is in place if we decide to add this functionality in the future.
---
opends/src/server/org/opends/server/api/plugin/PreParsePluginResult.java | 48 +++++++++++++++++++++++-------------------------
1 files changed, 23 insertions(+), 25 deletions(-)
diff --git a/opends/src/server/org/opends/server/api/plugin/PreParsePluginResult.java b/opends/src/server/org/opends/server/api/plugin/PreParsePluginResult.java
index 449720c..251dbb2 100644
--- a/opends/src/server/org/opends/server/api/plugin/PreParsePluginResult.java
+++ b/opends/src/server/org/opends/server/api/plugin/PreParsePluginResult.java
@@ -47,7 +47,7 @@
// invoked for this operation.
private final boolean continuePluginProcessing;
- // Indicates whether the pre-operation plugin terminated the client
+ // Indicates whether the pre-parse plugin terminated the client
// connection.
private final boolean connectionTerminated;
@@ -77,14 +77,14 @@
/**
- * Creates a new pre-operation plugin result with the provided
+ * Creates a new pre-parse plugin result with the provided
* information.
*
* @param connectionTerminated Indicates whether the
- * post-response plugin terminated
+ * pre-parse plugin terminated
* the client connection.
* @param continuePluginProcessing Indicates whether any further
- * pre-operation plugins should be
+ * pre-parse plugins should be
* invoked for this operation.
* @param sendResponseImmediately Indicates whether the server
* should send the response set by
@@ -103,14 +103,14 @@
/**
- * Creates a new pre-operation plugin result with the provided
+ * Creates a new pre-parse plugin result with the provided
* information.
*
* @param connectionTerminated Indicates whether the
- * post-response plugin terminated
+ * pre-parse plugin terminated
* the client connection.
* @param continuePluginProcessing Indicates whether any further
- * pre-operation plugins should be
+ * pre-parse plugins should be
* invoked for this operation.
* @param sendResponseImmediately Indicates whether the server
* should send the response set by
@@ -139,11 +139,11 @@
/**
- * Indicates whether the post-response plugin terminated the client
+ * Indicates whether the pre-parse plugin terminated the client
* connection.
*
- * @return <CODE>true</CODE> if the post-response plugin terminated
- * the client connection, or <CODE>false</CODE> if not.
+ * @return {@code true} if the pre-parse plugin terminated the
+ * client connection, or {@code false} if not.
*/
public boolean connectionTerminated()
{
@@ -153,12 +153,11 @@
/**
- * Indicates whether any further post-response plugins should be
- * invoked for this operation.
+ * Indicates whether any further pre-parse plugins should be invoked
+ * for this operation.
*
- * @return <CODE>true</CODE> if any further post-response plugins
- * should be invoked for this operation, or
- * <CODE>false</CODE> if not.
+ * @return {@code true} if any further pre-parse plugins should be
+ * invoked for this operation, or {@code false} if not.
*/
public boolean continuePluginProcessing()
{
@@ -172,10 +171,10 @@
* plugin to the client immediately with no further processing on
* the operation.
*
- * @return <CODE>true</CODE> if the server should send the response
- * set by this plugin to the client immediately, or
- * <CODE>false</CODE> if further processing should be
- * performed on the operation.
+ * @return {@code true} if the server should send the response set
+ * by this plugin to the client immediately, or
+ * {@code false} if further processing should be performed
+ * on the operation.
*/
public boolean sendResponseImmediately()
{
@@ -201,11 +200,10 @@
/**
- * Retrieves a string representation of this post-response plugin
+ * Retrieves a string representation of this pre-parse plugin
* result.
*
- * @return A string representation of this post-response plugin
- * result.
+ * @return A string representation of this pre-parse plugin result.
*/
public String toString()
{
@@ -217,15 +215,15 @@
/**
- * Appends a string representation of this post-response plugin
- * result to the provided buffer.
+ * Appends a string representation of this pre-parse plugin result
+ * to the provided buffer.
*
* @param buffer The buffer to which the information should be
* appended.
*/
public void toString(StringBuilder buffer)
{
- buffer.append("PostResponsePluginResult(connectionTerminated=");
+ buffer.append("PreParsePluginResult(connectionTerminated=");
buffer.append(connectionTerminated);
buffer.append(", continuePluginProcessing=");
buffer.append(continuePluginProcessing);
--
Gitblit v1.10.0