View Javadoc

1   package org.kuali.ole.describe.bo;
2   
3   import org.kuali.ole.docstore.discovery.model.SearchCondition;
4   import org.kuali.ole.docstore.discovery.model.SearchParams;
5   import org.springframework.web.multipart.MultipartFile;
6   
7   import java.util.ArrayList;
8   import java.util.List;
9   
10  /**
11   * Created with IntelliJ IDEA.
12   * User: PJ7789
13   * Date: 14/12/12
14   * Time: 5:37 PM
15   * To change this template use File | Settings | File Templates.
16   */
17  public class ImportBibSearch {
18  
19      private String source;
20      private int    recordsInFile;
21      private int recordsImported = 0;
22      private String                            selectedFileName;
23      private List<WorkBibDocumentSearchResult> localBibDocumentSearchResults;
24      private List<WorkBibDocumentSearchResult> externalBibDocumentSearchResults;
25      private boolean                           returnCheck;
26      private WorkBibDocumentSearchResult       selectedMarc;
27      private MultipartFile                     locationFile;
28      private String                            message;
29      private int selectedRecordIndex = 0;
30  
31  
32      public String getSource() {
33          return source;
34      }
35  
36      public void setSource(String source) {
37          this.source = source;
38      }
39  
40      public int getRecordsInFile() {
41          return recordsInFile;
42      }
43  
44      public void setRecordsInFile(int recordsInFile) {
45          this.recordsInFile = recordsInFile;
46      }
47  
48      public int getRecordsImported() {
49          return recordsImported;
50      }
51  
52      public void setRecordsImported(int recordsImported) {
53          this.recordsImported = recordsImported;
54      }
55  
56      public String getSelectedFileName() {
57          return selectedFileName;
58      }
59  
60      public void setSelectedFileName(String selectedFileName) {
61          this.selectedFileName = selectedFileName;
62      }
63  
64      public List<WorkBibDocumentSearchResult> getLocalBibDocumentSearchResults() {
65          return localBibDocumentSearchResults;
66      }
67  
68      public void setLocalBibDocumentSearchResults(List<WorkBibDocumentSearchResult> localBibDocumentSearchResults) {
69          this.localBibDocumentSearchResults = localBibDocumentSearchResults;
70      }
71  
72      public List<WorkBibDocumentSearchResult> getExternalBibDocumentSearchResults() {
73          return externalBibDocumentSearchResults;
74      }
75  
76      public void setExternalBibDocumentSearchResults(
77              List<WorkBibDocumentSearchResult> externalBibDocumentSearchResults) {
78          this.externalBibDocumentSearchResults = externalBibDocumentSearchResults;
79      }
80  
81      public boolean isReturnCheck() {
82          return returnCheck;
83      }
84  
85      public void setReturnCheck(boolean returnCheck) {
86          this.returnCheck = returnCheck;
87      }
88  
89      /* public SearchParams getSearchParams() {
90          if (null == searchParams) {
91              searchParams = new SearchParams();
92          }
93          return searchParams;
94      }
95  
96      public void setSearchParams(SearchParams searchParams) {
97          this.searchParams = searchParams;
98      }*/
99  
100     public WorkBibDocumentSearchResult getSelectedMarc() {
101         return selectedMarc;
102     }
103 
104     public void setSelectedMarc(WorkBibDocumentSearchResult selectedMarc) {
105         this.selectedMarc = selectedMarc;
106     }
107 
108     public MultipartFile getLocationFile() {
109         return locationFile;
110     }
111 
112     public void setLocationFile(MultipartFile locationFile) {
113         this.locationFile = locationFile;
114     }
115 
116     public String getMessage() {
117         return message;
118     }
119 
120     public void setMessage(String message) {
121         this.message = message;
122     }
123 
124     public int getSelectedRecordIndex() {
125         return selectedRecordIndex;
126     }
127 
128     public void setSelectedRecordIndex(int selectedRecordIndex) {
129         this.selectedRecordIndex = selectedRecordIndex;
130     }
131 }