Package com.flowable.app.engine.impl
Class AppRepositoryServiceImpl
- java.lang.Object
-
- org.flowable.common.engine.impl.service.CommonServiceImpl<C>
-
- org.flowable.common.engine.impl.service.CommonEngineServiceImpl<AppEngineConfiguration>
-
- com.flowable.app.engine.impl.AppRepositoryServiceImpl
-
- All Implemented Interfaces:
CoreAppRepositoryService
,AppRepositoryService
public class AppRepositoryServiceImpl extends CommonEngineServiceImpl<AppEngineConfiguration> implements CoreAppRepositoryService
- Author:
- Joram Barrez, Tijs Rademakers
-
-
Field Summary
-
Fields inherited from class org.flowable.common.engine.impl.service.CommonEngineServiceImpl
commandExecutor
-
Fields inherited from class org.flowable.common.engine.impl.service.CommonServiceImpl
configuration
-
-
Constructor Summary
Constructors Constructor Description AppRepositoryServiceImpl(AppEngineConfiguration engineConfiguration)
-
Method Summary
-
Methods inherited from class org.flowable.common.engine.impl.service.CommonEngineServiceImpl
getCommandExecutor, setCommandExecutor
-
Methods inherited from class org.flowable.common.engine.impl.service.CommonServiceImpl
getConfiguration
-
-
-
-
Constructor Detail
-
AppRepositoryServiceImpl
public AppRepositoryServiceImpl(AppEngineConfiguration engineConfiguration)
-
-
Method Detail
-
createDeployment
public AppDeploymentBuilder createDeployment()
- Specified by:
createDeployment
in interfaceAppRepositoryService
-
getDeploymentResourceNames
public List<String> getDeploymentResourceNames(String deploymentId)
- Specified by:
getDeploymentResourceNames
in interfaceAppRepositoryService
-
getResourceAsStream
public InputStream getResourceAsStream(String deploymentId, String resourceName)
- Specified by:
getResourceAsStream
in interfaceAppRepositoryService
-
deploy
public AppDeployment deploy(AppDeploymentBuilderImpl deploymentBuilder)
-
getAppDefinition
public AppDefinition getAppDefinition(String appDefinitionId)
- Specified by:
getAppDefinition
in interfaceAppRepositoryService
-
getCoreAppDefinition
public CoreAppDefinition getCoreAppDefinition(String appDefinitionId)
- Specified by:
getCoreAppDefinition
in interfaceCoreAppRepositoryService
-
getAppModel
public AppModel getAppModel(String appDefinitionId)
- Specified by:
getAppModel
in interfaceAppRepositoryService
-
getCoreAppModel
public CoreAppModel getCoreAppModel(String appDefinitionId)
- Specified by:
getCoreAppModel
in interfaceCoreAppRepositoryService
-
getPageDefinitionsForApp
public List<PageDefinition> getPageDefinitionsForApp(String appDefinitionKey)
- Specified by:
getPageDefinitionsForApp
in interfaceCoreAppRepositoryService
-
getPageDefinitionsForApp
public List<PageDefinition> getPageDefinitionsForApp(String appDefinitionKey, String tenantId)
- Specified by:
getPageDefinitionsForApp
in interfaceCoreAppRepositoryService
-
getCorePageModel
public CorePageModel getCorePageModel(String appDefinitionKey, String tenantId, String pageDefinitionRef)
- Specified by:
getCorePageModel
in interfaceCoreAppRepositoryService
-
convertAppModelToJson
public String convertAppModelToJson(String appDefinitionId)
- Specified by:
convertAppModelToJson
in interfaceAppRepositoryService
-
deleteDeployment
public void deleteDeployment(String deploymentId, boolean cascade)
- Specified by:
deleteDeployment
in interfaceAppRepositoryService
-
createDeploymentQuery
public AppDeploymentQuery createDeploymentQuery()
- Specified by:
createDeploymentQuery
in interfaceAppRepositoryService
-
createAppDefinitionQuery
public AppDefinitionQuery createAppDefinitionQuery()
- Specified by:
createAppDefinitionQuery
in interfaceAppRepositoryService
-
createCoreAppDefinitionQuery
public CoreAppDefinitionQuery createCoreAppDefinitionQuery()
- Specified by:
createCoreAppDefinitionQuery
in interfaceCoreAppRepositoryService
-
createPageDefinitionQuery
public PageDefinitionQuery createPageDefinitionQuery()
- Specified by:
createPageDefinitionQuery
in interfaceCoreAppRepositoryService
-
setAppDefinitionCategory
public void setAppDefinitionCategory(String appDefinitionId, String category)
- Specified by:
setAppDefinitionCategory
in interfaceAppRepositoryService
-
-