| org.kuali.kfs.rule.AccountingLineRule
AccountingLineRule | public interface AccountingLineRule extends BusinessRule(Code) | | Defines methods common to all *AccountingLineRule interfaces
|
Method Summary | |
public boolean | isAmountValid(F document, AccountingLine accountingLine) This method checks the amount of a given accounting line to make sure it's a valid amount. | public boolean | isCredit(AccountingLine accountingLine, F financialDocument) This method determines if the passed in accounting line is a credit or not. | public boolean | isDebit(AccountingDocument financialDocument, AccountingLine accountingLine) This method determines if the passed in accounting line is a debit or not. | public boolean | isFundGroupAllowed(Class documentClass, AccountingLine accountingLine) | public boolean | isObjectCodeAllowed(Class documentClass, AccountingLine accountingLine) This method checks to see if the object code for the passed in accounting is allowed. | public boolean | isObjectConsolidationAllowed(Class documentClass, AccountingLine accountingLine) This method checks to see if the object consolidation for the accouting line's object code is allowed. | public boolean | isObjectLevelAllowed(Class documentClass, AccountingLine accountingLine) This method checks to see if the object level for the accouting line's object code is allowed. | public boolean | isObjectSubTypeAllowed(Class documentClass, AccountingLine accountingLine) This method checks to see if the object sub-type code for the accouting line's object code is allowed. | public boolean | isObjectTypeAllowed(Class documentClass, AccountingLine accountingLine) This checks the accounting line's object type code to ensure that it is allowed. | public boolean | isSubFundGroupAllowed(Class documentClass, AccountingLine accountingLine) This method checks to see if the sub fund group code for the accouting line's account is allowed. |
isAmountValid | public boolean isAmountValid(F document, AccountingLine accountingLine)(Code) | | This method checks the amount of a given accounting line to make sure it's a valid amount.
Parameters: document - Parameters: accountingLine - boolean True if there aren't any issues, false otherwise. |
isCredit | public boolean isCredit(AccountingLine accountingLine, F financialDocument)(Code) | | This method determines if the passed in accounting line is a credit or not.
Parameters: accountingLine - Parameters: financialDocument - TODO boolean |
isDebit | public boolean isDebit(AccountingDocument financialDocument, AccountingLine accountingLine)(Code) | | This method determines if the passed in accounting line is a debit or not.
Parameters: financialDocument - Parameters: accountingLine - boolean |
isFundGroupAllowed | public boolean isFundGroupAllowed(Class documentClass, AccountingLine accountingLine)(Code) | | This method checks to see if the fund group code for the accouting line's account
Parameters: accountingLine - boolean |
isObjectCodeAllowed | public boolean isObjectCodeAllowed(Class documentClass, AccountingLine accountingLine)(Code) | | This method checks to see if the object code for the passed in accounting is allowed.
Parameters: accountingLine - boolean True if the use of the object code is allowed. |
isObjectConsolidationAllowed | public boolean isObjectConsolidationAllowed(Class documentClass, AccountingLine accountingLine)(Code) | | This method checks to see if the object consolidation for the accouting line's object code is allowed.
Parameters: accountingLine - boolean True if the use of the object code's object sub type code is allowed; false otherwise. |
isObjectLevelAllowed | public boolean isObjectLevelAllowed(Class documentClass, AccountingLine accountingLine)(Code) | | This method checks to see if the object level for the accouting line's object code is allowed.
Parameters: accountingLine - boolean True if the use of the object code's object sub type code is allowed; false otherwise. |
isObjectSubTypeAllowed | public boolean isObjectSubTypeAllowed(Class documentClass, AccountingLine accountingLine)(Code) | | This method checks to see if the object sub-type code for the accouting line's object code is allowed.
Parameters: accountingLine - boolean True if the use of the object code's object sub type code is allowed; false otherwise. |
isObjectTypeAllowed | public boolean isObjectTypeAllowed(Class documentClass, AccountingLine accountingLine)(Code) | | This checks the accounting line's object type code to ensure that it is allowed.
Parameters: accountingLine - boolean |
isSubFundGroupAllowed | public boolean isSubFundGroupAllowed(Class documentClass, AccountingLine accountingLine)(Code) | | This method checks to see if the sub fund group code for the accouting line's account is allowed.
Parameters: accountingLine - boolean |
|
|