public interface DebitDeterminerService
| Modifier and Type | Method and Description |
|---|---|
void |
disallowErrorCorrectionDocumentCheck(GeneralLedgerPendingEntrySource poster)
throws an
IllegalStateException if the document is an error correction. |
String |
getConvertedAmount(String objectType,
String debitCreditCode,
String amount)
This method is to convert amount to positive or negative based on the object type and Debit CreditCode combination.
|
String |
getDebitCalculationIllegalStateExceptionMessage()
Gets the isDebitCalculationIllegalStateExceptionMessage attribute.
|
String |
getErrorCorrectionIllegalStateExceptionMessage()
Gets the isErrorCorrectionIllegalStateExceptionMessage attribute.
|
String |
getInvalidLineTypeIllegalArgumentExceptionMessage()
Gets the isInvalidLineTypeIllegalArgumentExceptionMessage attribute.
|
boolean |
isAsset(GeneralLedgerPendingEntrySourceDetail postable)
Determines whether an accounting line is an asset line.
|
boolean |
isAssetTypeCode(String objectTypeCode)
Determines whether the
objectTypeCode is an asset. |
boolean |
isDebitCode(String debitCreditCode) |
boolean |
isDebitConsideringNothingPositiveOnly(GeneralLedgerPendingEntrySource poster,
GeneralLedgerPendingEntrySourceDetail postable)
object type is not included in determining if a line is debit or credit.
|
boolean |
isDebitConsideringSection(AccountingDocument accountingDocument,
AccountingLine accountingLine)
accounting line section (source/target) type is included in determining if a line is debit or credit.
|
boolean |
isDebitConsideringSectionAndTypePositiveOnly(AccountingDocument accountingDocument,
AccountingLine accountingLine)
accounting line section (source/target) and object type is included in determining if a line is debit or credit.
|
boolean |
isDebitConsideringType(GeneralLedgerPendingEntrySource poster,
GeneralLedgerPendingEntrySourceDetail postable)
object type is included in determining if a line is debit or credit.
|
boolean |
isErrorCorrection(GeneralLedgerPendingEntrySource poster)
Convience method for determine if a document is an error correction document.
|
boolean |
isExpense(GeneralLedgerPendingEntrySourceDetail postable)
Check object code type to determine whether the accounting line is expense.
|
boolean |
isExpenseOrAsset(GeneralLedgerPendingEntrySourceDetail postable)
Determines whether an accounting line is an expense or asset.
|
boolean |
isIncome(GeneralLedgerPendingEntrySourceDetail postable)
Determines whether an accounting line is an income line or not.
|
boolean |
isIncomeOrLiability(GeneralLedgerPendingEntrySourceDetail postable)
Determines whether an accounting line is an income or liability line.
|
boolean |
isLiability(GeneralLedgerPendingEntrySourceDetail postable)
Determines whether an accounting line is a liability line.
|
boolean |
isLiabilityTypeCode(String objectTypeCode)
Determines whether the
objectTypeCode is a liability. |
boolean |
isRevenue(GeneralLedgerPendingEntrySourceDetail postable)
Check object code type to determine whether the accounting line is revenue.
|
boolean isDebitCode(String debitCreditCode)
debitCreditCode - boolean isDebitConsideringType(GeneralLedgerPendingEntrySource poster, GeneralLedgerPendingEntrySourceDetail postable)
IllegalStateException)
rule - accountingDocument - accountingLine - boolean isDebitConsideringNothingPositiveOnly(GeneralLedgerPendingEntrySource poster, GeneralLedgerPendingEntrySourceDetail postable)
IllegalStateException)
rule - accountingDocument - accountingLine - boolean isDebitConsideringSection(AccountingDocument accountingDocument, AccountingLine accountingLine)
IllegalStateException)
rule - accountingDocument - accountingLine - boolean isDebitConsideringSectionAndTypePositiveOnly(AccountingDocument accountingDocument, AccountingLine accountingLine)
IllegalStateException)
rule - accountingDocument - accountingLine - String getConvertedAmount(String objectType, String debitCreditCode, String amount)
void disallowErrorCorrectionDocumentCheck(GeneralLedgerPendingEntrySource poster)
IllegalStateException if the document is an error correction. otherwise does nothingrule - accountingDocument - boolean isErrorCorrection(GeneralLedgerPendingEntrySource poster)
accountingDocument - boolean isAsset(GeneralLedgerPendingEntrySourceDetail postable)
accountingLine - boolean isLiability(GeneralLedgerPendingEntrySourceDetail postable)
accountingLine - boolean isIncome(GeneralLedgerPendingEntrySourceDetail postable)
accountingLine - boolean isExpense(GeneralLedgerPendingEntrySourceDetail postable)
accountingLine - boolean isExpenseOrAsset(GeneralLedgerPendingEntrySourceDetail postable)
line - boolean isIncomeOrLiability(GeneralLedgerPendingEntrySourceDetail postable)
line - boolean isRevenue(GeneralLedgerPendingEntrySourceDetail postable)
line - boolean isAssetTypeCode(String objectTypeCode)
objectTypeCode is an asset.objectTypeCode - boolean isLiabilityTypeCode(String objectTypeCode)
objectTypeCode is a liability.objectTypeCode - String getDebitCalculationIllegalStateExceptionMessage()
String getErrorCorrectionIllegalStateExceptionMessage()
String getInvalidLineTypeIllegalArgumentExceptionMessage()
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.