Package org.fenixedu.academic.domain.phd

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


    }

    @Override
    protected PhdIndividualProgramProcess executeActivity(PhdIndividualProgramProcess process, User userView, Object object) {

        PhdIndividualProgramProcessBean bean = (PhdIndividualProgramProcessBean) object;
        DateTime stateDate = bean.getStateDate().toDateTimeAtStartOfDay();

        PhdProgramProcessState.createWithGivenStateDate(process, PhdIndividualProgramProcessState.WORK_DEVELOPMENT,
                userView.getPerson(), "", stateDate);

        /*
 
View Full Code Here


    }

    @Override
    protected PhdIndividualProgramProcess executeActivity(PhdIndividualProgramProcess process, User userView, Object object) {

        PhdIndividualProgramProcessBean bean = (PhdIndividualProgramProcessBean) object;
        DateTime stateDate = bean.getStateDate().toDateTimeAtStartOfDay();

        PhdProgramProcessState.createWithGivenStateDate(process, PhdIndividualProgramProcessState.ABANDON, userView.getPerson(),
                "", stateDate);

        if (process.getRegistration() != null && process.getRegistration().isActive()) {
View Full Code Here

    }

    @Override
    protected PhdIndividualProgramProcess executeActivity(PhdIndividualProgramProcess process, User userView, Object object) {

        PhdIndividualProgramProcessBean bean = (PhdIndividualProgramProcessBean) object;

        PhdProgramProcessState.createWithGivenStateDate(process, PhdIndividualProgramProcessState.THESIS_DISCUSSION,
                userView.getPerson(), "", bean.getStateDate().toDateTimeAtStartOfDay());

        /*
         * If the program is associated to a registration we check if it is
         * concluded
         */
 
View Full Code Here

    }

    @Override
    protected PhdIndividualProgramProcess executeActivity(PhdIndividualProgramProcess process, User userView, Object object) {

        PhdIndividualProgramProcessBean bean = (PhdIndividualProgramProcessBean) object;
        DateTime stateDate = bean.getStateDate().toDateTimeAtStartOfDay();

        PhdProgramProcessState.createWithGivenStateDate(process, PhdIndividualProgramProcessState.CANCELLED,
                userView.getPerson(), "", stateDate);

        process.cancelDebts(userView.getPerson());
View Full Code Here

TOP

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

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.