Examples of checkAlreadyEnroled()


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

        final Attends userAttend = grouping.getStudentAttend(userStudent);
        if (userAttend == null) {
            throw new InvalidStudentNumberServiceException();
        }
        if (strategy.checkAlreadyEnroled(grouping, studentUsername)) {
            throw new InvalidSituationServiceException();
        }

        StudentGroup newStudentGroup = grouping.readStudentGroupBy(groupNumber);
        if (newStudentGroup != null) {
View Full Code Here

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

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

        result = strategy.checkAlreadyEnroled(groupProperties, username);
        if (result) {
            throw new InvalidSituationServiceException();
        }

        result = strategy.checkPossibleToEnrolInExistingGroup(groupProperties, studentGroup);
View Full Code Here

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

        if (!result) {
            throw new InvalidArgumentsServiceException();
        }

        result = strategy.checkAlreadyEnroled(groupProperties, username);

        if (result) {
            throw new InvalidSituationServiceException();
        }
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.