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

Gaetan Boismal
24.53.2015 688633f95faa52515b090ff00440b1eebdaad7d9
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
commit688633f95faa52515b090ff00440b1eebdaad7d9
tree fafc78d4f1e01976eefb9f1ce151eed395e4f1b4 tree | zip | gz
parent 1bc6b2380cdc0476285e45cf184adc77cb1278ea view | diff
OPENDJ-1934 UI: Create/Update indexes

Add support for pluggable backend indexes in control panel

* org.opends.guitools.controlpanel.datamodel.ControlPanelInfo.java
** Add a method to initialize the new config framework

* org.opends.guitools.controlpanel.datamodel.IndexTypeDescriptor.java
** For each old/new configuration index type, creates a local attribute to replace existing and avoid new switch statements
** Add two new methods to retrieve a set of new configuration index types for a provided set of IndexDescriptor

* org.opends.guitools.controlpanel.ui.AbstractIndexPanel.java
** Add methods to create/update indexes offline using the new configuration framework

* org.opends.guitools.controlpanel.ui.IndexPanel.java
** Add the pluggable backend indexes support in existing modifyIndex(...) method
** Rename modifyIndex() to modifyIndexOffline()
** Rename modifyIndex(InitialLdapContext ctx) to modifyIndexOnline(InitialContext ctx)
** Change the method process to avoid hardcoded LDIF code (getIndexLDIF()) usage.
** Remove outdated comment

* org.opends.guitools.controlpanel.ui.NewIndexPanel.java
** Add the pluggable backend indexes support in existing createIndex(...) method
** Rename createIndex() to createIndexOffline()
** Rename createIndex(InitialLdapContext ctx) to createIndexOnline(InitialLdapContext ctx)
** Change the method process to avoid hardcoded LDIF code (getIndexLDIF()) usage.
** Remove outdated comment
6 files modified
576 ■■■■■ changed files
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/datamodel/ControlPanelInfo.java 38 ●●●● diff | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/datamodel/IndexTypeDescriptor.java 134 ●●●●● diff | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/AbstractIndexPanel.java 107 ●●●●● diff | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/IndexPanel.java 122 ●●●●● diff | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/NewIndexPanel.java 156 ●●●● diff | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/util/Utilities.java 19 ●●●●● diff | view | raw | blame | history