mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Gaetan Boismal
24.53.2015 2bdcb07b1db84f321a3a84988799d2c78b1a1741
refs
author Gaetan Boismal <gaetan.boismal@forgerock.com>
Friday, April 24, 2015 09:53 +0200
committer Gaetan Boismal <gaetan.boismal@forgerock.com>
Friday, April 24, 2015 09:53 +0200
commit2bdcb07b1db84f321a3a84988799d2c78b1a1741
tree 0660e4eb53576e12bdce5d4e2a8ef4191c97a516 tree | zip | gz
parent 688633f95faa52515b090ff00440b1eebdaad7d9 view | diff
OPENDJ-1934 UI: Create/Update VLV indexes

Add support for pluggable backend VLV indexes in control panel

* org.forgerock.opendj.adapter.server3x.Converters.java
** Add two methods to convert pluaggable/JE backend VLV index search scope from old to new config framework classes

* org.opends.guitools.controlpanel.datamodel.VLVIndexTypeDescriptor.java
** Rename method getPluggableBackendVLVIndexScope(...) method to getBackendVLVIndexScope(...) in order to be more consistent with config framework classes

* org.opends.guitools.controlpanel.ui.AbstractVLVIndexPanel.java
** Add methods to create/update VLV indexes offline using the new configuration framework
** Remove hardcoded LDIF
** Use the SDK DN class instead of the legacy one

* org.opends.guitools.controlpanel.ui.VLVIndexPanel.java
** Add the pluggable backend indexes support in existing modifyIndex(...) method
** Rename modifyIndex() to modifyVLVIndexOffline()
** Rename modifyIndex(InitialLdapContext ctx) to modifyVLVIndexOnline(InitialContext ctx)
** Change the method process to avoid hardcoded LDIF code (getIndexLDIF() and inner class attribute) usage.
** Use inner class attribute when it is possible
** Remove useless comment

* org.opends.guitools.controlpanel.ui.NewVLVIndexPanel.java
** Add the pluggable backend VLV indexes support in existing createIndex(...) method
** Rename createIndex() to createVLVIndexOffline()
** Rename createIndex(InitialLdapContext ctx) to createVLVIndexOnline(InitialLdapContext ctx)
** Change the method process to avoid hardcoded LDIF code (getIndexLDIF() and inner class attribute) usage.
** Use inner class attribute when it is possible
5 files modified
438 ■■■■■ changed files
opendj-server-legacy/src/main/java/org/forgerock/opendj/adapter/server3x/Converters.java 63 ●●●●● diff | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/datamodel/VLVIndexDescriptor.java 2 ●●● diff | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/AbstractVLVIndexPanel.java 160 ●●●● diff | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/NewVLVIndexPanel.java 114 ●●●●● diff | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/VLVIndexPanel.java 99 ●●●● diff | view | raw | blame | history