Package org.fenixedu.academic.domain.serviceRequests

Examples of org.fenixedu.academic.domain.serviceRequests.RectorateSubmissionBatch


        return viewBatch(mapping, actionForm, request, response);
    }

    public ActionForward generateMetadataForRegistry(ActionMapping mapping, ActionForm actionForm, HttpServletRequest request,
            HttpServletResponse response) {
        RectorateSubmissionBatch batch = getDomainObject(request, "batchOid");
        Set<AcademicServiceRequest> docs = getRelevantDocuments(batch.getDocumentRequestSet());
        DocumentRequestExcelUtils excelUtils = new DocumentRequestExcelUtils(request, response);
        excelUtils.generateSortedExcel(docs, "registos-");
        return null;
    }
View Full Code Here


        if (registryDiplomaRequest == null) {
            throw new PhdDomainOperationException("error.PhdFinalizationCertificateRequest.registry.diploma.request.none");
        }

        RectorateSubmissionBatch rectorateSubmissionBatch = registryDiplomaRequest.getRectorateSubmissionBatch();

        if (rectorateSubmissionBatch == null) {
            throw new PhdDomainOperationException(
                    "error.PhdFinalizationCertificateRequest.registry.diploma.submission.batch.not.sent");
        }
View Full Code Here

            if (registryDiplomaRequest == null) {
                throw new PhdDomainOperationException("error.PhdFinalizationCertificateRequest.registry.diploma.request.none");
            }

            RectorateSubmissionBatch rectorateSubmissionBatch = registryDiplomaRequest.getRectorateSubmissionBatch();

            if (rectorateSubmissionBatch == null) {
                throw new PhdDomainOperationException(
                        "error.PhdFinalizationCertificateRequest.registry.diploma.submission.batch.not.sent");
            }

            if (!rectorateSubmissionBatch.isSent() && !rectorateSubmissionBatch.isReceived()) {
                throw new PhdDomainOperationException(
                        "error.PhdFinalizationCertificateRequest.registry.diploma.submission.batch.not.sent");
            }

            if (!getPhdIndividualProgramProcess().isConcluded()) {
View Full Code Here

        return getAdministrativeOfficeType() == AdministrativeOfficeType.MASTER_DEGREE;
    }

    public RectorateSubmissionBatch getCurrentRectorateSubmissionBatch() {
        DateTime last = null;
        RectorateSubmissionBatch current = null;
        for (RectorateSubmissionBatch bag : getRectorateSubmissionBatchSet()) {
            if (!RectorateSubmissionState.UNSENT.equals(bag.getState())) {
                continue;
            }
View Full Code Here

TOP

Related Classes of org.fenixedu.academic.domain.serviceRequests.RectorateSubmissionBatch

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.