Class ServiceRegistryRepositoryServiceImpl
java.lang.Object
org.flowable.common.engine.impl.service.CommonServiceImpl<C>
org.flowable.common.engine.impl.service.CommonEngineServiceImpl<ServiceRegistryEngineConfiguration>
com.flowable.serviceregistry.engine.ServiceRegistryRepositoryServiceImpl
- All Implemented Interfaces:
ServiceRegistryRepositoryService
public class ServiceRegistryRepositoryServiceImpl
extends CommonEngineServiceImpl<ServiceRegistryEngineConfiguration>
implements ServiceRegistryRepositoryService
-
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
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionconvertServiceDefinitionModelToJson
(String appDefinitionId) Returns theServiceDefinitionModel
as a JSON string.Starts creating a new deploymentQuery deploymentsQuery service definitionsvoid
deleteDeployment
(String deploymentId) Deletes the given deployment.deploy
(ServiceDeploymentBuilderImpl deploymentBuilder) getDeploymentResourceNames
(String deploymentId) Retrieves a list of deployment resources for the given deployment, ordered alphabetically.getResourceAsStream
(String deploymentId, String resourceName) Gives access to a deployment resource through a stream of bytes.getServiceDefinition
(String appDefinitionId) Returns theServiceDefinition
including all service information like additional Properties (e.g.getServiceDefinitionByKey
(String serviceDefinitionKey) Returns theServiceDefinition
including all service information like additional Properties (e.g.getServiceDefinitionByKeyAndTenantId
(String serviceDefinitionKey, String tenantId) Returns theServiceDefinition
including all service information like additional Properties (e.g.getServiceDefinitionModel
(String serviceDefinitionId) Returns theServiceDefinitionModel
including all service model info.getServiceDefinitionModelByKey
(String serviceDefinitionKey) Returns theServiceDefinitionModel
including all service model info, using the service definition key and resolving the key to the latest version.getServiceDefinitionModelByKeyAndTenantId
(String serviceDefinitionKey, String tenantId) Returns theServiceDefinitionModel
including all service model info, using the service definition key and resolving the key to the latest version.getServiceDefinitionModelByReferenceKeyAndTenantId
(String referenceKey, String tenantId) Returns theServiceDefinitionModel
including all service model info, using the reference key and resolving the key to the latest version.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 Details
-
ServiceRegistryRepositoryServiceImpl
-
-
Method Details
-
createDeployment
Description copied from interface:ServiceRegistryRepositoryService
Starts creating a new deployment- Specified by:
createDeployment
in interfaceServiceRegistryRepositoryService
-
getDeploymentResourceNames
Description copied from interface:ServiceRegistryRepositoryService
Retrieves a list of deployment resources for the given deployment, ordered alphabetically.- Specified by:
getDeploymentResourceNames
in interfaceServiceRegistryRepositoryService
- Parameters:
deploymentId
- id of the deployment, cannot be null.
-
getResourceAsStream
Description copied from interface:ServiceRegistryRepositoryService
Gives access to a deployment resource through a stream of bytes.- Specified by:
getResourceAsStream
in interfaceServiceRegistryRepositoryService
- Parameters:
deploymentId
- id of the deployment, cannot be null.resourceName
- name of the resource, cannot be null.
-
deploy
-
getServiceDefinition
Description copied from interface:ServiceRegistryRepositoryService
Returns theServiceDefinition
including all service information like additional Properties (e.g. documentation).- Specified by:
getServiceDefinition
in interfaceServiceRegistryRepositoryService
-
getServiceDefinitionByKey
Description copied from interface:ServiceRegistryRepositoryService
Returns theServiceDefinition
including all service information like additional Properties (e.g. documentation). The latest version for the given key will be returned.- Specified by:
getServiceDefinitionByKey
in interfaceServiceRegistryRepositoryService
-
getServiceDefinitionByKeyAndTenantId
public ServiceDefinition getServiceDefinitionByKeyAndTenantId(String serviceDefinitionKey, String tenantId) Description copied from interface:ServiceRegistryRepositoryService
Returns theServiceDefinition
including all service information like additional Properties (e.g. documentation). The latest version for the given key will be returned.- Specified by:
getServiceDefinitionByKeyAndTenantId
in interfaceServiceRegistryRepositoryService
-
getServiceDefinitionModel
Description copied from interface:ServiceRegistryRepositoryService
Returns theServiceDefinitionModel
including all service model info.- Specified by:
getServiceDefinitionModel
in interfaceServiceRegistryRepositoryService
-
getServiceDefinitionModelByKey
Description copied from interface:ServiceRegistryRepositoryService
Returns theServiceDefinitionModel
including all service model info, using the service definition key and resolving the key to the latest version.- Specified by:
getServiceDefinitionModelByKey
in interfaceServiceRegistryRepositoryService
-
getServiceDefinitionModelByKeyAndTenantId
public ServiceDefinitionModel getServiceDefinitionModelByKeyAndTenantId(String serviceDefinitionKey, String tenantId) Description copied from interface:ServiceRegistryRepositoryService
Returns theServiceDefinitionModel
including all service model info, using the service definition key and resolving the key to the latest version.- Specified by:
getServiceDefinitionModelByKeyAndTenantId
in interfaceServiceRegistryRepositoryService
-
getServiceDefinitionModelByReferenceKeyAndTenantId
public ServiceDefinitionModel getServiceDefinitionModelByReferenceKeyAndTenantId(String referenceKey, String tenantId) Description copied from interface:ServiceRegistryRepositoryService
Returns theServiceDefinitionModel
including all service model info, using the reference key and resolving the key to the latest version.- Specified by:
getServiceDefinitionModelByReferenceKeyAndTenantId
in interfaceServiceRegistryRepositoryService
-
convertServiceDefinitionModelToJson
Description copied from interface:ServiceRegistryRepositoryService
Returns theServiceDefinitionModel
as a JSON string.- Specified by:
convertServiceDefinitionModelToJson
in interfaceServiceRegistryRepositoryService
-
deleteDeployment
Description copied from interface:ServiceRegistryRepositoryService
Deletes the given deployment.- Specified by:
deleteDeployment
in interfaceServiceRegistryRepositoryService
- Parameters:
deploymentId
- id of the deployment, cannot be null.
-
createDeploymentQuery
Description copied from interface:ServiceRegistryRepositoryService
Query deployments- Specified by:
createDeploymentQuery
in interfaceServiceRegistryRepositoryService
-
createServiceDefinitionQuery
Description copied from interface:ServiceRegistryRepositoryService
Query service definitions- Specified by:
createServiceDefinitionQuery
in interfaceServiceRegistryRepositoryService
-