1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
|
17 | |
package org.kuali.rice.kew.user; |
18 | |
|
19 | |
import org.kuali.rice.kew.actionrequest.Recipient; |
20 | |
import org.kuali.rice.kew.rule.ResolvedQualifiedRole; |
21 | |
|
22 | |
|
23 | |
|
24 | |
|
25 | |
|
26 | |
|
27 | |
public class RoleRecipient implements Recipient { |
28 | |
|
29 | |
private static final long serialVersionUID = -8694150869017306593L; |
30 | |
|
31 | |
private String roleName; |
32 | |
private String qualifiedRoleName; |
33 | |
private ResolvedQualifiedRole resolvedQualifiedRole; |
34 | |
private Recipient targetRecipient; |
35 | |
|
36 | 0 | public RoleRecipient(){} |
37 | |
|
38 | 0 | public RoleRecipient(String roleName) { |
39 | 0 | this.roleName = roleName; |
40 | 0 | } |
41 | |
|
42 | 0 | public RoleRecipient(String roleName, String qualifiedRoleName, ResolvedQualifiedRole resolvedQualifiedRole) { |
43 | 0 | this.roleName = roleName; |
44 | 0 | this.qualifiedRoleName = qualifiedRoleName; |
45 | 0 | this.resolvedQualifiedRole = resolvedQualifiedRole; |
46 | 0 | } |
47 | |
|
48 | |
public String getRoleName() { |
49 | 0 | return roleName; |
50 | |
} |
51 | |
|
52 | |
public void setRoleName(String roleName) { |
53 | 0 | this.roleName = roleName; |
54 | 0 | } |
55 | |
|
56 | |
public String getQualifiedRoleName() { |
57 | 0 | return qualifiedRoleName; |
58 | |
} |
59 | |
|
60 | |
public void setQualifiedRoleName(String qualifiedRoleName) { |
61 | 0 | this.qualifiedRoleName = qualifiedRoleName; |
62 | 0 | } |
63 | |
|
64 | |
public ResolvedQualifiedRole getResolvedQualifiedRole() { |
65 | 0 | return resolvedQualifiedRole; |
66 | |
} |
67 | |
|
68 | |
public void setResolvedQualifiedRole(ResolvedQualifiedRole resolvedQualifiedRole) { |
69 | 0 | this.resolvedQualifiedRole = resolvedQualifiedRole; |
70 | 0 | } |
71 | |
|
72 | |
public Recipient getTarget() { |
73 | 0 | return targetRecipient; |
74 | |
} |
75 | |
|
76 | |
public void setTarget(Recipient target) { |
77 | 0 | this.targetRecipient = target; |
78 | 0 | } |
79 | |
} |