|
||||||||||
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 |
activateProcessDefinitionById(String processDefinitionId,
boolean activateProcessInstances,
Date activationDate)
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). |
void |
activateProcessDefinitionByKey(String processDefinitionKey,
boolean activateProcessInstances,
Date activationDate)
Activates the process definition with the given key (=id in the bpmn20.xml file). |
void |
addCandidateStarterGroup(String processDefinitionId,
String groupId)
Deprecated. Use authorization mechanism instead. |
void |
addCandidateStarterUser(String processDefinitionId,
String userId)
Deprecated. Use authorization mechanism instead. |
CaseDefinitionQuery |
createCaseDefinitionQuery()
Query case definitions. |
DecisionDefinitionQuery |
createDecisionDefinitionQuery()
Query decision definitions. |
DecisionRequirementsDefinitionQuery |
createDecisionRequirementsDefinitionQuery()
Query decision requirements definition. |
DeploymentBuilder |
createDeployment()
Starts creating a new deployment |
ProcessApplicationDeploymentBuilder |
createDeployment(ProcessApplicationReference processApplication)
Starts creating a new ProcessApplicationDeployment . |
DeploymentQuery |
createDeploymentQuery()
Query process definitions. |
ProcessDefinitionQuery |
createProcessDefinitionQuery()
Query process definitions. |
void |
deleteCandidateStarterGroup(String processDefinitionId,
String groupId)
Deprecated. Use authorization mechanism instead. |
void |
deleteCandidateStarterUser(String processDefinitionId,
String userId)
Deprecated. Use authorization mechanism instead. |
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 |
deleteDeployment(String deploymentId,
boolean cascade,
boolean skipCustomListeners)
Deletes the given deployment and cascade deletion to process instances, history process instances and jobs. |
void |
deleteDeployment(String deploymentId,
boolean cascade,
boolean skipCustomListeners,
boolean skipIoMappings)
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. |
void |
deleteProcessDefinition(String processDefinitionId)
Deletes the process definition which belongs to the given process definition id. |
void |
deleteProcessDefinition(String processDefinitionId,
boolean cascade)
Deletes the process definition which belongs to the given process definition id. |
void |
deleteProcessDefinition(String processDefinitionId,
boolean cascade,
boolean skipCustomListeners)
Deletes the process definition which belongs to the given process definition id. |
org.camunda.bpm.model.bpmn.BpmnModelInstance |
getBpmnModelInstance(String processDefinitionId)
Returns the BpmnModelInstance for the given processDefinitionId. |
CaseDefinition |
getCaseDefinition(String caseDefinitionId)
Returns the CaseDefinition . |
InputStream |
getCaseDiagram(String caseDefinitionId)
Gives access to a deployed case diagram, e.g., a PNG image, through a stream of bytes. |
InputStream |
getCaseModel(String caseDefinitionId)
Gives access to a deployed case model, e.g., a CMMN 1.0 XML file, through a stream of bytes. |
org.camunda.bpm.model.cmmn.CmmnModelInstance |
getCmmnModelInstance(String caseDefinitionId)
Returns the CmmnModelInstance for the given caseDefinitionId. |
DecisionDefinition |
getDecisionDefinition(String decisionDefinitionId)
Returns the DecisionDefinition . |
InputStream |
getDecisionDiagram(String decisionDefinitionId)
Gives access to a deployed decision diagram, e.g., a PNG image, through a stream of bytes. |
InputStream |
getDecisionModel(String decisionDefinitionId)
Gives access to a deployed decision model, e.g., a DMN 1.1 XML file, through a stream of bytes. |
DecisionRequirementsDefinition |
getDecisionRequirementsDefinition(String decisionRequirementsDefinitionId)
Returns the DecisionRequirementsDefinition . |
InputStream |
getDecisionRequirementsDiagram(String decisionRequirementsDefinitionId)
Gives access to a deployed decision requirements diagram, e.g., a PNG image, through a stream of bytes. |
InputStream |
getDecisionRequirementsModel(String decisionRequirementsDefinitionId)
Gives access to a deployed decision requirements model, e.g., a DMN 1.1 XML file, through a stream of bytes. |
List<String> |
getDeploymentResourceNames(String deploymentId)
Retrieves a list of deployment resource names for the given deployment, ordered alphabetically. |
List<Resource> |
getDeploymentResources(String deploymentId)
Retrieves a list of deployment resources for the given deployment, ordered alphabetically by name. |
org.camunda.bpm.model.dmn.DmnModelInstance |
getDmnModelInstance(String decisionDefinitionId)
Returns the DmnModelInstance for the given decisionDefinitionId. |
List<IdentityLink> |
getIdentityLinksForProcessDefinition(String processDefinitionId)
Deprecated. Use authorization mechanism instead. |
ProcessDefinition |
getProcessDefinition(String processDefinitionId)
Returns the ProcessDefinition including all BPMN information like additional
Properties (e.g. |
InputStream |
getProcessDiagram(String processDefinitionId)
Gives access to a deployed process diagram, e.g., a PNG image, through a stream of bytes. |
DiagramLayout |
getProcessDiagramLayout(String processDefinitionId)
Provides positions and dimensions of elements in a process diagram as provided by getProcessDiagram(String) . |
InputStream |
getProcessModel(String processDefinitionId)
Gives access to a deployed process model, e.g., a BPMN 2.0 XML file, through a stream of bytes. |
InputStream |
getResourceAsStream(String deploymentId,
String resourceName)
Gives access to a deployment resource through a stream of bytes. |
InputStream |
getResourceAsStreamById(String deploymentId,
String resourceId)
Gives access to a deployment resource through a stream of bytes. |
void |
suspendProcessDefinitionById(String processDefinitionId)
Suspends the process definition with the given id. |
void |
suspendProcessDefinitionById(String processDefinitionId,
boolean suspendProcessInstances,
Date suspensionDate)
Suspends the process definition with the given id. |
void |
suspendProcessDefinitionByKey(String processDefinitionKey)
Suspends the all process definitions with the given key (= id in the bpmn20.xml file). |
void |
suspendProcessDefinitionByKey(String processDefinitionKey,
boolean suspendProcessInstances,
Date suspensionDate)
Suspends the all process definitions with the given key (= id in the bpmn20.xml file). |
void |
updateCaseDefinitionHistoryTimeToLive(String caseDefinitionId,
Integer historyTimeToLive)
Updates time to live of case definition. |
void |
updateDecisionDefinitionHistoryTimeToLive(String decisionDefinitionId,
Integer historyTimeToLive)
Updates time to live of decision definition. |
void |
updateProcessDefinitionHistoryTimeToLive(String processDefinitionId,
Integer historyTimeToLive)
Updates time to live of process definition. |
UpdateProcessDefinitionSuspensionStateSelectBuilder |
updateProcessDefinitionSuspensionState()
Activate or suspend process definitions using a fluent builder. |
Method Detail |
---|
DeploymentBuilder createDeployment()
ProcessApplicationDeploymentBuilder createDeployment(ProcessApplicationReference processApplication)
ProcessApplicationDeployment
.
ProcessApplicationDeploymentBuilder
void deleteDeployment(String deploymentId)
deploymentId
- id of the deployment, cannot be null.
RuntimeException
- If there are still runtime or history process instances or jobs.
AuthorizationException
- If the user has no Permissions.DELETE
permission on Resources.DEPLOYMENT
.@Deprecated void deleteDeploymentCascade(String deploymentId)
deleteDeployment(String, boolean)
. This methods may be deleted from 5.3.
deploymentId
- id of the deployment, cannot be null.
AuthorizationException
- If the user has no Permissions.DELETE
permission on Resources.DEPLOYMENT
.void deleteDeployment(String deploymentId, boolean cascade)
deploymentId
- id of the deployment, cannot be null.
AuthorizationException
- If the user has no Permissions.DELETE
permission on Resources.DEPLOYMENT
.void deleteDeployment(String deploymentId, boolean cascade, boolean skipCustomListeners)
deploymentId
- id of the deployment, cannot be null.cascade
- if set to true, all process instances (including) history are deletedskipCustomListeners
- if true, only the built-in ExecutionListener
s
are notified with the ExecutionListener.EVENTNAME_END
event.
AuthorizationException
- If the user has no Permissions.DELETE
permission on Resources.DEPLOYMENT
.void deleteDeployment(String deploymentId, boolean cascade, boolean skipCustomListeners, boolean skipIoMappings)
deploymentId
- id of the deployment, cannot be null.cascade
- if set to true, all process instances (including) history are deletedskipCustomListeners
- if true, only the built-in ExecutionListener
s
are notified with the ExecutionListener.EVENTNAME_END
event.skipIoMappings
- specifies whether input/output mappings for tasks should be invoked
AuthorizationException
- If the user has no Permissions.DELETE
permission on Resources.DEPLOYMENT
.void deleteProcessDefinition(String processDefinitionId)
deleteProcessDefinition(java.lang.String, boolean, boolean)
Both boolean parameters of this method are per default false. The deletion is
in this case not cascading.
processDefinitionId
- the id, which corresponds to the process definition
ProcessEngineException
- If the process definition does not exist
AuthorizationException
- If the user has no Permissions.DELETE
permission on Resources.PROCESS_DEFINITION
.deleteProcessDefinition(java.lang.String, boolean, boolean)
void deleteProcessDefinition(String processDefinitionId, boolean cascade)
deleteProcessDefinition(java.lang.String, boolean, boolean)
The skipCustomListeners parameter is per default false. The custom listeners are called
if the cascading flag is set to true and the process instances are deleted.
processDefinitionId
- the id, which corresponds to the process definitioncascade
- if set to true, all process instances (including) history are deleted
ProcessEngineException
- If the process definition does not exist
AuthorizationException
- If the user has no Permissions.DELETE
permission on Resources.PROCESS_DEFINITION
.deleteProcessDefinition(java.lang.String, boolean, boolean)
void deleteProcessDefinition(String processDefinitionId, boolean cascade, boolean skipCustomListeners)
processDefinitionId
- the id, which corresponds to the process definitioncascade
- if set to true, all process instances (including) history are deletedskipCustomListeners
- if true, only the built-in ExecutionListener
s
are notified with the ExecutionListener.EVENTNAME_END
event.
Is only used if cascade set to true.
ProcessEngineException
- If the process definition does not exist
AuthorizationException
- If the user has no Permissions.DELETE
permission on Resources.PROCESS_DEFINITION
.List<String> getDeploymentResourceNames(String deploymentId)
deploymentId
- id of the deployment, cannot be null.
AuthorizationException
- If the user has no Permissions.READ
permission on Resources.DEPLOYMENT
.List<Resource> getDeploymentResources(String deploymentId)
deploymentId
- id of the deployment, cannot be null.
AuthorizationException
- If the user has no Permissions.READ
permission on Resources.DEPLOYMENT
.InputStream getResourceAsStream(String deploymentId, String resourceName)
deploymentId
- id of the deployment, cannot be null.resourceName
- name of the resource, cannot be null.
ProcessEngineException
- When the resource doesn't exist in the given deployment or when no deployment exists
for the given deploymentId.
AuthorizationException
- If the user has no Permissions.READ
permission on Resources.DEPLOYMENT
.InputStream getResourceAsStreamById(String deploymentId, String resourceId)
deploymentId
- id of the deployment, cannot be null.resourceId
- id of the resource, cannot be null.
ProcessEngineException
- When the resource doesn't exist in the given deployment or when no deployment exists
for the given deploymentId.
AuthorizationException
- If the user has no Permissions.READ
permission on Resources.DEPLOYMENT
.ProcessDefinitionQuery createProcessDefinitionQuery()
CaseDefinitionQuery createCaseDefinitionQuery()
DecisionDefinitionQuery createDecisionDefinitionQuery()
DecisionRequirementsDefinitionQuery createDecisionRequirementsDefinitionQuery()
DeploymentQuery createDeploymentQuery()
void suspendProcessDefinitionById(String processDefinitionId)
Note: for more complex suspend commands use updateProcessDefinitionSuspensionState()
.
ProcessEngineException
- If no such processDefinition can be found.
AuthorizationException
- If the user has no Permissions.UPDATE
permission on Resources.PROCESS_DEFINITION
.void suspendProcessDefinitionById(String processDefinitionId, boolean suspendProcessInstances, Date suspensionDate)
Note: for more complex suspend commands use updateProcessDefinitionSuspensionState()
.
suspendProcessInstances
- If true, all the process instances of the provided process definition
will be suspended too.suspensionDate
- The date on which the process definition will be suspended. If null, the
process definition is suspended immediately.
Note: The job executor needs to be active to use this!
ProcessEngineException
- If no such processDefinition can be found.
AuthorizationException
- If the user has no Permissions.UPDATE
permission on Resources.PROCESS_DEFINITION
and if suspendProcessInstances
is set to true
and the user have no
Permissions.UPDATE
permission on Resources.PROCESS_INSTANCE
or no
Permissions.UPDATE_INSTANCE
permission on Resources.PROCESS_DEFINITION
.RuntimeService.suspendProcessInstanceById(String)
void suspendProcessDefinitionByKey(String processDefinitionKey)
Note: for more complex suspend commands use updateProcessDefinitionSuspensionState()
.
ProcessEngineException
- If no such processDefinition can be found.
AuthorizationException
- If the user has no Permissions.UPDATE
permission on Resources.PROCESS_DEFINITION
.void suspendProcessDefinitionByKey(String processDefinitionKey, boolean suspendProcessInstances, Date suspensionDate)
Note: for more complex suspend commands use updateProcessDefinitionSuspensionState()
.
suspendProcessInstances
- If true, all the process instances of the provided process definition
will be suspended too.suspensionDate
- The date on which the process definition will be suspended. If null, the
process definition is suspended immediately.
Note: The job executor needs to be active to use this!
ProcessEngineException
- If no such processDefinition can be found.
AuthorizationException
- If the user has no Permissions.UPDATE
permission on Resources.PROCESS_DEFINITION
and if suspendProcessInstances
is set to true
and the user have no
Permissions.UPDATE
permission on Resources.PROCESS_INSTANCE
or no
Permissions.UPDATE_INSTANCE
permission on Resources.PROCESS_DEFINITION
.RuntimeService.suspendProcessInstanceById(String)
void activateProcessDefinitionById(String processDefinitionId)
Note: for more complex activate commands use updateProcessDefinitionSuspensionState()
.
ProcessEngineException
- If no such processDefinition can be found or if the process definition is already in state active.
AuthorizationException
- If the user has no Permissions.UPDATE
permission on Resources.PROCESS_DEFINITION
.void activateProcessDefinitionById(String processDefinitionId, boolean activateProcessInstances, Date activationDate)
Note: for more complex activate commands use updateProcessDefinitionSuspensionState()
.
suspendProcessInstances
- If true, all the process instances of the provided process definition
will be activated too.activationDate
- The date on which the process definition will be activated. If null, the
process definition is suspended immediately.
Note: The job executor needs to be active to use this!
ProcessEngineException
- If no such processDefinition can be found.
AuthorizationException
- If the user has no Permissions.UPDATE
permission on Resources.PROCESS_DEFINITION
and if activateProcessInstances
is set to true
and the user have no
Permissions.UPDATE
permission on Resources.PROCESS_INSTANCE
or no
Permissions.UPDATE_INSTANCE
permission on Resources.PROCESS_DEFINITION
.RuntimeService.activateProcessInstanceById(String)
void activateProcessDefinitionByKey(String processDefinitionKey)
Note: for more complex activate commands use updateProcessDefinitionSuspensionState()
.
ProcessEngineException
- If no such processDefinition can be found.
AuthorizationException
- If the user has no Permissions.UPDATE
permission on Resources.PROCESS_DEFINITION
.void activateProcessDefinitionByKey(String processDefinitionKey, boolean activateProcessInstances, Date activationDate)
Note: for more complex activate commands use updateProcessDefinitionSuspensionState()
.
suspendProcessInstances
- If true, all the process instances of the provided process definition
will be activated too.activationDate
- The date on which the process definition will be activated. If null, the
process definition is suspended immediately.
Note: The job executor needs to be active to use this!
ProcessEngineException
- If no such processDefinition can be found.
AuthorizationException
- If the user has no Permissions.UPDATE
permission on Resources.PROCESS_DEFINITION
and if activateProcessInstances
is set to true
and the user have no
Permissions.UPDATE
permission on Resources.PROCESS_INSTANCE
or no
Permissions.UPDATE_INSTANCE
permission on Resources.PROCESS_DEFINITION
.RuntimeService.activateProcessInstanceById(String)
UpdateProcessDefinitionSuspensionStateSelectBuilder updateProcessDefinitionSuspensionState()
UpdateProcessDefinitionSuspensionStateBuilder.activate()
or
UpdateProcessDefinitionSuspensionStateBuilder.suspend()
.
void updateProcessDefinitionHistoryTimeToLive(String processDefinitionId, Integer historyTimeToLive)
processDefinitionId
- historyTimeToLive
-
AuthorizationException
- If the user has no Permissions.UPDATE
permission on Resources.PROCESS_DEFINITION
.void updateDecisionDefinitionHistoryTimeToLive(String decisionDefinitionId, Integer historyTimeToLive)
decisionDefinitionId
- historyTimeToLive
-
AuthorizationException
- If the user has no Permissions.UPDATE
permission on Resources.DECISION_DEFINITION
.void updateCaseDefinitionHistoryTimeToLive(String caseDefinitionId, Integer historyTimeToLive)
caseDefinitionId
- historyTimeToLive
- InputStream getProcessModel(String processDefinitionId)
processDefinitionId
- id of a ProcessDefinition
, cannot be null.
ProcessEngineException
- when the process model doesn't exist.
AuthorizationException
- If the user has no Permissions.READ
permission on Resources.PROCESS_DEFINITION
.InputStream getProcessDiagram(String processDefinitionId)
processDefinitionId
- id of a ProcessDefinition
, cannot be null.
ProcessDefinition
is null.
ProcessEngineException
- when the process diagram doesn't exist.
AuthorizationException
- If the user has no Permissions.READ
permission on Resources.PROCESS_DEFINITION
.ProcessDefinition getProcessDefinition(String processDefinitionId)
ProcessDefinition
including all BPMN information like additional
Properties (e.g. documentation).
AuthorizationException
- If the user has no Permissions.READ
permission on Resources.PROCESS_DEFINITION
.DiagramLayout getProcessDiagramLayout(String processDefinitionId)
getProcessDiagram(String)
.
This method requires a process model and a diagram image to be deployed.
processDefinitionId
- id of a ProcessDefinition
, cannot be null.
ProcessEngineException
- When the process model or diagram doesn't exist.
AuthorizationException
- If the user has no Permissions.READ
permission on Resources.PROCESS_DEFINITION
.org.camunda.bpm.model.bpmn.BpmnModelInstance getBpmnModelInstance(String processDefinitionId)
BpmnModelInstance
for the given processDefinitionId.
processDefinitionId
- the id of the Process Definition for which the BpmnModelInstance
should be retrieved.
BpmnModelInstance
AuthorizationException
- If the user has no Permissions.READ
permission on Resources.PROCESS_DEFINITION
.org.camunda.bpm.model.cmmn.CmmnModelInstance getCmmnModelInstance(String caseDefinitionId)
CmmnModelInstance
for the given caseDefinitionId.
caseDefinitionId
- the id of the Case Definition for which the CmmnModelInstance
should be retrieved.
CmmnModelInstance
NotValidException
- when the given case definition id or deployment id or resource name is null
NotFoundException
- when no CMMN model instance or deployment resource is found for the given
case definition id
ProcessEngineException
- when an internal exception happens during the execution
of the command.org.camunda.bpm.model.dmn.DmnModelInstance getDmnModelInstance(String decisionDefinitionId)
DmnModelInstance
for the given decisionDefinitionId.
decisionDefinitionId
- the id of the Decision Definition for which the DmnModelInstance
should be retrieved.
DmnModelInstance
NotValidException
- when the given decision definition id or deployment id or resource name is null
NotFoundException
- when no DMN model instance or deployment resource is found for the given
decision definition id
ProcessEngineException
- when an internal exception happens during the execution of the command.
AuthorizationException
- If the user has no Permissions.READ
permission on Resources.DECISION_DEFINITION
.@Deprecated void addCandidateStarterUser(String processDefinitionId, String userId)
processDefinitionId
- id of the process definition, cannot be null.userId
- id of the user involve, cannot be null.
ProcessEngineException
- When the process definition or user doesn't exist.@Deprecated void addCandidateStarterGroup(String processDefinitionId, String groupId)
processDefinitionId
- id of the process definition, cannot be null.groupId
- id of the group involve, cannot be null.
ProcessEngineException
- When the process definition or group doesn't exist.@Deprecated void deleteCandidateStarterUser(String processDefinitionId, String userId)
processDefinitionId
- id of the process definition, cannot be null.userId
- id of the user involve, cannot be null.
ProcessEngineException
- When the process definition or user doesn't exist.@Deprecated void deleteCandidateStarterGroup(String processDefinitionId, String groupId)
processDefinitionId
- id of the process definition, cannot be null.groupId
- id of the group involve, cannot be null.
ProcessEngineException
- When the process definition or group doesn't exist.@Deprecated List<IdentityLink> getIdentityLinksForProcessDefinition(String processDefinitionId)
IdentityLink
s associated with the given process definition.
Such an IdentityLink
informs how a certain identity (eg. group or user)
is authorized for a certain process definition
CaseDefinition getCaseDefinition(String caseDefinitionId)
CaseDefinition
.
NotValidException
- when the given case definition id is null
NotFoundException
- when no case definition is found for the given case definition id
ProcessEngineException
- when an internal exception happens during the execution
of the command.InputStream getCaseModel(String caseDefinitionId)
caseDefinitionId
- id of a CaseDefinition
, cannot be null.
NotValidException
- when the given case definition id or deployment id or resource name is null
NotFoundException
- when no case definition or deployment resource is found for the given case definition id
ProcessEngineException
- when an internal exception happens during the execution of the commandInputStream getCaseDiagram(String caseDefinitionId)
caseDefinitionId
- id of a CaseDefinition
, cannot be null.
CaseDefinition
is null.
ProcessEngineException
- when the process diagram doesn't exist.DecisionDefinition getDecisionDefinition(String decisionDefinitionId)
DecisionDefinition
.
NotValidException
- when the given decision definition id is null
NotFoundException
- when no decision definition is found for the given decision definition id
ProcessEngineException
- when an internal exception happens during the execution of the command.
AuthorizationException
- If the user has no Permissions.READ
permission on Resources.DECISION_DEFINITION
.DecisionRequirementsDefinition getDecisionRequirementsDefinition(String decisionRequirementsDefinitionId)
DecisionRequirementsDefinition
.
NotValidException
- when the given decision requirements definition id is null
NotFoundException
- when no decision requirements definition is found for the given decision requirements definition id
ProcessEngineException
- when an internal exception happens during the execution of the command.
AuthorizationException
- If the user has no Permissions.READ
permission on Resources.DECISION_REQUIREMENTS_DEFINITION
.InputStream getDecisionModel(String decisionDefinitionId)
decisionDefinitionId
- id of a DecisionDefinition
, cannot be null.
NotValidException
- when the given decision definition id or deployment id or resource name is null
NotFoundException
- when no decision definition or deployment resource is found for the given decision definition id
ProcessEngineException
- when an internal exception happens during the execution of the command
AuthorizationException
- If the user has no Permissions.READ
permission on Resources.DECISION_DEFINITION
.InputStream getDecisionRequirementsModel(String decisionRequirementsDefinitionId)
decisionRequirementsDefinitionId
- id of a DecisionRequirementsDefinition
, cannot be null.
NotValidException
- when the given decision requirements definition id or deployment id or resource name is null
NotFoundException
- when no decision requirements definition or deployment resource is found for the given decision requirements definition id
ProcessEngineException
- when an internal exception happens during the execution of the command
AuthorizationException
- If the user has no Permissions.READ
permission on Resources.DECISION_REQUIREMENTS_DEFINITION
.InputStream getDecisionDiagram(String decisionDefinitionId)
decisionDefinitionId
- id of a DecisionDefinition
, cannot be null.
DecisionDefinition
is null.
ProcessEngineException
- when the decision diagram doesn't exist.
AuthorizationException
- If the user has no Permissions.READ
permission on Resources.DECISION_DEFINITION
.InputStream getDecisionRequirementsDiagram(String decisionRequirementsDefinitionId)
decisionRequirementsDefinitionId
- id of a DecisionRequirementsDefinition
, cannot be null.
DecisionRequirementsDefinition
is null.
ProcessEngineException
- when the decision requirements diagram doesn't exist.
AuthorizationException
- If the user has no Permissions.READ
permission on Resources.DECISION_REQUIREMENTS_DEFINITION
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |