View Javadoc
1   package org.kuali.ole.batch.keyvalue;
2   
3   import org.kuali.ole.OLEConstants;
4   import org.kuali.rice.core.api.util.ConcreteKeyValue;
5   import org.kuali.rice.krad.keyvalues.KeyValuesBase;
6   
7   import java.util.ArrayList;
8   import java.util.List;
9   
10  /**
11   * Created by hemalathas on 12/31/14.
12   */
13  public class OLEBatchProcessProfileNameValueFinder extends KeyValuesBase {
14      @Override
15      public List getKeyValues() {
16          List labels = new ArrayList();
17          labels.add(new ConcreteKeyValue("", ""));
18          labels.add(new ConcreteKeyValue("Order Record Import", OLEConstants.OLEBatchProcess.ORDER_RECORD_IMPORT));
19          labels.add(new ConcreteKeyValue("Invoice Import", OLEConstants.OLEBatchProcess.INVOICE_IMPORT));
20          labels.add(new ConcreteKeyValue("Batch Delete", OLEConstants.OLEBatchProcess.BATCH_DELETE));
21          labels.add(new ConcreteKeyValue("Batch Export", OLEConstants.OLEBatchProcess.BATCH_EXPORT));
22          labels.add(new ConcreteKeyValue("Patron Import", OLEConstants.OLEBatchProcess.PATRON_IMPORT));
23          labels.add(new ConcreteKeyValue("Bib Import", OLEConstants.OLEBatchProcess.BATCH_BIB_IMPORT));
24          labels.add(new ConcreteKeyValue("Location Import", OLEConstants.OLEBatchProcess.LOCATION_IMPORT));
25          labels.add(new ConcreteKeyValue("Claim Report", OLEConstants.OLEBatchProcess.CLAIM_REPORT));
26          labels.add(new ConcreteKeyValue("Serial Record Import", OLEConstants.OLEBatchProcess.SERIAL_RECORD_IMPORT));
27          return labels;
28      }
29  
30  }