From e1ea3e0d8999105f144d2be98e0286928b8319ed Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Tue, 03 Apr 2007 18:52:11 +0000
Subject: [PATCH] Add initial support for a virtual attribute subsystem, and implement a few different kinds of virtual attributes. This commit addresses the following issues:
---
opends/src/server/org/opends/server/messages/ExtensionsMessages.java | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/opends/src/server/org/opends/server/messages/ExtensionsMessages.java b/opends/src/server/org/opends/server/messages/ExtensionsMessages.java
index bc856f8..7866cc2 100644
--- a/opends/src/server/org/opends/server/messages/ExtensionsMessages.java
+++ b/opends/src/server/org/opends/server/messages/ExtensionsMessages.java
@@ -4826,6 +4826,16 @@
/**
+ * The message ID for the message that will be used if a search operation has
+ * a filter targeting the subschemaSubentry virtual attribute, which is not
+ * searchable. This takes a single argument, which is the name of the
+ * subschemaSubentry attribute type.
+ */
+ public static final int MSGID_SUBSCHEMASUBENTRY_VATTR_NOT_SEARCHABLE =
+ CATEGORY_MASK_EXTENSIONS | SEVERITY_MASK_MILD_ERROR | 459;
+
+
+ /**
* Associates a set of generic messages with the message IDs defined in this
* class.
*/
@@ -6962,6 +6972,11 @@
"The provided password does not contain enough unique " +
"characters. The minimum number of unique characters " +
"that may appear in a user password is %d.");
+
+
+ registerMessage(MSGID_SUBSCHEMASUBENTRY_VATTR_NOT_SEARCHABLE,
+ "The %s attribute is not searchable and should not be " +
+ "included in otherwise unindexed search filters.");
}
}
--
Gitblit v1.10.0