public interface TransactionAuthorizationServiceLocal extends TransactionAuthorizationService
| Modifier and Type | Method and Description |
|---|---|
void |
authorizeFirstLevelIfNeeded(BasePayment transaction)
If the given transaction is pending authorization and the logged user could authorize the first level, the
transaction is immediately
authorized.
|
int |
cancelAll(UserAccount account)
Cancels all payments pending authorization from the given account
|
AuthorizationLevel |
firstAuthorizationLevel(ManualTransferType transferType)
Returns the first authorization level of a payment type
|
java.util.List<AccountTypeVO> |
getAccessibleAccounts(InternalAccountOwner owner)
Gets the authorizable accountTypes which can be viewed by the accountOwner
|
void |
notifyPendingAuthorization(BasePayment transaction)
Notifies the next authorizer in line about the pending transaction to be authorized.
|
<T extends BasePayment> |
registerHandler(AuthorizationAction action,
java.lang.Class<T> transactionClass,
ActionHandler<T> handler)
Registers a handler which runs when an authorization action takes place over the given transaction
|
authorize, cancel, deny, getAuthorizationSearchData, getTransactionSearchData, searchAuthorizedTransactions, searchTransactionsToAuthorizevoid authorizeFirstLevelIfNeeded(BasePayment transaction)
int cancelAll(UserAccount account)
AuthorizationLevel firstAuthorizationLevel(ManualTransferType transferType)
java.util.List<AccountTypeVO> getAccessibleAccounts(InternalAccountOwner owner)
void notifyPendingAuthorization(BasePayment transaction)
<T extends BasePayment> void registerHandler(AuthorizationAction action, java.lang.Class<T> transactionClass, ActionHandler<T> handler)