Class BPMN2DataServiceImpl

  • All Implemented Interfaces:
    org.jbpm.services.api.DefinitionService, org.jbpm.services.api.DeploymentEventListener

    public class BPMN2DataServiceImpl
    extends Object
    implements org.jbpm.services.api.DefinitionService, org.jbpm.services.api.DeploymentEventListener
    • Constructor Detail

      • BPMN2DataServiceImpl

        public BPMN2DataServiceImpl()
    • Method Detail

      • addProcessDefinition

        public void addProcessDefinition​(String deploymentId,
                                         String processId,
                                         Object processDescriptor,
                                         org.kie.api.runtime.KieContainer kieContainer)
        Specified by:
        addProcessDefinition in interface org.jbpm.services.api.DefinitionService
      • buildProcessDefinition

        public org.jbpm.services.api.model.ProcessDefinition buildProcessDefinition​(String deploymentId,
                                                                                    String bpmn2Content,
                                                                                    org.kie.api.runtime.KieContainer kieContainer,
                                                                                    boolean cache)
                                                                             throws IllegalArgumentException
        Specified by:
        buildProcessDefinition in interface org.jbpm.services.api.DefinitionService
        Throws:
        IllegalArgumentException
      • getServiceTasks

        public Map<String,​String> getServiceTasks​(String deploymentId,
                                                        String processId)
        Specified by:
        getServiceTasks in interface org.jbpm.services.api.DefinitionService
      • getProcessDefinition

        public org.jbpm.services.api.model.ProcessDefinition getProcessDefinition​(String deploymentId,
                                                                                  String processId)
        Specified by:
        getProcessDefinition in interface org.jbpm.services.api.DefinitionService
      • getReusableSubProcesses

        public Collection<String> getReusableSubProcesses​(String deploymentId,
                                                          String processId)
        Specified by:
        getReusableSubProcesses in interface org.jbpm.services.api.DefinitionService
      • getProcessVariables

        public Map<String,​String> getProcessVariables​(String deploymentId,
                                                            String processId)
        Specified by:
        getProcessVariables in interface org.jbpm.services.api.DefinitionService
      • getAssociatedEntities

        public Map<String,​Collection<String>> getAssociatedEntities​(String deploymentId,
                                                                          String processId)
        Specified by:
        getAssociatedEntities in interface org.jbpm.services.api.DefinitionService
      • getTasksDefinitions

        public Collection<org.jbpm.services.api.model.UserTaskDefinition> getTasksDefinitions​(String deploymentId,
                                                                                              String processId)
        Specified by:
        getTasksDefinitions in interface org.jbpm.services.api.DefinitionService
      • getTaskInputMappings

        public Map<String,​String> getTaskInputMappings​(String deploymentId,
                                                             String processId,
                                                             String taskName)
        Specified by:
        getTaskInputMappings in interface org.jbpm.services.api.DefinitionService
      • getTaskOutputMappings

        public Map<String,​String> getTaskOutputMappings​(String deploymentId,
                                                              String processId,
                                                              String taskName)
        Specified by:
        getTaskOutputMappings in interface org.jbpm.services.api.DefinitionService
      • onDeploy

        public void onDeploy​(org.jbpm.services.api.DeploymentEvent event)
        Specified by:
        onDeploy in interface org.jbpm.services.api.DeploymentEventListener
      • onUnDeploy

        public void onUnDeploy​(org.jbpm.services.api.DeploymentEvent event)
        Specified by:
        onUnDeploy in interface org.jbpm.services.api.DeploymentEventListener
      • onActivate

        public void onActivate​(org.jbpm.services.api.DeploymentEvent event)
        Specified by:
        onActivate in interface org.jbpm.services.api.DeploymentEventListener
      • onDeactivate

        public void onDeactivate​(org.jbpm.services.api.DeploymentEvent event)
        Specified by:
        onDeactivate in interface org.jbpm.services.api.DeploymentEventListener
      • getJavaClasses

        public Set<String> getJavaClasses​(String deploymentId,
                                          String processId)
        Specified by:
        getJavaClasses in interface org.jbpm.services.api.DefinitionService
      • getRuleSets

        public Set<String> getRuleSets​(String deploymentId,
                                       String processId)
        Specified by:
        getRuleSets in interface org.jbpm.services.api.DefinitionService