| Removed Methods |
boolean canDispose(Collection<UserAccount>)
|
checks if the accounts can be disposed safely. |
void createMissingOrActivateAccount(UserAccountType, ProductOwner)
|
Creates the account for the given account type if it still doesn't exists for the given ProductOwner, or
activates it. |
void disposeAccounts(User, Collection<UserAccount>)
|
Disables the given accounts of the given user.
Note that the calling method is responsible for checking if
this account really needs to be disposed (for example because it is associated via another product).
The method does the following:
- cancel all user's webshop orders with any pending status.
|
void disposeAllAccounts(User)
|
Disposes all users' accounts |
Validator getCanDisposeValidator()
|
gets a Validator for checking if an account can be disposed. |
boolean hasTransfers(Set<UserAccountType>, Set<Group>)
|
Returns true if there is at least one transfer performed from or to a user of any of the specified groups, to or
from any of the given
accounts. |
boolean isOnlyOwnPayments(AccountType)
|
Returns whether the logged user can only view payments performed / received by himself on the given account |
| Changed Methods |
void fillTransSearchData(ITransSearchData, Account, InternalAccountOwner)
|
Change in signature from (TransSearchData, Account, InternalAccountOwner) to (ITransSearchData, Account, InternalAccountOwner).
|
Fills the given data with data common to transfer and transaction search. |
String generateNumber(AccountType, InternalAccountOwner)
|
Documentation changed from old to new. |
Generates an unique account number for the given type and owner. |
void checkActive(AccountOwner)
|
Change in exceptions thrown from no exceptions to IllegalActionException.
Documentation changed from old to new. |
If the given owner is a user which is either pending or removed, throes an IllegalActionException |
void checkActive(Account)
|
Change in exceptions thrown from no exceptions to IllegalActionException.
Documentation changed from old to new. |
If the given account is not active, throws an IllegalActionException
|