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 serviceDefinitionId) Returns theServiceDefinitionincluding all service information like additional Properties (e.g.getServiceDefinitionByKey(String serviceDefinitionKey) Returns theServiceDefinitionincluding all service information like additional Properties (e.g.getServiceDefinitionByKeyAndParentDeploymentId(String serviceDefinitionKey, String parentDeploymentId) Returns theServiceDefinitionincluding all service information like additional Properties (e.g.getServiceDefinitionByKeyAndParentDeploymentIdAndTenantId(String serviceDefinitionKey, String parentDeploymentId, String tenantId) 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.getServiceDefinitionModelByKeyAndParentDeploymentId(String serviceDefinitionKey, String parentDeploymentId) Returns theServiceDefinitionModelincluding all service model info, using the service definition key and resolving the key within the provided parent deployment.getServiceDefinitionModelByKeyAndParentDeploymentIdAndTenantId(String serviceDefinitionKey, String parentDeploymentId, String tenantId) Returns theServiceDefinitionModelincluding all service model info, using the service definition key and resolving the key within the provided parent deployment and tenant id.getServiceDefinitionModelByKeyAndTenantId(String serviceDefinitionKey, String tenantId) Returns theServiceDefinitionModelincluding all service model info, using the service definition key and resolving the key to the latest version.getServiceDefinitionModelByReferenceKeyAndParentDeploymentIdAndTenantId(String referenceKey, String parentDeploymentId, String tenantId) Returns theServiceDefinitionModelincluding all service model info, using the reference key and resolving the key to within the provided parent deployment.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
-
getServiceDefinitionByKeyAndParentDeploymentId
public ServiceDefinition getServiceDefinitionByKeyAndParentDeploymentId(String serviceDefinitionKey, String parentDeploymentId) Description copied from interface:ServiceRegistryRepositoryServiceReturns theServiceDefinitionincluding all service information like additional Properties (e.g. documentation). The version for the provided parent deployment id and the given key will be returned.- Specified by:
getServiceDefinitionByKeyAndParentDeploymentIdin interfaceServiceRegistryRepositoryService
-
getServiceDefinitionByKeyAndParentDeploymentIdAndTenantId
public ServiceDefinition getServiceDefinitionByKeyAndParentDeploymentIdAndTenantId(String serviceDefinitionKey, String parentDeploymentId, String tenantId) Description copied from interface:ServiceRegistryRepositoryServiceReturns theServiceDefinitionincluding all service information like additional Properties (e.g. documentation). The version for the provided parent deployment id, tenant id and the given key will be returned.- Specified by:
getServiceDefinitionByKeyAndParentDeploymentIdAndTenantIdin 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
-
getServiceDefinitionModelByKeyAndParentDeploymentId
public ServiceDefinitionModel getServiceDefinitionModelByKeyAndParentDeploymentId(String serviceDefinitionKey, String parentDeploymentId) Description copied from interface:ServiceRegistryRepositoryServiceReturns theServiceDefinitionModelincluding all service model info, using the service definition key and resolving the key within the provided parent deployment.- Specified by:
getServiceDefinitionModelByKeyAndParentDeploymentIdin interfaceServiceRegistryRepositoryService
-
getServiceDefinitionModelByKeyAndParentDeploymentIdAndTenantId
public ServiceDefinitionModel getServiceDefinitionModelByKeyAndParentDeploymentIdAndTenantId(String serviceDefinitionKey, String parentDeploymentId, String tenantId) Description copied from interface:ServiceRegistryRepositoryServiceReturns theServiceDefinitionModelincluding all service model info, using the service definition key and resolving the key within the provided parent deployment and tenant id.- Specified by:
getServiceDefinitionModelByKeyAndParentDeploymentIdAndTenantIdin 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
-
getServiceDefinitionModelByReferenceKeyAndParentDeploymentIdAndTenantId
public ServiceDefinitionModel getServiceDefinitionModelByReferenceKeyAndParentDeploymentIdAndTenantId(String referenceKey, String parentDeploymentId, String tenantId) Description copied from interface:ServiceRegistryRepositoryServiceReturns theServiceDefinitionModelincluding all service model info, using the reference key and resolving the key to within the provided parent deployment.- Specified by:
getServiceDefinitionModelByReferenceKeyAndParentDeploymentIdAndTenantIdin 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
-