Class FlowableAppDefinitionService
- java.lang.Object
-
- org.flowable.ui.task.service.runtime.FlowableAppDefinitionService
-
@Service @Transactional public class FlowableAppDefinitionService extends Object
- Author:
- Tijs Rademakers
-
-
Field Summary
Fields Modifier and Type Field Description protected static AppDefinitionRepresentationadminAppDefinitionRepresentationprotected org.flowable.app.api.AppRepositoryServiceappRepositoryServiceprotected org.flowable.cmmn.api.CmmnRepositoryServicecmmnRepositoryServiceprotected org.flowable.dmn.api.DmnRepositoryServicedmnRepositoryServiceprotected org.flowable.form.api.FormRepositoryServiceformRepositoryServiceprotected static AppDefinitionRepresentationidmAppDefinitionRepresentationprotected static AppDefinitionRepresentationmodelerAppDefinitionRepresentationprotected com.fasterxml.jackson.databind.ObjectMapperobjectMapperprotected RepositoryServicerepositoryServiceprotected static AppDefinitionRepresentationtaskAppDefinitionRepresentation
-
Constructor Summary
Constructors Constructor Description FlowableAppDefinitionService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<String>convertToList(String commaSeperatedString)protected AppDefinitionRepresentationcreateDefaultAppDefinition(String id)protected AppDefinitionRepresentationcreateRepresentation(org.flowable.app.api.repository.AppDefinition appDefinition, BaseAppModel baseAppModel)AppDefinitionRepresentationgetAppDefinition(String appDefinitionKey)ResultListDataRepresentationgetAppDefinitions()protected List<AppDefinitionRepresentation>getTaskAppList(SecurityScope currentUser)protected booleanhasAppAccess(AppDefinitionRepresentation appDefinition, String userId, Collection<String> groups)StringmigrateAppDefinitions()
-
-
-
Field Detail
-
appRepositoryService
@Autowired protected org.flowable.app.api.AppRepositoryService appRepositoryService
-
repositoryService
@Autowired protected RepositoryService repositoryService
-
cmmnRepositoryService
@Autowired protected org.flowable.cmmn.api.CmmnRepositoryService cmmnRepositoryService
-
dmnRepositoryService
@Autowired protected org.flowable.dmn.api.DmnRepositoryService dmnRepositoryService
-
formRepositoryService
@Autowired protected org.flowable.form.api.FormRepositoryService formRepositoryService
-
objectMapper
@Autowired protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
taskAppDefinitionRepresentation
protected static final AppDefinitionRepresentation taskAppDefinitionRepresentation
-
adminAppDefinitionRepresentation
protected static final AppDefinitionRepresentation adminAppDefinitionRepresentation
-
idmAppDefinitionRepresentation
protected static final AppDefinitionRepresentation idmAppDefinitionRepresentation
-
modelerAppDefinitionRepresentation
protected static final AppDefinitionRepresentation modelerAppDefinitionRepresentation
-
-
Method Detail
-
getAppDefinitions
public ResultListDataRepresentation getAppDefinitions()
-
getTaskAppList
protected List<AppDefinitionRepresentation> getTaskAppList(SecurityScope currentUser)
-
getAppDefinition
public AppDefinitionRepresentation getAppDefinition(String appDefinitionKey)
-
migrateAppDefinitions
public String migrateAppDefinitions()
-
hasAppAccess
protected boolean hasAppAccess(AppDefinitionRepresentation appDefinition, String userId, Collection<String> groups)
-
createDefaultAppDefinition
protected AppDefinitionRepresentation createDefaultAppDefinition(String id)
-
createRepresentation
protected AppDefinitionRepresentation createRepresentation(org.flowable.app.api.repository.AppDefinition appDefinition, BaseAppModel baseAppModel)
-
-