From 3eb214ba900a7f3e4550f6a047db26e7f40b82a8 Mon Sep 17 00:00:00 2001
From: pgamba <pgamba@localhost>
Date: Tue, 17 Apr 2007 11:42:38 +0000
Subject: [PATCH] Issue 605 Total Update over protocol
---
opends/src/server/org/opends/server/messages/TaskMessages.java | 22 ++++++++++++++++++++--
1 files changed, 20 insertions(+), 2 deletions(-)
diff --git a/opends/src/server/org/opends/server/messages/TaskMessages.java b/opends/src/server/org/opends/server/messages/TaskMessages.java
index cab8aa7..d1577d6 100644
--- a/opends/src/server/org/opends/server/messages/TaskMessages.java
+++ b/opends/src/server/org/opends/server/messages/TaskMessages.java
@@ -211,8 +211,6 @@
public static final int MSGID_TASK_ADDSCHEMAFILE_CANNOT_NOTIFY_SYNC_PROVIDER =
CATEGORY_MASK_TASK | SEVERITY_MASK_SEVERE_ERROR | 17;
-
-
/**
* The message ID for the message that will be used an attempt is made to
* invoke the index rebuild task by a user that does not have the required
@@ -221,6 +219,20 @@
public static final int MSGID_TASK_INDEXREBUILD_INSUFFICIENT_PRIVILEGES =
CATEGORY_MASK_TASK | SEVERITY_MASK_SEVERE_ERROR | 18;
+ /**
+ * The message ID for the message that will be used when an invalid domain
+ * base DN is provided as argument to the initialize target task.
+ */
+ public static final int MSGID_TASK_INITIALIZE_TARGET_INVALID_DN =
+ CATEGORY_MASK_TASK | SEVERITY_MASK_SEVERE_ERROR | 19;
+
+ /**
+ * The message ID for the message that will be used when an invalid domain
+ * base DN is provided as argument to the initialize task.
+ */
+ public static final int MSGID_TASK_INITIALIZE_INVALID_DN =
+ CATEGORY_MASK_TASK | SEVERITY_MASK_SEVERE_ERROR | 20;
+
/**
@@ -292,6 +304,12 @@
registerMessage(MSGID_TASK_INDEXREBUILD_INSUFFICIENT_PRIVILEGES,
"You do not have sufficient privileges to initiate an " +
"index rebuild.");
+
+ registerMessage(MSGID_TASK_INITIALIZE_TARGET_INVALID_DN,
+ "Invalid DN provided with the Initialize Target task.");
+
+ registerMessage(MSGID_TASK_INITIALIZE_INVALID_DN,
+ "Invalid DN provided with the Initialize task.");
}
}
--
Gitblit v1.10.0