1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package org.kuali.rice.kns.web.struts.form; |
17 | |
|
18 | |
import org.kuali.rice.kns.web.struts.action.BackdoorAction; |
19 | |
|
20 | |
|
21 | |
|
22 | |
|
23 | |
|
24 | |
|
25 | |
|
26 | |
|
27 | 0 | public class BackdoorForm extends KualiForm { |
28 | |
|
29 | |
private static final long serialVersionUID = -2720178686804392055L; |
30 | |
|
31 | 0 | private String methodToCall = ""; |
32 | |
private String backdoorId; |
33 | |
private Boolean showBackdoorLogin; |
34 | |
private Boolean isAdmin; |
35 | |
private String linkTarget; |
36 | |
private String targetName; |
37 | |
|
38 | |
private String backdoorLinksBackdoorLogin; |
39 | |
|
40 | 0 | private String graphic="yes"; |
41 | |
|
42 | |
public String getBackdoorId() { |
43 | 0 | return backdoorId; |
44 | |
} |
45 | |
public void setBackdoorId(String backdoorId) { |
46 | 0 | this.backdoorId = backdoorId; |
47 | 0 | } |
48 | |
public String getMethodToCall() { |
49 | 0 | return methodToCall; |
50 | |
} |
51 | |
public void setMethodToCall(String methodToCall) { |
52 | 0 | this.methodToCall = methodToCall; |
53 | 0 | } |
54 | |
public Boolean getIsAdmin() { |
55 | 0 | return isAdmin; |
56 | |
} |
57 | |
public void setIsAdmin(Boolean isAdmin) { |
58 | 0 | this.isAdmin = isAdmin; |
59 | 0 | } |
60 | |
public Boolean getShowBackdoorLogin() { |
61 | 0 | return showBackdoorLogin; |
62 | |
} |
63 | |
public void setShowBackdoorLogin(Boolean showBackdoorLogin) { |
64 | 0 | this.showBackdoorLogin = showBackdoorLogin; |
65 | 0 | } |
66 | |
public String getLinkTarget() { |
67 | 0 | return linkTarget; |
68 | |
} |
69 | |
public void setLinkTarget(String linkTarget) { |
70 | 0 | this.linkTarget = linkTarget; |
71 | 0 | } |
72 | |
|
73 | |
|
74 | |
|
75 | |
|
76 | |
|
77 | |
|
78 | |
|
79 | |
|
80 | |
public String getGraphic(){ |
81 | 0 | return this.graphic; |
82 | |
} |
83 | |
public void setGraphic(String choice){ |
84 | 0 | if(!org.apache.commons.lang.StringUtils.isEmpty(choice)&&choice.trim().equals("no")){ |
85 | 0 | this.graphic="no"; |
86 | |
}else{ |
87 | 0 | this.graphic="yes"; |
88 | |
} |
89 | 0 | } |
90 | |
public String getBackdoorLinksBackdoorLogin() { |
91 | 0 | return backdoorLinksBackdoorLogin; |
92 | |
} |
93 | |
public void setBackdoorLinksBackdoorLogin(String backdoorLinksBackdoorLogin) { |
94 | 0 | this.backdoorLinksBackdoorLogin = backdoorLinksBackdoorLogin; |
95 | 0 | } |
96 | |
} |