public class TaxRegionRule extends KfsMaintenanceDocumentRuleBase
financialSystemUserService, personServiceboDictionaryService, boService, businessObjectAuthorizationService, businessObjectMetaDataService, configService, dataObjectMetaDataService, ddService, dictionaryValidationService, DOCUMENT_ERROR_PREFIX, documentHelperService, LOG, MAINTAINABLE_ERROR_PATH, MAINTAINABLE_ERROR_PREFIX, maintDocDictionaryService, persistenceStructureService, priorErrorPath, roleService, workflowDocumentService| Constructor and Description |
|---|
TaxRegionRule() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isValidEffectiveDate(TaxRegionRate taxRegionRate)
This method returns true if the effective date is not a date in the past or today's date.
|
protected boolean |
isValidTaxRate(TaxRegionRate taxRegionRate)
This method returns true if the tax rate is between 0 and 1.
|
protected boolean |
isValidTaxRegionCounty(TaxRegionCounty taxRegionCounty)
This method returns true if the state and county on the tax region county object is valid.
|
protected boolean |
isValidTaxRegionPostalCode(TaxRegionPostalCode taxRegionPostalCode)
This method returns true if the postal code on the tax region postal code is valid.
|
protected boolean |
isValidTaxRegionRate(TaxRegionRate taxRegionRate,
TaxRegion taxRegion) |
protected boolean |
isValidTaxRegionState(TaxRegionState taxRegionState)
This method returns true if the state on tax region state object is valid.
|
boolean |
processCustomAddCollectionLineBusinessRules(org.kuali.rice.kns.document.MaintenanceDocument document,
String collectionName,
org.kuali.rice.krad.bo.PersistableBusinessObject bo) |
getFinancialSystemUserService, getKfsUserServicecheckEmptyBOField, 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, processCustomRouteDocumentBusinessRules, 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, validateMaintenanceDocumentbuildDocumentTypeActionRequestPermissionDetails, 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, validateSensitiveDataValuepublic TaxRegionRule()
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.MaintenanceDocumentRuleBaseMaintenanceDocumentRuleBase.processCustomAddCollectionLineBusinessRules(org.kuali.rice.kns.document.MaintenanceDocument,
java.lang.String, org.kuali.rice.krad.bo.PersistableBusinessObject)protected boolean isValidTaxRegionRate(TaxRegionRate taxRegionRate, TaxRegion taxRegion)
MaintenanceDocumentRuleBase.processCustomAddCollectionLineBusinessRules(org.kuali.rice.kns.document.MaintenanceDocument,
java.lang.String, org.kuali.rice.krad.bo.PersistableBusinessObject)protected boolean isValidEffectiveDate(TaxRegionRate taxRegionRate)
taxRegionRate - protected boolean isValidTaxRate(TaxRegionRate taxRegionRate)
taxRegionRate - protected boolean isValidTaxRegionState(TaxRegionState taxRegionState)
taxRegionState - protected boolean isValidTaxRegionCounty(TaxRegionCounty taxRegionCounty)
taxRegionCounty - protected boolean isValidTaxRegionPostalCode(TaxRegionPostalCode taxRegionPostalCode)
taxRegionPostalCode - Copyright © 2004–2014 The Kuali Foundation. All rights reserved.