Package com.mossle.scope.support

Examples of com.mossle.scope.support.ScopeInfoDTO


        List<ScopeInfo> scopeInfos = (List<ScopeInfo>) page.getResult();
        List<ScopeInfoDTO> scopeInfoDtos = new ArrayList<ScopeInfoDTO>();

        for (ScopeInfo scopeInfo : scopeInfos) {
            ScopeInfoDTO scopeInfoDto = new ScopeInfoDTO();
            beanMapper.copy(scopeInfo, scopeInfoDto);

            String userRepoRef = scopeInfoDto.getUserRepoRef();
            UserRepoDTO userRepoDto = userRepoConnector.findById(userRepoRef);

            if (userRepoDto != null) {
                scopeInfoDto.setUserRepoCode(userRepoDto.getCode());
            }

            scopeInfoDtos.add(scopeInfoDto);
        }
View Full Code Here

TOP

Related Classes of com.mossle.scope.support.ScopeInfoDTO

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.