Package org.libreplan.web.planner.order.PlanningStateCreator

Examples of org.libreplan.web.planner.order.PlanningStateCreator.IActionsOnRetrieval


                        return criticalPathFor(state, resourcesSearcher);
                    }

                    private PlanningState retrieveOrCreate() {
                        return planningStateCreator.retrieveOrCreate(desktop,
                                order, new IActionsOnRetrieval() {

                                    @Override
                                    public void onRetrieval(
                                            PlanningState planningState) {
                                        planningState.reattach();
View Full Code Here


    @Transactional(readOnly = true)
    public void initEdit(Order orderToEdit, Desktop desktop) {
        Validate.notNull(orderToEdit);
        loadNeededDataForConversation();
        this.planningState = planningStateCreator.retrieveOrCreate(desktop,
                orderToEdit, new IActionsOnRetrieval() {

                    @Override
                    public void onRetrieval(PlanningState planningState) {
                        planningState.reattach();
                    }
View Full Code Here

    @Autowired
    private PlanningStateCreator planningStateCreator;

    private PlanningState createPlanningStateFor(Order order) {
        return planningStateCreator.retrieveOrCreate(planner.getDesktop(),
                order, new IActionsOnRetrieval() {

                    @Override
                    public void onRetrieval(PlanningState planningState) {
                        planningState.reattach();
                        planningState.reassociateResourcesWithSession();
View Full Code Here

TOP

Related Classes of org.libreplan.web.planner.order.PlanningStateCreator.IActionsOnRetrieval

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.