org.camunda.bpm.engine.repository
Interface DeleteProcessDefinitionsTenantBuilder

All Superinterfaces:
DeleteProcessDefinitionsBuilder
All Known Implementing Classes:
DeleteProcessDefinitionsBuilderImpl

public interface DeleteProcessDefinitionsTenantBuilder
extends DeleteProcessDefinitionsBuilder

Fluent builder to delete process definitions by a process definition key or process definition ids.

Author:
Tassilo Weidner

Method Summary
 DeleteProcessDefinitionsBuilder withoutTenantId()
          Process definitions which belong to no tenant will be removed.
 DeleteProcessDefinitionsBuilder withTenantId(String tenantId)
          Process definitions which belong to the given tenant id will be removed.
 
Methods inherited from interface org.camunda.bpm.engine.repository.DeleteProcessDefinitionsBuilder
cascade, delete, skipCustomListeners
 

Method Detail

withoutTenantId

DeleteProcessDefinitionsBuilder withoutTenantId()
Process definitions which belong to no tenant will be removed.

Returns:
the builder

withTenantId

DeleteProcessDefinitionsBuilder withTenantId(String tenantId)
Process definitions which belong to the given tenant id will be removed.

Parameters:
tenantId - id which identifies the tenant
Returns:
the builder


Copyright © 2017 camunda services GmbH. All rights reserved.