Examples of ScientificCommissionGroup


Examples of org.fenixedu.academic.domain.accessControl.ScientificCommissionGroup

    @Atomic
    public static void run(Thesis thesis) {
        final ThesisFile thesisFile = thesis.getDissertation();

        Group scientificCouncil = RoleType.SCIENTIFIC_COUNCIL.actualGroup();
        ScientificCommissionGroup commissionMembers = ScientificCommissionGroup.get(thesis.getDegree());
        Group student = thesis.getStudent().getPerson().getPersonGroup();

        thesisFile.setPermittedGroup(scientificCouncil.or(commissionMembers).or(student));
    }
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.