public interface TransferTypeServiceLocal extends TransferTypeService, org.cyclos.impl.CRUDServiceLocal<TransferType,TransferTypeDTO,TransferTypeData,TransferTypeDataParams>
TransferTypeService| Modifier and Type | Method and Description |
|---|---|
<T extends TransferType> |
filterAccessibleTransferTypes(java.util.List<T> transferTypes,
AccountOwner from)
Returns a list of transfer types filtered by account accessibility
|
boolean |
isPaymentTypePossible(AccountOwner from,
AccountOwner to,
PaymentTransferType paymentType)
Returns whether the given payment type can be used for payments between the given account owners
|
TransferTypeDirection |
resolveDirection(AccountOwner from,
AccountOwner to)
Determines the payment direction for the given from and to owner
|
TransferTypeDirection |
resolveDirection(AccountType from,
AccountType to)
Determines the payment direction for the given from and to account types.
|
<T> Page<T> |
search(java.lang.Class<T> resultType,
TransferTypeQuery query)
Searches for transfer types, according to the specified query parameters
|
Page<TransferTypeVO> |
searchPayment(PaymentTransferTypeQuery paymentTransferTypeQuery)
Searches payment types for direct payments
|
Page<TransferTypeVO> |
searchPaymentRequest(PaymentTransferTypeQuery paymentTransferTypeQuery)
Searches payment types for payment requests
|
searchfind, findAll, getEntityClass, newEntity, remove, removeAll, toDTO, toEntity, validategetData, getDataForNew, load, remove, removeAll, save<T extends TransferType> java.util.List<T> filterAccessibleTransferTypes(java.util.List<T> transferTypes, AccountOwner from)
boolean isPaymentTypePossible(AccountOwner from, AccountOwner to, PaymentTransferType paymentType) throws FrameworkException
FrameworkExceptionTransferTypeDirection resolveDirection(AccountOwner from, AccountOwner to) throws FrameworkException
FrameworkExceptionTransferTypeDirection resolveDirection(AccountType from, AccountType to) throws FrameworkException
TransferTypeDirection.USER_TO_USER or
TransferTypeDirection.USER_TO_SELFFrameworkException<T> Page<T> search(java.lang.Class<T> resultType, TransferTypeQuery query) throws FrameworkException
FrameworkExceptionPage<TransferTypeVO> searchPayment(PaymentTransferTypeQuery paymentTransferTypeQuery) throws FrameworkException
FrameworkExceptionPage<TransferTypeVO> searchPaymentRequest(PaymentTransferTypeQuery paymentTransferTypeQuery) throws FrameworkException
FrameworkException