<commit_before><?xml version="1.0" encoding="UTF-8"?>
<!--
	Copyright 2006-2009 The Kuali Foundation.

	Licensed under the Educational Community License, Version 1.0 (the "License");
	you may not use this file except in compliance with the License.
	You may obtain a copy of the License at

	http://www.opensource.org/licenses/ecl1.php

	Unless required by applicable law or agreed to in writing, software
	distributed under the License is distributed on an "AS IS" BASIS,
	WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
	See the License for the specific language governing permissions and
	limitations under the License.
-->
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:aop="http://www.springframework.org/schema/aop"
       xmlns:tx="http://www.springframework.org/schema/tx"
       xsi:schemaLocation="http://www.springframework.org/schema/beans
                           http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
                           http://www.springframework.org/schema/tx
                           http://www.springframework.org/schema/tx/spring-tx-2.0.xsd
                           http://www.springframework.org/schema/aop
                           http://www.springframework.org/schema/aop/spring-aop-2.0.xsd">
                           
    <bean id="awardModuleConfiguration" parent="awardModuleConfiguration-parentBean" />
	
    <bean id="awardModuleConfiguration-parentBean" class="org.kuali.rice.kns.bo.ModuleConfiguration" abstract="true">
		<property name="databaseRepositoryFilePaths">
			<list>
				<value>org/kuali/kra/award/repository-award.xml</value>
			</list>
		</property>
	</bean>
	
	<bean id="parentAwardAuthorizer" abstract="true">
        <property name="unitAuthorizationService" ref="unitAuthorizationService" />
        <property name="kraWorkflowService" ref="kraWorkflowService" />
        <property name="kcPersonService" ref="kcPersonService" />
        <property name="kraAuthorizationService" ref="kraAuthorizationService" />
    </bean>

	<bean id="awardTaskAuthorizers" class="org.kuali.kra.authorization.TaskAuthorizerGroup">
        <property name="groupName" value="award" />
        <property name="taskAuthorizers">
            <list>
                <bean class="org.kuali.kra.award.document.authorizer.ModifyAwardAuthorizer" parent="parentAwardAuthorizer">
                    <property name="taskName" value="modifyAward" />
                </bean>
                
                <bean class="org.kuali.kra.award.document.authorizer.ViewAwardAuthorizer" parent="parentAwardAuthorizer">
                    <property name="taskName" value="viewAward" />
                </bean>
                
                <!--  Task Authorizer for modifying persons and their roles on an award -->
                <bean class="org.kuali.kra.award.document.authorizer.ModifyAwardPermissionsAuthorizer" parent="parentAwardAuthorizer">
                    <property name="taskName" value="modifyAwardRoles" /> 
                 </bean>
                
                <bean class="org.kuali.kra.award.document.authorizer.CreateAwardBudgetAuthorizer" parent="parentAwardAuthorizer">
                    <property name="taskName" value="addBudget" />
                </bean>
                
                <bean class="org.kuali.kra.award.document.authorizer.OpenAwardBudgetAuthorizer" parent="parentAwardAuthorizer">
                    <property name="taskName" value="openBudgets" />
                </bean>
             </list>
         </property>
     </bean>
     
    <bean id="awardBudgetVersionsWebAuthorizer"
          class="org.kuali.kra.web.struts.authorization.WebAuthorizer">

        <property name="classname"
                  value="org.kuali.kra.award.web.struts.action.AwardBudgetVersionsAction" />
        <property name="mappings">
            <map>
                <entry key="addBudgetVersion">
                    <bean class="org.kuali.kra.award.web.struts.authorization.AwardTaskFactory" parent="parentTaskFactory">
                        <property name="taskName" value="addBudget" />
                    </bean>
                </entry>
                <entry key="openBudgetVersion">
                    <bean class="org.kuali.kra.award.web.struts.authorization.AwardTaskFactory" parent="parentTaskFactory">
                        <property name="taskName" value="openBudgets" />
                    </bean>
                </entry>
                <entry key="copyBudgetVersion">
                    <bean class="org.kuali.kra.award.web.struts.authorization.AwardTaskFactory" parent="parentTaskFactory">
                        <property name="taskName" value="addBudget" />
                    </bean>
                </entry>
            </map>
        </property>
    </bean>
    
	<bean id="awardFandaRateService" class="org.kuali.kra.award.commitments.AwardFandaRateServiceImpl">
		<property name="parameterService">
			<ref bean="parameterService" />
		</property>		
	</bean>
	
	<bean id="awardReportsService" class="org.kuali.kra.service.impl.AwardReportsServiceImpl">
		<property name="parameterService">
			<ref bean="parameterService" />
		</property>
		<property name="businessObjectService">
			<ref bean="businessObjectService" />
		</property>		
	</bean>
	
	<bean id="awardSponsorTermService" class="org.kuali.kra.service.impl.AwardSponsorTermServiceImpl">
	</bean>
	<bean id="awardCommentService" class="org.kuali.kra.service.impl.AwardCommentServiceImpl">
		<property name="businessObjectService">
		    <ref bean="businessObjectService" />
		</property>
	</bean>
	<bean id="awardDirectFandADistributionService" class="org.kuali.kra.service.impl.AwardDirectFandADistributionServiceImpl">
	</bean>
	<bean id="keywordsService" class="org.kuali.kra.service.impl.KeywordsServiceImpl">
	</bean>
	<bean id="specialReviewService" class="org.kuali.kra.service.impl.SpecialReviewServiceImpl">
		<property name="kualiRuleService">
			<ref bean="kualiRuleService" />
		</property>
		<property name="businessObjectService">
		    <ref bean="businessObjectService" />
		</property>
	</bean>
	<bean id="awardScheduleGenerationService" class="org.kuali.kra.service.impl.AwardScheduleGenerationServiceImpl">
		<property name="scheduleService">
			<ref bean="scheduleService" />
		</property>
		<property name="persistenceService">
			<ref bean="persistenceService" />
		</property>
		<property name="parameterService">
			<ref bean="parameterService" />
		</property>
		<property name="awardAmountInfoService">
			<ref bean="awardAmountInfoService" />
		</property>
	</bean>
	<bean id="awardCustomAttributeService" class="org.kuali.kra.service.impl.AwardCustomAttributeServiceImpl">
		<property name="businessObjectService">
		    <ref bean="businessObjectService" />
		</property>
	</bean>
	
	<bean id="awardTemplateSyncService" class="org.kuali.kra.award.AwardTemplateSyncServiceImpl">
		<property name="businessObjectService">
		    <ref bean="businessObjectService" />
		</property>
		<property name="kualiRuleService">
		    <ref bean="kualiRuleService" />
		</property>
	</bean>

	<bean id="awardLookupable" class="org.kuali.rice.kns.lookup.KualiLookupableImpl" scope="prototype">
  		<property name="lookupableHelperService">
    		<ref bean="awardLookupableHelperService" />
  		</property>  		
	</bean>
	
	<bean id="awardPersonLookupable" class="org.kuali.rice.kns.lookup.KualiLookupableImpl" scope="prototype">
  		<property name="lookupableHelperService">
    		<ref bean="awardPersonLookupableHelperService" />
  		</property>  		
	</bean>		

	<bean id="awardLookupableHelperService" class="org.kuali.kra.award.lookup.AwardLookupableHelperServiceImpl" parent="lookupableHelperService" scope="prototype">
        <property name="awardDao">
            <ref bean="awardDao" />
        </property>
  	</bean>

	<bean id="awardPersonLookupableHelperService" class="org.kuali.kra.award.lookup.AwardPersonLookupableHelperServiceImpl" parent="lookupableHelperService" scope="prototype">
        <property name="awardPersonDao">
            <ref bean="awardPersonDao" />
        </property>
  	</bean>

    <bean id="awardDao" parent="platformAwareDao" class="org.kuali.kra.award.dao.AwardDaoOjb">
        <property name="lookupDao">
            <ref bean="lookupDao" />
        </property>
        <property name="dataDictionaryService">
            <ref bean="dataDictionaryService" />
        </property>
        <property name="versionHistoryService">
            <ref bean="versionHistoryService" /><commit_msg>KCAWD-457: Updated Award SpringBeans file to set the kcPersonService property on AwardLookupableHelperService<commit_after><?xml version="1.0" encoding="UTF-8"?>
