Package com.flowable.core.app.api
Interface CoreAppRepositoryService
- All Superinterfaces:
AppRepositoryService
- All Known Implementing Classes:
AppRepositoryServiceImpl
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteVariable
(String appKey, String variableName) Delete a variable for an app definition.void
deleteVariable
(String appKey, String tenantId, String variableName) Delete a variable for an app definition.void
deleteVariables
(String appKey, String tenantId, Collection<String> variableNames) Delete variables for an app definition.void
deleteVariables
(String appKey, Collection<String> variableNames) Delete variables for an app definition.getCoreAppDefinition
(String appDefinitionId) getCoreAppModel
(String appDefinitionId) getCorePageModel
(String appDefinitionKey, String tenantId, String pageDefinitionRef) getPageDefinitionsForApp
(String appDefinitionKey) getPageDefinitionsForApp
(String appDefinitionKey, String tenantId) getVariables
(String appKey) Get all variables for given app key.getVariables
(String appKey, String tenantId) Get all variables for given app key and tenant id.getVariableValue
(String appKey, String variableName) Get variable value for given app key and variable name.getVariableValue
(String appKey, String tenantId, String variableName) Get variable value for given app key and variable name.void
setVariable
(String appKey, String variableName, Object value) Update or create a variable for an app definition.void
setVariable
(String appKey, String tenantId, String variableName, Object value) Update or create a variable for an app definition.void
Update or create a variable for an app definition.void
setVariables
(String appKey, Map<String, Object> variables) Update or create a variable for an app definition.Methods inherited from interface org.flowable.app.api.AppRepositoryService
convertAppModelToJson, createAppDefinitionQuery, createDeployment, createDeploymentQuery, deleteDeployment, getAppDefinition, getAppModel, getDeploymentResourceNames, getResourceAsStream, setAppDefinitionCategory
-
Method Details
-
getCoreAppDefinition
-
getCoreAppModel
-
getPageDefinitionsForApp
-
getPageDefinitionsForApp
-
getCorePageModel
-
createCoreAppDefinitionQuery
CoreAppDefinitionQuery createCoreAppDefinitionQuery() -
createPageDefinitionQuery
PageDefinitionQuery createPageDefinitionQuery() -
createAppVariableQuery
AppVariableQuery createAppVariableQuery() -
getVariables
Get all variables for given app key.- Parameters:
appKey
- key of the application, cannot be null.- Returns:
- the variables or an empty map if no such variables are found.
-
getVariables
Get all variables for given app key and tenant id.- Parameters:
appKey
- key of the application, cannot be null.tenantId
- tenant id of the application, cannot be null.- Returns:
- the variables or an empty map if no such variables are found.
-
getVariableValue
Get variable value for given app key and variable name.- Parameters:
appKey
- key of the application, cannot be null.variableName
- the variable name- Returns:
- the variable value.
-
getVariableValue
Get variable value for given app key and variable name.- Parameters:
appKey
- key of the application, cannot be null.tenantId
- tenant id of the application, cannot be null.variableName
- the variable name- Returns:
- the variable value.
-
setVariable
Update or create a variable for an app definition.- Parameters:
appKey
- application definition key, cannot be null.variableName
- name of variable to set, cannot be null.value
- value to set. When null is passed, the variable is not removed, only it's value will be set to null.
-
setVariable
Update or create a variable for an app definition.- Parameters:
appKey
- application definition key, cannot be null.tenantId
- tenant id of the applicationvariableName
- name of variable to set, cannot be null.value
- value to set. When null is passed, the variable is not removed, only it's value will be set to null.
-
setVariables
Update or create a variable for an app definition.- Parameters:
appKey
- application definition key, cannot be null.variables
- variables to set, cannot be null or empty.
-
setVariables
Update or create a variable for an app definition.- Parameters:
appKey
- application definition key, cannot be null.tenantId
- tenant id of the applicationvariables
- variables to set, cannot be null or empty.
-
deleteVariable
Delete a variable for an app definition.- Parameters:
appKey
- application definition key, cannot be null.variableName
- name of variable to delete, cannot be null.
-
deleteVariable
Delete a variable for an app definition.- Parameters:
appKey
- application definition key, cannot be null.tenantId
- tenant id of the applicationvariableName
- name of variable to delete, cannot be null.
-
deleteVariables
Delete variables for an app definition.- Parameters:
appKey
- application definition key, cannot be null.variableNames
- the collection of names of the variables to delete.
-
deleteVariables
Delete variables for an app definition.- Parameters:
appKey
- application definition key, cannot be null.tenantId
- tenant id of the applicationvariableNames
- the collection of names of the variables to delete.
-