View Javadoc
1   /*
2    * The Kuali Financial System, a comprehensive financial management system for higher education.
3    * 
4    * Copyright 2005-2014 The Kuali Foundation
5    * 
6    * This program is free software: you can redistribute it and/or modify
7    * it under the terms of the GNU Affero General Public License as
8    * published by the Free Software Foundation, either version 3 of the
9    * License, or (at your option) any later version.
10   * 
11   * This program is distributed in the hope that it will be useful,
12   * but WITHOUT ANY WARRANTY; without even the implied warranty of
13   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14   * GNU Affero General Public License for more details.
15   * 
16   * You should have received a copy of the GNU Affero General Public License
17   * along with this program.  If not, see <http://www.gnu.org/licenses/>.
18   */
19  package org.kuali.kfs.module.tem.document.web.bean;
20  
21  import java.util.List;
22  import java.util.Map;
23  
24  import org.kuali.kfs.module.tem.businessobject.ActualExpense;
25  import org.kuali.kfs.module.tem.businessobject.GroupTraveler;
26  import org.kuali.kfs.module.tem.businessobject.TravelerDetail;
27  import org.kuali.kfs.module.tem.businessobject.TravelerDetailEmergencyContact;
28  import org.kuali.kfs.module.tem.document.TravelAuthorizationDocument;
29  import org.kuali.rice.kns.web.ui.ExtraButton;
30  
31  public interface TravelAuthorizationMvcWrapperBean extends TravelMvcWrapperBean {
32      /**
33       * Gets the newEmergencyContactLine attribute.
34       *
35       * @return Returns the newEmergencyContactLine.
36       */
37      TravelerDetailEmergencyContact getNewEmergencyContactLine();
38  
39  
40      /**
41       * Sets the newEmergencyContactLine attribute value.
42       *
43       * @param newEmergencyContactLine The newEmergencyContactLine to set.
44       */
45      void setNewEmergencyContactLine(TravelerDetailEmergencyContact newEmergencyContactLine);
46  
47  
48      @Override
49      /**
50       * Gets the newActualExpenseLine attribute.
51       *
52       * @return Returns the newActualExpenseLine.
53       */
54      ActualExpense getNewActualExpenseLine();
55  
56      @Override
57      /**
58       * Sets the newActualExpenseLine attribute value.
59       *
60       * @param newActualExpenseLine The newActualExpenseLine to set.
61       */
62      void setNewActualExpenseLine(ActualExpense newActualExpenseLine);
63  
64      @Override
65      /**
66       * Gets the newActualExpenseLines attribute.
67       *
68       * @return Returns the newActualExpenseLines.
69       */
70      List<ActualExpense> getNewActualExpenseLines();
71  
72      @Override
73      /**
74       * Sets the newActualExpenseLines attribute value.
75       *
76       * @param newActualExpenseLines The newActualExpenseLines to set.
77       */
78      void setNewActualExpenseLines(List<ActualExpense> newActualExpenseLines);
79  
80  
81      /**
82       * Gets the newGroupTravelerLine attribute.
83       *
84       * @return Returns the newGroupTravelerLine.
85       */
86      GroupTraveler getNewGroupTravelerLine();
87  
88      /**
89       * Sets the newGroupTravelerLine attribute value.
90       *
91       * @param newGroupTravelerLine The newGroupTravelerLine to set.
92       */
93      void setNewGroupTravelerLine(GroupTraveler newGroupTravelerLine);
94  
95      /**
96       * Gets the selectedTransportationModes attribute.
97       *
98       * @return Returns the selectedTransportationModes.
99       */
100     List<String> getSelectedTransportationModes();
101 
102     /**
103      * Sets the selectedTransportationModes attribute value.
104      *
105      * @param selectedTransportationModes The selectedTransportationModes to set.
106      */
107     void setSelectedTransportationModes(List<String> selectedTransportationModes);
108 
109     List<String> getTempSelectedTransporationModes();
110 
111     /**
112      * @return TravelAuthorizationDocument
113      */
114     TravelAuthorizationDocument getTravelAuthorizationDocument();
115 
116     void setNewTraveler(final TravelerDetail traveler);
117 
118     TravelerDetail getNewTraveler();
119 
120     @Override
121     List<ExtraButton> getExtraButtons();
122 
123     boolean isCanUnmask();
124 
125     void setCanUnmask(boolean canUnmask);
126 
127 
128     @Override
129     Map<String, String> getModesOfTransportation();
130 }