View Javadoc
1   package org.kuali.ole.batch.form;
2   
3   import org.kuali.ole.batch.bo.OLEBatchProcessJobDetailsBo;
4   import org.kuali.ole.batch.bo.OLEBatchProcessScheduleBo;
5   import org.kuali.ole.batch.document.OLEBatchProcessDefinitionDocument;
6   import org.kuali.rice.krad.web.form.TransactionalDocumentFormBase;
7   
8   import java.util.ArrayList;
9   import java.util.Date;
10  import java.util.List;
11  
12  /**
13   * Created with IntelliJ IDEA.
14   * User: krishnamohanv
15   * Date: 7/12/13
16   * Time: 2:54 PM
17   * To change this template use File | Settings | File Templates.
18   */
19  public class OLEBatchProcessJobDetailsForm extends  TransactionalDocumentFormBase {
20  
21      private String jobId;
22      private List<OLEBatchProcessScheduleBo> oleBatchProcessScheduleBoList = new ArrayList<OLEBatchProcessScheduleBo>();
23      private String scheduleId;
24      private List<OLEBatchProcessDefinitionDocument>  oleBatchProcessDefinitionDocument;
25      private OLEBatchProcessJobDetailsBo oleBatchProcessJobDetailsBo;
26      private List<OLEBatchProcessJobDetailsBo> oleBatchProcessJobDetailsBoList = new ArrayList<OLEBatchProcessJobDetailsBo>();
27      private Date jobFromDate;
28      private Date jobToDate;
29      private boolean singleJobView;
30  
31      public OLEBatchProcessJobDetailsBo getOleBatchProcessJobDetailsBo() {
32          return oleBatchProcessJobDetailsBo;
33      }
34  
35      public void setOleBatchProcessJobDetailsBo(OLEBatchProcessJobDetailsBo oleBatchProcessJobDetailsBo) {
36          this.oleBatchProcessJobDetailsBo = oleBatchProcessJobDetailsBo;
37      }
38  
39      public List<OLEBatchProcessDefinitionDocument> getOleBatchProcessDefinitionDocument() {
40          return oleBatchProcessDefinitionDocument;
41      }
42  
43      public void setOleBatchProcessDefinitionDocument(List<OLEBatchProcessDefinitionDocument> oleBatchProcessDefinitionDocument) {
44          this.oleBatchProcessDefinitionDocument = oleBatchProcessDefinitionDocument;
45      }
46  
47      public String getScheduleId() {
48          return scheduleId;
49      }
50  
51      public void setScheduleId(String scheduleId) {
52          this.scheduleId = scheduleId;
53      }
54  
55      public String getJobId() {
56          return jobId;
57      }
58  
59      public void setJobId(String jobId) {
60          this.jobId = jobId;
61      }
62  
63      public List<OLEBatchProcessJobDetailsBo> getOleBatchProcessJobDetailsBoList() {
64          return oleBatchProcessJobDetailsBoList;
65      }
66  
67      public void setOleBatchProcessJobDetailsBoList(List<OLEBatchProcessJobDetailsBo> oleBatchProcessJobDetailsBoList) {
68          this.oleBatchProcessJobDetailsBoList = oleBatchProcessJobDetailsBoList;
69      }
70  
71      public OLEBatchProcessJobDetailsForm() {
72          super();
73          oleBatchProcessJobDetailsBoList.add(new OLEBatchProcessJobDetailsBo());
74      }
75  
76      private List<OLEBatchProcessDefinitionDocument> oleBatchProcessDefinitionDocumentList;
77  
78      public List<OLEBatchProcessDefinitionDocument> getOleBatchProcessDefinitionDocumentList() {
79          return oleBatchProcessDefinitionDocumentList;
80      }
81  
82      public void setOleBatchProcessDefinitionDocumentList(List<OLEBatchProcessDefinitionDocument> oleBatchProcessDefinitionDocumentList) {
83          this.oleBatchProcessDefinitionDocumentList = oleBatchProcessDefinitionDocumentList;
84      }
85  
86  
87  
88  
89      @Override
90      protected String getDefaultDocumentTypeName() {
91          return "OLE_BTCH_PRCS_JOB";
92      }
93  
94  
95  
96      public List<OLEBatchProcessScheduleBo> getOleBatchProcessScheduleBoList() {
97          return oleBatchProcessScheduleBoList;
98      }
99  
100     public void setOleBatchProcessScheduleBoList(List<OLEBatchProcessScheduleBo> oleBatchProcessScheduleBoList) {
101         this.oleBatchProcessScheduleBoList = oleBatchProcessScheduleBoList;
102     }
103 
104     public Date getJobFromDate() {
105         return jobFromDate;
106     }
107 
108     public void setJobFromDate(Date jobFromDate) {
109         this.jobFromDate = jobFromDate;
110     }
111 
112     public Date getJobToDate() {
113         return jobToDate;
114     }
115 
116     public void setJobToDate(Date jobToDate) {
117         this.jobToDate = jobToDate;
118     }
119 
120     public boolean isSingleJobView() {
121         return singleJobView;
122     }
123 
124     public void setSingleJobView(boolean singleJobView) {
125         this.singleJobView = singleJobView;
126     }
127 }