Examples of addAccount()


Examples of org.exist.xmldb.UserManagementService.addAccount()

          context.getSubject(),
          context.getBroker().getBrokerPool(),
          XmldbURI.ROOT_COLLECTION_URI,
          context.getAccessContext());
      final UserManagementService ums = (UserManagementService) collection.getService("UserManagementService", "1.0");
      ums.addAccount(userObj);

    } catch (final XMLDBException xe) {
      logger.error("Failed to create user: " + user);
      if (logger.isDebugEnabled())
        {logger.debug("Failed to create user: " + user, xe);}
View Full Code Here

Examples of org.internna.ossmoney.model.FinancialInstitution.addAccount()

            if (account.getAccountType() != null) {
                account.setAccountType(AccountType.entityManager().getReference(AccountType.class, account.getAccountType().getId()));
            }
            if (account.getHeldAt() != null) {
              FinancialInstitution institution = FinancialInstitution.findFinancialInstitution(account.getHeldAt().getId());
                institution.addAccount(account);
            }
            if ((account.getInitialBalance() == null) || (account.getInitialBalance().doubleValue() < 0)) {
                account.setInitialBalance(BigDecimal.ZERO);
            }
            account.persist();
View Full Code Here

Examples of org.internna.ossmoney.model.security.UserDetails.addAccount()

            Date now = new Date();
            account.setCreated(now);
            account.setLastModified(now);
            account.setClosed(Boolean.FALSE);
            UserDetails user = UserDetails.findCurrentUser();
            user.addAccount(account);
            if (account.getFavorite() == null) {
                account.setFavorite(Boolean.FALSE);
            }
            if (account.getAccountType() != null) {
                account.setAccountType(AccountType.entityManager().getReference(AccountType.class, account.getAccountType().getId()));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.