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 Summary
FieldsModifier and TypeFieldDescriptionprotected static final intstatic final intprotected static final Stringprotected org.kuali.coeus.propdev.api.attachment.NarrativeServiceprotected static final Stringprotected static final Stringstatic final Stringstatic final Stringprotected static final intstatic final Stringstatic final Stringstatic final Stringprotected S2SBudgetInfoServiceprotected S2SBudgetValidationServiceprotected S2SCommonBudgetServiceprotected S2SDateTimeServiceprotected S2SPrintingServiceFields inherited from class org.kuali.coeus.s2sgen.impl.generate.S2SBaseFormGenerator
AREAS_AFFECTED_ABSTRACT_TYPE_CODE, CONGRESSIONAL_DISTRICT_MAX_LENGTH, DEFAULT_SORT_INDEX, DUNS_NUMBER_MAX_LENGTH, globLibV20Generator, NOT_ANSWERED, ORGANIZATION_UEI_MAX_LENGTH, ORGANIZATON_NAME_MAX_LENGTH, pdDoc, PRIMARY_TITLE_MAX_LENGTH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidorg.springframework.core.io.Resourceorg.springframework.core.io.Resourceorg.kuali.coeus.propdev.api.attachment.NarrativeServiceprotected BooleanhasPersonnelBudget(S2SKeyPersonDto keyPerson, int period) This method check whether the key person has a personnel budgetprotected booleanisProposalPersonEqualsKeyPerson(org.kuali.coeus.propdev.api.person.ProposalPersonContract proposalPerson, S2SKeyPersonDto keyPerson) protected org.kuali.coeus.propdev.api.attachment.NarrativeContractsaveAdditionalEquipments(S2SBudgetPeriodDto periodInfo, List<S2SCostDto> extraEquipmentArrayList) protected org.kuali.coeus.propdev.api.attachment.NarrativeContractsaveExtraKeyPersons(S2SBudgetPeriodDto periodInfo) voidsetAdditionalEquipmentAttachmentStyleSheet(org.springframework.core.io.Resource additionalEquipmentAttachmentStyleSheet) voidsetExtraKeyPersonAttachmentStyleSheet(org.springframework.core.io.Resource extraKeyPersonAttachmentStyleSheet) voidsetNarrativeCleanupService(org.kuali.coeus.propdev.api.attachment.NarrativeService narrativeCleanupService) voidsetS2sBudgetInfoService(S2SBudgetInfoService s2sBudgetInfoService) voidsetS2SBudgetValidationService(S2SBudgetValidationService s2SBudgetValidationService) voidsetS2SCommonBudgetService(S2SCommonBudgetService s2SCommonBudgetService) voidsetS2SDateTimeService(S2SDateTimeService s2SDateTimeService) voidsetS2SPrintingService(S2SPrintingService s2SPrintingService) protected booleanvalidateBudgetForForm(org.kuali.coeus.propdev.api.core.ProposalDevelopmentDocumentContract pdDoc) Perform manual validations on the budget.Methods inherited from class org.kuali.coeus.s2sgen.impl.generate.S2SBaseFormGenerator
addAttachedFileType, addAttachment, cleanFileName, createContentId, createContentId, getAnswer, getAnswerId, getAnswers, getAttachedFileDataType, getAttachedFileDataTypes, getAttachments, getAuditErrors, getBeanName, getChildQuestionAnswer, getGlobLibV20Generator, getGrantApplicationHashService, getHashValue, getNarrativeService, getPerson, getPersonnelAttachments, getPropDevQuestionAnswerService, getQuestionAnswerService, getS2sNarrativeFileName, getS2sPersonnelAttachmentFileName, getSponsorHierarchyService, getStylesheets, isSponsorNIH, saveNarrative, setAttachments, setAuditErrors, setBeanName, setGlobLibV20Generator, setGrantApplicationHashService, setNarrativeService, setPropDevQuestionAnswerService, setQuestionAnswerService, setSponsorHierarchyService, supportsPdfFilling, supportsXslTransformMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.kuali.coeus.s2sgen.impl.generate.S2SFormGenerator
getFormName, getFormObject, getNamespace, getSortIndex
-
Field Details
-
OTHERCOST_DESCRIPTION
- See Also:
-
OTHERPERSONNEL_POSTDOC
- See Also:
-
OTHERPERSONNEL_GRADUATE
- See Also:
-
OTHERPERSONNEL_UNDERGRADUATE
- See Also:
-
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
- See Also:
-
NID_CO_PD_PI
- See Also:
-
KEYPERSON_CO_PD_PI
- See Also:
-
s2sBudgetInfoService
-
s2SDateTimeService
-
narrativeCleanupService
@Autowired @Qualifier("narrativeService") protected org.kuali.coeus.propdev.api.attachment.NarrativeService narrativeCleanupService -
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
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
-
setS2sBudgetInfoService
-
getS2SBudgetValidationService
-
setS2SBudgetValidationService
-
getNarrativeCleanupService
public org.kuali.coeus.propdev.api.attachment.NarrativeService getNarrativeCleanupService() -
setNarrativeCleanupService
public void setNarrativeCleanupService(org.kuali.coeus.propdev.api.attachment.NarrativeService narrativeCleanupService) -
getS2SPrintingService
-
setS2SPrintingService
-
getS2SDateTimeService
-
setS2SDateTimeService
-
getS2SCommonBudgetService
-
setS2SCommonBudgetService
-
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)
-