Class UserAccountEntityImpl
java.lang.Object
org.flowable.common.engine.impl.persistence.entity.AbstractEntity
com.flowable.idm.engine.impl.persistence.entity.AbstractIdmEngineEntity
com.flowable.idm.engine.impl.persistence.entity.UserAccountEntityImpl
- All Implemented Interfaces:
UserAccount
,UserAccountEntity
,HasRevision
,Entity
- Author:
- Filip Hrisafov
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected Date
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected Date
protected String
protected String
Fields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
id, isDeleted, isInserted, isUpdated, originalPersistentState, revision
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe id of the business account id this user account is linked to (e.g.The time of creation of this accountThe id of the user that created this accountThe id of the user within the external system (e.g.getName()
The name of the account.getState()
The state of the user accountThe sub state of the user accountThe sub type of the account.The id of the tenant that this user account belongs togetType()
The type of the account.The id of the user that last updated the accountThe time of the last update of this accountThe id of the user account definition for this user accountThe id of the user that this account belongs to.void
setBusinessAccountId
(String businessAccountId) void
setCreationTime
(Date creationTime) void
setCreatorId
(String creatorId) void
setExternalUserId
(String externalUserId) void
void
void
setSubState
(String subState) void
setSubType
(String subType) void
setTenantId
(String tenantId) void
void
setUpdaterId
(String updaterId) void
setUpdateTime
(Date updateTime) void
setUserAccountDefinitionId
(String userAccountDefinitionId) void
Methods inherited from class com.flowable.idm.engine.impl.persistence.entity.AbstractIdmEngineEntity
getIdPrefix
Methods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
getId, getOriginalPersistentState, getRevision, getRevisionNext, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setRevision, setUpdated
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.flowable.common.engine.impl.persistence.entity.Entity
getId, getIdPrefix, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setUpdated
Methods inherited from interface org.flowable.common.engine.impl.db.HasRevision
getRevision, getRevisionNext, setRevision
Methods inherited from interface com.flowable.core.idm.api.UserAccount
getId, isActive
-
Field Details
-
userId
-
tenantId
-
name
-
type
-
subType
-
state
-
subState
-
businessAccountId
-
externalUserId
-
userAccountDefinitionId
-
creatorId
-
creationTime
-
updaterId
-
updateTime
-
-
Constructor Details
-
UserAccountEntityImpl
public UserAccountEntityImpl()
-
-
Method Details
-
getPersistentState
- Specified by:
getPersistentState
in interfaceEntity
-
getUserId
Description copied from interface:UserAccount
The id of the user that this account belongs to. It might benull
if the account is not yet linked with a user (during onboarding for example).- Specified by:
getUserId
in interfaceUserAccount
- Returns:
- the id of the user that this account belongs to
-
setUserId
- Specified by:
setUserId
in interfaceUserAccountEntity
-
getTenantId
Description copied from interface:UserAccount
The id of the tenant that this user account belongs to- Specified by:
getTenantId
in interfaceUserAccount
- Returns:
- the tenant id
-
setTenantId
- Specified by:
setTenantId
in interfaceUserAccountEntity
-
getName
Description copied from interface:UserAccount
The name of the account. (e.g. WhatsApp for XY, etc)- Specified by:
getName
in interfaceUserAccount
- Returns:
- the name of the account
-
setName
- Specified by:
setName
in interfaceUserAccountEntity
-
getType
Description copied from interface:UserAccount
The type of the account. (e.g. Messenger)- Specified by:
getType
in interfaceUserAccount
- Returns:
- the type of the account
-
setType
- Specified by:
setType
in interfaceUserAccountEntity
-
getSubType
Description copied from interface:UserAccount
The sub type of the account. (e.g. WhatsApp, WeChat, Facebook, etc)- Specified by:
getSubType
in interfaceUserAccount
- Returns:
- the sub type of the account
-
setSubType
- Specified by:
setSubType
in interfaceUserAccountEntity
-
getState
Description copied from interface:UserAccount
The state of the user account- Specified by:
getState
in interfaceUserAccount
- Returns:
- the state
-
setState
- Specified by:
setState
in interfaceUserAccountEntity
-
getSubState
Description copied from interface:UserAccount
The sub state of the user account- Specified by:
getSubState
in interfaceUserAccount
- Returns:
- the sub state
-
setSubState
- Specified by:
setSubState
in interfaceUserAccountEntity
-
getBusinessAccountId
Description copied from interface:UserAccount
The id of the business account id this user account is linked to (e.g. WhatsApp business number xyz or WeChat official account, etc).- Specified by:
getBusinessAccountId
in interfaceUserAccount
- Returns:
- the business account id
-
setBusinessAccountId
- Specified by:
setBusinessAccountId
in interfaceUserAccountEntity
-
getExternalUserId
Description copied from interface:UserAccount
The id of the user within the external system (e.g. the phone number if it is a WhatsApp account or the user-id for a facebook account, etc)- Specified by:
getExternalUserId
in interfaceUserAccount
- Returns:
- external user id
-
setExternalUserId
- Specified by:
setExternalUserId
in interfaceUserAccountEntity
-
getUserAccountDefinitionId
Description copied from interface:UserAccount
The id of the user account definition for this user account- Specified by:
getUserAccountDefinitionId
in interfaceUserAccount
- Returns:
- the user account definition id
-
setUserAccountDefinitionId
- Specified by:
setUserAccountDefinitionId
in interfaceUserAccountEntity
-
getCreatorId
Description copied from interface:UserAccount
The id of the user that created this account- Specified by:
getCreatorId
in interfaceUserAccount
- Returns:
- the id of the creator
-
setCreatorId
- Specified by:
setCreatorId
in interfaceUserAccountEntity
-
getCreationTime
Description copied from interface:UserAccount
The time of creation of this account- Specified by:
getCreationTime
in interfaceUserAccount
- Returns:
- the creation time of this account
-
setCreationTime
- Specified by:
setCreationTime
in interfaceUserAccountEntity
-
getUpdaterId
Description copied from interface:UserAccount
The id of the user that last updated the account- Specified by:
getUpdaterId
in interfaceUserAccount
- Returns:
- the id of the user that last updated the account
-
setUpdaterId
- Specified by:
setUpdaterId
in interfaceUserAccountEntity
-
getUpdateTime
Description copied from interface:UserAccount
The time of the last update of this account- Specified by:
getUpdateTime
in interfaceUserAccount
- Returns:
- the last update time of this account
-
setUpdateTime
- Specified by:
setUpdateTime
in interfaceUserAccountEntity
-