View Javadoc
1   package org.kuali.ole.batch.keyvalue;
2   
3   import org.kuali.ole.OLEConstants;
4   import org.kuali.ole.batch.impl.OLEBatchProcess;
5   import org.kuali.rice.core.api.util.ConcreteKeyValue;
6   import org.kuali.rice.core.api.util.KeyValue;
7   import org.kuali.rice.krad.keyvalues.KeyValuesBase;
8   
9   import java.util.ArrayList;
10  import java.util.List;
11  
12  /**
13   * Created with IntelliJ IDEA.
14   * User: rajeshbabuk
15   * Date: 7/31/13
16   * Time: 5:08 PM
17   * To change this template use File | Settings | File Templates.
18   */
19  public class OLEBatchProcessExportScopeValuesFinder extends KeyValuesBase {
20  
21      @Override
22      public List<KeyValue> getKeyValues() {
23          List<KeyValue> keyValues = new ArrayList<KeyValue>();
24          keyValues.add(new ConcreteKeyValue(OLEBatchProcess.EXPORT_FULL,"Full"));
25          keyValues.add(new ConcreteKeyValue(OLEBatchProcess.EXPORT_EX_STAFF,"Full except staff-only"));
26          keyValues.add(new ConcreteKeyValue(OLEBatchProcess.EXPORT_FILTER,"Filter"));
27          keyValues.add(new ConcreteKeyValue(OLEBatchProcess.EXPORT_INC,"Incremental"));
28          keyValues.add(new ConcreteKeyValue(OLEBatchProcess.INCREMENTAL_EXPORT_EX_STAFF,"Incremental except staff-only"));
29          return keyValues;
30      }
31  }