<commit_before><?xml version="1.0" encoding="UTF-8"?>
<!--
 Copyright 2006-2007 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.
-->
<!DOCTYPE dictionaryEntry PUBLIC
    "-//Kuali Project//DTD Data Dictionary 1.0//EN"
    "../../../../core/datadictionary/dataDictionary-1_0.dtd">

<dictionaryEntry>
    <maintenanceDocument>
        <businessObjectClass>org.kuali.module.cg.bo.Proposal</businessObjectClass>
        <maintainableClass>org.kuali.module.cg.maintenance.ProposalMaintainableImpl</maintainableClass>
        <businessRulesClass>org.kuali.module.cg.rules.ProposalRule</businessRulesClass>
        <!--preRulesCheckClass>org.kuali.module.chart.rules.AccountPreRules</preRulesCheckClass-->
        <documentAuthorizerClass>org.kuali.core.document.authorization.MaintenanceDocumentAuthorizerBase</documentAuthorizerClass>
        <authorizations>
            <authorization action="initiate">
                <workgroups>
                    <workgroup>kualiUniversalGroup</workgroup>
                </workgroups>
            </authorization>
        </authorizations>

        <documentTypeName>KualiProposalMaintenanceDocument</documentTypeName>
        <documentTypeCode>PRPL</documentTypeCode>

        <webScriptFile>dwr/interface/AgencyService.js</webScriptFile>
        <webScriptFile>dwr/interface/OrganizationService.js</webScriptFile>
        <webScriptFile>dwr/interface/ProjectDirectorService.js</webScriptFile>
        <webScriptFile>dwr/interface/SubcontractorService.js</webScriptFile>
        <webScriptFile>scripts/cg/proposalDocument.js</webScriptFile>

        <label>Proposal Maintenance Document</label>
        <shortLabel>PrpslMaintDoc</shortLabel>

        <summary>Proposal maintenance document</summary>
        <description>Document used to create or update Proposal objects</description>
		<!--help securityGroupName="ChartMaintenanceEDoc" parameterName="CHART_HELP_ACCOUNT" /-->

        <lockingKeys>
            <field attributeName="proposalNumber" />
        </lockingKeys>

        <defaultExistenceChecks>
            <reference attributeName="proposalStatus" activeIndicatorAttributeName="rowActiveIndicator" attributeToHighlightOnFail="proposalStatusCode" />
            <reference attributeName="agency" activeIndicatorAttributeName="historicalIndicator" activeIndicatorReversed="true" attributeToHighlightOnFail="agencyNumber" />
            <reference attributeName="proposalAwardType" activeIndicatorAttributeName="rowActiveIndicator" attributeToHighlightOnFail="proposalAwardTypeCode" />
            <reference attributeName="proposalPurpose" activeIndicatorAttributeName="rowActiveIndicator" attributeToHighlightOnFail="proposalPurposeCode" />
            <reference attributeName="federalPassThroughAgency" activeIndicatorAttributeName="historicalIndicator" activeIndicatorReversed="true" attributeToHighlightOnFail="federalPassThroughAgencyNumber" />
            <reference attributeName="cfda" activeIndicatorAttributeName="cfdaStatusCode" attributeToHighlightOnFail="cfdaNumber" />
            <reference collection="proposalOrganizations" attributeName="organization" activeIndicatorAttributeName="organizationActiveIndicator" attributeToHighlightOnFail="organizationCode" /><commit_msg>KULCG-263 : Removed the activeIndicatorReverse command from historical indicator default existence check, since the value is now being reversed when it is loaded from the DB by utiliizing a field conversion class.<commit_after><?xml version="1.0" encoding="UTF-8"?>
<!--
 Copyright 2006-2007 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.
-->
<!DOCTYPE dictionaryEntry PUBLIC
    "-//Kuali Project//DTD Data Dictionary 1.0//EN"
    "../../../../core/datadictionary/dataDictionary-1_0.dtd">

<dictionaryEntry>
    <maintenanceDocument>
        <businessObjectClass>org.kuali.module.cg.bo.Proposal</businessObjectClass>
        <maintainableClass>org.kuali.module.cg.maintenance.ProposalMaintainableImpl</maintainableClass>
        <businessRulesClass>org.kuali.module.cg.rules.ProposalRule</businessRulesClass>
        <!--preRulesCheckClass>org.kuali.module.chart.rules.AccountPreRules</preRulesCheckClass-->
        <documentAuthorizerClass>org.kuali.core.document.authorization.MaintenanceDocumentAuthorizerBase</documentAuthorizerClass>
        <authorizations>
            <authorization action="initiate">
                <workgroups>
                    <workgroup>kualiUniversalGroup</workgroup>
                </workgroups>
            </authorization>
        </authorizations>

        <documentTypeName>KualiProposalMaintenanceDocument</documentTypeName>
        <documentTypeCode>PRPL</documentTypeCode>

        <webScriptFile>dwr/interface/AgencyService.js</webScriptFile>
        <webScriptFile>dwr/interface/OrganizationService.js</webScriptFile>
        <webScriptFile>dwr/interface/ProjectDirectorService.js</webScriptFile>
        <webScriptFile>dwr/interface/SubcontractorService.js</webScriptFile>
        <webScriptFile>scripts/cg/proposalDocument.js</webScriptFile>

        <label>Proposal Maintenance Document</label>
        <shortLabel>PrpslMaintDoc</shortLabel>

        <summary>Proposal maintenance document</summary>
        <description>Document used to create or update Proposal objects</description>
		<!--help securityGroupName="ChartMaintenanceEDoc" parameterName="CHART_HELP_ACCOUNT" /-->

        <lockingKeys>
            <field attributeName="proposalNumber" />
        </lockingKeys>

        <defaultExistenceChecks>
            <reference attributeName="proposalStatus" activeIndicatorAttributeName="rowActiveIndicator" attributeToHighlightOnFail="proposalStatusCode" />
            <reference attributeName="agency" activeIndicatorAttributeName="historicalIndicator" attributeToHighlightOnFail="agencyNumber" />
            <reference attributeName="proposalAwardType" activeIndicatorAttributeName="rowActiveIndicator" attributeToHighlightOnFail="proposalAwardTypeCode" />
            <reference attributeName="proposalPurpose" activeIndicatorAttributeName="rowActiveIndicator" attributeToHighlightOnFail="proposalPurposeCode" />
            <reference attributeName="federalPassThroughAgency" activeIndicatorAttributeName="historicalIndicator" activeIndicatorReversed="true" attributeToHighlightOnFail="federalPassThroughAgencyNumber" />
            <reference attributeName="cfda" activeIndicatorAttributeName="cfdaStatusCode" attributeToHighlightOnFail="cfdaNumber" />
            <reference collection="proposalOrganizations" attributeName="organization" activeIndicatorAttributeName="organizationActiveIndicator" attributeToHighlightOnFail="organizationCode" />
{'fraction_non_alphanumeric': 0.09102713933255421, 'fraction_numerical': 0.00506427736657577, 'mean_word_length': 4.529073941134243, 'pattern_counts': {'":': 0, '<': 117, '<?xml version=': 2, '>': 117, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, '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': '2566257', 'n_tokens_mistral': 2003, 'n_tokens_neox': 1906, 'n_words': 373}