Package org.fenixedu.academic.domain.phd

Examples of org.fenixedu.academic.domain.phd.PhdProgramProcessState


                countExternalAssistantGuidings++;
            }
        }
        row.setCell(externalAssistantGuidingNames.toString());

        PhdProgramProcessState lastActiveState = process.getMostRecentState();
        row.setCell(lastActiveState != null ? lastActiveState.getType().getLocalizedName() : "n/a");

        if (process.getCollaborationType() != null) {
            row.setCell(process.getCollaborationType().getLocalizedName());
        } else {
            row.setCell("n/a");
View Full Code Here


    protected void internalChangeState(AcademicServiceRequestBean academicServiceRequestBean) {
        super.internalChangeState(academicServiceRequestBean);

        if (academicServiceRequestBean.isToConclude()) {
            PhdIndividualProgramProcess process = getPhdIndividualProgramProcess();
            PhdProgramProcessState lastActiveState = process.getLastActiveState();
            String remarks =
                    String.format(
                            BundleUtil
                                    .getString(Bundle.PHD,
                                            "message.net.sourceforge.fenixedu.domain.phd.serviceRequests.PhdStudentReingressionRequest.conclusion.remark"),
                            getServiceRequestNumberYear());

            process.createState(lastActiveState.getType(), AccessControl.getPerson(), remarks);

            if (process.getRegistration() != null && !process.getRegistration().isActive()) {
                RegistrationState registrationLastActiveState = process.getRegistration().getLastActiveState();

                RegistrationState.createRegistrationState(process.getRegistration(), AccessControl.getPerson(), new DateTime(),
View Full Code Here

TOP

Related Classes of org.fenixedu.academic.domain.phd.PhdProgramProcessState

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.