Class MasterDataInstanceUpdateBuilderImpl
- java.lang.Object
-
- com.flowable.dataobject.engine.impl.runtime.MasterDataInstanceUpdateBuilderImpl
-
- All Implemented Interfaces:
MasterDataInstanceUpdateBuilder
public class MasterDataInstanceUpdateBuilderImpl extends Object implements MasterDataInstanceUpdateBuilder
-
-
Field Summary
Fields Modifier and Type Field Description protected DataObjectRuntimeServiceImpl
dataObjectRuntimeService
protected String
description
protected String
externalId
protected boolean
favorite
protected String
key
protected String
masterDataInstanceId
protected Set<String>
modifiedProperties
protected String
name
protected int
sortOrder
protected String
state
-
Constructor Summary
Constructors Constructor Description MasterDataInstanceUpdateBuilderImpl(DataObjectRuntimeServiceImpl dataObjectRuntimeService, String masterDataInstanceId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MasterDataInstanceUpdateBuilder
description(String description)
Set the description of the master data instanceMasterDataInstanceUpdateBuilder
externalId(String externalId)
Set the external id of the master data instanceMasterDataInstanceUpdateBuilder
favorite(boolean favorite)
Set the favorite value to true or false for the master data instanceString
getDescription()
String
getExternalId()
String
getKey()
String
getMasterDataInstanceId()
String
getName()
int
getSortOrder()
String
getState()
boolean
isFavorite()
boolean
isPropertyModified(String property)
MasterDataInstanceUpdateBuilder
key(String key)
Set the key of the master data instanceMasterDataInstanceUpdateBuilder
masterDataInstanceId(String masterDataInstanceId)
MasterDataInstanceUpdateBuilder
name(String name)
Set the name of the master data instanceMasterDataInstanceUpdateBuilder
sortOrder(int sortOrder)
Set the sort order of the master data instanceMasterDataInstanceUpdateBuilder
state(String state)
Set the state of the master data instanceMasterDataInstance
update()
Updates the master data instance
-
-
-
Field Detail
-
dataObjectRuntimeService
protected DataObjectRuntimeServiceImpl dataObjectRuntimeService
-
masterDataInstanceId
protected String masterDataInstanceId
-
key
protected String key
-
externalId
protected String externalId
-
name
protected String name
-
description
protected String description
-
state
protected String state
-
sortOrder
protected int sortOrder
-
favorite
protected boolean favorite
-
-
Constructor Detail
-
MasterDataInstanceUpdateBuilderImpl
public MasterDataInstanceUpdateBuilderImpl(DataObjectRuntimeServiceImpl dataObjectRuntimeService, String masterDataInstanceId)
-
-
Method Detail
-
name
public MasterDataInstanceUpdateBuilder name(String name)
Description copied from interface:MasterDataInstanceUpdateBuilder
Set the name of the master data instance- Specified by:
name
in interfaceMasterDataInstanceUpdateBuilder
-
description
public MasterDataInstanceUpdateBuilder description(String description)
Description copied from interface:MasterDataInstanceUpdateBuilder
Set the description of the master data instance- Specified by:
description
in interfaceMasterDataInstanceUpdateBuilder
-
externalId
public MasterDataInstanceUpdateBuilder externalId(String externalId)
Description copied from interface:MasterDataInstanceUpdateBuilder
Set the external id of the master data instance- Specified by:
externalId
in interfaceMasterDataInstanceUpdateBuilder
-
masterDataInstanceId
public MasterDataInstanceUpdateBuilder masterDataInstanceId(String masterDataInstanceId)
-
key
public MasterDataInstanceUpdateBuilder key(String key)
Description copied from interface:MasterDataInstanceUpdateBuilder
Set the key of the master data instance- Specified by:
key
in interfaceMasterDataInstanceUpdateBuilder
-
state
public MasterDataInstanceUpdateBuilder state(String state)
Description copied from interface:MasterDataInstanceUpdateBuilder
Set the state of the master data instance- Specified by:
state
in interfaceMasterDataInstanceUpdateBuilder
-
sortOrder
public MasterDataInstanceUpdateBuilder sortOrder(int sortOrder)
Description copied from interface:MasterDataInstanceUpdateBuilder
Set the sort order of the master data instance- Specified by:
sortOrder
in interfaceMasterDataInstanceUpdateBuilder
-
favorite
public MasterDataInstanceUpdateBuilder favorite(boolean favorite)
Description copied from interface:MasterDataInstanceUpdateBuilder
Set the favorite value to true or false for the master data instance- Specified by:
favorite
in interfaceMasterDataInstanceUpdateBuilder
-
update
public MasterDataInstance update()
Description copied from interface:MasterDataInstanceUpdateBuilder
Updates the master data instance- Specified by:
update
in interfaceMasterDataInstanceUpdateBuilder
-
getMasterDataInstanceId
public String getMasterDataInstanceId()
-
getKey
public String getKey()
-
getExternalId
public String getExternalId()
-
getName
public String getName()
-
getState
public String getState()
-
getSortOrder
public int getSortOrder()
-
isFavorite
public boolean isFavorite()
-
getDescription
public String getDescription()
-
isPropertyModified
public boolean isPropertyModified(String property)
-
-