From 31aab4e99942d2582ab17fa70dcb4f9e7e852e11 Mon Sep 17 00:00:00 2001
From: lutoff <lutoff@localhost>
Date: Wed, 01 Aug 2007 08:31:17 +0000
Subject: [PATCH] Fix for issues #1342 and #1343
---
opends/src/server/org/opends/server/messages/AdminMessages.java | 72 ++++++++++++++++++++++++++++++++++++
1 files changed, 72 insertions(+), 0 deletions(-)
diff --git a/opends/src/server/org/opends/server/messages/AdminMessages.java b/opends/src/server/org/opends/server/messages/AdminMessages.java
index 121f5d5..309ab20 100644
--- a/opends/src/server/org/opends/server/messages/AdminMessages.java
+++ b/opends/src/server/org/opends/server/messages/AdminMessages.java
@@ -564,6 +564,63 @@
public static final int MSGID_ADMIN_SERVER_NOT_REGISTERED=
CATEGORY_MASK_ADMIN | SEVERITY_MASK_FATAL_ERROR | 66;
+ /**
+ * The message ID for the message that will be used as the
+ * description for the create-admin-user subcommand part of
+ * dsservice tool. This does not take any arguments.
+ */
+ public static final int MSGID_ADMIN_SUBCMD_CREATE_ADMIN_USER_DESCRIPTION =
+ CATEGORY_MASK_ADMIN | SEVERITY_MASK_INFORMATIONAL | 67;
+
+ /**
+ * The message ID for the message that will be used as the
+ * description for the delete-admin-user subcommand part of
+ * dsservice tool. This does not take any arguments.
+ */
+ public static final int MSGID_ADMIN_SUBCMD_DELETE_ADMIN_USER_DESCRIPTION =
+ CATEGORY_MASK_ADMIN | SEVERITY_MASK_INFORMATIONAL | 68;
+
+ /**
+ * The message ID for the message that will be used as the
+ * description for the list-admin-user subcommand part of
+ * dsservice tool. This does not take any arguments.
+ */
+ public static final int MSGID_ADMIN_SUBCMD_LIST_ADMIN_USER_DESCRIPTION =
+ CATEGORY_MASK_ADMIN | SEVERITY_MASK_INFORMATIONAL | 69;
+
+ /**
+ * The message ID for the message that will be used as the
+ * description for the get-admin-user-properties subcommand part of
+ * dsservice tool. This does not take any arguments.
+ */
+ public static final int
+ MSGID_ADMIN_SUBCMD_GET_ADMIN_USER_PROPERTIES_DESCRIPTION =
+ CATEGORY_MASK_ADMIN | SEVERITY_MASK_INFORMATIONAL | 70;
+
+ /**
+ * The message ID for the message that will be used as the
+ * description for the set-admin-user-properties subcommand part of
+ * dsservice tool. This does not take any arguments.
+ */
+ public static final int
+ MSGID_ADMIN_SUBCMD_SET_ADMIN_USER_PROPERTIES_DESCRIPTION =
+ CATEGORY_MASK_ADMIN | SEVERITY_MASK_INFORMATIONAL | 71;
+
+ /**
+ * The message ID for the message that will be used as the
+ * description for the list-admin-user-properties subcommand part of
+ * dsservice tool. This does not take any arguments.
+ */
+ public static final int
+ MSGID_ADMIN_SUBCMD_LIST_ADMIN_USER_PROPERTIES_DESCRIPTION =
+ CATEGORY_MASK_ADMIN | SEVERITY_MASK_INFORMATIONAL | 72;
+
+ /**
+ * The message ID for the message that will be used as the
+ * description of the "userId" argument. This does not take any arguments.
+ */
+ public static final int MSGID_ADMIN_ARG_USERID_DESCRIPTION =
+ CATEGORY_MASK_ADMIN | SEVERITY_MASK_INFORMATIONAL | 73;
// Prevent instantiation.
private AdminMessages() {
@@ -774,5 +831,20 @@
"This is a required argument");
registerMessage(MSGID_ADMIN_SERVER_NOT_REGISTERED,
"The provided serverId is not registered");
+ registerMessage(MSGID_ADMIN_SUBCMD_CREATE_ADMIN_USER_DESCRIPTION,
+ "Creates a new administrator");
+ registerMessage(MSGID_ADMIN_SUBCMD_DELETE_ADMIN_USER_DESCRIPTION,
+ "Deletes an existing administrator");
+ registerMessage(MSGID_ADMIN_SUBCMD_LIST_ADMIN_USER_DESCRIPTION,
+ "Lists administrators that have been defined");
+ registerMessage(MSGID_ADMIN_SUBCMD_GET_ADMIN_USER_PROPERTIES_DESCRIPTION,
+ "Shows administrator's properties");
+ registerMessage(MSGID_ADMIN_SUBCMD_SET_ADMIN_USER_PROPERTIES_DESCRIPTION,
+ "Modifies administrator's properties");
+ registerMessage(MSGID_ADMIN_SUBCMD_LIST_ADMIN_USER_PROPERTIES_DESCRIPTION,
+ "Describes administrator's properties");
+ registerMessage(MSGID_ADMIN_ARG_USERID_DESCRIPTION,
+ "The administrator's unique identifier. " +
+ "This is a required argument");
}
}
--
Gitblit v1.10.0