public class AwardPreRules extends MaintenancePreRulesBase
Modifier and Type | Field and Description |
---|---|
protected org.kuali.rice.core.api.config.property.ConfigurationService |
configService |
protected org.kuali.rice.kns.service.DataDictionaryService |
dataDictionaryService |
protected static org.apache.log4j.Logger |
LOG |
protected Award |
newAward |
accountService
Constructor and Description |
---|
AwardPreRules()
Constructs a AwardPreRules.java.
|
Modifier and Type | Method and Description |
---|---|
protected String |
buildConfirmationQuestion(String messageKey,
String... parameters)
Builds out the confirmation question.
|
protected boolean |
continueIfEntryDateBeforeBeginDate()
Checks if the entry date is before the begin date.
|
protected boolean |
continueIfSubcontractorTotalGreaterThanAwardTotal()
Checks if the
Subcontractor total amount is greater than the award total. |
protected boolean |
doCustomPreRules(org.kuali.rice.krad.maintenance.MaintenanceDocument document)
This is a hook for sub-classes to implement their own pre-rules.
|
protected void |
setupConvenienceObjects(org.kuali.rice.krad.maintenance.MaintenanceDocument document) |
buildContinuationConfirmationQuestion, checkForContinuationAccount, checkForContinuationAccount, doPrompts, getAccountService, getConfigService, setAccountService, setConfigService
protected static org.apache.log4j.Logger LOG
protected org.kuali.rice.core.api.config.property.ConfigurationService configService
protected org.kuali.rice.kns.service.DataDictionaryService dataDictionaryService
public AwardPreRules()
protected boolean doCustomPreRules(org.kuali.rice.krad.maintenance.MaintenanceDocument document)
MaintenancePreRulesBase
doCustomPreRules
in class MaintenancePreRulesBase
org.kuali.ole.coa.document.validation.impl.MaintenancePreRulesBase#doCustomPreRules(org.kuali.rice.kns.document.MaintenanceDocument)
protected boolean continueIfEntryDateBeforeBeginDate()
protected boolean continueIfSubcontractorTotalGreaterThanAwardTotal()
Subcontractor
total amount is greater than the award total. If so asks the user if they want to
continue validation. if no is selected further validation is aborted and the user is returned to the award document.protected String buildConfirmationQuestion(String messageKey, String... parameters)
messageKey
- parameters
- protected void setupConvenienceObjects(org.kuali.rice.krad.maintenance.MaintenanceDocument document)
document
- Copyright © 2004–2014 The Kuali Foundation. All rights reserved.