public interface TransactionAuthorizationServiceLocal extends TransactionAuthorizationService
| Modifier and Type | Method and Description |
|---|---|
void |
authorizeFirstLevelIfNeeded(DirectTransaction transaction)
If the given transaction is pending authorization and the logged user could authorize the first level, the transaction is immediately
authorized.
|
AuthorizationLevel |
firstAuthorizationLevel(ManualTransferType transferType)
Returns the first authorization level of a payment type
|
java.util.List<AccountTypeVO> |
getAccessibleAccounts(AccountOwner owner)
gets the authorizable accountTypes which can be viewed by the accountOwner
|
void |
notifyPendingAuthorization(DirectTransaction transaction)
Notifies the next authorizer in line about the pending transaction to be authorized.
|
<T extends DirectTransaction> |
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(DirectTransaction transaction) throws FrameworkException
FrameworkExceptionAuthorizationLevel firstAuthorizationLevel(ManualTransferType transferType) throws FrameworkException
FrameworkExceptionjava.util.List<AccountTypeVO> getAccessibleAccounts(AccountOwner owner)
void notifyPendingAuthorization(DirectTransaction transaction)
<T extends DirectTransaction> void registerHandler(AuthorizationAction action, java.lang.Class<T> transactionClass, ActionHandler<T> handler)