| java.lang.Object org.kuali.kfs.rules.AccountingLineRuleUtil org.kuali.module.purap.util.PurapAccountingLineRuleUtil
PurapAccountingLineRuleUtil | final public class PurapAccountingLineRuleUtil extends AccountingLineRuleUtil (Code) | | NOTE: COPIED FROM AccountingLineRuleUtil VERSION 1.8, COMPARE WITH THAT FILE FOR DIFF WITH BASE NOTE: DO NOT MAKE CHANGES TO THIS
FILE UNLESS ABSOLUTELY NECESSARY THIS SHOULD NOT CONTAIN PURAP SPECIFIC CODE
|
Method Summary | |
public static String | getAccountLabel() | public static String | getChartLabel() | public static String | getFundGroupCodeLabel() | public static String | getObjectCodeLabel() | public static String | getObjectSubTypeCodeLabel() | public static String | getObjectTypeCodeLabel() | public static String | getOrganizationCodeLabel() | public static String | getProjectCodeLabel() | public static String | getSubAccountLabel() | public static String | getSubFundGroupCodeLabel() | public static String | getSubObjectCodeLabel() | public static 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. | public static boolean | isValidAccount(Account account, DataDictionary dataDictionary) This method validates that the account is active for use in the system. | public static boolean | isValidAccount(Account account, DataDictionary dataDictionary, String errorPropertyName) This method validates that the account is active for use in the system. | public static boolean | isValidChart(Chart chart, DataDictionary dataDictionary) This method validates that the chart is active for use in the system. | public static boolean | isValidChart(Chart chart, DataDictionary dataDictionary, String errorPropertyName) This method validates that the chart is active for use in the system. | public static boolean | isValidObjectCode(ObjectCode objectCode, DataDictionary dataDictionary) This method validates that an object code is active. | public static boolean | isValidObjectCode(ObjectCode objectCode, DataDictionary dataDictionary, String errorPropertyName) This method validates that an object code is active. | public static boolean | isValidObjectTypeCode(ObjectType objectTypeCode, DataDictionary dataDictionary) For the most part, object type codes aren't required on an accounting line; however, in some situations (e.g. | public static boolean | isValidObjectTypeCode(ObjectType objectTypeCode, DataDictionary dataDictionary, String errorPropertyName) For the most part, object type codes aren't required on an accounting line; however, in some situations (e.g. | public static boolean | isValidProjectCode(ProjectCode projectCode, DataDictionary dataDictionary) This method validates that a project code is active. | public static boolean | isValidProjectCode(ProjectCode projectCode, DataDictionary dataDictionary, String errorPropertyName) This method validates that a project code is active. | public static boolean | isValidSubAccount(SubAccount subAccount, DataDictionary dataDictionary) This method validates that a sub account is active. | public static boolean | isValidSubAccount(SubAccount subAccount, DataDictionary dataDictionary, String errorPropertyName) This method validates that a sub account is active. | public static boolean | isValidSubObjectCode(SubObjCd subObjectCode, DataDictionary dataDictionary) This method validates that a sub object code is active. | public static boolean | isValidSubObjectCode(SubObjCd subObjectCode, DataDictionary dataDictionary, String errorPropertyName) This method validates that a sub object code is active. | public static boolean | validateAccountingLine(AccountingLine accountingLine, DataDictionaryService dataDictionaryService) This method validates that an accounting line object contains values that actually exist in the DB. |
getAccountLabel | public static String getAccountLabel()(Code) | | short label for account number defined in data dictionary |
getChartLabel | public static String getChartLabel()(Code) | | short label for chart code defined in data dictionary |
getFundGroupCodeLabel | public static String getFundGroupCodeLabel()(Code) | | short label for fund group code defined in data dictionary |
getObjectCodeLabel | public static String getObjectCodeLabel()(Code) | | short label for object code defined in data dictionary |
getObjectSubTypeCodeLabel | public static String getObjectSubTypeCodeLabel()(Code) | | short label for object sub type code defined in data dictionary |
getObjectTypeCodeLabel | public static String getObjectTypeCodeLabel()(Code) | | short label for object type code defined in data dictionary |
getOrganizationCodeLabel | public static String getOrganizationCodeLabel()(Code) | | short label for organization code defined in data dictionary |
getProjectCodeLabel | public static String getProjectCodeLabel()(Code) | | short label for project code defined in data dictionary |
getSubAccountLabel | public static String getSubAccountLabel()(Code) | | short label for sub account number defined in data dictionary |
getSubFundGroupCodeLabel | public static String getSubFundGroupCodeLabel()(Code) | | short label for sub fund group code defined in data dictionary |
getSubObjectCodeLabel | public static String getSubObjectCodeLabel()(Code) | | short label for sub object code defined in data dictionary |
hasRequiredOverrides | public static boolean hasRequiredOverrides(AccountingLine line, String overrideCode)(Code) | | Checks that the given overrideCode is sufficient for the given BO, adding errors to the global map if not.
Parameters: line - Parameters: overrideCode - whether the given overrideCode is sufficient for the given BO. |
isValidAccount | public static boolean isValidAccount(Account account, DataDictionary dataDictionary)(Code) | | This method validates that the account is active for use in the system.
Parameters: account - Parameters: dataDictionary - boolean True if it is valid. |
isValidAccount | public static boolean isValidAccount(Account account, DataDictionary dataDictionary, String errorPropertyName)(Code) | | This method validates that the account is active for use in the system.
Parameters: account - Parameters: dataDictionary - Parameters: errorPropertyName - boolean True if it is valid. |
isValidChart | public static boolean isValidChart(Chart chart, DataDictionary dataDictionary)(Code) | | This method validates that the chart is active for use in the system.
Parameters: chart - Parameters: dataDictionary - boolean True if the Chart is valid. |
isValidChart | public static boolean isValidChart(Chart chart, DataDictionary dataDictionary, String errorPropertyName)(Code) | | This method validates that the chart is active for use in the system.
Parameters: chart - Parameters: dataDictionary - Parameters: errorPropertyName - boolean True if the Chart is valid. |
isValidObjectCode | public static boolean isValidObjectCode(ObjectCode objectCode, DataDictionary dataDictionary)(Code) | | This method validates that an object code is active.
Parameters: objectCode - Parameters: dataDictionary - boolean True if the object code is valid. |
isValidObjectCode | public static boolean isValidObjectCode(ObjectCode objectCode, DataDictionary dataDictionary, String errorPropertyName)(Code) | | This method validates that an object code is active.
Parameters: objectCode - Parameters: dataDictionary - Parameters: errorPropertyName - boolean True if the object code is valid. |
isValidObjectTypeCode | public static boolean isValidObjectTypeCode(ObjectType objectTypeCode, DataDictionary dataDictionary)(Code) | | For the most part, object type codes aren't required on an accounting line; however, in some situations (e.g. Journal
Voucher) they are entered directly into the accounting line and must be validated. In those cases, they must be validated for
activeness.
Parameters: objectTypeCode - Parameters: dataDictionary - boolean True if the object type code is valid, false otherwise. |
isValidObjectTypeCode | public static boolean isValidObjectTypeCode(ObjectType objectTypeCode, DataDictionary dataDictionary, String errorPropertyName)(Code) | | For the most part, object type codes aren't required on an accounting line; however, in some situations (e.g. Journal
Voucher) they are entered directly into the accounting line and must be validated. In those cases, they must be validated for
activeness.
Parameters: objectTypeCode - Parameters: dataDictionary - Parameters: errorPropertyName - boolean True if the object type code is valid, false otherwise. |
isValidProjectCode | public static boolean isValidProjectCode(ProjectCode projectCode, DataDictionary dataDictionary)(Code) | | This method validates that a project code is active.
Parameters: projectCode - Parameters: dataDictionary - boolean True if it is valid. |
isValidProjectCode | public static boolean isValidProjectCode(ProjectCode projectCode, DataDictionary dataDictionary, String errorPropertyName)(Code) | | This method validates that a project code is active.
Parameters: projectCode - Parameters: dataDictionary - Parameters: errorPropertyName - boolean True if it is valid. |
isValidSubAccount | public static boolean isValidSubAccount(SubAccount subAccount, DataDictionary dataDictionary)(Code) | | This method validates that a sub account is active.
Parameters: subAccount - Parameters: dataDictionary - true if it exists |
isValidSubAccount | public static boolean isValidSubAccount(SubAccount subAccount, DataDictionary dataDictionary, String errorPropertyName)(Code) | | This method validates that a sub account is active.
Parameters: subAccount - Parameters: dataDictionary - Parameters: errorPropertyName - true if it exists |
isValidSubObjectCode | public static boolean isValidSubObjectCode(SubObjCd subObjectCode, DataDictionary dataDictionary)(Code) | | This method validates that a sub object code is active.
Parameters: subObjectCode - Parameters: dataDictionary - boolean True if it is valid. |
isValidSubObjectCode | public static boolean isValidSubObjectCode(SubObjCd subObjectCode, DataDictionary dataDictionary, String errorPropertyName)(Code) | | This method validates that a sub object code is active.
Parameters: subObjectCode - Parameters: dataDictionary - Parameters: errorPropertyName - boolean True if it is valid. |
validateAccountingLine | public static boolean validateAccountingLine(AccountingLine accountingLine, DataDictionaryService dataDictionaryService) throws IllegalStateException(Code) | | This method validates that an accounting line object contains values that actually exist in the DB. SubAccount and SubObject
are only checked if there are values in them. The others throw errors if they area null.
Parameters: accountingLine - Parameters: dataDictionaryService - success or failure of validating the AccountingLine throws: IllegalStateException - |
Methods inherited from org.kuali.kfs.rules.AccountingLineRuleUtil | public static String getAccountLabel()(Code)(Java Doc) public static String getChartLabel()(Code)(Java Doc) public static String getFundGroupCodeLabel()(Code)(Java Doc) public static String getObjectCodeLabel()(Code)(Java Doc) public static String getObjectSubTypeCodeLabel()(Code)(Java Doc) public static String getObjectTypeCodeLabel()(Code)(Java Doc) public static String getOrganizationCodeLabel()(Code)(Java Doc) public static String getProjectCodeLabel()(Code)(Java Doc) public static String getSubAccountLabel()(Code)(Java Doc) public static String getSubFundGroupCodeLabel()(Code)(Java Doc) public static String getSubObjectCodeLabel()(Code)(Java Doc) public static boolean hasRequiredOverrides(AccountingLine line, String overrideCode)(Code)(Java Doc) public static boolean isValidAccount(Account account, DataDictionary dataDictionary)(Code)(Java Doc) public static boolean isValidAccount(Account account, DataDictionary dataDictionary, String errorPropertyName)(Code)(Java Doc) public static boolean isValidChart(Chart chart, DataDictionary dataDictionary)(Code)(Java Doc) public static boolean isValidChart(Chart chart, DataDictionary dataDictionary, String errorPropertyName)(Code)(Java Doc) public static boolean isValidObjectCode(ObjectCode objectCode, DataDictionary dataDictionary)(Code)(Java Doc) public static boolean isValidObjectCode(ObjectCode objectCode, DataDictionary dataDictionary, String errorPropertyName)(Code)(Java Doc) public static boolean isValidObjectTypeCode(ObjectType objectTypeCode, DataDictionary dataDictionary)(Code)(Java Doc) public static boolean isValidObjectTypeCode(ObjectType objectTypeCode, DataDictionary dataDictionary, String errorPropertyName)(Code)(Java Doc) public static boolean isValidProjectCode(ProjectCode projectCode, DataDictionary dataDictionary)(Code)(Java Doc) public static boolean isValidProjectCode(ProjectCode projectCode, DataDictionary dataDictionary, String errorPropertyName)(Code)(Java Doc) public static boolean isValidSubAccount(SubAccount subAccount, DataDictionary dataDictionary)(Code)(Java Doc) public static boolean isValidSubAccount(SubAccount subAccount, DataDictionary dataDictionary, String errorPropertyName)(Code)(Java Doc) public static boolean isValidSubObjectCode(SubObjCd subObjectCode, DataDictionary dataDictionary)(Code)(Java Doc) public static boolean isValidSubObjectCode(SubObjCd subObjectCode, DataDictionary dataDictionary, String errorPropertyName)(Code)(Java Doc) public static boolean validateAccountingLine(AccountingLine accountingLine, DataDictionaryService dataDictionaryService) throws IllegalStateException(Code)(Java Doc)
|
|
|