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
,org.flowable.common.engine.impl.db.HasRevision
,org.flowable.common.engine.impl.persistence.entity.Entity
public class UserAccountEntityImpl extends AbstractIdmEngineEntity implements UserAccountEntity
- Author:
- Filip Hrisafov
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
businessAccountId
protected java.util.Date
creationTime
protected java.lang.String
creatorId
protected java.lang.String
externalUserId
protected java.lang.String
name
protected java.lang.String
state
protected java.lang.String
subState
protected java.lang.String
subType
protected java.lang.String
tenantId
protected java.lang.String
type
protected java.lang.String
updaterId
protected java.util.Date
updateTime
protected java.lang.String
userAccountDefinitionId
protected java.lang.String
userId
-
Constructor Summary
Constructors Constructor Description UserAccountEntityImpl()
-
Method Summary
Modifier and Type Method Description java.lang.String
getBusinessAccountId()
The id of the business account id this user account is linked to (e.g.java.util.Date
getCreationTime()
The time of creation of this accountjava.lang.String
getCreatorId()
The id of the user that created this accountjava.lang.String
getExternalUserId()
The id of the user within the external system (e.g.java.lang.String
getName()
The name of the account.java.lang.Object
getPersistentState()
java.lang.String
getState()
The state of the user accountjava.lang.String
getSubState()
The sub state of the user accountjava.lang.String
getSubType()
The sub type of the account.java.lang.String
getTenantId()
The id of the tenant that this user account belongs tojava.lang.String
getType()
The type of the account.java.lang.String
getUpdaterId()
The id of the user that last updated the accountjava.util.Date
getUpdateTime()
The time of the last update of this accountjava.lang.String
getUserAccountDefinitionId()
The id of the user account definition for this user accountjava.lang.String
getUserId()
The id of the user that this account belongs to.void
setBusinessAccountId(java.lang.String businessAccountId)
void
setCreationTime(java.util.Date creationTime)
void
setCreatorId(java.lang.String creatorId)
void
setExternalUserId(java.lang.String externalUserId)
void
setName(java.lang.String name)
void
setState(java.lang.String state)
void
setSubState(java.lang.String subState)
void
setSubType(java.lang.String subType)
void
setTenantId(java.lang.String tenantId)
void
setType(java.lang.String type)
void
setUpdaterId(java.lang.String updaterId)
void
setUpdateTime(java.util.Date updateTime)
void
setUserAccountDefinitionId(java.lang.String userAccountDefinitionId)
void
setUserId(java.lang.String userId)
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
-
Field Details
-
userId
protected java.lang.String userId -
tenantId
protected java.lang.String tenantId -
name
protected java.lang.String name -
type
protected java.lang.String type -
subType
protected java.lang.String subType -
state
protected java.lang.String state -
subState
protected java.lang.String subState -
businessAccountId
protected java.lang.String businessAccountId -
externalUserId
protected java.lang.String externalUserId -
userAccountDefinitionId
protected java.lang.String userAccountDefinitionId -
creatorId
protected java.lang.String creatorId -
creationTime
protected java.util.Date creationTime -
updaterId
protected java.lang.String updaterId -
updateTime
protected java.util.Date updateTime
-
-
Constructor Details
-
UserAccountEntityImpl
public UserAccountEntityImpl()
-
-
Method Details
-
getPersistentState
public java.lang.Object getPersistentState()- Specified by:
getPersistentState
in interfaceorg.flowable.common.engine.impl.persistence.entity.Entity
-
getUserId
public java.lang.String 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
public void setUserId(java.lang.String userId)- Specified by:
setUserId
in interfaceUserAccountEntity
-
getTenantId
public java.lang.String 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
public void setTenantId(java.lang.String tenantId)- Specified by:
setTenantId
in interfaceUserAccountEntity
-
getName
public java.lang.String 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
public void setName(java.lang.String name)- Specified by:
setName
in interfaceUserAccountEntity
-
getType
public java.lang.String 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
public void setType(java.lang.String type)- Specified by:
setType
in interfaceUserAccountEntity
-
getSubType
public java.lang.String 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
public void setSubType(java.lang.String subType)- Specified by:
setSubType
in interfaceUserAccountEntity
-
getState
public java.lang.String getState()Description copied from interface:UserAccount
The state of the user account- Specified by:
getState
in interfaceUserAccount
- Returns:
- the state
-
setState
public void setState(java.lang.String state)- Specified by:
setState
in interfaceUserAccountEntity
-
getSubState
public java.lang.String getSubState()Description copied from interface:UserAccount
The sub state of the user account- Specified by:
getSubState
in interfaceUserAccount
- Returns:
- the sub state
-
setSubState
public void setSubState(java.lang.String subState)- Specified by:
setSubState
in interfaceUserAccountEntity
-
getBusinessAccountId
public java.lang.String 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
public void setBusinessAccountId(java.lang.String businessAccountId)- Specified by:
setBusinessAccountId
in interfaceUserAccountEntity
-
getExternalUserId
public java.lang.String 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
public void setExternalUserId(java.lang.String externalUserId)- Specified by:
setExternalUserId
in interfaceUserAccountEntity
-
getUserAccountDefinitionId
public java.lang.String 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
public void setUserAccountDefinitionId(java.lang.String userAccountDefinitionId)- Specified by:
setUserAccountDefinitionId
in interfaceUserAccountEntity
-
getCreatorId
public java.lang.String 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
public void setCreatorId(java.lang.String creatorId)- Specified by:
setCreatorId
in interfaceUserAccountEntity
-
getCreationTime
public java.util.Date 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
public void setCreationTime(java.util.Date creationTime)- Specified by:
setCreationTime
in interfaceUserAccountEntity
-
getUpdaterId
public java.lang.String 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
public void setUpdaterId(java.lang.String updaterId)- Specified by:
setUpdaterId
in interfaceUserAccountEntity
-
getUpdateTime
public java.util.Date 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
public void setUpdateTime(java.util.Date updateTime)- Specified by:
setUpdateTime
in interfaceUserAccountEntity
-