|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RepositoryService
Service providing access to the repository of process definitions and deployments.
| Method Summary | |
|---|---|
void |
activateProcessDefinitionById(String processDefinitionId)
Activates the process definition with the given id. |
void |
activateProcessDefinitionByKey(String processDefinitionKey)
Activates the process definition with the given key (=id in the bpmn20.xml file). |
DeploymentBuilder |
createDeployment()
Starts creating a new deployment |
DeploymentQuery |
createDeploymentQuery()
Query process definitions. |
ProcessDefinitionQuery |
createProcessDefinitionQuery()
Query process definitions. |
void |
deleteDeployment(String deploymentId)
Deletes the given deployment. |
void |
deleteDeployment(String deploymentId,
boolean cascade)
Deletes the given deployment and cascade deletion to process instances, history process instances and jobs. |
void |
deleteDeploymentCascade(String deploymentId)
Deprecated. use deleteDeployment(String, boolean). This methods may be deleted from 5.3. |
List<String> |
getDeploymentResourceNames(String deploymentId)
Retrieves a list of deployment resources for the given deployment, ordered alphabetically. |
InputStream |
getResourceAsStream(String deploymentId,
String resourceName)
Gives access to a deployment resource through a stream of bytes. |
void |
suspendProcessDefinitionById(String processDefinitionId)
Suspends the process definition with the given id. |
void |
suspendProcessDefinitionByKey(String processDefinitionKey)
Suspends the process definition with the given key (=id in the bpmn20.xml file). |
| Method Detail |
|---|
DeploymentBuilder createDeployment()
void deleteDeployment(String deploymentId)
deploymentId - id of the deployment, cannot be null.void deleteDeploymentCascade(String deploymentId)
deleteDeployment(String, boolean). This methods may be deleted from 5.3.
deploymentId - id of the deployment, cannot be null.
void deleteDeployment(String deploymentId,
boolean cascade)
deploymentId - id of the deployment, cannot be null.List<String> getDeploymentResourceNames(String deploymentId)
deploymentId - id of the deployment, cannot be null.
InputStream getResourceAsStream(String deploymentId,
String resourceName)
deploymentId - id of the deployment, cannot be null.resourceName - name of the resource, cannot be null.
ActivitiException - when the resource doesn't exist in the given deployment or when no deployment exists
for the given deploymentId.ProcessDefinitionQuery createProcessDefinitionQuery()
DeploymentQuery createDeploymentQuery()
void suspendProcessDefinitionById(String processDefinitionId)
ActivitiException - if no such processDefinition can be found or if the process definition is already in state suspended.void suspendProcessDefinitionByKey(String processDefinitionKey)
ActivitiException - if no such processDefinition can be found or if the process definition is already in state suspended.void activateProcessDefinitionById(String processDefinitionId)
ActivitiException - if no such processDefinition can be found or if the process definition is already in state active.void activateProcessDefinitionByKey(String processDefinitionKey)
ActivitiException - if no such processDefinition can be found or if the process definition is already in state active.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||