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.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
|
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) throws FrameworkException
EntityNotFoundException if not foundFrameworkExceptionTransferData getData(Transfer transfer) throws FrameworkException
FrameworkExceptionjava.util.List<Transfer> getTransfers(Account account, DatePeriod period, boolean includeChargebacks)
TransferSummary getTransferSummary(org.cyclos.impl.banking.GetTransferSummaryParameters params) throws FrameworkException
FrameworkExceptionAccountFeeTransfer insertAccountFeeTransfer(UserAccountFeeLog userAccountFeeLog) throws FrameworkException
FrameworkExceptionChargebackTransfer insertChargebackTransfer(Chargeback chargeback, Transfer toChargeback) throws FrameworkException
FrameworkExceptionImportTransfer insertImportTransfer(ImportTransaction importTransaction, java.util.Set<TransferStatus> status) throws FrameworkException
FrameworkExceptionInitialCreditTransfer insertInitialCreditTransfer(UserAccount account, GeneratedTransferType transferType, java.math.BigDecimal amount) throws FrameworkException, TransferException
FrameworkExceptionTransferExceptionScheduledPaymentInstallmentTransfer insertInstallmentTransfer(ScheduledPaymentInstallment installment) throws FrameworkException, TransferException
FrameworkExceptionTransferExceptionPaymentTransfer insertPaymentTransfer(Payment payment) throws FrameworkException, TransferException
FrameworkExceptionTransferExceptionboolean isVisible(Transfer transfer) throws FrameworkException
FrameworkExceptionSerializableInputStream print(MessageKey titleKey, org.cyclos.impl.banking.TransactionTransferWrapper wrapper) throws FrameworkException
FrameworkExceptionvoid validateBalancesAndLockAccounts(Account fromAccount, Account toAccount, java.math.BigDecimal amount) throws FrameworkException, TransferException
FrameworkExceptionTransferException