Class DataObjectDeletionBuilderImpl
java.lang.Object
com.flowable.dataobject.engine.impl.runtime.datasource.DataObjectDeletionBuilderImpl
- All Implemented Interfaces:
DataObjectDeletionBuilder
- Author:
- Filip Hrisafov
-
Field Summary
Modifier and TypeFieldDescriptionprotected Collection<String>
protected String
protected final CommandExecutor
protected String
protected String
protected String
protected String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaccessibleByUserOrGroups
(String userId, Collection<String> groupKeys) dataObjectInstanceId
(String dataObjectInstanceId) Set the id for data object instance.definitionId
(String id) Set the id of the data object definition the delete operation should be based on.definitionKey
(String key) Set the key of the data object definition the delete operation should be based on.void
Perform a delete operation using the given operation key.getData()
void
setDataObjectInstanceId
(String dataObjectInstanceId) void
setDefinitionId
(String definitionId) void
setDefinitionKey
(String definitionKey) void
setTenantId
(String tenantId) Set the tenant id for data object definition.Generic setter for a data object field value specified by its name and value to be set.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.flowable.dataobject.api.runtime.DataObjectDeletionBuilder
accessibleByUser
-
Field Details
-
commandExecutor
-
definitionId
-
definitionKey
-
tenantId
-
dataObjectInstanceId
-
data
-
accessibleByUser
-
accessibleByGroups
-
-
Constructor Details
-
DataObjectDeletionBuilderImpl
-
-
Method Details
-
definitionId
Description copied from interface:DataObjectDeletionBuilder
Set the id of the data object definition the delete operation should be based on. Must only be provided, if the data object definition key is not set.- Specified by:
definitionId
in interfaceDataObjectDeletionBuilder
-
definitionKey
Description copied from interface:DataObjectDeletionBuilder
Set the key of the data object definition the delete operation should be based on. If set, the latest definition id is used. The key is ignored, if the definition id is set directly.- Specified by:
definitionKey
in interfaceDataObjectDeletionBuilder
-
tenantId
Description copied from interface:DataObjectDeletionBuilder
Set the tenant id for data object definition. This can be used together with the definition key for the lookup- Specified by:
tenantId
in interfaceDataObjectDeletionBuilder
-
dataObjectInstanceId
Description copied from interface:DataObjectDeletionBuilder
Set the id for data object instance. This id will be used to delete the data object instance with the default delete method- Specified by:
dataObjectInstanceId
in interfaceDataObjectDeletionBuilder
-
value
Description copied from interface:DataObjectDeletionBuilder
Generic setter for a data object field value specified by its name and value to be set.- Specified by:
value
in interfaceDataObjectDeletionBuilder
- Parameters:
valueName
- the name of the data object field to set a valuevalue
- the value to be set- Returns:
- the builder instance for method chaining
-
accessibleByUserOrGroups
public DataObjectDeletionBuilder accessibleByUserOrGroups(String userId, Collection<String> groupKeys) - Specified by:
accessibleByUserOrGroups
in interfaceDataObjectDeletionBuilder
-
delete
Description copied from interface:DataObjectDeletionBuilder
Perform a delete operation using the given operation key.- Specified by:
delete
in interfaceDataObjectDeletionBuilder
-
getDefinitionId
-
setDefinitionId
-
getDefinitionKey
-
setDefinitionKey
-
getTenantId
-
setTenantId
-
getDataObjectInstanceId
-
setDataObjectInstanceId
-
getData
-
getAccessibleByUser
-
getAccessibleByGroups
-