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