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

java.lang.Object
  extended by org.kuali.student.lum.workflow.qualifierresolver.AbstractOrganizationServiceQualifierResolver
      extended by org.kuali.student.lum.workflow.qualifierresolver.CocOrganizationQualifierResolver
All Implemented Interfaces:
QualifierResolver

public class CocOrganizationQualifierResolver
extends AbstractOrganizationServiceQualifierResolver

A QualifierResolver class that will use configuration elements from the Route Node xml configuration to get a list of organizations related to the organization(s) that are set in the document content xml for a particular document instance.

A sample of the Route Node configuration:

 <role name="Document Organization Review">
   <activationType>P</activationType>
   <qualifierResolverClass>org.kuali.student.lum.workflow.qualifierresolver.CocOrganizationQualifierResolver</qualifierResolverClass>
   <useNonDerivedRoles>true</useNonDerivedRoles>
   <organizationIdQualifierKey>orgId</organizationIdQualifierKey>
   <organizationIdDocumentContentKey>orgId</organizationIdDocumentContentKey>
 </role>
 
 

A sample of the Document Content xml expected by default:

 <info>
   <orgId>1234</orgId>
   <orgId>5678</orgId>
 </info>
 
 


Field Summary
static String KUALI_ORG_COC
           
static String KUALI_ORG_HIERARCHY_CURRICULUM
           
static String KUALI_ORG_TYPE_CURRICULUM_PARENT
           
private static Logger LOG
           
protected static String ROUTE_NODE_XML_ORG_ID_QUALIFIER_KEY
           
protected static String ROUTE_NODE_XML_USE_NON_DERIVED_ROLES
           
 
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_COLLEGE, KUALI_ORG_DEPARTMENT, KUALI_ORG_DIVISION, KUALI_ORG_PROGRAM
 
Constructor Summary
CocOrganizationQualifierResolver()
           
 
Method Summary
 String getNodeSpecificOrganizationIdAttributeSetKey(RouteContext context)
           
protected  String getOrganizationHierarchyTypeCode()
           
protected  String getOrganizationRelationTypeCode()
           
protected  String getRelatedOrganizationTypeCode()
           
 List<AttributeSet> resolve(RouteContext context)
           
 Boolean usesNonDerivedOrganizationRoles(RouteContext context)
           
 
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

private static final Logger LOG

ROUTE_NODE_XML_ORG_ID_QUALIFIER_KEY

protected static final String ROUTE_NODE_XML_ORG_ID_QUALIFIER_KEY
See Also:
Constant Field Values

ROUTE_NODE_XML_USE_NON_DERIVED_ROLES

protected static final String ROUTE_NODE_XML_USE_NON_DERIVED_ROLES
See Also:
Constant Field Values

KUALI_ORG_TYPE_CURRICULUM_PARENT

public static final String KUALI_ORG_TYPE_CURRICULUM_PARENT
See Also:
Constant Field Values

KUALI_ORG_HIERARCHY_CURRICULUM

public static final String KUALI_ORG_HIERARCHY_CURRICULUM
See Also:
Constant Field Values

KUALI_ORG_COC

public static final String KUALI_ORG_COC
See Also:
Constant Field Values
Constructor Detail

CocOrganizationQualifierResolver

public CocOrganizationQualifierResolver()
Method Detail

resolve

public List<AttributeSet> resolve(RouteContext context)
See Also:
QualifierResolver.resolve(org.kuali.rice.kew.engine.RouteContext)

getNodeSpecificOrganizationIdAttributeSetKey

public String getNodeSpecificOrganizationIdAttributeSetKey(RouteContext context)

usesNonDerivedOrganizationRoles

public Boolean usesNonDerivedOrganizationRoles(RouteContext context)

getOrganizationHierarchyTypeCode

protected String getOrganizationHierarchyTypeCode()

getOrganizationRelationTypeCode

protected String getOrganizationRelationTypeCode()

getRelatedOrganizationTypeCode

protected String getRelatedOrganizationTypeCode()


Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.