Package com.flowable.idm.engine.impl
Class PlatformGroupBuilderImpl
- java.lang.Object
-
- com.flowable.idm.engine.impl.PlatformGroupBuilderImpl
-
- All Implemented Interfaces:
PlatformGroupBuilder
public class PlatformGroupBuilderImpl extends Object implements PlatformGroupBuilder
-
-
Field Summary
Fields Modifier and Type Field Description protected PlatformGroupEntity
group
protected String
groupId
protected CoreIdmEngineConfiguration
idmEngineConfiguration
protected boolean
isUpdate
protected String
key
protected Set<String>
modifiedProperties
protected String
name
protected PlatformGroupEntity
originalGroup
protected String
tenantId
protected String
type
-
Constructor Summary
Constructors Constructor Description PlatformGroupBuilderImpl(CoreIdmEngineConfiguration idmEngineConfiguration, String groupId, boolean isUpdate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PlatformGroup
executeSave(CommandContext commandContext)
PlatformGroupEntity
getGroup()
PlatformGroupEntity
getOriginalGroup()
protected boolean
isPropertyModified(String property)
PlatformGroupBuilder
key(String key)
PlatformGroupBuilder
name(String name)
PlatformGroup
save()
PlatformGroupBuilder
tenantId(String tenantId)
PlatformGroupBuilder
type(String type)
-
-
-
Field Detail
-
idmEngineConfiguration
protected final CoreIdmEngineConfiguration idmEngineConfiguration
-
groupId
protected final String groupId
-
isUpdate
protected final boolean isUpdate
-
name
protected String name
-
type
protected String type
-
key
protected String key
-
tenantId
protected String tenantId
-
originalGroup
protected PlatformGroupEntity originalGroup
-
group
protected PlatformGroupEntity group
-
-
Constructor Detail
-
PlatformGroupBuilderImpl
public PlatformGroupBuilderImpl(CoreIdmEngineConfiguration idmEngineConfiguration, String groupId, boolean isUpdate)
-
-
Method Detail
-
name
public PlatformGroupBuilder name(String name)
- Specified by:
name
in interfacePlatformGroupBuilder
-
type
public PlatformGroupBuilder type(String type)
- Specified by:
type
in interfacePlatformGroupBuilder
-
key
public PlatformGroupBuilder key(String key)
- Specified by:
key
in interfacePlatformGroupBuilder
-
tenantId
public PlatformGroupBuilder tenantId(String tenantId)
- Specified by:
tenantId
in interfacePlatformGroupBuilder
-
save
public PlatformGroup save()
- Specified by:
save
in interfacePlatformGroupBuilder
-
executeSave
protected PlatformGroup executeSave(CommandContext commandContext)
-
isPropertyModified
protected boolean isPropertyModified(String property)
-
getOriginalGroup
public PlatformGroupEntity getOriginalGroup()
-
getGroup
public PlatformGroupEntity getGroup()
-
-