/** * {@inheritDoc} */ @Override public Account enableAccount(String accountName, Long domainId, Long accountId) { return _accountMgr.enableAccount(accountName, domainId, accountId); }
@Override public void doInTransactionWithoutResult(TransactionStatus status) { project.setState(Project.State.Active); _projectDao.update(projectId, project); _accountMgr.enableAccount(project.getProjectAccountId()); } });
if (account.getState() == Account.State.locked) { s_logger.info("UnLocking account " + account.getAccountName() + " , due to positive balance " + currentAccountBalance); _accountMgr.enableAccount(account.getAccountName(), domainId, accountId);