package net.sourceforge.fenixedu.applicationTier.Servico.teacher; import pt.ist.fenixWebFramework.services.Service; import pt.ist.fenixWebFramework.security.accessControl.Checked; import java.util.List; import net.sourceforge.fenixedu.applicationTier.FenixService; import net.sourceforge.fenixedu.domain.BibliographicReference; import net.sourceforge.fenixedu.domain.ExecutionCourse; /** * Changes the presentation order of all the bibliographic references passed to * match the order they have in the given list. * * @author cfgi */ public class OrderBibliographicReferences extends FenixService { @Checked("RolePredicates.TEACHER_PREDICATE") @Service public static void run(ExecutionCourse executionCourse, List references) { executionCourse.setBibliographicReferencesOrder(references); } }