View Javadoc
1   /**
2    * Copyright 2005-2016 The Kuali Foundation
3    *
4    * Licensed under the Educational Community License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    * http://www.opensource.org/licenses/ecl2.php
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package org.kuali.rice.krad.labs.fileUploads;
17  
18  import org.kuali.rice.krad.labs.KradLabsForm;
19  import org.kuali.rice.krad.uif.util.SessionTransient;
20  import org.springframework.web.multipart.MultipartFile;
21  
22  /**
23   * Form class for the file uploads lab view
24   *
25   * @author Kuali Rice Team (rice.collab@kuali.org)
26   */
27  public class LabsFileUploadsForm extends KradLabsForm {
28      private static final long serialVersionUID = -6189618372290245896L;
29  
30      @SessionTransient
31      private MultipartFile uploadOne;
32      @SessionTransient
33      private MultipartFile uploadTwo;
34  
35      public MultipartFile getUploadOne() {
36          return uploadOne;
37      }
38  
39      public void setUploadOne(MultipartFile uploadOne) {
40          this.uploadOne = uploadOne;
41      }
42  
43      public MultipartFile getUploadTwo() {
44          return uploadTwo;
45      }
46  
47      public void setUploadTwo(MultipartFile uploadTwo) {
48          this.uploadTwo = uploadTwo;
49      }
50  }