org.kuali.kfs.module.purap.service.impl
Class PurchasingAccountingLineRuleHelperServiceImpl
java.lang.Object
org.kuali.kfs.sys.document.service.impl.AccountingLineRuleHelperServiceImpl
org.kuali.kfs.module.purap.service.impl.PurapAccountingLineRuleHelperServiceImpl
org.kuali.kfs.module.purap.service.impl.PurchasingAccountingLineRuleHelperServiceImpl
- All Implemented Interfaces:
- PurapAccountingLineRuleHelperService, AccountingLineRuleHelperService
public class PurchasingAccountingLineRuleHelperServiceImpl
- extends PurapAccountingLineRuleHelperServiceImpl
Method Summary |
boolean |
hasRequiredOverrides(AccountingLine line,
String overrideCode)
Checks that the given overrideCode is sufficient for the given BO, adding errors to the global map if not. |
boolean |
isValidObjectCode(ObjectCode objectCode,
org.kuali.rice.kns.datadictionary.DataDictionary dataDictionary,
String errorPropertyName)
This method validates that an object code is active. |
boolean |
isValidSubObjectCode(SubObjectCode subObjectCode,
org.kuali.rice.kns.datadictionary.DataDictionary dataDictionary,
String errorPropertyName)
This method validates that a sub object code is active. |
Methods inherited from class org.kuali.kfs.sys.document.service.impl.AccountingLineRuleHelperServiceImpl |
checkExistence, getAccountLabel, getChartLabel, getDataDictionaryService, getFinancialSystemDocumentTypeService, getFundGroupCodeLabel, getObjectCodeLabel, getObjectSubTypeCodeLabel, getObjectTypeCodeLabel, getOrganizationCodeLabel, getProjectCodeLabel, getSubAccountLabel, getSubFundGroupCodeLabel, getSubObjectCodeLabel, getUnexpiredContinuationAccountOrNull, hasAccountRequiredOverrides, hasObjectBudgetRequiredOverrides, isValidAccount, isValidAccount, isValidChart, isValidChart, isValidObjectCode, isValidObjectTypeCode, isValidObjectTypeCode, isValidProjectCode, isValidProjectCode, isValidReferenceOriginCode, isValidReferenceTypeCode, isValidSubAccount, isValidSubAccount, isValidSubObjectCode, setDataDictionaryService, setFinancialSystemDocumentTypeService, validateAccountingLine |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.kuali.kfs.sys.document.service.AccountingLineRuleHelperService |
getAccountLabel, getChartLabel, getFundGroupCodeLabel, getObjectCodeLabel, getObjectSubTypeCodeLabel, getObjectTypeCodeLabel, getOrganizationCodeLabel, getProjectCodeLabel, getSubAccountLabel, getSubFundGroupCodeLabel, getSubObjectCodeLabel, isValidAccount, isValidAccount, isValidChart, isValidChart, isValidObjectCode, isValidObjectTypeCode, isValidObjectTypeCode, isValidProjectCode, isValidProjectCode, isValidSubAccount, isValidSubAccount, isValidSubObjectCode, validateAccountingLine |
PurchasingAccountingLineRuleHelperServiceImpl
public PurchasingAccountingLineRuleHelperServiceImpl()
hasRequiredOverrides
public boolean hasRequiredOverrides(AccountingLine line,
String overrideCode)
- Description copied from interface:
AccountingLineRuleHelperService
- Checks that the given overrideCode is sufficient for the given BO, adding errors to the global map if not.
- Specified by:
hasRequiredOverrides
in interface AccountingLineRuleHelperService
- Overrides:
hasRequiredOverrides
in class PurapAccountingLineRuleHelperServiceImpl
- Returns:
- whether the given overrideCode is sufficient for the given BO.
- See Also:
override the default implementation and throw our own error message for accounts that are expired.
isValidObjectCode
public boolean isValidObjectCode(ObjectCode objectCode,
org.kuali.rice.kns.datadictionary.DataDictionary dataDictionary,
String errorPropertyName)
- Description copied from interface:
AccountingLineRuleHelperService
- This method validates that an object code is active.
- Specified by:
isValidObjectCode
in interface AccountingLineRuleHelperService
- Overrides:
isValidObjectCode
in class AccountingLineRuleHelperServiceImpl
- Returns:
- boolean True if the object code is valid.
- See Also:
AccountingLineRuleHelperService.isValidObjectCode(org.kuali.kfs.coa.businessobject.ObjectCode, org.kuali.rice.kns.datadictionary.DataDictionary, java.lang.String)
isValidSubObjectCode
public boolean isValidSubObjectCode(SubObjectCode subObjectCode,
org.kuali.rice.kns.datadictionary.DataDictionary dataDictionary,
String errorPropertyName)
- Description copied from interface:
AccountingLineRuleHelperService
- This method validates that a sub object code is active.
- Specified by:
isValidSubObjectCode
in interface AccountingLineRuleHelperService
- Overrides:
isValidSubObjectCode
in class AccountingLineRuleHelperServiceImpl
- Returns:
- boolean True if it is valid.
- See Also:
org.kuali.kfs.sys.document.service.AccountingLineRuleHelperService#isValidSubObjectCode(org.kuali.kfs.coa.businessobject.SubObjCd, org.kuali.rice.kns.datadictionary.DataDictionary, java.lang.String)
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.