To obtain a list of valid search interfaces in Java, use the Navigation.getERecCompoundSearchKeys() method.
The following example shows how the Navigation.getERecCompoundSearchKeys() method can be used to obtain a list of search interface keys:
ERecCompoundSearchKeyList keylist =
nav.getERecCompoundSearchKeys();
for (int i=0; i < keylist.size(); i++) {
// Get specific search interface key
ERecCompoundSearchKey key = keylist.getKey(i);
String name = key.getName();
boolean active = key.isActive();
}