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
commandExecutorFields inherited from class org.flowable.common.engine.impl.service.CommonServiceImpl
configuration -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionconvertServiceDefinitionModelToJson(String appDefinitionId) Returns theServiceDefinitionModelas a JSON string.Starts creating a new deploymentQuery deploymentsQuery service definitionsvoiddeleteDeployment(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 theServiceDefinitionincluding all service information like additional Properties (e.g.getServiceDefinitionByKey(String serviceDefinitionKey) Returns theServiceDefinitionincluding all service information like additional Properties (e.g.getServiceDefinitionByKeyAndTenantId(String serviceDefinitionKey, String tenantId) Returns theServiceDefinitionincluding all service information like additional Properties (e.g.getServiceDefinitionModel(String serviceDefinitionId) Returns theServiceDefinitionModelincluding all service model info.getServiceDefinitionModelByKey(String serviceDefinitionKey) Returns theServiceDefinitionModelincluding all service model info, using the service definition key and resolving the key to the latest version.getServiceDefinitionModelByKeyAndTenantId(String serviceDefinitionKey, String tenantId) Returns theServiceDefinitionModelincluding all service model info, using the service definition key and resolving the key to the latest version.getServiceDefinitionModelByReferenceKeyAndTenantId(String referenceKey, String tenantId) Returns theServiceDefinitionModelincluding 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, setCommandExecutorMethods inherited from class org.flowable.common.engine.impl.service.CommonServiceImpl
getConfiguration
-
Constructor Details
-
ServiceRegistryRepositoryServiceImpl
-
-
Method Details
-
createDeployment
Description copied from interface:ServiceRegistryRepositoryServiceStarts creating a new deployment- Specified by:
createDeploymentin interfaceServiceRegistryRepositoryService
-
getDeploymentResourceNames
Description copied from interface:ServiceRegistryRepositoryServiceRetrieves a list of deployment resources for the given deployment, ordered alphabetically.- Specified by:
getDeploymentResourceNamesin interfaceServiceRegistryRepositoryService- Parameters:
deploymentId- id of the deployment, cannot be null.
-
getResourceAsStream
Description copied from interface:ServiceRegistryRepositoryServiceGives access to a deployment resource through a stream of bytes.- Specified by:
getResourceAsStreamin interfaceServiceRegistryRepositoryService- Parameters:
deploymentId- id of the deployment, cannot be null.resourceName- name of the resource, cannot be null.
-
deploy
-
getServiceDefinition
Description copied from interface:ServiceRegistryRepositoryServiceReturns theServiceDefinitionincluding all service information like additional Properties (e.g. documentation).- Specified by:
getServiceDefinitionin interfaceServiceRegistryRepositoryService
-
getServiceDefinitionByKey
Description copied from interface:ServiceRegistryRepositoryServiceReturns theServiceDefinitionincluding all service information like additional Properties (e.g. documentation). The latest version for the given key will be returned.- Specified by:
getServiceDefinitionByKeyin interfaceServiceRegistryRepositoryService
-
getServiceDefinitionByKeyAndTenantId
public ServiceDefinition getServiceDefinitionByKeyAndTenantId(String serviceDefinitionKey, String tenantId) Description copied from interface:ServiceRegistryRepositoryServiceReturns theServiceDefinitionincluding all service information like additional Properties (e.g. documentation). The latest version for the given key will be returned.- Specified by:
getServiceDefinitionByKeyAndTenantIdin interfaceServiceRegistryRepositoryService
-
getServiceDefinitionModel
Description copied from interface:ServiceRegistryRepositoryServiceReturns theServiceDefinitionModelincluding all service model info.- Specified by:
getServiceDefinitionModelin interfaceServiceRegistryRepositoryService
-
getServiceDefinitionModelByKey
Description copied from interface:ServiceRegistryRepositoryServiceReturns theServiceDefinitionModelincluding all service model info, using the service definition key and resolving the key to the latest version.- Specified by:
getServiceDefinitionModelByKeyin interfaceServiceRegistryRepositoryService
-
getServiceDefinitionModelByKeyAndTenantId
public ServiceDefinitionModel getServiceDefinitionModelByKeyAndTenantId(String serviceDefinitionKey, String tenantId) Description copied from interface:ServiceRegistryRepositoryServiceReturns theServiceDefinitionModelincluding all service model info, using the service definition key and resolving the key to the latest version.- Specified by:
getServiceDefinitionModelByKeyAndTenantIdin interfaceServiceRegistryRepositoryService
-
getServiceDefinitionModelByReferenceKeyAndTenantId
public ServiceDefinitionModel getServiceDefinitionModelByReferenceKeyAndTenantId(String referenceKey, String tenantId) Description copied from interface:ServiceRegistryRepositoryServiceReturns theServiceDefinitionModelincluding all service model info, using the reference key and resolving the key to the latest version.- Specified by:
getServiceDefinitionModelByReferenceKeyAndTenantIdin interfaceServiceRegistryRepositoryService
-
convertServiceDefinitionModelToJson
Description copied from interface:ServiceRegistryRepositoryServiceReturns theServiceDefinitionModelas a JSON string.- Specified by:
convertServiceDefinitionModelToJsonin interfaceServiceRegistryRepositoryService
-
deleteDeployment
Description copied from interface:ServiceRegistryRepositoryServiceDeletes the given deployment.- Specified by:
deleteDeploymentin interfaceServiceRegistryRepositoryService- Parameters:
deploymentId- id of the deployment, cannot be null.
-
createDeploymentQuery
Description copied from interface:ServiceRegistryRepositoryServiceQuery deployments- Specified by:
createDeploymentQueryin interfaceServiceRegistryRepositoryService
-
createServiceDefinitionQuery
Description copied from interface:ServiceRegistryRepositoryServiceQuery service definitions- Specified by:
createServiceDefinitionQueryin interfaceServiceRegistryRepositoryService
-