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 private String navigationBatchProcessId;
25
26 public String getBatchProcessId() {
27 return batchProcessId;
28 }
29
30 public void setBatchProcessId(String batchProcessId) {
31 this.batchProcessId = batchProcessId;
32 }
33
34 public String getBatchProcessType() {
35 return batchProcessType;
36 }
37
38 public void setBatchProcessType(String batchProcessType) {
39 this.batchProcessType = batchProcessType;
40 }
41
42 public OLEBatchProcessDefinitionForm() {
43 super();
44 }
45 @Override
46 protected String getDefaultDocumentTypeName() {
47 return "OLE_BCH_PRCS_PRFL_DOC";
48 }
49
50 public OLEBatchProcessDefinitionDocument getOleBatchProcessDefinitionDocument() {
51 return oleBatchProcessDefinitionDocument;
52 }
53
54 public void setOleBatchProcessDefinitionDocument(OLEBatchProcessDefinitionDocument oleBatchProcessDefinitionDocument) {
55 this.oleBatchProcessDefinitionDocument = oleBatchProcessDefinitionDocument;
56 }
57
58 public boolean isPermissionFlag() {
59 return permissionFlag;
60 }
61
62 public void setPermissionFlag(boolean permissionFlag) {
63 this.permissionFlag = permissionFlag;
64 }
65
66 public boolean isMarcOnly() {
67 OLEBatchProcessDefinitionDocument batchProcessDefinitionDocument = (OLEBatchProcessDefinitionDocument)getDocument();
68 if(batchProcessDefinitionDocument.getMarcOnly() != null){
69 return batchProcessDefinitionDocument.getMarcOnly();
70 }
71 return false;
72 }
73
74 public void setMarcOnly(boolean marcOnly) {
75 this.marcOnly = marcOnly;
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
105
106 public String getNavigationBatchProcessId() {
107 return navigationBatchProcessId;
108 }
109
110 public void setNavigationBatchProcessId(String navigationBatchProcessId) {
111 this.navigationBatchProcessId = navigationBatchProcessId;
112 }
113 }