Package com.gcrm.domain

Examples of com.gcrm.domain.AccountLevel


                            Integer.parseInt(id));
                    final HashMap<String, ? super Object> data1 = new HashMap<String, Object>();
                    data1.put(header[0], account.getId());
                    data1.put(header[1],
                            CommonUtil.fromNullToEmpty(account.getName()));
                    AccountLevel accountLevel = account.getAccount_level();
                    if (accountLevel != null) {
                        data1.put(header[2], accountLevel.getId());
                    } else {
                        data1.put(header[2], "");
                    }
                    data1.put(header[3],
                            CommonUtil.getOptionLabel(accountLevel));
View Full Code Here


                    String accountLevelID = row
                            .get(getText("entity.account_level_id.label"));
                    if (CommonUtil.isNullOrEmpty(accountLevelID)) {
                        account.setAccount_type(null);
                    } else {
                        AccountLevel accountLevel = accountLevelService
                                .getEntityById(AccountLevel.class,
                                        Integer.parseInt(accountLevelID));
                        account.setAccount_level(accountLevel);
                    }
                    String currencyID = row
View Full Code Here

        if (typeID != null) {
            type = accountTypeService.getOptionById(AccountType.class, typeID);
        }
        account.setAccount_type(type);

        AccountLevel accountLevel = null;
        if (accountLevelID != null) {
            accountLevel = accountLevelService.getOptionById(
                    AccountLevel.class, accountLevelID);
        }
        account.setAccount_level(accountLevel);
View Full Code Here

    public String get() throws Exception {
        if (this.getId() != null) {
            UserUtil.permissionCheck("view_account");
            account = baseService.getEntityById(Account.class, this.getId());
            UserUtil.scopeCheck(account, "scope_account");
            AccountLevel accountLevel = account.getAccount_level();
            if (accountLevel != null) {
                accountLevelID = accountLevel.getId();
            }
            AccountType type = account.getAccount_type();
            if (type != null) {
                typeID = type.getId();
            }
View Full Code Here

TOP

Related Classes of com.gcrm.domain.AccountLevel

Copyright © 2018 www.massapicom. 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.