Interface DataTableFavoriteConfigurationBuilder
- All Known Implementing Classes:
DataTableFavoriteConfigurationBuilderImpl
public interface DataTableFavoriteConfigurationBuilder
- Author:
- Filip Hrisafov
-
Method Summary
Modifier and TypeMethodDescriptionconfiguration
(com.fasterxml.jackson.databind.node.ObjectNode configuration) The configuration object.Whether the configuration should be marked as the default.The name of the configuration.The id of the user to which this configuration belongs to.save()
Save the configuration.The tenant if od the configurationWhether the configuration should be unmarked as the default.
-
Method Details
-
tenantId
The tenant if od the configuration- Parameters:
tenantId
- the tenant id
-
ownerUser
The id of the user to which this configuration belongs to.- Parameters:
userId
- the user id
-
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
Save the configuration. It would either create a new one (if none exists for the given user) or update an existing one.
-