Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.jbpm.workflow.definition.ejb
Interface DefinitionSessionRemote  view DefinitionSessionRemote download DefinitionSessionRemote.java

All Superinterfaces:
javax.ejb.EJBObject, java.rmi.Remote

public interface DefinitionSessionRemote
extends javax.ejb.EJBObject

is the EJB-remote-interface for the org.jbpm.workflow.definition.DefinitionComponent


Method Summary
 void deployProcessArchive(byte[] processArchiveBytes)
          loads a process archive into the jBpm engine.
 java.util.Collection getAllProcessDefinitions()
           
 java.util.Collection getAllProcessDefinitions(org.jbpm.util.client.Relations relations)
           
 org.jbpm.workflow.definition.ProcessDefinition getProcessDefinition(java.lang.Long processDefinitionId)
          gets a specific version of a org.jbpm.workflow.definition.ProcessDefinition.
 org.jbpm.workflow.definition.ProcessDefinition getProcessDefinition(java.lang.Long processDefinitionId, org.jbpm.util.client.Relations relations)
          gets a specific version of a org.jbpm.workflow.definition.ProcessDefinition.
 org.jbpm.workflow.definition.ProcessDefinition getProcessDefinition(java.lang.String processDefinitionName)
          gets the latest version of the org.jbpm.workflow.definition.ProcessDefinition with the given name.
 org.jbpm.workflow.definition.ProcessDefinition getProcessDefinition(java.lang.String processDefinitionName, org.jbpm.util.client.Relations relations)
          gets the latest version of the org.jbpm.workflow.definition.ProcessDefinition with the given name.
 java.util.Collection getProcessDefinitions()
          collects the highest version of every org.jbpm.workflow.definition.ProcessDefinition.
 java.util.Collection getProcessDefinitions(org.jbpm.util.client.Relations relations)
          collects the highest version of every org.jbpm.workflow.definition.ProcessDefinition.
 
Methods inherited from interface javax.ejb.EJBObject
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Method Detail

deployProcessArchive

public void deployProcessArchive(byte[] processArchiveBytes)
                          throws org.jbpm.workflow.definition.JpdlException,
                                 java.rmi.RemoteException
loads a process archive into the jBpm engine. The contents of the process archive is parsed and stored in the database. A process archive contains one process definition. If a process definition with the same name already exists in the jBpm-engine, the added definition will get a new version number (one higher then the highest existing version number for that name)


getProcessDefinitions

public java.util.Collection getProcessDefinitions()
                                           throws java.rmi.RemoteException
collects the highest version of every org.jbpm.workflow.definition.ProcessDefinition. Those are the org.jbpm.workflow.definition.ProcessDefinitions from which a user must choose one to start. See also versioning.


getProcessDefinitions

public java.util.Collection getProcessDefinitions(org.jbpm.util.client.Relations relations)
                                           throws java.rmi.RemoteException
collects the highest version of every org.jbpm.workflow.definition.ProcessDefinition. Those are the org.jbpm.workflow.definition.ProcessDefinitions from which a user must choose one to start. See also versioning.


getProcessDefinition

public org.jbpm.workflow.definition.ProcessDefinition getProcessDefinition(java.lang.String processDefinitionName)
                                                                    throws java.rmi.RemoteException
gets the latest version of the org.jbpm.workflow.definition.ProcessDefinition with the given name.


getProcessDefinition

public org.jbpm.workflow.definition.ProcessDefinition getProcessDefinition(java.lang.String processDefinitionName,
                                                                           org.jbpm.util.client.Relations relations)
                                                                    throws java.rmi.RemoteException
gets the latest version of the org.jbpm.workflow.definition.ProcessDefinition with the given name.


getProcessDefinition

public org.jbpm.workflow.definition.ProcessDefinition getProcessDefinition(java.lang.Long processDefinitionId)
                                                                    throws java.rmi.RemoteException
gets a specific version of a org.jbpm.workflow.definition.ProcessDefinition.


getProcessDefinition

public org.jbpm.workflow.definition.ProcessDefinition getProcessDefinition(java.lang.Long processDefinitionId,
                                                                           org.jbpm.util.client.Relations relations)
                                                                    throws java.rmi.RemoteException
gets a specific version of a org.jbpm.workflow.definition.ProcessDefinition.


getAllProcessDefinitions

public java.util.Collection getAllProcessDefinitions()
                                              throws java.rmi.RemoteException

getAllProcessDefinitions

public java.util.Collection getAllProcessDefinitions(org.jbpm.util.client.Relations relations)
                                              throws java.rmi.RemoteException