1 package org.kuali.ole.batch.form;
2
3 import org.kuali.ole.batch.document.OLEBatchProcessDefinitionDocument;
4 import org.kuali.rice.krad.web.form.TransactionalDocumentFormBase;
5
6 import java.util.ArrayList;
7 import java.util.List;
8
9
10
11
12
13
14
15
16 public class OLEBatchProcessDefinitionForm extends TransactionalDocumentFormBase {
17
18 private OLEBatchProcessDefinitionDocument oleBatchProcessDefinitionDocument;
19
20 private String batchProcessId;
21 private String batchProcessType;
22 private boolean permissionFlag =true;
23 private boolean marcOnly;
24
25 public String getBatchProcessId() {
26 return batchProcessId;
27 }
28
29 public void setBatchProcessId(String batchProcessId) {
30 this.batchProcessId = batchProcessId;
31 }
32
33 public String getBatchProcessType() {
34 return batchProcessType;
35 }
36
37 public void setBatchProcessType(String batchProcessType) {
38 this.batchProcessType = batchProcessType;
39 }
40
41 public OLEBatchProcessDefinitionForm() {
42 super();
43 }
44 @Override
45 protected String getDefaultDocumentTypeName() {
46 return "OLE_BCH_PRCS_PRFL_DOC";
47 }
48
49 public OLEBatchProcessDefinitionDocument getOleBatchProcessDefinitionDocument() {
50 return oleBatchProcessDefinitionDocument;
51 }
52
53 public void setOleBatchProcessDefinitionDocument(OLEBatchProcessDefinitionDocument oleBatchProcessDefinitionDocument) {
54 this.oleBatchProcessDefinitionDocument = oleBatchProcessDefinitionDocument;
55 }
56
57 public boolean isPermissionFlag() {
58 return permissionFlag;
59 }
60
61 public void setPermissionFlag(boolean permissionFlag) {
62 this.permissionFlag = permissionFlag;
63 }
64
65 public boolean isMarcOnly() {
66 OLEBatchProcessDefinitionDocument batchProcessDefinitionDocument = (OLEBatchProcessDefinitionDocument)getDocument();
67 if(batchProcessDefinitionDocument.getMarcOnly() != null){
68 return batchProcessDefinitionDocument.getMarcOnly();
69 }
70 return false;
71 }
72
73 public void setMarcOnly(boolean marcOnly) {
74 this.marcOnly = marcOnly;
75 }
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104 }