@Service @Transactional public class AppDefinitionServiceImpl extends Object implements AppDefinitionService
Modifier and Type | Field and Description |
---|---|
protected com.activiti.repository.editor.ModelHistoryRepository |
modelHistoryRepository |
protected com.activiti.repository.editor.ModelRepository |
modelRepository |
protected com.fasterxml.jackson.databind.ObjectMapper |
objectMapper |
Constructor and Description |
---|
AppDefinitionServiceImpl() |
Modifier and Type | Method and Description |
---|---|
protected AppDefinitionServiceRepresentation |
createAppDefinition(com.activiti.domain.editor.AbstractModel model) |
List<AppDefinitionServiceRepresentation> |
getAppDefinitions() |
List<AppDefinitionServiceRepresentation> |
getDeployableAppDefinitions(com.activiti.domain.idm.User user)
Gathers all 'deployable' app definitions for the current user.
|
@Autowired protected com.activiti.repository.editor.ModelRepository modelRepository
@Autowired protected com.activiti.repository.editor.ModelHistoryRepository modelHistoryRepository
@Autowired protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
public List<AppDefinitionServiceRepresentation> getAppDefinitions()
getAppDefinitions
in interface AppDefinitionService
public List<AppDefinitionServiceRepresentation> getDeployableAppDefinitions(com.activiti.domain.idm.User user)
getDeployableAppDefinitions
in interface AppDefinitionService
protected AppDefinitionServiceRepresentation createAppDefinition(com.activiti.domain.editor.AbstractModel model)
Copyright © 2014–2015 Alfresco. All rights reserved.