1 package org.kuali.ole.select.document;
2
3 import org.kuali.rice.kew.api.exception.WorkflowException;
4 import org.kuali.rice.krad.document.TransactionalDocumentBase;
5 import org.springframework.web.multipart.MultipartFile;
6
7 import java.util.Date;
8
9
10
11
12
13
14
15
16 public class OLEPurchaseOrderBatchDocument extends TransactionalDocumentBase {
17
18 private MultipartFile ingestedFile;
19 private MultipartFile docIdIngestFile;
20 private String uploadFileName;
21 private String type;
22 private Date batchStartDate;
23 private String time;
24 private Integer documentIdentifier;
25 private String message;
26 private String principalName;
27
28 public void initiateDocument() throws WorkflowException {
29 this.getDocumentHeader().setDocumentDescription("Test");
30 }
31
32 public MultipartFile getIngestedFile() {
33 return ingestedFile;
34 }
35
36 public void setIngestedFile(MultipartFile ingestedFile) {
37 this.ingestedFile = ingestedFile;
38 }
39
40 public String getUploadFileName() {
41 return uploadFileName;
42 }
43
44 public void setUploadFileName(String uploadFileName) {
45 this.uploadFileName = uploadFileName;
46 }
47
48 public String getType() {
49 return type;
50 }
51
52 public void setType(String type) {
53 this.type = type;
54 }
55
56 public Date getBatchStartDate() {
57 return batchStartDate;
58 }
59
60 public void setBatchStartDate(Date batchStartDate) {
61 this.batchStartDate = batchStartDate;
62 }
63
64 public String getTime() {
65 return time;
66 }
67
68 public void setTime(String time) {
69 this.time = time;
70 }
71
72 public MultipartFile getDocIdIngestFile() {
73 return docIdIngestFile;
74 }
75
76 public void setDocIdIngestFile(MultipartFile docIdIngestFile) {
77 this.docIdIngestFile = docIdIngestFile;
78 }
79
80 public Integer getDocumentIdentifier() {
81 return documentIdentifier;
82 }
83
84 public void setDocumentIdentifier(Integer documentIdentifier) {
85 this.documentIdentifier = documentIdentifier;
86 }
87
88 public String getMessage() {
89 return message;
90 }
91
92 public void setMessage(String message) {
93 this.message = message;
94 }
95
96 public String getPrincipalName() {
97 return principalName;
98 }
99
100 public void setPrincipalName(String principalName) {
101 this.principalName = principalName;
102 }
103 }