Package org.fenixedu.academic.domain.serviceRequests

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


        applyRegistryCode();
    }

    private void applyRegistryCode() {
        RegistryCode code = getRegistryCode();
        if (code != null) {
            if (!code.getDocumentRequestSet().contains(this)) {
                code.addDocumentRequest(this);
            }
        } else {
            getRootDomainObject().getInstitutionUnit().getRegistryCodeGenerator().createRegistryFor(this);
        }
    }
View Full Code Here


    }

    @Override
    public RegistryCode getRegistryCode() {
        PhdIndividualProgramProcess phdIndividualProgramProcess = getPhdIndividualProgramProcess();
        RegistryCode registryCode = null;

        if (phdIndividualProgramProcess.hasRegistryDiplomaRequest()) {
            registryCode = phdIndividualProgramProcess.getRegistryDiplomaRequest().getRegistryCode();
        }
View Full Code Here

                throw new DomainException("AcademicServiceRequest.hasnt.been.payed");
            }

            if (!getRegistration().getDegreeType().equals(DegreeType.BOLONHA_ADVANCED_FORMATION_DIPLOMA)
                    && !getRegistration().getDegreeType().equals(DegreeType.BOLONHA_ADVANCED_SPECIALIZATION_DIPLOMA)) {
                RegistryCode code = getRegistryCode();
                if (code != null) {
                    if (!code.getDocumentRequestSet().contains(this)) {
                        code.addDocumentRequest(this);
                        getAdministrativeOffice().getCurrentRectorateSubmissionBatch().addDocumentRequest(this);
                    }
                } else {
                    // FIXME: later, when all legacy diplomas are dealt with,
                    // the
View Full Code Here

TOP

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

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.