From 4c6354275265e835bbab21af899df63b4dc0ebcb Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Wed, 26 Sep 2007 00:49:44 +0000
Subject: [PATCH] Update the backend API to include new isIndexed methods that can be used to determine whether a given attribute is indexed in a specified manner, or that can be used to determine whether a specified filter is indexed.  At present, all backends except the JE backend and the replication backend are considered always indexed for all operations.  The JE backend is only considered indexed based on its index configuration.  The replication backend is never considered indexed.

---
 opends/src/admin/defn/org/opends/server/admin/std/LDIFBackendConfiguration.xml |   30 +++++++++++++++++++++++++++---
 1 files changed, 27 insertions(+), 3 deletions(-)

diff --git a/opends/src/admin/defn/org/opends/server/admin/std/LDIFBackendConfiguration.xml b/opends/src/admin/defn/org/opends/server/admin/std/LDIFBackendConfiguration.xml
index 6f11e61..263123b 100644
--- a/opends/src/admin/defn/org/opends/server/admin/std/LDIFBackendConfiguration.xml
+++ b/opends/src/admin/defn/org/opends/server/admin/std/LDIFBackendConfiguration.xml
@@ -59,9 +59,7 @@
     </adm:default-behavior>
   </adm:property-override>
 
-  <adm:property name="ldif-file"
-  mandatory="true"
-  multi-valued="false">
+  <adm:property name="ldif-file" mandatory="true" multi-valued="false">
     <adm:synopsis>
       This specifies the path to the LDIF file containing the data for this
       backend.
@@ -80,5 +78,31 @@
     </adm:profile>
   </adm:property>
 
+  <adm:property name="is-private-backend" mandatory="false"
+    multi-valued="false">
+    <adm:synopsis>
+      This indicates whether the backend should be considered a private backend,
+      which indicates that it is used for storing operational data rather than
+      user-defined information.
+    </adm:synopsis>
+    <adm:requires-admin-action>
+      <adm:component-restart />
+    </adm:requires-admin-action>
+    <adm:default-behavior>
+      <adm:defined>
+        <adm:value>false</adm:value>
+      </adm:defined>
+    </adm:default-behavior>
+    <adm:syntax>
+      <adm:boolean />
+    </adm:syntax>
+    <adm:profile name="ldap">
+      <ldap:attribute>
+        <ldap:oid>1.3.6.1.4.1.26027.1.1.497</ldap:oid>
+        <ldap:name>ds-cfg-is-private-backend</ldap:name>
+      </ldap:attribute>
+    </adm:profile>
+  </adm:property>
+
 </adm:managed-object>
 

--
Gitblit v1.10.0