Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
AuthorizationExceptionForm |
|
| 1.0;1 |
1 | /** | |
2 | * Copyright 2005-2011 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.kns.web.struts.form; | |
17 | ||
18 | import org.apache.struts.action.ActionMapping; | |
19 | ||
20 | import javax.servlet.http.HttpServletRequest; | |
21 | ||
22 | /** | |
23 | * Provides the form for displaying an AuthorizationException. | |
24 | */ | |
25 | 0 | public class AuthorizationExceptionForm extends KualiForm { |
26 | ||
27 | private static final long serialVersionUID = 4341621967261863961L; | |
28 | ||
29 | private String message; | |
30 | ||
31 | /** | |
32 | * Resets the attributes of the form retrieved from session. | |
33 | * @param mapping | |
34 | * @param request | |
35 | */ | |
36 | public void reset(ActionMapping mapping, HttpServletRequest request) { | |
37 | 0 | this.setMethodToCall(null); |
38 | 0 | this.setRefreshCaller(null); |
39 | 0 | this.setAnchor(null); |
40 | 0 | this.setCurrentTabIndex(0); |
41 | ||
42 | 0 | this.message = null; |
43 | 0 | } |
44 | ||
45 | public String getMessage() { | |
46 | 0 | return message; |
47 | } | |
48 | ||
49 | public void setMessage(String message) { | |
50 | 0 | this.message = message; |
51 | 0 | } |
52 | ||
53 | } |