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
Fields -
Constructor Summary
ConstructorsConstructorDescriptionUserAccountBuilderImpl(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()booleanisPropertyModified(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 theUserAccountDefinitionthat should be used when creating the user account.userAccountDefinitionKey(String userAccountDefinitionKey) The key of theUserAccountDefinitionthat 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:UserAccountBuilderThe id of the user that this account belongs to- Specified by:
userIdin interfaceUserAccountBuilder- Parameters:
userId- the user id linked with the account
-
tenantId
Description copied from interface:UserAccountBuilderThe id of the tenant that this account belongs to- Specified by:
tenantIdin interfaceUserAccountBuilder- Parameters:
tenantId- the tenant id for the account
-
name
Description copied from interface:UserAccountBuilderThe name of the account (e.g. WhatsApp for XY, etc)- Specified by:
namein interfaceUserAccountBuilder- Parameters:
name- the name for the account
-
type
Description copied from interface:UserAccountBuilderSet the type of the account. (e.g. Messenger)- Specified by:
typein interfaceUserAccountBuilder- Parameters:
type- the type of the account- See Also:
-
subType
Description copied from interface:UserAccountBuilderThe sub type of the account. (e.g. WhatsApp, WeChat, Facebook, etc)- Specified by:
subTypein interfaceUserAccountBuilder- Parameters:
subType- the sub type of the account- See Also:
-
state
Description copied from interface:UserAccountBuilderThe 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:
statein interfaceUserAccountBuilder- Parameters:
state- the initial state for the created account
-
subState
Description copied from interface:UserAccountBuilderThe 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:
subStatein interfaceUserAccountBuilder- Parameters:
subState- the initial state for the created account
-
businessAccountId
Description copied from interface:UserAccountBuilderThe 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:
businessAccountIdin interfaceUserAccountBuilder- Parameters:
businessAccountId- the id of the business account
-
externalUserId
Description copied from interface:UserAccountBuilderThe id of the user within the external system (e.g. the phone number for WhatsApp, the user-id for Facebook account, etc)- Specified by:
externalUserIdin interfaceUserAccountBuilder- Parameters:
externalUserId- the id of the external user
-
userAccountDefinitionId
Description copied from interface:UserAccountBuilderThe id of theUserAccountDefinitionthat should be used when creating the user account.- Specified by:
userAccountDefinitionIdin interfaceUserAccountBuilder- Parameters:
userAccountDefinitionId- the id of the user account definition
-
userAccountDefinitionKey
Description copied from interface:UserAccountBuilderThe key of theUserAccountDefinitionthat should be used when creating the user account.- Specified by:
userAccountDefinitionKeyin interfaceUserAccountBuilder- Parameters:
userAccountDefinitionKey- the key of the user account definition
-
save
Description copied from interface:UserAccountBuilderPerforms the save of the user account- Specified by:
savein interfaceUserAccountBuilder- Returns:
- the saved
UserAccount
-
isPropertyModified
-
getUserId
-
getTenantId
-
getName
-
getType
-
getSubType
-
getState
-
getSubState
-
getBusinessAccountId
-
getExternalUserId
-
getUserAccountDefinitionId
-
getUserAccountDefinitionKey
-