Interface PlatformRepositoryService
- All Known Implementing Classes:
PlatformRepositoryServiceImpl
public interface PlatformRepositoryService
-
Method Summary
Modifier and TypeMethodDescriptionconvertDashboardComponentDefinitionModelToJson
(String definitionId) Returns theDashboardComponentDefinitionModel
as a JSON string.convertDataDictionaryModelToJson
(String definitionId) Returns theDataDictionaryModel
as a JSON string.convertQueryDefinitionModelToJson
(String queryDefinitionId) Returns theQueryDefinitionModel
as a JSON string.convertSequenceDefinitionModelToJson
(String definitionId) Returns theSequenceDefinitionModel
as a JSON string.convertSlaDefinitionModelToJson
(String definitionId) Returns theSlaDefinitionModel
as a JSON string.convertVariableExtractorDefinitionModelToJson
(String variableExtractorDefinitionId) Returns theVariableExtractorDefinitionModel
as a JSON string.Dashboard componentsData dictionary definitionsStarts creating a new deploymentPlatform deploymentsQuery definitionsSequence definitionsSLA definitionsVariable extractor definitionsQuery work definitions, e.g.void
deleteDeployment
(String deploymentId) Deletes the given deployment.getDashboardComponentDefinition
(String definitionId) Returns theDashboardComponentDefinition
getDashboardComponentDefinitionByKey
(String definitionKey) Returns theDashboardComponentDefinition
.getDashboardComponentDefinitionByKeyAndTenantId
(String definitionKey, String tenantId) Returns theDashboardComponentDefinition
.getDashboardComponentDefinitionModel
(String definitionId) Returns theDashboardComponentDefinitionModel
including all dashboardComponent model info.getDashboardComponentDefinitionModelByKey
(String definitionKey) Returns theDashboardComponentDefinitionModel
including all dashboardComponent model info, using the dashboardComponent definition key and resolving the key to the latest version.getDashboardComponentDefinitionModelByKeyAndTenantId
(String definitionKey, String tenantId) Returns theDashboardComponentDefinitionModel
including all dashboardComponent model info, using the dashboardComponent definition key and resolving the key to the latest version.getDataDictionaryDefinition
(String definitionId) Returns theDataDictionaryDefinition
getDataDictionaryDefinitionByKey
(String definitionKey) Returns theDataDictionaryDefinition
.getDataDictionaryDefinitionByKeyAndTenantId
(String definitionKey, String tenantId) Returns theDataDictionaryDefinition
.getDataDictionaryModel
(String definitionId) Returns theDataDictionaryModel
.getDataDictionaryModelByKey
(String definitionKey) Returns theDataDictionaryModel
using the definition key and resolving the key to the latest version.getDataDictionaryModelByKeyAndTenantId
(String definitionKey, String tenantId) Returns theDataDictionaryModel
using the definition key and resolving the key to the latest version within the given tenant.getDataDictionaryType
(String definitionKey, String typeName, String parentDeploymentId, String tenantId) getDeploymentResourceNames
(String deploymentId) Retrieves a list of deployment resources for the given deployment, ordered alphabetically.getQueryDefinition
(String queryDefinitionId) Returns theQueryDefinition
getQueryDefinitionByKey
(String queryDefinitionKey) Returns theQueryDefinition
The latest version for the given key will be returned.getQueryDefinitionByKeyAndTenantId
(String queryDefinitionKey, String tenantId) Returns theQueryDefinition
.getQueryDefinitionModel
(String queryDefinitionId) Returns theQueryDefinitionModel
including all query model info.getQueryDefinitionModelByKey
(String QueryDefinitionKey) Returns theQueryDefinitionModel
including all query model info, using the query definition key and resolving the key to the latest version.getQueryDefinitionModelByKeyAndTenantId
(String QueryDefinitionKey, String tenantId) Returns theQueryDefinitionModel
including all query model info, using the query definition key and resolving the key to the latest version.getResourceAsStream
(String deploymentId, String resourceName) Gives access to a deployment resource through a stream of bytes.getSequenceDefinition
(String definitionId) Returns theSequenceDefinition
getSequenceDefinitionByKey
(String definitionKey) Returns theSequenceDefinition
.getSequenceDefinitionByKeyAndTenantId
(String definitionKey, String tenantId) Returns theSequenceDefinition
.getSequenceDefinitionModel
(String definitionId) Returns theSequenceDefinitionModel
including all sequence model info.getSequenceDefinitionModelByKey
(String definitionKey) Returns theSequenceDefinitionModel
including all sequence model info, using the sequence definition key and resolving the key to the latest version.getSequenceDefinitionModelByKeyAndTenantId
(String definitionKey, String tenantId) Returns theSequenceDefinitionModel
including all sequence model info, using the sequence definition key and resolving the key to the latest version.getSlaDefinition
(String definitionId) Returns theSlaDefinition
getSlaDefinitionByKey
(String definitionKey) Returns theSlaDefinition
.getSlaDefinitionByKeyAndTenantId
(String definitionKey, String tenantId) Returns theSequenceDefinition
.getSlaDefinitionModel
(String definitionId) Returns theSlaDefinitionModel
including all SLA model info.getSlaDefinitionModelByKey
(String definitionKey) Returns theSlaDefinitionModel
including all SLA model info, using the SLA definition key and resolving the key to the latest version.getSlaDefinitionModelByKeyAndTenantId
(String definitionKey, String tenantId) Returns theSlaDefinitionModel
including all SLA model info, using the SLA definition key and resolving the key to the latest version.getVariableExtractorDefinition
(String variableExtractorDefinitionId) Returns theVariableExtractorDefinition
getVariableExtractorDefinitionByKey
(String variableExtractorDefinitionKey) Returns theVariableExtractorDefinition
The latest version for the given key will be returned.getVariableExtractorDefinitionByKeyAndTenantId
(String variableExtractorDefinitionKey, String tenantId) Returns theVariableExtractorDefinition
.getVariableExtractorDefinitionModel
(String variableExtractorDefinitionId) Returns theVariableExtractorDefinitionModel
including all variable extractor model info.getVariableExtractorDefinitionModelByKey
(String VariableExtractorDefinitionKey) Returns theVariableExtractorDefinitionModel
including all variable extractor model info, using the variable extractor definition key and resolving the key to the latest version.getVariableExtractorDefinitionModelByKeyAndTenantId
(String VariableExtractorDefinitionKey, String tenantId) Returns theVariableExtractorDefinitionModel
including all variable extractor model info, using the variable extractor definition key and resolving the key to the latest version.
-
Method Details
-
createDeployment
PlatformDeploymentBuilder createDeployment()Starts creating a new deployment -
getDeploymentResourceNames
Retrieves a list of deployment resources for the given deployment, ordered alphabetically.- Parameters:
deploymentId
- id of the deployment, cannot be null.
-
getResourceAsStream
Gives access to a deployment resource through a stream of bytes.- Parameters:
deploymentId
- id of the deployment, cannot be null.resourceName
- name of the resource, cannot be null.- Throws:
FlowableObjectNotFoundException
- when the resource doesn't exist in the given deployment or when no deployment exists for the given deploymentId.
-
getQueryDefinitionModel
Returns theQueryDefinitionModel
including all query model info. -
getVariableExtractorDefinitionModel
VariableExtractorDefinitionModel getVariableExtractorDefinitionModel(String variableExtractorDefinitionId) Returns theVariableExtractorDefinitionModel
including all variable extractor model info. -
getQueryDefinitionModelByKey
Returns theQueryDefinitionModel
including all query model info, using the query definition key and resolving the key to the latest version. -
getVariableExtractorDefinitionModelByKey
VariableExtractorDefinitionModel getVariableExtractorDefinitionModelByKey(String VariableExtractorDefinitionKey) Returns theVariableExtractorDefinitionModel
including all variable extractor model info, using the variable extractor definition key and resolving the key to the latest version. -
getQueryDefinitionModelByKeyAndTenantId
QueryDefinitionModel getQueryDefinitionModelByKeyAndTenantId(String QueryDefinitionKey, String tenantId) Returns theQueryDefinitionModel
including all query model info, using the query definition key and resolving the key to the latest version. -
getVariableExtractorDefinitionModelByKeyAndTenantId
VariableExtractorDefinitionModel getVariableExtractorDefinitionModelByKeyAndTenantId(String VariableExtractorDefinitionKey, String tenantId) Returns theVariableExtractorDefinitionModel
including all variable extractor model info, using the variable extractor definition key and resolving the key to the latest version. -
convertQueryDefinitionModelToJson
Returns theQueryDefinitionModel
as a JSON string. -
convertVariableExtractorDefinitionModelToJson
Returns theVariableExtractorDefinitionModel
as a JSON string. -
getQueryDefinition
Returns theQueryDefinition
-
getVariableExtractorDefinition
Returns theVariableExtractorDefinition
-
getQueryDefinitionByKey
Returns theQueryDefinition
The latest version for the given key will be returned. -
getVariableExtractorDefinitionByKey
VariableExtractorDefinition getVariableExtractorDefinitionByKey(String variableExtractorDefinitionKey) Returns theVariableExtractorDefinition
The latest version for the given key will be returned. -
getQueryDefinitionByKeyAndTenantId
Returns theQueryDefinition
. The latest version for the given key will be returned. -
getVariableExtractorDefinitionByKeyAndTenantId
VariableExtractorDefinition getVariableExtractorDefinitionByKeyAndTenantId(String variableExtractorDefinitionKey, String tenantId) Returns theVariableExtractorDefinition
. The latest version for the given key will be returned. -
getSequenceDefinition
Returns theSequenceDefinition
-
getSequenceDefinitionByKey
Returns theSequenceDefinition
. The latest version for the given key will be returned. -
getSequenceDefinitionByKeyAndTenantId
Returns theSequenceDefinition
. The latest version for the given key will be returned. -
getSequenceDefinitionModel
Returns theSequenceDefinitionModel
including all sequence model info. -
getSequenceDefinitionModelByKey
Returns theSequenceDefinitionModel
including all sequence model info, using the sequence definition key and resolving the key to the latest version. -
getSequenceDefinitionModelByKeyAndTenantId
SequenceDefinitionModel getSequenceDefinitionModelByKeyAndTenantId(String definitionKey, String tenantId) Returns theSequenceDefinitionModel
including all sequence model info, using the sequence definition key and resolving the key to the latest version. -
convertSequenceDefinitionModelToJson
Returns theSequenceDefinitionModel
as a JSON string. -
getSlaDefinition
Returns theSlaDefinition
-
getSlaDefinitionByKey
Returns theSlaDefinition
. The latest version for the given key will be returned. -
getSlaDefinitionByKeyAndTenantId
Returns theSequenceDefinition
. The latest version for the given key will be returned. -
getSlaDefinitionModel
Returns theSlaDefinitionModel
including all SLA model info. -
getSlaDefinitionModelByKey
Returns theSlaDefinitionModel
including all SLA model info, using the SLA definition key and resolving the key to the latest version. -
getSlaDefinitionModelByKeyAndTenantId
Returns theSlaDefinitionModel
including all SLA model info, using the SLA definition key and resolving the key to the latest version. -
convertSlaDefinitionModelToJson
Returns theSlaDefinitionModel
as a JSON string. -
getDashboardComponentDefinitionModel
Returns theDashboardComponentDefinitionModel
including all dashboardComponent model info. -
getDashboardComponentDefinitionModelByKey
Returns theDashboardComponentDefinitionModel
including all dashboardComponent model info, using the dashboardComponent definition key and resolving the key to the latest version. -
getDashboardComponentDefinitionModelByKeyAndTenantId
DashboardComponentDefinitionModel getDashboardComponentDefinitionModelByKeyAndTenantId(String definitionKey, String tenantId) Returns theDashboardComponentDefinitionModel
including all dashboardComponent model info, using the dashboardComponent definition key and resolving the key to the latest version. -
convertDashboardComponentDefinitionModelToJson
Returns theDashboardComponentDefinitionModel
as a JSON string. -
getDashboardComponentDefinition
Returns theDashboardComponentDefinition
-
getDashboardComponentDefinitionByKey
Returns theDashboardComponentDefinition
. The latest version for the given key will be returned. -
getDashboardComponentDefinitionByKeyAndTenantId
DashboardComponentDefinition getDashboardComponentDefinitionByKeyAndTenantId(String definitionKey, String tenantId) Returns theDashboardComponentDefinition
. The latest version for the given key will be returned. -
getDataDictionaryModel
Returns theDataDictionaryModel
. -
getDataDictionaryModelByKey
Returns theDataDictionaryModel
using the definition key and resolving the key to the latest version. -
getDataDictionaryModelByKeyAndTenantId
Returns theDataDictionaryModel
using the definition key and resolving the key to the latest version within the given tenant. -
convertDataDictionaryModelToJson
Returns theDataDictionaryModel
as a JSON string. -
getDataDictionaryDefinition
Returns theDataDictionaryDefinition
-
getDataDictionaryDefinitionByKey
Returns theDataDictionaryDefinition
. The latest version for the given key will be returned. -
getDataDictionaryDefinitionByKeyAndTenantId
DataDictionaryDefinition getDataDictionaryDefinitionByKeyAndTenantId(String definitionKey, String tenantId) Returns theDataDictionaryDefinition
. The latest version for the given key and tenant will be returned. -
getDataDictionaryType
DictionaryType getDataDictionaryType(String definitionKey, String typeName, String parentDeploymentId, String tenantId) -
deleteDeployment
Deletes the given deployment.- Parameters:
deploymentId
- id of the deployment, cannot be null.
-
createDeploymentQuery
PlatformDeploymentQuery createDeploymentQuery()Platform deployments -
createQueryDefinitionQuery
QueryDefinitionQuery createQueryDefinitionQuery()Query definitions -
createVariableExtractorDefinitionQuery
VariableExtractorDefinitionQuery createVariableExtractorDefinitionQuery()Variable extractor definitions -
createSequenceDefinitionQuery
SequenceDefinitionQuery createSequenceDefinitionQuery()Sequence definitions -
createSlaDefinitionQuery
SlaDefinitionQuery createSlaDefinitionQuery()SLA definitions -
createDashboardComponentDefinitionQuery
DashboardComponentDefinitionQuery createDashboardComponentDefinitionQuery()Dashboard components -
createDataDictionaryDefinitionQuery
DataDictionaryDefinitionQuery createDataDictionaryDefinitionQuery()Data dictionary definitions -
createWorkDefinitionQuery
WorkDefinitionQuery createWorkDefinitionQuery()Query work definitions, e.g. processes / cases
-