Interface MasterDataInstanceUpdateBuilder
- All Known Implementing Classes:
MasterDataInstanceUpdateBuilderImpl
public interface MasterDataInstanceUpdateBuilder
Helper for updating a Master data instance.
An instance can be obtained through the DataObjectRuntimeService
.
masterDataInstanceId should be set before calling update()
to update a master data instance.
- Author:
- Christopher Welsch
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String name) Set the description of the master data instanceexternalId
(String externalId) Set the external id of the master data instancefavorite
(boolean favorite) Set the favorite value to true or false for the master data instanceSet the key of the master data instanceSet the name of the master data instancesortOrder
(int sortOrder) Set the sort order of the master data instanceSet the state of the master data instanceupdate()
Updates the master data instance
-
Method Details
-
key
Set the key of the master data instance -
externalId
Set the external id of the master data instance -
name
Set the name of the master data instance -
description
Set the description of the master data instance -
state
Set the state of the master data instance -
sortOrder
Set the sort order of the master data instance -
favorite
Set the favorite value to true or false for the master data instance -
update
MasterDataInstance update()Updates the master data instance- Throws:
FlowableIllegalArgumentException
- if masterDataInstanceId is nullFlowableObjectNotFoundException
- when no master data instance with the given masterDataInstanceId exists
-