Java examples of search interface methods

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();
}
Note: Search interface keys are not returned in calls to the Navigation.getERecSearchKeys() method, which returns only basic record properties and dimensions.