public interface AccountingLineRuleHelperService
Modifier and Type | Method and Description |
---|---|
String |
getAccountLabel() |
String |
getChartLabel() |
String |
getFundGroupCodeLabel() |
String |
getObjectCodeLabel() |
String |
getObjectSubTypeCodeLabel() |
String |
getObjectTypeCodeLabel() |
String |
getOrganizationCodeLabel() |
String |
getProjectCodeLabel() |
String |
getSubAccountLabel() |
String |
getSubFundGroupCodeLabel() |
String |
getSubObjectCodeLabel() |
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 |
isValidAccount(Account account,
org.kuali.rice.krad.datadictionary.DataDictionary dataDictionary,
String errorPropertyName,
String accountIdentifyingPropertyName)
This method validates that the account is active for use in the system.
|
boolean |
isValidAccount(String accountIdentifyingPropertyName,
Account account,
org.kuali.rice.krad.datadictionary.DataDictionary dataDictionary)
This method validates that the account is active for use in the system.
|
boolean |
isValidChart(Chart chart,
org.kuali.rice.krad.datadictionary.DataDictionary dataDictionary,
String errorPropertyName,
String accountIdentifyingPropertyName)
This method validates that the chart is active for use in the system.
|
boolean |
isValidChart(String accountIdentifyingPropertyName,
Chart chart,
org.kuali.rice.krad.datadictionary.DataDictionary dataDictionary)
This method validates that the chart is active for use in the system.
|
boolean |
isValidObjectCode(ObjectCode objectCode,
org.kuali.rice.krad.datadictionary.DataDictionary dataDictionary,
String errorPropertyName,
String accountIdentifyingPropertyName)
This method validates that an object code is active.
|
boolean |
isValidObjectCode(String accountIdentifyingPropertyName,
ObjectCode objectCode,
org.kuali.rice.krad.datadictionary.DataDictionary dataDictionary)
This method validates that an object code is active.
|
boolean |
isValidObjectTypeCode(ObjectType objectTypeCode,
org.kuali.rice.krad.datadictionary.DataDictionary dataDictionary,
String errorPropertyName,
String accountIdentifyingPropertyName)
For the most part, object type codes aren't required on an accounting line; however, in some situations (e.g.
|
boolean |
isValidObjectTypeCode(String accountIdentifyingPropertyName,
ObjectType objectTypeCode,
org.kuali.rice.krad.datadictionary.DataDictionary dataDictionary)
For the most part, object type codes aren't required on an accounting line; however, in some situations (e.g.
|
boolean |
isValidProjectCode(ProjectCode projectCode,
org.kuali.rice.krad.datadictionary.DataDictionary dataDictionary,
String errorPropertyName,
String accountIdentifyingPropertyName)
This method validates that a project code is active.
|
boolean |
isValidProjectCode(String accountIdentifyingPropertyName,
ProjectCode projectCode,
org.kuali.rice.krad.datadictionary.DataDictionary dataDictionary)
This method validates that a project code is active.
|
boolean |
isValidSubAccount(String accountIdentifyingPropertyName,
SubAccount subAccount,
org.kuali.rice.krad.datadictionary.DataDictionary dataDictionary)
This method validates that a sub account is active.
|
boolean |
isValidSubAccount(SubAccount subAccount,
org.kuali.rice.krad.datadictionary.DataDictionary dataDictionary,
String errorPropertyName,
String accountIdentifyingPropertyName)
This method validates that a sub account is active.
|
boolean |
isValidSubObjectCode(String accountIdentifyingPropertyName,
SubObjectCode subObjectCode,
org.kuali.rice.krad.datadictionary.DataDictionary dataDictionary)
This method validates that a sub object code is active.
|
boolean |
isValidSubObjectCode(SubObjectCode subObjectCode,
org.kuali.rice.krad.datadictionary.DataDictionary dataDictionary,
String errorPropertyName,
String accountIdentifyingPropertyName)
This method validates that a sub object code is active.
|
boolean |
validateAccountingLine(AccountingLine accountingLine)
This method validates that an accounting line object contains values that actually exist in the DB.
|
boolean validateAccountingLine(AccountingLine accountingLine)
accountingLine
- IllegalStateException
boolean isValidChart(String accountIdentifyingPropertyName, Chart chart, org.kuali.rice.krad.datadictionary.DataDictionary dataDictionary)
chart
- accountIdentifyingPropertyName
- dataDictionary
- boolean isValidChart(Chart chart, org.kuali.rice.krad.datadictionary.DataDictionary dataDictionary, String errorPropertyName, String accountIdentifyingPropertyName)
chart
- dataDictionary
- accountIdentifyingPropertyName
- errorPropertyName
- boolean isValidAccount(String accountIdentifyingPropertyName, Account account, org.kuali.rice.krad.datadictionary.DataDictionary dataDictionary)
accountIdentifyingPropertyName
- account
- dataDictionary
- boolean isValidAccount(Account account, org.kuali.rice.krad.datadictionary.DataDictionary dataDictionary, String errorPropertyName, String accountIdentifyingPropertyName)
account
- dataDictionary
- accountIdentifyingPropertyName
- errorPropertyName
- boolean hasRequiredOverrides(AccountingLine line, String overrideCode)
line
- overrideCode
- boolean isValidSubAccount(String accountIdentifyingPropertyName, SubAccount subAccount, org.kuali.rice.krad.datadictionary.DataDictionary dataDictionary)
accountIdentifyingPropertyName
- subAccount
- dataDictionary
- boolean isValidSubAccount(SubAccount subAccount, org.kuali.rice.krad.datadictionary.DataDictionary dataDictionary, String errorPropertyName, String accountIdentifyingPropertyName)
subAccount
- dataDictionary
- accountIdentifyingPropertyName
- errorPropertyName
- boolean isValidObjectCode(String accountIdentifyingPropertyName, ObjectCode objectCode, org.kuali.rice.krad.datadictionary.DataDictionary dataDictionary)
accountIdentifyingPropertyName
- objectCode
- dataDictionary
- boolean isValidObjectCode(ObjectCode objectCode, org.kuali.rice.krad.datadictionary.DataDictionary dataDictionary, String errorPropertyName, String accountIdentifyingPropertyName)
objectCode
- dataDictionary
- accountIdentifyingPropertyName
- errorPropertyName
- boolean isValidSubObjectCode(String accountIdentifyingPropertyName, SubObjectCode subObjectCode, org.kuali.rice.krad.datadictionary.DataDictionary dataDictionary)
accountIdentifyingPropertyName
- subObjectCode
- dataDictionary
- boolean isValidSubObjectCode(SubObjectCode subObjectCode, org.kuali.rice.krad.datadictionary.DataDictionary dataDictionary, String errorPropertyName, String accountIdentifyingPropertyName)
subObjectCode
- dataDictionary
- errorPropertyName
- boolean isValidProjectCode(String accountIdentifyingPropertyName, ProjectCode projectCode, org.kuali.rice.krad.datadictionary.DataDictionary dataDictionary)
accountIdentifyingPropertyName
- projectCode
- dataDictionary
- boolean isValidProjectCode(ProjectCode projectCode, org.kuali.rice.krad.datadictionary.DataDictionary dataDictionary, String errorPropertyName, String accountIdentifyingPropertyName)
projectCode
- dataDictionary
- errorPropertyName
- accountIdentifyingPropertyName
- boolean isValidObjectTypeCode(String accountIdentifyingPropertyName, ObjectType objectTypeCode, org.kuali.rice.krad.datadictionary.DataDictionary dataDictionary)
accountIdentifyingPropertyName
- objectTypeCode
- dataDictionary
- boolean isValidObjectTypeCode(ObjectType objectTypeCode, org.kuali.rice.krad.datadictionary.DataDictionary dataDictionary, String errorPropertyName, String accountIdentifyingPropertyName)
objectTypeCode
- dataDictionary
- accountIdentifyingPropertyName
- errorPropertyName
- String getChartLabel()
String getAccountLabel()
String getSubAccountLabel()
String getObjectCodeLabel()
String getSubObjectCodeLabel()
String getProjectCodeLabel()
String getObjectTypeCodeLabel()
String getObjectSubTypeCodeLabel()
String getOrganizationCodeLabel()
String getFundGroupCodeLabel()
String getSubFundGroupCodeLabel()
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.