<!--
	Copyright 2006-2009 The Kuali Foundation.

	Licensed under the Educational Community License, Version 1.0 (the "License");
	you may not use this file except in compliance with the License.
	You may obtain a copy of the License at

	http://www.opensource.org/licenses/ecl1.php

	Unless required by applicable law or agreed to in writing, software
	distributed under the License is distributed on an "AS IS" BASIS,
	WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
	See the License for the specific language governing permissions and
	limitations under the License.
-->
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:aop="http://www.springframework.org/schema/aop"
       xmlns:tx="http://www.springframework.org/schema/tx"
       xsi:schemaLocation="http://www.springframework.org/schema/beans
                           http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
                           http://www.springframework.org/schema/tx
                           http://www.springframework.org/schema/tx/spring-tx-2.0.xsd
                           http://www.springframework.org/schema/aop
                           http://www.springframework.org/schema/aop/spring-aop-2.0.xsd">
                           
    <bean id="awardModuleConfiguration" parent="awardModuleConfiguration-parentBean" />
	
    <bean id="awardModuleConfiguration-parentBean" class="org.kuali.rice.kns.bo.ModuleConfiguration" abstract="true">
		<property name="databaseRepositoryFilePaths">
			<list>
				<value>org/kuali/kra/award/repository-award.xml</value>
			</list>
		</property>
	</bean>
	
	<bean id="parentAwardAuthorizer" abstract="true">
        <property name="unitAuthorizationService" ref="unitAuthorizationService" />
        <property name="kraWorkflowService" ref="kraWorkflowService" />
        <property name="kcPersonService" ref="kcPersonService" />
        <property name="kraAuthorizationService" ref="kraAuthorizationService" />
    </bean>

	<bean id="awardTaskAuthorizers" class="org.kuali.kra.authorization.TaskAuthorizerGroup">
        <property name="groupName" value="award" />
        <property name="taskAuthorizers">
            <list>
                <bean class="org.kuali.kra.award.document.authorizer.ModifyAwardAuthorizer" parent="parentAwardAuthorizer">
                    <property name="taskName" value="modifyAward" />
                </bean>
                
                <bean class="org.kuali.kra.award.document.authorizer.ViewAwardAuthorizer" parent="parentAwardAuthorizer">
                    <property name="taskName" value="viewAward" />
                </bean>
                
                <!--  Task Authorizer for modifying persons and their roles on an award -->
                <bean class="org.kuali.kra.award.document.authorizer.ModifyAwardPermissionsAuthorizer" parent="parentAwardAuthorizer">
                    <property name="taskName" value="modifyAwardRoles" /> 
                </bean>
                
                <bean class="org.kuali.kra.award.document.authorizer.CreateAwardBudgetAuthorizer" parent="parentAwardAuthorizer">
                    <property name="taskName" value="addBudget" />
                </bean>
                
                <bean class="org.kuali.kra.award.document.authorizer.OpenAwardBudgetAuthorizer" parent="parentAwardAuthorizer">
                    <property name="taskName" value="openBudgets" />
                </bean>
            </list>
         </property>
     </bean>
     
    <bean id="awardBudgetVersionsWebAuthorizer"
          class="org.kuali.kra.web.struts.authorization.WebAuthorizer">

        <property name="classname"
                  value="org.kuali.kra.award.web.struts.action.AwardBudgetVersionsAction" />
        <property name="mappings">
            <map>
                <entry key="addBudgetVersion">
                    <bean class="org.kuali.kra.award.web.struts.authorization.AwardTaskFactory" parent="parentTaskFactory">
                        <property name="taskName" value="addBudget" />
                    </bean>
                </entry>
                <entry key="openBudgetVersion">
                    <bean class="org.kuali.kra.award.web.struts.authorization.AwardTaskFactory" parent="parentTaskFactory">
                        <property name="taskName" value="openBudgets" />
                    </bean>
                </entry>
                <entry key="copyBudgetVersion">
                    <bean class="org.kuali.kra.award.web.struts.authorization.AwardTaskFactory" parent="parentTaskFactory">
                        <property name="taskName" value="addBudget" />
                    </bean>
                </entry>
            </map>
        </property>
    </bean>
    
	<bean id="awardFandaRateService" class="org.kuali.kra.award.commitments.AwardFandaRateServiceImpl">
		<property name="parameterService">
			<ref bean="parameterService" />
		</property>		
	</bean>
	
	<bean id="awardReportsService" class="org.kuali.kra.service.impl.AwardReportsServiceImpl">
		<property name="parameterService">
			<ref bean="parameterService" />
		</property>
		<property name="businessObjectService">
			<ref bean="businessObjectService" />
		</property>		
	</bean>
	
	<bean id="awardSponsorTermService" class="org.kuali.kra.service.impl.AwardSponsorTermServiceImpl">
	</bean>
	<bean id="awardCommentService" class="org.kuali.kra.service.impl.AwardCommentServiceImpl">
		<property name="businessObjectService">
		    <ref bean="businessObjectService" />
		</property>
	</bean>
	<bean id="awardDirectFandADistributionService" class="org.kuali.kra.service.impl.AwardDirectFandADistributionServiceImpl">
	</bean>
	<bean id="keywordsService" class="org.kuali.kra.service.impl.KeywordsServiceImpl">
	</bean>
	<bean id="specialReviewService" class="org.kuali.kra.service.impl.SpecialReviewServiceImpl">
		<property name="kualiRuleService">
			<ref bean="kualiRuleService" />
		</property>
		<property name="businessObjectService">
		    <ref bean="businessObjectService" />
		</property>
	</bean>
	<bean id="awardScheduleGenerationService" class="org.kuali.kra.service.impl.AwardScheduleGenerationServiceImpl">
		<property name="scheduleService">
			<ref bean="scheduleService" />
		</property>
		<property name="persistenceService">
			<ref bean="persistenceService" />
		</property>
		<property name="parameterService">
			<ref bean="parameterService" />
		</property>
		<property name="awardAmountInfoService">
			<ref bean="awardAmountInfoService" />
		</property>
	</bean>
	<bean id="awardCustomAttributeService" class="org.kuali.kra.service.impl.AwardCustomAttributeServiceImpl">
		<property name="businessObjectService">
		    <ref bean="businessObjectService" />
		</property>
	</bean>
	
	<bean id="awardTemplateSyncService" class="org.kuali.kra.award.AwardTemplateSyncServiceImpl">
		<property name="businessObjectService">
		    <ref bean="businessObjectService" />
		</property>
		<property name="kualiRuleService">
		    <ref bean="kualiRuleService" />
		</property>
	</bean>

	<bean id="awardLookupable" class="org.kuali.rice.kns.lookup.KualiLookupableImpl" scope="prototype">
  		<property name="lookupableHelperService">
    		<ref bean="awardLookupableHelperService" />
  		</property>  		
	</bean>
	
	<bean id="awardPersonLookupable" class="org.kuali.rice.kns.lookup.KualiLookupableImpl" scope="prototype">
  		<property name="lookupableHelperService">
    		<ref bean="awardPersonLookupableHelperService" />
  		</property>  		
	</bean>		

	<bean id="awardLookupableHelperService" class="org.kuali.kra.award.lookup.AwardLookupableHelperServiceImpl" parent="lookupableHelperService" scope="prototype">
        <property name="awardDao">
            <ref bean="awardDao" />
        </property>
        <property name="kcPersonService" ref="kcPersonService" /> 
  	</bean>

	<bean id="awardPersonLookupableHelperService" class="org.kuali.kra.award.lookup.AwardPersonLookupableHelperServiceImpl" parent="lookupableHelperService" scope="prototype">
        <property name="awardPersonDao">
            <ref bean="awardPersonDao" />
        </property>
  	</bean>

    <bean id="awardDao" parent="platformAwareDao" class="org.kuali.kra.award.dao.AwardDaoOjb">
        <property name="lookupDao">
            <ref bean="lookupDao" />
        </property>
        <property name="dataDictionaryService">
            <ref bean="dataDictionaryService" />
        </property>
        <property name="versionHistoryService">
            <ref bean="versionHistoryService" />
{'fraction_non_alphanumeric': 0.1283756665328823, 'fraction_numerical': 0.0030388165816180265, 'mean_word_length': 3.0161178908588533, 'pattern_counts': {'":': 0, '<': 306, '<?xml version=': 2, '>': 306, 'https://': 0, 'lorem ipsum': 0, 'www.': 22, 'xml': 12}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5034578', 'n_tokens_mistral': 5343, 'n_tokens_neox': 5065, 'n_words': 800}