|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DebitDeterminerService
A collection of methods that help accounting docs determine whether an accounting line represents a debit or not
| Method Summary | |
|---|---|
void |
disallowErrorCorrectionDocumentCheck(GeneralLedgerPendingEntrySource poster)
throws an IllegalStateException if the document is an error correction. |
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. |
| Method Detail |
|---|
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 -
void disallowErrorCorrectionDocumentCheck(GeneralLedgerPendingEntrySource poster)
IllegalStateException if the document is an error correction. otherwise does nothing
rule - 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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||