Class RRBudgetBaseGenerator<T extends org.apache.xmlbeans.XmlObject>

java.lang.Object
org.kuali.coeus.s2sgen.impl.generate.S2SBaseFormGenerator<T>
org.kuali.coeus.s2sgen.impl.generate.support.RRBudgetBaseGenerator<T>
All Implemented Interfaces:
Factory<T>, Named, S2SFormGenerator<T>, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware
Direct Known Subclasses:
RRBudget10V1_1Generator, RRBudget10V1_3Generator, RRBudget10V1_4Generator, RRBudget10V2_0Generator, RRBudget10V3_0Generator, RRBudgetV1_1Generator, RRBudgetV1_3Generator, RRBudgetV1_4Generator, RRBudgetV2_0Generator, RRBudgetV3_0Generator, RRMPBudgetV1_1Generator, RRMPBudgetV2_0Generator, RRMPBudgetV3_0Generator

public abstract class RRBudgetBaseGenerator<T extends org.apache.xmlbeans.XmlObject> extends S2SBaseFormGenerator<T>
This abstract class has methods that are common to all the versions of RRBudget form.
Author:
Kuali Research Administration Team (kualidev@oncourse.iu.edu)
  • Field Details

    • OTHERCOST_DESCRIPTION

      public static final String OTHERCOST_DESCRIPTION
      See Also:
    • OTHERPERSONNEL_POSTDOC

      public static final String OTHERPERSONNEL_POSTDOC
      See Also:
    • OTHERPERSONNEL_GRADUATE

      public static final String OTHERPERSONNEL_GRADUATE
      See Also:
    • OTHERPERSONNEL_UNDERGRADUATE

      public static final String OTHERPERSONNEL_UNDERGRADUATE
      See Also:
    • OTHERPERSONNEL_SECRETARIAL

      public static final String OTHERPERSONNEL_SECRETARIAL
      See Also:
    • BUDGET_JUSTIFICATION_ATTACHMENT

      public static final int BUDGET_JUSTIFICATION_ATTACHMENT
      See Also:
    • OTHERPERSONNEL_MAX_ALLOWED

      protected static final int OTHERPERSONNEL_MAX_ALLOWED
      See Also:
    • ARRAY_LIMIT_IN_SCHEMA

      protected static final int ARRAY_LIMIT_IN_SCHEMA
      See Also:
    • NID_PD_PI

      protected static final String NID_PD_PI
      See Also:
    • NID_CO_PD_PI

      protected static final String NID_CO_PD_PI
      See Also:
    • KEYPERSON_CO_PD_PI

      protected static final String KEYPERSON_CO_PD_PI
      See Also:
    • s2sBudgetInfoService

      @Autowired @Qualifier("s2SBudgetInfoService") protected S2SBudgetInfoService s2sBudgetInfoService
    • s2SDateTimeService

      @Autowired @Qualifier("s2SDateTimeService") protected S2SDateTimeService s2SDateTimeService
    • narrativeCleanupService

      @Autowired @Qualifier("narrativeService") protected org.kuali.coeus.propdev.api.attachment.NarrativeService narrativeCleanupService
    • s2SPrintingService

      @Autowired @Qualifier("s2SPrintingService") protected S2SPrintingService s2SPrintingService
    • s2SCommonBudgetService

      @Autowired @Qualifier("s2SCommonBudgetService") protected S2SCommonBudgetService s2SCommonBudgetService
    • s2SBudgetValidationService

      @Autowired @Qualifier("s2SBudgetValidationService") protected S2SBudgetValidationService s2SBudgetValidationService
  • Constructor Details

    • RRBudgetBaseGenerator

      public RRBudgetBaseGenerator()
  • Method Details

    • deleteAutoGenNarratives

      protected void deleteAutoGenNarratives()
    • saveAdditionalEquipments

      protected org.kuali.coeus.propdev.api.attachment.NarrativeContract saveAdditionalEquipments(S2SBudgetPeriodDto periodInfo, List<S2SCostDto> extraEquipmentArrayList)
    • saveExtraKeyPersons

      protected org.kuali.coeus.propdev.api.attachment.NarrativeContract saveExtraKeyPersons(S2SBudgetPeriodDto periodInfo)
    • isProposalPersonEqualsKeyPerson

      protected boolean isProposalPersonEqualsKeyPerson(org.kuali.coeus.propdev.api.person.ProposalPersonContract proposalPerson, S2SKeyPersonDto keyPerson)
    • hasPersonnelBudget

      protected Boolean hasPersonnelBudget(S2SKeyPersonDto keyPerson, int period)
      This method check whether the key person has a personnel budget
      Parameters:
      keyPerson - (KeyPersonInfo) key person entry.
      period - budget period
      Returns:
      true if key person has personnel budget else false.
    • validateBudgetForForm

      protected boolean validateBudgetForForm(org.kuali.coeus.propdev.api.core.ProposalDevelopmentDocumentContract pdDoc)
      Perform manual validations on the budget. Similarly done in RRFedNonFedBudgetBaseGenerator due to object graph.
    • getS2sBudgetInfoService

      public S2SBudgetInfoService getS2sBudgetInfoService()
    • setS2sBudgetInfoService

      public void setS2sBudgetInfoService(S2SBudgetInfoService s2sBudgetInfoService)
    • getS2SBudgetValidationService

      public S2SBudgetValidationService getS2SBudgetValidationService()
    • setS2SBudgetValidationService

      public void setS2SBudgetValidationService(S2SBudgetValidationService s2SBudgetValidationService)
    • getNarrativeCleanupService

      public org.kuali.coeus.propdev.api.attachment.NarrativeService getNarrativeCleanupService()
    • setNarrativeCleanupService

      public void setNarrativeCleanupService(org.kuali.coeus.propdev.api.attachment.NarrativeService narrativeCleanupService)
    • getS2SPrintingService

      public S2SPrintingService getS2SPrintingService()
    • setS2SPrintingService

      public void setS2SPrintingService(S2SPrintingService s2SPrintingService)
    • getS2SDateTimeService

      public S2SDateTimeService getS2SDateTimeService()
    • setS2SDateTimeService

      public void setS2SDateTimeService(S2SDateTimeService s2SDateTimeService)
    • getS2SCommonBudgetService

      public S2SCommonBudgetService getS2SCommonBudgetService()
    • setS2SCommonBudgetService

      public void setS2SCommonBudgetService(S2SCommonBudgetService s2SCommonBudgetService)
    • getAdditionalEquipmentAttachmentStyleSheet

      public org.springframework.core.io.Resource getAdditionalEquipmentAttachmentStyleSheet()
    • setAdditionalEquipmentAttachmentStyleSheet

      public void setAdditionalEquipmentAttachmentStyleSheet(org.springframework.core.io.Resource additionalEquipmentAttachmentStyleSheet)
    • getExtraKeyPersonAttachmentStyleSheet

      public org.springframework.core.io.Resource getExtraKeyPersonAttachmentStyleSheet()
    • setExtraKeyPersonAttachmentStyleSheet

      public void setExtraKeyPersonAttachmentStyleSheet(org.springframework.core.io.Resource extraKeyPersonAttachmentStyleSheet)