Examples of checkNumberOfGroups()


Examples of org.fenixedu.academic.service.strategy.groupEnrolment.strategys.IGroupEnrolmentStrategy.checkNumberOfGroups()

            } else {

                for (int i = 0; i < shifts.size(); i++) {
                    Shift shift = (Shift) shifts.get(i);
                    result = strategy.checkNumberOfGroups(grouping, shift);

                    if (result) {
                        infoShifts.add(InfoShift.newInfoFromDomain(shift));
                    }
                }
View Full Code Here

Examples of org.fenixedu.academic.service.strategy.groupEnrolment.strategys.IGroupEnrolmentStrategy.checkNumberOfGroups()

        if (!strategy.checkStudentInGrouping(groupProperties, username)) {
            throw new NotAuthorizedException();
        }

        Shift shift = FenixFramework.getDomainObject(shiftCode);
        result = strategy.checkNumberOfGroups(groupProperties, shift);

        if (!result) {
            throw new InvalidArgumentsServiceException();
        }
View Full Code Here

Examples of org.fenixedu.academic.service.strategy.groupEnrolment.strategys.IGroupEnrolmentStrategy.checkNumberOfGroups()

        if (!checkStudentInStudentGroup(registration, studentGroup)) {
            throw new InvalidSituationServiceException();
        }

        boolean result = strategy.checkNumberOfGroups(groupProperties, shift);
        if (!result) {
            throw new InvalidChangeServiceException();
        }
        studentGroup.setShift(shift);
        return true;
View Full Code Here

Examples of org.fenixedu.academic.service.strategy.groupEnrolment.strategys.IGroupEnrolmentStrategy.checkNumberOfGroups()

        if (!checkStudentInStudentGroup(registration, studentGroup)) {
            throw new InvalidSituationServiceException();
        }

        boolean result = strategy.checkNumberOfGroups(grouping, shift);
        if (!result) {
            throw new InvalidChangeServiceException();
        }
        studentGroup.setShift(shift);
View Full Code Here

Examples of org.fenixedu.academic.service.strategy.groupEnrolment.strategys.IGroupEnrolmentStrategy.checkNumberOfGroups()

        if (!checkStudentInStudentGroup(registration, studentGroup)) {
            throw new InvalidSituationServiceException();
        }

        Shift shift = null;
        boolean result = strategy.checkNumberOfGroups(groupProperties, shift);
        if (!result) {
            throw new InvalidChangeServiceException();
        }
        studentGroup.setShift(shift);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.