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.