@Service public class DeploymentServiceImpl extends Object implements DeploymentService
Constructor and Description |
---|
DeploymentServiceImpl() |
Modifier and Type | Method and Description |
---|---|
protected com.activiti.domain.runtime.Form |
createRuntimeForm(Long formId,
Map<Long,com.activiti.domain.editor.AbstractModel> formMap,
com.activiti.domain.editor.AbstractModel model,
Long appDefinitionId,
Long appDeploymentId,
com.activiti.domain.idm.User user) |
void |
deleteAppDefinition(Long appDefinitionId) |
void |
deployAppDefinitions(List<Long> appDefinitions,
com.activiti.domain.idm.User user) |
protected DeploymentResult |
deployAppDefinitionToActiviti(AppDefinitionServiceRepresentation appDefinition,
com.activiti.domain.runtime.RuntimeAppDefinition runtimeAppDefinition,
com.activiti.domain.idm.User user) |
protected void |
fillSequenceFlowCondition(SequenceFlow sequenceFlow,
Map<Long,com.activiti.domain.runtime.Form> formIdMap,
com.activiti.domain.editor.AbstractModel model,
Long appDefinitionId,
Long appDeploymentId,
com.activiti.domain.idm.User user) |
protected String |
getFormKeyWithFormId(Long formId,
Map<Long,com.activiti.domain.runtime.Form> formIdMap,
com.activiti.domain.editor.AbstractModel model,
Long appDefinitionId,
Long appDeploymentId,
com.activiti.domain.idm.User user) |
protected String |
getProcessName(Process process) |
protected Map<Long,com.activiti.domain.runtime.Form> |
overrideBpmnForms(BpmnModel bpmnModel,
Map<String,StartEvent> startEventMap,
com.activiti.domain.editor.AbstractModel model,
Long appDefinitionId,
Long appDeploymentId,
com.activiti.domain.idm.User user) |
protected void |
processBpmnForms(Collection<FlowElement> flowElements,
Process process,
Map<String,StartEvent> startEventMap,
Map<Long,com.activiti.domain.runtime.Form> formIdMap,
com.activiti.domain.editor.AbstractModel model,
Long appDefinitionId,
Long appDeploymentId,
com.activiti.domain.idm.User user) |
protected void |
processEmailUsers(BpmnModel bpmnModel) |
protected Map<String,StartEvent> |
processNoneStartEvents(BpmnModel bpmnModel) |
protected String |
retrieveFinalFormKey(String formKey,
FlowElement flowElement,
Map<Long,com.activiti.domain.runtime.Form> formIdMap,
com.activiti.domain.editor.AbstractModel model,
Long appDefinitionId,
Long appDeploymentId,
com.activiti.domain.idm.User user) |
DeploymentResult |
updateAppDefinition(Long appDefinitionId,
String appDefinitionName,
String appDefinitionDescription,
String appDefinitionJson,
com.activiti.domain.idm.User user) |
@Transactional public void deployAppDefinitions(List<Long> appDefinitions, com.activiti.domain.idm.User user)
deployAppDefinitions
in interface DeploymentService
@Transactional public DeploymentResult updateAppDefinition(Long appDefinitionId, String appDefinitionName, String appDefinitionDescription, String appDefinitionJson, com.activiti.domain.idm.User user)
updateAppDefinition
in interface DeploymentService
@Transactional public void deleteAppDefinition(Long appDefinitionId)
deleteAppDefinition
in interface DeploymentService
protected DeploymentResult deployAppDefinitionToActiviti(AppDefinitionServiceRepresentation appDefinition, com.activiti.domain.runtime.RuntimeAppDefinition runtimeAppDefinition, com.activiti.domain.idm.User user)
protected Map<String,StartEvent> processNoneStartEvents(BpmnModel bpmnModel)
protected Map<Long,com.activiti.domain.runtime.Form> overrideBpmnForms(BpmnModel bpmnModel, Map<String,StartEvent> startEventMap, com.activiti.domain.editor.AbstractModel model, Long appDefinitionId, Long appDeploymentId, com.activiti.domain.idm.User user)
protected void processBpmnForms(Collection<FlowElement> flowElements, Process process, Map<String,StartEvent> startEventMap, Map<Long,com.activiti.domain.runtime.Form> formIdMap, com.activiti.domain.editor.AbstractModel model, Long appDefinitionId, Long appDeploymentId, com.activiti.domain.idm.User user)
protected String retrieveFinalFormKey(String formKey, FlowElement flowElement, Map<Long,com.activiti.domain.runtime.Form> formIdMap, com.activiti.domain.editor.AbstractModel model, Long appDefinitionId, Long appDeploymentId, com.activiti.domain.idm.User user)
protected String getFormKeyWithFormId(Long formId, Map<Long,com.activiti.domain.runtime.Form> formIdMap, com.activiti.domain.editor.AbstractModel model, Long appDefinitionId, Long appDeploymentId, com.activiti.domain.idm.User user)
protected void fillSequenceFlowCondition(SequenceFlow sequenceFlow, Map<Long,com.activiti.domain.runtime.Form> formIdMap, com.activiti.domain.editor.AbstractModel model, Long appDefinitionId, Long appDeploymentId, com.activiti.domain.idm.User user)
protected com.activiti.domain.runtime.Form createRuntimeForm(Long formId, Map<Long,com.activiti.domain.editor.AbstractModel> formMap, com.activiti.domain.editor.AbstractModel model, Long appDefinitionId, Long appDeploymentId, com.activiti.domain.idm.User user)
protected void processEmailUsers(BpmnModel bpmnModel)
Copyright © 2014–2015 Alfresco. All rights reserved.