| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.kns.rules.DocumentRuleBase
org.kuali.rice.kns.maintenance.rules.MaintenanceDocumentRuleBase
org.kuali.kfs.sys.document.validation.impl.KfsMaintenanceDocumentRuleBase
org.kuali.kfs.sys.document.validation.impl.TaxRegionRule
public class TaxRegionRule
This class implements add collection line business rule for tax district rate.
| Field Summary | |
|---|---|
protected  org.kuali.rice.kns.service.BusinessObjectService | 
businessObjectService
 | 
| Fields inherited from class org.kuali.kfs.sys.document.validation.impl.KfsMaintenanceDocumentRuleBase | 
|---|
financialSystemUserService, personService | 
| Fields inherited from class org.kuali.rice.kns.maintenance.rules.MaintenanceDocumentRuleBase | 
|---|
boDictionaryService, boService, businessObjectAuthorizationService, configService, ddService, dictionaryValidationService, DOCUMENT_ERROR_PREFIX, documentHelperService, LOG, MAINTAINABLE_ERROR_PATH, MAINTAINABLE_ERROR_PREFIX, maintDocDictionaryService, persistenceService, persistenceStructureService, priorErrorPath, roleService, workflowDocumentService | 
| Constructor Summary | |
|---|---|
TaxRegionRule()
 | 
|
| Method Summary | |
|---|---|
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.kns.bo.PersistableBusinessObject bo)
 | 
| Methods inherited from class org.kuali.kfs.sys.document.validation.impl.KfsMaintenanceDocumentRuleBase | 
|---|
getFinancialSystemUserService, getKfsUserService | 
| Methods inherited from class org.kuali.rice.kns.maintenance.rules.MaintenanceDocumentRuleBase | 
|---|
apcRuleFails, applyApcRule, checkEmptyBOField, checkEmptyDocumentField, checkEmptyValue, checkForPartiallyFilledOutReferenceForeignKeys, clearErrorPath, consolidateFieldNames, dataDictionaryValidate, errorAlreadyExists, getBoDictionaryService, getBoService, getBusinessObjectAuthorizationService, getConfigService, getDateTimeService, getDdService, getDictionaryValidationService, getDocumentHelperService, getFieldLabel, getFieldLabel, getHumanReadablePrimaryKeyFieldNames, getMaintDocDictionaryService, getNewBo, getOldBo, getPersistenceService, 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, setConfigService, setDdService, setDictionaryValidationService, setDocumentHelperService, setMaintDocDictionaryService, setNewBo, setPersistenceService, setPersistenceStructureService, setPersonService, setupBaseConvenienceObjects, setupConvenienceObjects, setWorkflowDocumentService, showErrorMap, validateDocumentStructure, validateDuplicateIdentifierInDataDictionary, validateGlobalBusinessObjectPersistable, validateMaintenanceDocument | 
| Methods inherited from class org.kuali.rice.kns.rules.DocumentRuleBase | 
|---|
getDataDictionaryService, getIdentityManagementService, getKualiConfigurationService, getMaxDictionaryValidationDepth, getWorkflowInfoService, isAddHocRoutePersonValid, isAddHocRouteWorkgroupValid, isAdHocRouteRecipientsValid, isDocumentAttributesValid, isDocumentOverviewValid, isNoteValid, processAddAdHocRoutePerson, processAddAdHocRouteWorkgroup, processAddNote, processCustomAddAdHocRoutePersonBusinessRules, processCustomAddAdHocRouteWorkgroupBusinessRules, processCustomAddNoteBusinessRules, processCustomApproveDocumentBusinessRules, processCustomRouteDocumentBusinessRules, processCustomSaveDocumentBusinessRules, processCustomSendAdHocRequests, processSendAdHocRequests, setMaxDictionaryValidationDepth, validateSensitiveDataValue | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
protected org.kuali.rice.kns.service.BusinessObjectService businessObjectService
| Constructor Detail | 
|---|
public TaxRegionRule()
| Method Detail | 
|---|
public boolean processCustomAddCollectionLineBusinessRules(org.kuali.rice.kns.document.MaintenanceDocument document,
                                                           String collectionName,
                                                           org.kuali.rice.kns.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.kns.bo.PersistableBusinessObject)
protected boolean isValidTaxRegionRate(TaxRegionRate taxRegionRate,
                                       TaxRegion taxRegion)
MaintenanceDocumentRuleBase.processCustomAddCollectionLineBusinessRules(org.kuali.rice.kns.document.MaintenanceDocument,
      java.lang.String, org.kuali.rice.kns.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 - 
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||