Class MasterDataInstanceBuilderImpl
java.lang.Object
com.flowable.dataobject.engine.impl.runtime.MasterDataInstanceBuilderImpl
- All Implemented Interfaces:
MasterDataInstanceBuilder
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMasterDataInstanceBuilderImpl(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()intgetState()booleanSet 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:MasterDataInstanceBuilderSet the id of the master data object definition- Specified by:
dataObjectDefinitionIdin interfaceMasterDataInstanceBuilder
-
dataObjectDefinitionKey
Description copied from interface:MasterDataInstanceBuilderSet 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:
dataObjectDefinitionKeyin interfaceMasterDataInstanceBuilder
-
name
Description copied from interface:MasterDataInstanceBuilderSet the name of the master data instance- Specified by:
namein interfaceMasterDataInstanceBuilder
-
description
Description copied from interface:MasterDataInstanceBuilderSet the description of the master data instance- Specified by:
descriptionin interfaceMasterDataInstanceBuilder
-
externalId
Description copied from interface:MasterDataInstanceBuilderSet the external id of the master data instance- Specified by:
externalIdin interfaceMasterDataInstanceBuilder
-
key
Description copied from interface:MasterDataInstanceBuilderSet the key of the master data instance- Specified by:
keyin interfaceMasterDataInstanceBuilder
-
state
Description copied from interface:MasterDataInstanceBuilderSet the state of the master data instance- Specified by:
statein interfaceMasterDataInstanceBuilder
-
sortOrder
Description copied from interface:MasterDataInstanceBuilderSet the sort order of the master data instance- Specified by:
sortOrderin interfaceMasterDataInstanceBuilder
-
favorite
Description copied from interface:MasterDataInstanceBuilderSet the favorite value to true for the master data instance- Specified by:
favoritein interfaceMasterDataInstanceBuilder
-
creatorId
Description copied from interface:MasterDataInstanceBuilderSet the creator id of the master data instance- Specified by:
creatorIdin interfaceMasterDataInstanceBuilder
-
updaterId
Description copied from interface:MasterDataInstanceBuilderSet the updater id of the master data instance- Specified by:
updaterIdin interfaceMasterDataInstanceBuilder
-
tenantId
Description copied from interface:MasterDataInstanceBuilderSet the tenant id to resolve the data object definition- Specified by:
tenantIdin interfaceMasterDataInstanceBuilder
-
overrideDataObjectDefinitionId
Description copied from interface:MasterDataInstanceBuilderIndicator 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:
overrideDataObjectDefinitionIdin interfaceMasterDataInstanceBuilder
-
addVariableValue
Description copied from interface:MasterDataInstanceBuilderadd a variable with name and value- Specified by:
addVariableValuein interfaceMasterDataInstanceBuilder
-
create
Description copied from interface:MasterDataInstanceBuildercreates the master data instance- Specified by:
createin interfaceMasterDataInstanceBuilder
-
getDataObjectDefinitionId
-
getDataObjectDefinitionKey
-
getKey
-
getExternalId
-
getName
-
getState
-
getSortOrder
public int getSortOrder() -
isFavorite
public boolean isFavorite() -
getCreatorId
-
getUpdaterId
-
getTenantId
-
getOverrideDefinitionTenantId
-
getDescription
-
getVariables
-