1 package org.kuali.ole.select.keyvalue;
2
3 import org.kuali.ole.OLEConstants;
4 import org.kuali.rice.core.api.util.ConcreteKeyValue;
5 import org.kuali.rice.core.api.util.KeyValue;
6 import org.kuali.rice.krad.uif.control.UifKeyValuesFinderBase;
7
8 import java.util.ArrayList;
9 import java.util.List;
10
11
12
13
14 public class OLEPlatformSearchFinder extends UifKeyValuesFinderBase {
15 @Override
16 public List<KeyValue> getKeyValues() {
17 List<KeyValue> platformSearchOptions = new ArrayList<KeyValue>();
18
19 platformSearchOptions.add(new ConcreteKeyValue(OLEConstants.PLATFORM_NAME, OLEConstants.PLATFORM_NAME_VALUE));
20 platformSearchOptions.add(new ConcreteKeyValue(OLEConstants.GOKB_ID, OLEConstants.PLATFORM_GOKB_ID));
21 platformSearchOptions.add(new ConcreteKeyValue(OLEConstants.OLE_PLATFORM_ID, OLEConstants.PLATFORM_OLE_ID));
22 platformSearchOptions.add(new ConcreteKeyValue(OLEConstants.PLATFORM_PROVIDER_NAME, OLEConstants.PLATFORM_PROVIDER_NAME_VALUE));
23 platformSearchOptions.add(new ConcreteKeyValue(OLEConstants.STATUS_NAME, OLEConstants.PLATFORM_STATUS));
24
25 return platformSearchOptions;
26 }
27 }