Class DataTableFavoriteConfigurationBuilderImpl
java.lang.Object
com.flowable.platform.engine.impl.configuration.datatable.DataTableFavoriteConfigurationBuilderImpl
- All Implemented Interfaces:
DataTableFavoriteConfigurationBuilder
,org.flowable.common.engine.impl.interceptor.Command<DataTableFavoriteConfiguration>
public class DataTableFavoriteConfigurationBuilderImpl
extends Object
implements DataTableFavoriteConfigurationBuilder, org.flowable.common.engine.impl.interceptor.Command<DataTableFavoriteConfiguration>
- Author:
- Filip Hrisafov
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.flowable.common.engine.impl.interceptor.CommandExecutor
protected com.fasterxml.jackson.databind.node.ObjectNode
protected final String
protected final String
protected final boolean
protected boolean
protected String
protected String
protected String
protected boolean
-
Constructor Summary
ConstructorsConstructorDescriptionDataTableFavoriteConfigurationBuilderImpl
(org.flowable.common.engine.impl.interceptor.CommandExecutor commandExecutor, String favoriteKey, String configurationId) -
Method Summary
Modifier and TypeMethodDescriptionconfiguration
(com.fasterxml.jackson.databind.node.ObjectNode configuration) The configuration object.protected ConfigurationProperty
createConfiguration
(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) execute
(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) 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.protected ConfigurationPropertyEntity
updateConfiguration
(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
-
Field Details
-
commandExecutor
protected final org.flowable.common.engine.impl.interceptor.CommandExecutor commandExecutor -
favoriteKey
-
configurationId
-
forUpdate
protected final boolean forUpdate -
name
-
tenantId
-
ownerUser
-
configuration
protected com.fasterxml.jackson.databind.node.ObjectNode configuration -
markAsDefault
protected boolean markAsDefault -
unmarkAsDefault
protected boolean unmarkAsDefault
-
-
Constructor Details
-
DataTableFavoriteConfigurationBuilderImpl
-
-
Method Details
-
tenantId
Description copied from interface:DataTableFavoriteConfigurationBuilder
The tenant if od the configuration- Specified by:
tenantId
in interfaceDataTableFavoriteConfigurationBuilder
- Parameters:
tenantId
- the tenant id
-
ownerUser
Description copied from interface:DataTableFavoriteConfigurationBuilder
The id of the user to which this configuration belongs to.- Specified by:
ownerUser
in interfaceDataTableFavoriteConfigurationBuilder
- Parameters:
userId
- the user id
-
name
Description copied from interface:DataTableFavoriteConfigurationBuilder
The name of the configuration.- Specified by:
name
in interfaceDataTableFavoriteConfigurationBuilder
- Parameters:
name
- the name
-
configuration
public DataTableFavoriteConfigurationBuilder configuration(com.fasterxml.jackson.databind.node.ObjectNode configuration) Description copied from interface:DataTableFavoriteConfigurationBuilder
The configuration object.- Specified by:
configuration
in interfaceDataTableFavoriteConfigurationBuilder
- Parameters:
configuration
- the configuration
-
markAsDefault
Description copied from interface:DataTableFavoriteConfigurationBuilder
Whether the configuration should be marked as the default.- Specified by:
markAsDefault
in interfaceDataTableFavoriteConfigurationBuilder
-
unmarkAsDefault
Description copied from interface:DataTableFavoriteConfigurationBuilder
Whether the configuration should be unmarked as the default.- Specified by:
unmarkAsDefault
in interfaceDataTableFavoriteConfigurationBuilder
-
save
Description copied from interface:DataTableFavoriteConfigurationBuilder
Save the configuration. It would either create a new one (if none exists for the given user) or update an existing one.- Specified by:
save
in interfaceDataTableFavoriteConfigurationBuilder
-
execute
public DataTableFavoriteConfiguration execute(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) - Specified by:
execute
in interfaceorg.flowable.common.engine.impl.interceptor.Command<DataTableFavoriteConfiguration>
-
updateConfiguration
protected ConfigurationPropertyEntity updateConfiguration(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) -
createConfiguration
protected ConfigurationProperty createConfiguration(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
-