Package com.flowable.idm.engine.impl
Class UserAccountBuilderImpl
java.lang.Object
com.flowable.idm.engine.impl.UserAccountBuilderImpl
- All Implemented Interfaces:
UserAccountBuilder
- Author:
- Filip Hrisafov
-
Field Summary
-
Constructor Summary
ConstructorDescriptionUserAccountBuilderImpl
(CoreIdmEngineConfiguration idmEngineConfiguration, String accountId) -
Method Summary
Modifier and TypeMethodDescriptionbusinessAccountId
(String businessAccountId) The id of the business account that the user account would be linked to (e.g.externalUserId
(String externalUserId) The id of the user within the external system (e.g.getName()
getState()
getType()
boolean
isPropertyModified
(String property) The name of the account (e.g.save()
Performs the save of the user accountThe initial state of the created account.The initial sub state of the created account.The sub type of the account.The id of the tenant that this account belongs toSet the type of the account.userAccountDefinitionId
(String userAccountDefinitionId) The id of theUserAccountDefinition
that should be used when creating the user account.userAccountDefinitionKey
(String userAccountDefinitionKey) The key of theUserAccountDefinition
that should be used when creating the user account.The id of the user that this account belongs to
-
Field Details
-
idmEngineConfiguration
-
accountId
-
userId
-
tenantId
-
name
-
type
-
subType
-
state
-
subState
-
businessAccountId
-
externalUserId
-
userAccountDefinitionId
-
userAccountDefinitionKey
-
modifiedProperties
-
-
Constructor Details
-
UserAccountBuilderImpl
-
-
Method Details
-
userId
Description copied from interface:UserAccountBuilder
The id of the user that this account belongs to- Specified by:
userId
in interfaceUserAccountBuilder
- Parameters:
userId
- the user id linked with the account
-
tenantId
Description copied from interface:UserAccountBuilder
The id of the tenant that this account belongs to- Specified by:
tenantId
in interfaceUserAccountBuilder
- Parameters:
tenantId
- the tenant id for the account
-
name
Description copied from interface:UserAccountBuilder
The name of the account (e.g. WhatsApp for XY, etc)- Specified by:
name
in interfaceUserAccountBuilder
- Parameters:
name
- the name for the account
-
type
Description copied from interface:UserAccountBuilder
Set the type of the account. (e.g. Messenger)- Specified by:
type
in interfaceUserAccountBuilder
- Parameters:
type
- the type of the account- See Also:
-
subType
Description copied from interface:UserAccountBuilder
The sub type of the account. (e.g. WhatsApp, WeChat, Facebook, etc)- Specified by:
subType
in interfaceUserAccountBuilder
- Parameters:
subType
- the sub type of the account- See Also:
-
state
Description copied from interface:UserAccountBuilder
The initial state of the created account. In order to update the state of the account theUserAccountService.setStateAndSubState(String, String, String)
should be used.- Specified by:
state
in interfaceUserAccountBuilder
- Parameters:
state
- the initial state for the created account
-
subState
Description copied from interface:UserAccountBuilder
The initial sub state of the created account. In order to update the state of the account theUserAccountService.setStateAndSubState(String, String, String)
should be used.- Specified by:
subState
in interfaceUserAccountBuilder
- Parameters:
subState
- the initial state for the created account
-
businessAccountId
Description copied from interface:UserAccountBuilder
The id of the business account that the user account would be linked to (e.g. WhatsApp business number xyz or WeChat official account, etc)- Specified by:
businessAccountId
in interfaceUserAccountBuilder
- Parameters:
businessAccountId
- the id of the business account
-
externalUserId
Description copied from interface:UserAccountBuilder
The id of the user within the external system (e.g. the phone number for WhatsApp, the user-id for Facebook account, etc)- Specified by:
externalUserId
in interfaceUserAccountBuilder
- Parameters:
externalUserId
- the id of the external user
-
userAccountDefinitionId
Description copied from interface:UserAccountBuilder
The id of theUserAccountDefinition
that should be used when creating the user account.- Specified by:
userAccountDefinitionId
in interfaceUserAccountBuilder
- Parameters:
userAccountDefinitionId
- the id of the user account definition
-
userAccountDefinitionKey
Description copied from interface:UserAccountBuilder
The key of theUserAccountDefinition
that should be used when creating the user account.- Specified by:
userAccountDefinitionKey
in interfaceUserAccountBuilder
- Parameters:
userAccountDefinitionKey
- the key of the user account definition
-
save
Description copied from interface:UserAccountBuilder
Performs the save of the user account- Specified by:
save
in interfaceUserAccountBuilder
- Returns:
- the saved
UserAccount
-
isPropertyModified
-
getUserId
-
getTenantId
-
getName
-
getType
-
getSubType
-
getState
-
getSubState
-
getBusinessAccountId
-
getExternalUserId
-
getUserAccountDefinitionId
-
getUserAccountDefinitionKey
-