Package org.fenixedu.academic.domain

Examples of org.fenixedu.academic.domain.PublicRelationsStudentListQueueJob


    public ActionForward requestJob(ActionMapping mapping, ActionForm form, HttpServletRequest request,
            HttpServletResponse response) throws Exception {
        StudentReportPredicate studentReportPredicate = setBean(request);

        PublicRelationsStudentListQueueJob job =
                new PublicRelationsStudentListQueueJob(studentReportPredicate.getExecutionYear(),
                        studentReportPredicate.getDegreeType(), studentReportPredicate.getConcluded(),
                        studentReportPredicate.getActive());

        List<QueueJob> queueJobList = getLatestJobs();
View Full Code Here


        @Override
        public boolean evaluate(Object object) {
            QueueJob queueJob = (QueueJob) object;
            try {
                PublicRelationsStudentListQueueJob reportJob = (PublicRelationsStudentListQueueJob) queueJob;
                if (this.executionYear == reportJob.getExecutionYear() && this.degreeType == reportJob.getDegreeType()
                        && reportJob.getActive() == active && reportJob.getConcluded() == concluded && elements < 5) {
                    elements++;
                    return true;
                } else {
                    return false;
                }
View Full Code Here

TOP

Related Classes of org.fenixedu.academic.domain.PublicRelationsStudentListQueueJob

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.