Package com.mossle.bpm.persistence.domain

Examples of com.mossle.bpm.persistence.domain.BpmConfCountersign


        // 配置表单
        this.processForm(userTask, bpmConfNode);

        // 会签
        if (userTask.getLoopCharacteristics() != null) {
            BpmConfCountersign bpmConfCountersign = new BpmConfCountersign();
            bpmConfCountersign.setType(0);
            bpmConfCountersign.setRate(100);
            bpmConfCountersign.setBpmConfNode(bpmConfNode);
            bpmConfCountersign.setSequential(userTask.getLoopCharacteristics()
                    .isSequential() ? 1 : 0);
            getBpmConfCountersignManager().save(bpmConfCountersign);
        }
    }
View Full Code Here


    private BpmConfCountersignManager bpmConfCountersignManager;

    @RequestMapping("bpm-conf-countersign-save")
    public String save(@ModelAttribute BpmConfCountersign bpmConfCountersign,
            @RequestParam("bpmConfNodeId") Long bpmConfNodeId) {
        BpmConfCountersign dest = bpmConfCountersignManager
                .get(bpmConfCountersign.getId());
        beanMapper.copy(bpmConfCountersign, dest);
        bpmConfCountersignManager.save(dest);

        return "redirect:/bpm/bpm-conf-user-list.do?bpmConfNodeId="
View Full Code Here

            Integer nrOfCompletedInstances, Integer loopCounter) {
        String activityId = execution.getActivityId();
        String processDefinitionId = ((ExecutionEntity) execution)
                .getProcessInstance().getProcessDefinitionId();

        BpmConfCountersign bpmConfCountersign = bpmConfCountersignManager
                .findUnique(
                        "from BpmConfCountersign where bpmConfNode.bpmConfBase.processDefinitionId=? and bpmConfNode.code=?",
                        processDefinitionId, activityId);

        if (bpmConfCountersign != null) {
            rate = bpmConfCountersign.getRate();
        }

        String agreeCounterName = "agreeCounter";
        Object agreeCounter = runtimeService.getVariable(execution.getId(),
                agreeCounterName);
View Full Code Here

TOP

Related Classes of com.mossle.bpm.persistence.domain.BpmConfCountersign

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.