Interface DataTableFavoriteConfigurationBuilder
-
- All Known Implementing Classes:
DataTableFavoriteConfigurationBuilderImpl
public interface DataTableFavoriteConfigurationBuilder
- Author:
- Filip Hrisafov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DataTableFavoriteConfigurationBuilder
configuration(com.fasterxml.jackson.databind.node.ObjectNode configuration)
The configuration object.DataTableFavoriteConfigurationBuilder
markAsDefault()
Whether the configuration should be marked as the default.DataTableFavoriteConfigurationBuilder
name(String name)
The name of the configuration.DataTableFavoriteConfigurationBuilder
ownerUser(String userId)
The id of the user to which this configuration belongs to.DataTableFavoriteConfiguration
save()
Save the configuration.DataTableFavoriteConfigurationBuilder
tenantId(String tenantId)
The tenant if od the configurationDataTableFavoriteConfigurationBuilder
unmarkAsDefault()
Whether the configuration should be unmarked as the default.
-
-
-
Method Detail
-
tenantId
DataTableFavoriteConfigurationBuilder tenantId(String tenantId)
The tenant if od the configuration- Parameters:
tenantId
- the tenant id
-
ownerUser
DataTableFavoriteConfigurationBuilder ownerUser(String userId)
The id of the user to which this configuration belongs to.- Parameters:
userId
- the user id
-
name
DataTableFavoriteConfigurationBuilder name(String name)
The name of the configuration.- Parameters:
name
- the name
-
configuration
DataTableFavoriteConfigurationBuilder configuration(com.fasterxml.jackson.databind.node.ObjectNode configuration)
The configuration object.- Parameters:
configuration
- the configuration
-
markAsDefault
DataTableFavoriteConfigurationBuilder markAsDefault()
Whether the configuration should be marked as the default.
-
unmarkAsDefault
DataTableFavoriteConfigurationBuilder unmarkAsDefault()
Whether the configuration should be unmarked as the default.
-
save
DataTableFavoriteConfiguration save()
Save the configuration. It would either create a new one (if none exists for the given user) or update an existing one.
-
-