protected String getDefinitionKey(CmmnActivityExecution execution) { CmmnExecution caseExecution = (CmmnExecution) execution; return getCallableElement().getDefinitionKey(caseExecution); }
public void onManualCompletion(CmmnActivityExecution execution) { // Throw always an exception! // It should not be possible to complete a calling // task manually. If the called instance has // been completed, the associated task will // be notified to complete automatically. String id = execution.getId(); throw LOG.forbiddenManualCompletitionException("complete", id, getTypeName()); }
protected void initializeCallableElement(CmmnElement element, CmmnActivity activity, CmmnHandlerContext context) { Deployment deployment = context.getDeployment(); String deploymentId = null; if (deployment != null) { deploymentId = deployment.getId(); } BaseCallableElement callableElement = createCallableElement(); callableElement.setDeploymentId(deploymentId); // set callableElement on behavior CallingTaskActivityBehavior behavior = (CallingTaskActivityBehavior) activity.getActivityBehavior(); behavior.setCallableElement(callableElement); // definition key initializeDefinitionKey(element, activity, context, callableElement); // binding initializeBinding(element, activity, context, callableElement); // version initializeVersion(element, activity, context, callableElement); // tenant-id initializeTenantId(element, activity, context, callableElement); }
protected void initializeCallableElement(CmmnElement element, CmmnActivity activity, CmmnHandlerContext context) { Deployment deployment = context.getDeployment(); String deploymentId = null; if (deployment != null) { deploymentId = deployment.getId(); } BaseCallableElement callableElement = createCallableElement(); callableElement.setDeploymentId(deploymentId); // set callableElement on behavior CallingTaskActivityBehavior behavior = (CallingTaskActivityBehavior) activity.getActivityBehavior(); behavior.setCallableElement(callableElement); // definition key initializeDefinitionKey(element, activity, context, callableElement); // binding initializeBinding(element, activity, context, callableElement); // version initializeVersion(element, activity, context, callableElement); // tenant-id initializeTenantId(element, activity, context, callableElement); }
protected CallableElementBinding getBinding() { return getCallableElement().getBinding(); }
public void onManualCompletion(CmmnActivityExecution execution) { // Throw always an exception! // It should not be possible to complete a calling // task manually. If the called instance has // been completed, the associated task will // be notified to complete automatically. String id = execution.getId(); throw LOG.forbiddenManualCompletitionException("complete", id, getTypeName()); }
protected void initializeCallableElement(CmmnElement element, CmmnActivity activity, CmmnHandlerContext context) { Deployment deployment = context.getDeployment(); String deploymentId = null; if (deployment != null) { deploymentId = deployment.getId(); } BaseCallableElement callableElement = createCallableElement(); callableElement.setDeploymentId(deploymentId); // set callableElement on behavior CallingTaskActivityBehavior behavior = (CallingTaskActivityBehavior) activity.getActivityBehavior(); behavior.setCallableElement(callableElement); // definition key initializeDefinitionKey(element, activity, context, callableElement); // binding initializeBinding(element, activity, context, callableElement); // version initializeVersion(element, activity, context, callableElement); // tenant-id initializeTenantId(element, activity, context, callableElement); }
protected Integer getVersion(CmmnActivityExecution execution) { CmmnExecution caseExecution = (CmmnExecution) execution; return getCallableElement().getVersion(caseExecution); }
public void onManualCompletion(CmmnActivityExecution execution) { // Throw always an exception! // It should not be possible to complete a calling // task manually. If the called instance has // been completed, the associated task will // be notified to complete automatically. String id = execution.getId(); throw LOG.forbiddenManualCompletitionException("complete", id, getTypeName()); }
protected String getDeploymentId(CmmnActivityExecution execution) { return getCallableElement().getDeploymentId(); }
protected boolean isVersionTagBinding() { return getCallableElement().isVersionTagBinding(); }
protected String getDefinitionKey(CmmnActivityExecution execution) { CmmnExecution caseExecution = (CmmnExecution) execution; return getCallableElement().getDefinitionKey(caseExecution); }
protected Integer getVersion(CmmnActivityExecution execution) { CmmnExecution caseExecution = (CmmnExecution) execution; return getCallableElement().getVersion(caseExecution); }
protected boolean isDeploymentBinding() { return getCallableElement().isDeploymentBinding(); }
protected boolean isLatestBinding() { return getCallableElement().isLatestBinding(); }
protected boolean isDeploymentBinding() { return getCallableElement().isDeploymentBinding(); }
protected String getDeploymentId(CmmnActivityExecution execution) { return getCallableElement().getDeploymentId(); }
protected boolean isVersionTagBinding() { return getCallableElement().isVersionTagBinding(); }
protected boolean isLatestBinding() { return getCallableElement().isLatestBinding(); }
protected boolean isVersionBinding() { return getCallableElement().isVersionBinding(); }