1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
package org.kuali.student.lum.workflow.qualifierresolver; |
17 |
|
|
18 |
|
import java.util.List; |
19 |
|
|
20 |
|
import org.kuali.rice.kew.engine.RouteContext; |
21 |
|
import org.kuali.rice.kim.bo.types.dto.AttributeSet; |
22 |
|
import org.kuali.rice.student.bo.KualiStudentKimAttributes; |
23 |
|
|
|
|
| 0% |
Uncovered Elements: 8 (8) |
Complexity: 3 |
Complexity Density: 0.6 |
|
24 |
|
public class CollegeCommitteeQualifierResolver extends AbstractCocOrgQualifierResolver { |
25 |
|
|
|
|
| 0% |
Uncovered Elements: 7 (7) |
Complexity: 3 |
Complexity Density: 0.6 |
|
26 |
0
|
@Override... |
27 |
|
public List<AttributeSet> resolve(RouteContext routeContext) { |
28 |
0
|
List<AttributeSet> attributeSets = super.resolve(routeContext); |
29 |
0
|
String orgId = null; |
30 |
0
|
if (attributeSets.size() > 0 && attributeSets.get(0).size() > 0) { |
31 |
0
|
orgId = getAttribute(attributeSets, KualiStudentKimAttributes.QUALIFICATION_ORG_ID); |
32 |
|
} |
33 |
0
|
return cocAttributeSetsFromAncestors(orgId,KUALI_ORG_COLLEGE,KualiStudentKimAttributes.QUALIFICATION_COLLEGE,KualiStudentKimAttributes.QUALIFICATION_COLLEGE_ID); |
34 |
|
} |
35 |
|
|
36 |
|
} |