Package org.hoteia.qalingo.core.web.mvc.viewbean

Examples of org.hoteia.qalingo.core.web.mvc.viewbean.OperationHourViewBean


        List<StoreBusinessHour> storeBusinessHours = store.getStoreBusinessHours();
        StoreBusinessHourViewBean storeBusinessHourViewBean = null;
        if (storeBusinessHours != null && storeBusinessHours.size() > 0) {
            storeBusinessHourViewBean = new StoreBusinessHourViewBean();
            for (StoreBusinessHour storeBusinessHour : storeBusinessHours) {
                OperationHourViewBean operationHourViewBean = new OperationHourViewBean();
                operationHourViewBean.setEndHour(storeBusinessHour.getEndHour());
                operationHourViewBean.setStartHour(storeBusinessHour.getStartHour());
                if (storeBusinessHour.isMonday()) {
                    storeBusinessHourViewBean.setMonday(operationHourViewBean);
                }
                if (storeBusinessHour.isTuesday()) {
                    storeBusinessHourViewBean.setTuesday(operationHourViewBean);
View Full Code Here

TOP

Related Classes of org.hoteia.qalingo.core.web.mvc.viewbean.OperationHourViewBean

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.