public abstract class IndirectCostRecoveryAccountsRule extends KfsMaintenanceDocumentRuleBase
Modifier and Type | Field and Description |
---|---|
protected static BigDecimal |
BD100 |
protected String |
boFieldPath |
protected static org.apache.log4j.Logger |
LOG |
financialSystemUserService, personService
boDictionaryService, boService, businessObjectAuthorizationService, businessObjectMetaDataService, configService, dataObjectMetaDataService, ddService, dictionaryValidationService, DOCUMENT_ERROR_PREFIX, documentHelperService, MAINTAINABLE_ERROR_PATH, MAINTAINABLE_ERROR_PREFIX, maintDocDictionaryService, persistenceStructureService, priorErrorPath, roleService, workflowDocumentService
Constructor and Description |
---|
IndirectCostRecoveryAccountsRule() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkICRCollectionExist(boolean expectFilled)
This method checks if the ICR collection should or should not be filled
error message is not handled in the function
|
protected boolean |
checkICRCollectionExistWithErrorMessage(boolean expectFilled,
String errorMessage,
String args)
This method checks if the ICR collection should or should not be filled
add error message if validation is not successful
|
protected boolean |
checkIndirectCostRecoveryAccount(IndirectCostRecoveryAccount icrAccount)
Check valid IndirectCostRecovery Account
|
protected boolean |
checkIndirectCostRecoveryAccount(String chartOfAccountsCode,
String accountNumber,
BigDecimal icraAccountLinePercentage) |
protected boolean |
checkIndirectCostRecoveryAccountDistributions()
Check the collection list of indirect cost recovery account
1.
|
List<? extends IndirectCostRecoveryAccount> |
getActiveIndirectCostRecoveryAccountList() |
String |
getBoFieldPath() |
protected String |
getDDAttributeLabel(String attribute)
Get the attribute label from DataDictionary
|
boolean |
processCustomAddCollectionLineBusinessRules(org.kuali.rice.kns.document.MaintenanceDocument document,
String collectionName,
org.kuali.rice.krad.bo.PersistableBusinessObject bo)
Custom processing for adding collection lines
|
protected boolean |
processCustomRouteDocumentBusinessRules(org.kuali.rice.kns.document.MaintenanceDocument document)
This method calls the rule: OLEPropertyConstants.INDIRECT_COST_RECOVERY_ACCOUNT
|
void |
setActiveIndirectCostRecoveryAccountList(List<? extends IndirectCostRecoveryAccount> indirectCostRecoveryAccountList) |
void |
setBoFieldPath(String boFieldPath) |
getFinancialSystemUserService, getKfsUserService
checkEmptyBOField, checkEmptyDocumentField, checkEmptyValue, checkForPartiallyFilledOutReferenceForeignKeys, clearErrorPath, consolidateFieldNames, dataDictionaryValidate, errorAlreadyExists, getBoService, getConfigService, getDataObjectMetaDataService, getDateTimeService, getDdService, getDictionaryValidationService, getDocumentHelperService, getFieldLabel, getFieldLabel, getHumanReadablePrimaryKeyFieldNames, getMaintDocDictionaryService, getNewBo, getOldBo, getPersistenceStructureService, getPersonService, getRoleService, getWorkflowDocumentService, isCorrectMaintenanceClass, isDocumentInactivatingBusinessObject, isDocumentValidForSave, primaryKeyCheck, processAddCollectionLineBusinessRules, processApproveDocument, processCustomApproveDocumentBusinessRules, processCustomSaveDocumentBusinessRules, processGlobalApproveDocumentBusinessRules, processGlobalRouteDocumentBusinessRules, processGlobalSaveDocumentBusinessRules, processInactivationBlockChecking, processInactivationBlockChecking, processRouteDocument, processSaveDocument, putDocumentError, putDocumentError, putFieldError, putFieldError, putFieldError, putFieldErrorWithShortLabel, putGlobalError, putGlobalError, putGlobalError, putGlobalsError, putGlobalsError, putInactivationBlockingErrorOnPage, resumeErrorPath, setBoDictionaryService, setBoService, setBusinessObjectAuthorizationService, setBusinessObjectMetaDataService, setConfigService, setDataObjectMetaDataService, setDdService, setDictionaryValidationService, setDocumentHelperService, setMaintDocDictionaryService, setNewBo, setPersistenceStructureService, setPersonService, setupBaseConvenienceObjects, setupConvenienceObjects, setWorkflowDocumentService, showErrorMap, validateDocumentStructure, validateDuplicateIdentifierInDataDictionary, validateGlobalBusinessObjectPersistable, validateMaintenanceDocument
buildDocumentTypeActionRequestPermissionDetails, buildDocumentTypePermissionDetails, getDataDictionaryService, getDocumentDictionaryService, getGroupService, getKualiConfigurationService, getMaxDictionaryValidationDepth, getPermissionService, hasAdHocRouteCompletion, isAddHocRoutePersonValid, isAddHocRouteWorkgroupValid, isAdHocRouteCompletionToInitiator, isAdHocRouteRecipientsValid, isDocumentAttributesValid, isDocumentOverviewValid, isNoteValid, processAddAdHocRoutePerson, processAddAdHocRouteWorkgroup, processAddNote, processCompleteDocument, processCustomAddAdHocRoutePersonBusinessRules, processCustomAddAdHocRouteWorkgroupBusinessRules, processCustomAddNoteBusinessRules, processCustomApproveDocumentBusinessRules, processCustomCompleteDocumentBusinessRules, processCustomRouteDocumentBusinessRules, processCustomSaveDocumentBusinessRules, processCustomSendAdHocRequests, processSendAdHocRequests, setDocumentDictionaryService, setMaxDictionaryValidationDepth, useKimPermission, validateSensitiveDataValue
protected static final org.apache.log4j.Logger LOG
protected static final BigDecimal BD100
protected String boFieldPath
public IndirectCostRecoveryAccountsRule()
public boolean processCustomAddCollectionLineBusinessRules(org.kuali.rice.kns.document.MaintenanceDocument document, String collectionName, org.kuali.rice.krad.bo.PersistableBusinessObject bo)
processCustomAddCollectionLineBusinessRules
in class org.kuali.rice.kns.maintenance.rules.MaintenanceDocumentRuleBase
MaintenanceDocumentRuleBase.processCustomAddCollectionLineBusinessRules(org.kuali.rice.kns.document.MaintenanceDocument, java.lang.String, org.kuali.rice.krad.bo.PersistableBusinessObject)
protected boolean processCustomRouteDocumentBusinessRules(org.kuali.rice.kns.document.MaintenanceDocument document)
processCustomRouteDocumentBusinessRules
in class org.kuali.rice.kns.maintenance.rules.MaintenanceDocumentRuleBase
MaintenanceDocumentRuleBase.processCustomRouteDocumentBusinessRules(org.kuali.rice.kns.document.MaintenanceDocument)
protected boolean checkICRCollectionExist(boolean expectFilled)
expectFilled
- protected boolean checkICRCollectionExistWithErrorMessage(boolean expectFilled, String errorMessage, String args)
expectFilled
- errorMessage
- args
- protected boolean checkIndirectCostRecoveryAccount(IndirectCostRecoveryAccount icrAccount)
protected boolean checkIndirectCostRecoveryAccount(String chartOfAccountsCode, String accountNumber, BigDecimal icraAccountLinePercentage)
protected boolean checkIndirectCostRecoveryAccountDistributions()
document
- protected String getDDAttributeLabel(String attribute)
attribute
- public List<? extends IndirectCostRecoveryAccount> getActiveIndirectCostRecoveryAccountList()
public void setActiveIndirectCostRecoveryAccountList(List<? extends IndirectCostRecoveryAccount> indirectCostRecoveryAccountList)
public String getBoFieldPath()
public void setBoFieldPath(String boFieldPath)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.