|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AccountingLineRuleHelperService
Method Summary | |
---|---|
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.kns.datadictionary.DataDictionary dataDictionary)
This method validates that the account is active for use in the system. |
boolean |
isValidAccount(Account account,
org.kuali.rice.kns.datadictionary.DataDictionary dataDictionary,
String errorPropertyName)
This method validates that the account is active for use in the system. |
boolean |
isValidChart(Chart chart,
org.kuali.rice.kns.datadictionary.DataDictionary dataDictionary)
This method validates that the chart is active for use in the system. |
boolean |
isValidChart(Chart chart,
org.kuali.rice.kns.datadictionary.DataDictionary dataDictionary,
String errorPropertyName)
This method validates that the chart is active for use in the system. |
boolean |
isValidObjectCode(ObjectCode objectCode,
org.kuali.rice.kns.datadictionary.DataDictionary dataDictionary)
This method validates that an object code is active. |
boolean |
isValidObjectCode(ObjectCode objectCode,
org.kuali.rice.kns.datadictionary.DataDictionary dataDictionary,
String errorPropertyName)
This method validates that an object code is active. |
boolean |
isValidObjectTypeCode(ObjectType objectTypeCode,
org.kuali.rice.kns.datadictionary.DataDictionary dataDictionary)
For the most part, object type codes aren't required on an accounting line; however, in some situations (e.g. |
boolean |
isValidObjectTypeCode(ObjectType objectTypeCode,
org.kuali.rice.kns.datadictionary.DataDictionary dataDictionary,
String errorPropertyName)
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.kns.datadictionary.DataDictionary dataDictionary)
This method validates that a project code is active. |
boolean |
isValidProjectCode(ProjectCode projectCode,
org.kuali.rice.kns.datadictionary.DataDictionary dataDictionary,
String errorPropertyName)
This method validates that a project code is active. |
boolean |
isValidSubAccount(SubAccount subAccount,
org.kuali.rice.kns.datadictionary.DataDictionary dataDictionary)
This method validates that a sub account is active. |
boolean |
isValidSubAccount(SubAccount subAccount,
org.kuali.rice.kns.datadictionary.DataDictionary dataDictionary,
String errorPropertyName)
This method validates that a sub account is active. |
boolean |
isValidSubObjectCode(SubObjectCode subObjectCode,
org.kuali.rice.kns.datadictionary.DataDictionary dataDictionary)
This method validates that a sub 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. |
boolean |
validateAccountingLine(AccountingLine accountingLine)
This method validates that an accounting line object contains values that actually exist in the DB. |
Method Detail |
---|
boolean validateAccountingLine(AccountingLine accountingLine)
accountingLine
-
IllegalStateException
boolean isValidChart(Chart chart, org.kuali.rice.kns.datadictionary.DataDictionary dataDictionary)
chart
- dataDictionary
-
boolean isValidChart(Chart chart, org.kuali.rice.kns.datadictionary.DataDictionary dataDictionary, String errorPropertyName)
chart
- dataDictionary
- errorPropertyName
-
boolean isValidAccount(Account account, org.kuali.rice.kns.datadictionary.DataDictionary dataDictionary)
account
- dataDictionary
-
boolean isValidAccount(Account account, org.kuali.rice.kns.datadictionary.DataDictionary dataDictionary, String errorPropertyName)
account
- dataDictionary
- errorPropertyName
-
boolean hasRequiredOverrides(AccountingLine line, String overrideCode)
line
- overrideCode
-
boolean isValidSubAccount(SubAccount subAccount, org.kuali.rice.kns.datadictionary.DataDictionary dataDictionary)
subAccount
- dataDictionary
-
boolean isValidSubAccount(SubAccount subAccount, org.kuali.rice.kns.datadictionary.DataDictionary dataDictionary, String errorPropertyName)
subAccount
- dataDictionary
- errorPropertyName
-
boolean isValidObjectCode(ObjectCode objectCode, org.kuali.rice.kns.datadictionary.DataDictionary dataDictionary)
objectCode
- dataDictionary
-
boolean isValidObjectCode(ObjectCode objectCode, org.kuali.rice.kns.datadictionary.DataDictionary dataDictionary, String errorPropertyName)
objectCode
- dataDictionary
- errorPropertyName
-
boolean isValidSubObjectCode(SubObjectCode subObjectCode, org.kuali.rice.kns.datadictionary.DataDictionary dataDictionary)
subObjectCode
- dataDictionary
-
boolean isValidSubObjectCode(SubObjectCode subObjectCode, org.kuali.rice.kns.datadictionary.DataDictionary dataDictionary, String errorPropertyName)
subObjectCode
- dataDictionary
- errorPropertyName
-
boolean isValidProjectCode(ProjectCode projectCode, org.kuali.rice.kns.datadictionary.DataDictionary dataDictionary)
projectCode
- dataDictionary
-
boolean isValidProjectCode(ProjectCode projectCode, org.kuali.rice.kns.datadictionary.DataDictionary dataDictionary, String errorPropertyName)
projectCode
- dataDictionary
- errorPropertyName
-
boolean isValidObjectTypeCode(ObjectType objectTypeCode, org.kuali.rice.kns.datadictionary.DataDictionary dataDictionary)
objectTypeCode
- dataDictionary
-
boolean isValidObjectTypeCode(ObjectType objectTypeCode, org.kuali.rice.kns.datadictionary.DataDictionary dataDictionary, String errorPropertyName)
objectTypeCode
- dataDictionary
- errorPropertyName
-
String getChartLabel()
String getAccountLabel()
String getSubAccountLabel()
String getObjectCodeLabel()
String getSubObjectCodeLabel()
String getProjectCodeLabel()
String getObjectTypeCodeLabel()
String getObjectSubTypeCodeLabel()
String getOrganizationCodeLabel()
String getFundGroupCodeLabel()
String getSubFundGroupCodeLabel()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |