org.kuali.student.lum.workflow.qualifierresolver
Class OrganizationCurriculumCommitteeQualifierResolver
java.lang.Object
org.kuali.student.lum.workflow.qualifierresolver.AbstractOrganizationServiceQualifierResolver
org.kuali.student.lum.workflow.qualifierresolver.OrganizationCurriculumCommitteeQualifierResolver
- All Implemented Interfaces:
- QualifierResolver
public class OrganizationCurriculumCommitteeQualifierResolver
- extends AbstractOrganizationServiceQualifierResolver
A qualifier resolver class that is used by the hierarchy routing node OrganizationDynamicNode
.
This qualifier resolver will get the organization id value from inside the current route node instance and use the
OrganizationService.getOrgOrgRelationsByOrg(String)
method to find all relations to it. From those relations
this class will select the ones that are both active and of the relation type matching
AbstractOrganizationServiceQualifierResolver.KUALI_ORG_TYPE_CURRICULUM_PARENT
. Once the list of those relations has been
determined this qualifier resolver will select any of the organizations that match the above relation details but
also only organizations that are of the type AbstractOrganizationServiceQualifierResolver.KUALI_ORG_COC
. Those
organizations will be returned as qualifications with the details being the organization id and the organization
short name fields.
If no relation is found that is both active and of the relation type matching
AbstractOrganizationServiceQualifierResolver.KUALI_ORG_TYPE_CURRICULUM_PARENT
then this class will use the organization
found on the current route node instance as the qualification returned.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
protected static final Logger LOG
OrganizationCurriculumCommitteeQualifierResolver
public OrganizationCurriculumCommitteeQualifierResolver()
resolve
public List<AttributeSet> resolve(RouteContext routeContext)
getOrganization
protected OrgInfo getOrganization(String orgId)
throws Exception
- Throws:
Exception
Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.