package com.artfess.bpm.engine.inst;

import com.artfess.bpm.api.constant.NodeStatus;
import com.artfess.bpm.api.service.BpmProStatusService;
import com.artfess.bpm.persistence.manager.BpmProStatusManager;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;


@Service
public class DefaultBpmProStatusService implements BpmProStatusService {
	
	@Resource
	BpmProStatusManager bpmProStatusManager;  

	@Override
	public void createOrUpd(String instId, String bpmnDefId, String nodeId,
			String nodeName, NodeStatus nodeStatus) {
		bpmProStatusManager.createOrUpd(instId, bpmnDefId, nodeId, nodeName, nodeStatus);

	}

}
