Package com.mossle.ext.export

Examples of com.mossle.ext.export.TableModel


                .buildFromMap(parameterMap);
        page = bpmMailTemplateManager.pagedQuery(page, propertyFilters);

        List<BpmMailTemplate> bpmCategories = (List<BpmMailTemplate>) page
                .getResult();
        TableModel tableModel = new TableModel();
        tableModel.setName("bpm-process");
        tableModel.addHeaders("id", "name");
        tableModel.setData(bpmCategories);
        exportor.export(response, tableModel);
    }
View Full Code Here


        List<PropertyFilter> propertyFilters = PropertyFilter
                .buildFromMap(parameterMap);
        page = bpmCategoryManager.pagedQuery(page, propertyFilters);

        List<BpmCategory> bpmCategories = (List<BpmCategory>) page.getResult();
        TableModel tableModel = new TableModel();
        tableModel.setName("bpm-category");
        tableModel.addHeaders("id", "name");
        tableModel.setData(bpmCategories);
        exportor.export(response, tableModel);
    }
View Full Code Here

        List<PropertyFilter> propertyFilters = PropertyFilter
                .buildFromMap(parameterMap);
        page = permTypeManager.pagedQuery(page, propertyFilters);

        List<PermType> permTypees = (List<PermType>) page.getResult();
        TableModel tableModel = new TableModel();
        tableModel.setName("permType");
        tableModel.addHeaders("id", "type", "value", "perm.name", "priority",
                "app.name");
        tableModel.setData(permTypees);
        exportor.export(response, tableModel);
    }
View Full Code Here

        List<UserStatus> userStatuses = (List<UserStatus>) page.getResult();
        List<UserStatusDTO> userStatusDtos = userStatusConverter
                .createUserStatusDtos(userStatuses,
                        ScopeHolder.getUserRepoRef(), ScopeHolder.getScopeId());
        TableModel tableModel = new TableModel();
        tableModel.setName("user status");
        tableModel.addHeaders("id", "username", "enabled", "authorities");
        tableModel.setData(userStatusDtos);
        exportor.export(response, tableModel);
    }
View Full Code Here

        List<PropertyFilter> propertyFilters = PropertyFilter
                .buildFromMap(parameterMap);
        page = permManager.pagedQuery(page, propertyFilters);

        List<Perm> perms = (List<Perm>) page.getResult();
        TableModel tableModel = new TableModel();
        tableModel.setName("perm");
        tableModel.addHeaders("id", "name");
        tableModel.setData(perms);
        exportor.export(response, tableModel);
    }
View Full Code Here

        List<PropertyFilter> propertyFilters = PropertyFilter
                .buildFromMap(parameterMap);
        page = roleManager.pagedQuery(page, propertyFilters);

        List<Role> roles = (List<Role>) page.getResult();
        TableModel tableModel = new TableModel();
        tableModel.setName("role");
        tableModel.addHeaders("id", "name", "descn");
        tableModel.setData(roles);
        exportor.export(response, tableModel);
    }
View Full Code Here

                .buildFromMap(parameterMap);
        page = userBaseManager.pagedQuery(page, propertyFilters);

        List<UserBase> userBases = (List<UserBase>) page.getResult();

        TableModel tableModel = new TableModel();
        tableModel.setName("user");
        tableModel.addHeaders("id", "username", "status");
        tableModel.setData(userBases);
        exportor.export(response, tableModel);
    }
View Full Code Here

        List<PropertyFilter> propertyFilters = PropertyFilter
                .buildFromMap(parameterMap);
        page = userRepoManager.pagedQuery(page, propertyFilters);

        List<UserRepo> userRepos = (List<UserRepo>) page.getResult();
        TableModel tableModel = new TableModel();
        tableModel.setName("user-repo");
        tableModel.addHeaders("id", "name", "type", "repoCode", "reference",
                "descn");
        tableModel.setData(userRepos);
        exportor.export(response, tableModel);
    }
View Full Code Here

        List<PropertyFilter> propertyFilters = PropertyFilter
                .buildFromMap(parameterMap);
        page = userSchemaManager.pagedQuery(page, propertyFilters);

        List<UserSchema> userRepos = (List<UserSchema>) page.getResult();
        TableModel tableModel = new TableModel();
        tableModel.setName("user-repo");
        tableModel.addHeaders("id", "name", "type", "repoCode", "reference",
                "descn");
        tableModel.setData(userRepos);
        exportor.export(response, tableModel);
    }
View Full Code Here

                .buildFromMap(parameterMap);
        page = carInfoManager.pagedQuery(page, propertyFilters);

        List<CarInfo> carInfos = (List<CarInfo>) page.getResult();

        TableModel tableModel = new TableModel();
        tableModel.setName("car info");
        tableModel.addHeaders("id", "name");
        tableModel.setData(carInfos);
        exportor.export(response, tableModel);
    }
View Full Code Here

TOP

Related Classes of com.mossle.ext.export.TableModel

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.