Class MasterDataInstanceBuilderImpl
java.lang.Object
com.flowable.dataobject.engine.impl.runtime.MasterDataInstanceBuilderImpl
- All Implemented Interfaces:
MasterDataInstanceBuilder
-
Field Summary
-
Constructor Summary
ConstructorDescriptionMasterDataInstanceBuilderImpl
(DataObjectRuntimeServiceImpl dataObjectRuntimeService) -
Method Summary
Modifier and TypeMethodDescriptionaddVariableValue
(String name, Object value) add a variable with name and valuecreate()
creates the master data instanceSet the creator id of the master data instancedataObjectDefinitionId
(String dataObjectDefinitionId) Set the id of the master data object definitiondataObjectDefinitionKey
(String dataObjectDefinitionKey) Set the key of the master data object definition, latest version of the data object definition with the given key.description
(String description) Set the description of the master data instanceexternalId
(String externalId) Set the external id of the master data instancefavorite()
Set the favorite value to true for the master data instancegetKey()
getName()
int
getState()
boolean
Set the key of the master data instanceSet the name of the master data instanceoverrideDataObjectDefinitionId
(String tenantId) Indicator to override the tenant id of the data object definition with the provided value.sortOrder
(int sortOrder) Set the sort order of the master data instanceSet the state of the master data instanceSet the tenant id to resolve the data object definitionSet the updater id of the master data instance
-
Field Details
-
dataObjectRuntimeService
-
dataObjectDefinitionId
-
dataObjectDefinitionKey
-
key
-
externalId
-
name
-
description
-
state
-
sortOrder
protected int sortOrder -
favorite
protected boolean favorite -
creatorId
-
updaterId
-
tenantId
-
overrideDefinitionTenantId
-
variables
-
-
Constructor Details
-
MasterDataInstanceBuilderImpl
-
-
Method Details
-
dataObjectDefinitionId
Description copied from interface:MasterDataInstanceBuilder
Set the id of the master data object definition- Specified by:
dataObjectDefinitionId
in interfaceMasterDataInstanceBuilder
-
dataObjectDefinitionKey
Description copied from interface:MasterDataInstanceBuilder
Set the key of the master data object definition, latest version of the data object definition with the given key. If dataObjectDefinitionId was set this will be ignored- Specified by:
dataObjectDefinitionKey
in interfaceMasterDataInstanceBuilder
-
name
Description copied from interface:MasterDataInstanceBuilder
Set the name of the master data instance- Specified by:
name
in interfaceMasterDataInstanceBuilder
-
description
Description copied from interface:MasterDataInstanceBuilder
Set the description of the master data instance- Specified by:
description
in interfaceMasterDataInstanceBuilder
-
externalId
Description copied from interface:MasterDataInstanceBuilder
Set the external id of the master data instance- Specified by:
externalId
in interfaceMasterDataInstanceBuilder
-
key
Description copied from interface:MasterDataInstanceBuilder
Set the key of the master data instance- Specified by:
key
in interfaceMasterDataInstanceBuilder
-
state
Description copied from interface:MasterDataInstanceBuilder
Set the state of the master data instance- Specified by:
state
in interfaceMasterDataInstanceBuilder
-
sortOrder
Description copied from interface:MasterDataInstanceBuilder
Set the sort order of the master data instance- Specified by:
sortOrder
in interfaceMasterDataInstanceBuilder
-
favorite
Description copied from interface:MasterDataInstanceBuilder
Set the favorite value to true for the master data instance- Specified by:
favorite
in interfaceMasterDataInstanceBuilder
-
creatorId
Description copied from interface:MasterDataInstanceBuilder
Set the creator id of the master data instance- Specified by:
creatorId
in interfaceMasterDataInstanceBuilder
-
updaterId
Description copied from interface:MasterDataInstanceBuilder
Set the updater id of the master data instance- Specified by:
updaterId
in interfaceMasterDataInstanceBuilder
-
tenantId
Description copied from interface:MasterDataInstanceBuilder
Set the tenant id to resolve the data object definition- Specified by:
tenantId
in interfaceMasterDataInstanceBuilder
-
overrideDataObjectDefinitionId
Description copied from interface:MasterDataInstanceBuilder
Indicator to override the tenant id of the data object definition with the provided value. The tenantId to lookup the data object definition should still be provided if needed.- Specified by:
overrideDataObjectDefinitionId
in interfaceMasterDataInstanceBuilder
-
addVariableValue
Description copied from interface:MasterDataInstanceBuilder
add a variable with name and value- Specified by:
addVariableValue
in interfaceMasterDataInstanceBuilder
-
create
Description copied from interface:MasterDataInstanceBuilder
creates the master data instance- Specified by:
create
in interfaceMasterDataInstanceBuilder
-
getDataObjectDefinitionId
-
getDataObjectDefinitionKey
-
getKey
-
getExternalId
-
getName
-
getState
-
getSortOrder
public int getSortOrder() -
isFavorite
public boolean isFavorite() -
getCreatorId
-
getUpdaterId
-
getTenantId
-
getOverrideDefinitionTenantId
-
getDescription
-
getVariables
-