public interface TransferServiceLocal extends TransferService
TransferService| Modifier and Type | Method and Description |
|---|---|
Transfer |
findByTransactionNumber(java.lang.String transactionNumber)
Returns a transfer by transaction number, or throws
EntityNotFoundException if not found |
TransferData |
getData(Transfer transfer)
Returns details data for the given transfer
|
java.lang.String |
getDescription(Transfer transfer)
Returns the description of the given transfer.
|
java.util.List<Transfer> |
getRatedTransfers(Account account,
int numberOfIncoming)
gets a List of transfers with the following properties:
transfers are from or to
owner
list contains numberOfIncoming incoming transactions, where:
transfers which are charged back, or which are a chargeback of another transfer, do not count for the
numberOfIncoming
child transfers are not counted, only their parents count (for 1). |
java.util.List<Transfer> |
getTransfers(Account account,
DatePeriod period,
boolean includeChargebacks)
Gets a List of Transfers, depending on the parameters.
|
TransferSummary |
getTransferSummary(org.cyclos.impl.banking.GetTransferSummaryParameters params)
Returns a transaction summary for payments with the given characteristics
|
AccountFeeTransfer |
insertAccountFeeTransfer(UserAccountFeeLog userAccountFeeLog)
Inserts the transfer for charging an account fee
|
ChargebackTransfer |
insertChargebackTransfer(Chargeback chargeback,
Transfer toChargeback)
Inserts a transfer to chargeback another transfer
|
ImportTransfer |
insertImportTransfer(ImportTransaction importTransaction,
java.util.Set<TransferStatus> status)
Inserts an import transfer with the given statuses
|
InitialCreditTransfer |
insertInitialCreditTransfer(UserAccount account,
GeneratedTransferType transferType,
java.math.BigDecimal amount)
Inserts the initial credit for the given user account, returning the generated transfer
|
ScheduledPaymentInstallmentTransfer |
insertInstallmentTransfer(ScheduledPaymentInstallment installment)
Inserts the transfer for processing the given installment
|
PaymentTransfer |
insertPaymentTransfer(Payment payment)
Inserts the transfer for the given payment
|
RecurringPaymentTransfer |
insertRecurringPaymentFailureTransfer(FailedPaymentOccurrence failure)
Inserts a transfer when processing a failed recurring payment occurrence
|
RecurringPaymentTransfer |
insertRecurringPaymentTransfer(RecurringPayment recurringPayment)
Inserts a transfer for the processing of a recurring payment
|
boolean |
isVisible(Transfer transfer)
Returns whether the logged user can see the given transfer
|
SerializableInputStream |
print(MessageKey titleKey,
org.cyclos.impl.banking.TransactionTransferWrapper wrapper)
Prints details of a payment / transfer
|
void |
validateBalancesAndLockAccounts(Account fromAccount,
Account toAccount,
java.math.BigDecimal amount)
Validates the balances for a transfer between the given account with the given amount.
|
getData, load, loadByTransactionNumber, printTransferTransfer findByTransactionNumber(java.lang.String transactionNumber)
EntityNotFoundException if not foundTransferData getData(Transfer transfer)
java.lang.String getDescription(Transfer transfer)
java.util.List<Transfer> getRatedTransfers(Account account, int numberOfIncoming)
owner
numberOfIncoming incoming transactions, where:
numberOfIncoming
numberOfIncoming most recent incoming
transfers.
numberOfIncoming goal.
So outgoing transfers and
chargebacks are included.
numberOfIncoming goal is not reached.
account - , may not be nullnumberOfIncoming - java.util.List<Transfer> getTransfers(Account account, DatePeriod period, boolean includeChargebacks)
TransferSummary getTransferSummary(org.cyclos.impl.banking.GetTransferSummaryParameters params)
AccountFeeTransfer insertAccountFeeTransfer(UserAccountFeeLog userAccountFeeLog)
ChargebackTransfer insertChargebackTransfer(Chargeback chargeback, Transfer toChargeback)
ImportTransfer insertImportTransfer(ImportTransaction importTransaction, java.util.Set<TransferStatus> status)
InitialCreditTransfer insertInitialCreditTransfer(UserAccount account, GeneratedTransferType transferType, java.math.BigDecimal amount)
ScheduledPaymentInstallmentTransfer insertInstallmentTransfer(ScheduledPaymentInstallment installment)
PaymentTransfer insertPaymentTransfer(Payment payment)
RecurringPaymentTransfer insertRecurringPaymentFailureTransfer(FailedPaymentOccurrence failure)
RecurringPaymentTransfer insertRecurringPaymentTransfer(RecurringPayment recurringPayment)
boolean isVisible(Transfer transfer)
SerializableInputStream print(MessageKey titleKey, org.cyclos.impl.banking.TransactionTransferWrapper wrapper)