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