Package org.libreplan.web.planner

Examples of org.libreplan.web.planner.TaskGroupPredicate


        String name = filterProjectName.getValue();

        filterProjectName.setValue(name);

        if (startDate == null && finishDate == null) {
            TaskGroupPredicate predicate = model
                    .getDefaultPredicate(includeOrderElements);
            //show filter dates calculated by default on screen
            if (model.getFilterStartDate() != null
                    && !FilterUtils.hasProjectsStartDateChanged()) {
                filterStartDate.setValue(model.getFilterStartDate());
            }
            if (model.getFilterFinishDate() != null
                    && !FilterUtils.hasProjectsEndDateChanged()) {
                filterFinishDate.setValue(model.getFilterFinishDate());
            }

            predicate.setFilters(listFilters);
            return predicate;
        }

        return new TaskGroupPredicate(listFilters, startDate, finishDate,
                includeOrderElements, name);
    }
View Full Code Here


        }
        filterStartDate = startDate != null ? LocalDate
                .fromDateFields(startDate) : null;
        filterFinishDate = endDate != null ? LocalDate.fromDateFields(endDate)
                : null;
        return new TaskGroupPredicate(null, startDate, endDate,
                includeOrderElements, name);
    }
View Full Code Here

TOP

Related Classes of org.libreplan.web.planner.TaskGroupPredicate

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.