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