org.kuali.student.lum.workflow.qualifierresolver
Class OrganizationCurriculumCommitteeQualifierResolver

java.lang.Object
  extended by org.kuali.student.lum.workflow.qualifierresolver.AbstractOrganizationServiceQualifierResolver
      extended by org.kuali.student.lum.workflow.qualifierresolver.OrganizationCurriculumCommitteeQualifierResolver
All Implemented Interfaces:
org.kuali.rice.kew.role.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.


Field Summary
protected static Logger LOG
           
 
Fields inherited from class org.kuali.student.lum.workflow.qualifierresolver.AbstractOrganizationServiceQualifierResolver
DOCUMENT_CONTENT_XML_DEFAULT_ORG_ID_KEY, DOCUMENT_CONTENT_XML_ORG_ID_KEY, DOCUMENT_CONTENT_XML_ROOT_ELEMENT_NAME, KUALI_ORG_COC, KUALI_ORG_COLLEGE, KUALI_ORG_DEPARTMENT, KUALI_ORG_DIVISION, KUALI_ORG_HIERARCHY_CURRICULUM, KUALI_ORG_PROGRAM, KUALI_ORG_TYPE_CURRICULUM_PARENT
 
Constructor Summary
OrganizationCurriculumCommitteeQualifierResolver()
           
 
Method Summary
protected  OrgInfo getOrganization(String orgId)
           
 List<Map<String,String>> resolve(org.kuali.rice.kew.engine.RouteContext routeContext)
           
 
Methods inherited from class org.kuali.student.lum.workflow.qualifierresolver.AbstractOrganizationServiceQualifierResolver
attributeSetFromSearchResult, getOrganizationIdDocumentContentFieldKey, getOrganizationIdsFromDocumentContent, getOrganizationService, relatedOrgsFromOrgId, setOrganizationService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

protected static final Logger LOG
Constructor Detail

OrganizationCurriculumCommitteeQualifierResolver

public OrganizationCurriculumCommitteeQualifierResolver()
Method Detail

resolve

public List<Map<String,String>> resolve(org.kuali.rice.kew.engine.RouteContext routeContext)

getOrganization

protected OrgInfo getOrganization(String orgId)
                           throws Exception
Throws:
Exception


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.