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 DataTableFavoriteConfigurationBuilderconfiguration(com.fasterxml.jackson.databind.node.ObjectNode configuration)The configuration object.DataTableFavoriteConfigurationBuildermarkAsDefault()Whether the configuration should be marked as the default.DataTableFavoriteConfigurationBuildername(java.lang.String name)The name of the configuration.DataTableFavoriteConfigurationBuilderownerUser(java.lang.String userId)The id of the user to which this configuration belongs to.DataTableFavoriteConfigurationsave()Save the configuration.DataTableFavoriteConfigurationBuildertenantId(java.lang.String tenantId)The tenant if od the configurationDataTableFavoriteConfigurationBuilderunmarkAsDefault()Whether the configuration should be unmarked as the default.
-
-
-
Method Detail
-
tenantId
DataTableFavoriteConfigurationBuilder tenantId(java.lang.String tenantId)
The tenant if od the configuration- Parameters:
tenantId- the tenant id
-
ownerUser
DataTableFavoriteConfigurationBuilder ownerUser(java.lang.String userId)
The id of the user to which this configuration belongs to.- Parameters:
userId- the user id
-
name
DataTableFavoriteConfigurationBuilder name(java.lang.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.
-
-