Interface DataObjectDeletionBuilder
- All Known Implementing Classes:
DataObjectDeletionBuilderImpl
,GenericDataObjectDeletionBuilder
public interface DataObjectDeletionBuilder
The basic data object deletion builder which might be extended with a strongly typed support by the underlying
DataObjectDataSource
implementation.- Author:
- Filip Hrisafov
-
Method Summary
Modifier and TypeMethodDescriptiondefault DataObjectDeletionBuilder
accessibleByUser
(String userId) accessibleByUserOrGroups
(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.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.
-
Method Details
-
definitionId
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. -
definitionKey
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. -
tenantId
Set the tenant id for data object definition. This can be used together with the definition key for the lookup -
dataObjectInstanceId
Set the id for data object instance. This id will be used to delete the data object instance with the default delete method -
value
Generic setter for a data object field value specified by its name and value to be set.- 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
-
accessibleByUser
-
accessibleByUserOrGroups
-
delete
Perform a delete operation using the given operation key.
-