Package org.focusns.service.core

Examples of org.focusns.service.core.ProjectFeatureService


        String projectCode = parameterMap.get(Keys.PARAMETER_PROJECT_CODE);
        if (StringUtils.hasText(projectCode)) {
            //
            ProjectService projectService = applicationContext.getBean(ProjectService.class);
            ProjectCategoryService projectCategoryService = applicationContext.getBean(ProjectCategoryService.class);
            ProjectFeatureService projectFeatureService = applicationContext.getBean(ProjectFeatureService.class);
            //
            Project project = projectService.getProject(projectCode);
            ProjectCategory projectCategory = projectCategoryService.getCategory(project.getCategoryId());
            //
            request.setAttribute(Keys.REQUEST_PROJECT, project);
            request.setAttribute(Keys.REQUEST_PROJECT_CATEGORY, projectCategory);
            //
            List<ProjectFeature> projectFeatures = projectFeatureService.getProjectFeatures(project.getId());
            for (ProjectFeature projectFeature : projectFeatures) {
                if (lookupPath.contains(projectFeature.getCode())) {
                    request.setAttribute(Keys.REQUEST_PROJECT_FEATURE, projectFeature);
                    break;
                }
View Full Code Here

TOP

Related Classes of org.focusns.service.core.ProjectFeatureService

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.