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
public class UserAccountEntityImpl extends AbstractIdmEngineEntity implements UserAccountEntity
- Author:
- Filip Hrisafov
-
-
Field Summary
Fields Modifier and Type Field Description protected StringbusinessAccountIdprotected DatecreationTimeprotected StringcreatorIdprotected StringexternalUserIdprotected Stringnameprotected Stringstateprotected StringsubStateprotected StringsubTypeprotected StringtenantIdprotected Stringtypeprotected StringupdaterIdprotected DateupdateTimeprotected StringuserAccountDefinitionIdprotected StringuserId-
Fields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
id, isDeleted, isInserted, isUpdated, originalPersistentState, revision
-
-
Constructor Summary
Constructors Constructor Description UserAccountEntityImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBusinessAccountId()The id of the business account id this user account is linked to (e.g.DategetCreationTime()The time of creation of this accountStringgetCreatorId()The id of the user that created this accountStringgetExternalUserId()The id of the user within the external system (e.g.StringgetName()The name of the account.ObjectgetPersistentState()StringgetState()The state of the user accountStringgetSubState()The sub state of the user accountStringgetSubType()The sub type of the account.StringgetTenantId()The id of the tenant that this user account belongs toStringgetType()The type of the account.StringgetUpdaterId()The id of the user that last updated the accountDategetUpdateTime()The time of the last update of this accountStringgetUserAccountDefinitionId()The id of the user account definition for this user accountStringgetUserId()The id of the user that this account belongs to.voidsetBusinessAccountId(String businessAccountId)voidsetCreationTime(Date creationTime)voidsetCreatorId(String creatorId)voidsetExternalUserId(String externalUserId)voidsetName(String name)voidsetState(String state)voidsetSubState(String subState)voidsetSubType(String subType)voidsetTenantId(String tenantId)voidsetType(String type)voidsetUpdaterId(String updaterId)voidsetUpdateTime(Date updateTime)voidsetUserAccountDefinitionId(String userAccountDefinitionId)voidsetUserId(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
-
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 Detail
-
userId
protected String userId
-
tenantId
protected String tenantId
-
name
protected String name
-
type
protected String type
-
subType
protected String subType
-
state
protected String state
-
subState
protected String subState
-
businessAccountId
protected String businessAccountId
-
externalUserId
protected String externalUserId
-
userAccountDefinitionId
protected String userAccountDefinitionId
-
creatorId
protected String creatorId
-
creationTime
protected Date creationTime
-
updaterId
protected String updaterId
-
updateTime
protected Date updateTime
-
-
Method Detail
-
getPersistentState
public Object getPersistentState()
- Specified by:
getPersistentStatein interfaceEntity
-
getUserId
public String getUserId()
Description copied from interface:UserAccountThe id of the user that this account belongs to. It might benullif the account is not yet linked with a user (during onboarding for example).- Specified by:
getUserIdin interfaceUserAccount- Returns:
- the id of the user that this account belongs to
-
setUserId
public void setUserId(String userId)
- Specified by:
setUserIdin interfaceUserAccountEntity
-
getTenantId
public String getTenantId()
Description copied from interface:UserAccountThe id of the tenant that this user account belongs to- Specified by:
getTenantIdin interfaceUserAccount- Returns:
- the tenant id
-
setTenantId
public void setTenantId(String tenantId)
- Specified by:
setTenantIdin interfaceUserAccountEntity
-
getName
public String getName()
Description copied from interface:UserAccountThe name of the account. (e.g. WhatsApp for XY, etc)- Specified by:
getNamein interfaceUserAccount- Returns:
- the name of the account
-
setName
public void setName(String name)
- Specified by:
setNamein interfaceUserAccountEntity
-
getType
public String getType()
Description copied from interface:UserAccountThe type of the account. (e.g. Messenger)- Specified by:
getTypein interfaceUserAccount- Returns:
- the type of the account
-
setType
public void setType(String type)
- Specified by:
setTypein interfaceUserAccountEntity
-
getSubType
public String getSubType()
Description copied from interface:UserAccountThe sub type of the account. (e.g. WhatsApp, WeChat, Facebook, etc)- Specified by:
getSubTypein interfaceUserAccount- Returns:
- the sub type of the account
-
setSubType
public void setSubType(String subType)
- Specified by:
setSubTypein interfaceUserAccountEntity
-
getState
public String getState()
Description copied from interface:UserAccountThe state of the user account- Specified by:
getStatein interfaceUserAccount- Returns:
- the state
-
setState
public void setState(String state)
- Specified by:
setStatein interfaceUserAccountEntity
-
getSubState
public String getSubState()
Description copied from interface:UserAccountThe sub state of the user account- Specified by:
getSubStatein interfaceUserAccount- Returns:
- the sub state
-
setSubState
public void setSubState(String subState)
- Specified by:
setSubStatein interfaceUserAccountEntity
-
getBusinessAccountId
public String getBusinessAccountId()
Description copied from interface:UserAccountThe 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:
getBusinessAccountIdin interfaceUserAccount- Returns:
- the business account id
-
setBusinessAccountId
public void setBusinessAccountId(String businessAccountId)
- Specified by:
setBusinessAccountIdin interfaceUserAccountEntity
-
getExternalUserId
public String getExternalUserId()
Description copied from interface:UserAccountThe 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:
getExternalUserIdin interfaceUserAccount- Returns:
- external user id
-
setExternalUserId
public void setExternalUserId(String externalUserId)
- Specified by:
setExternalUserIdin interfaceUserAccountEntity
-
getUserAccountDefinitionId
public String getUserAccountDefinitionId()
Description copied from interface:UserAccountThe id of the user account definition for this user account- Specified by:
getUserAccountDefinitionIdin interfaceUserAccount- Returns:
- the user account definition id
-
setUserAccountDefinitionId
public void setUserAccountDefinitionId(String userAccountDefinitionId)
- Specified by:
setUserAccountDefinitionIdin interfaceUserAccountEntity
-
getCreatorId
public String getCreatorId()
Description copied from interface:UserAccountThe id of the user that created this account- Specified by:
getCreatorIdin interfaceUserAccount- Returns:
- the id of the creator
-
setCreatorId
public void setCreatorId(String creatorId)
- Specified by:
setCreatorIdin interfaceUserAccountEntity
-
getCreationTime
public Date getCreationTime()
Description copied from interface:UserAccountThe time of creation of this account- Specified by:
getCreationTimein interfaceUserAccount- Returns:
- the creation time of this account
-
setCreationTime
public void setCreationTime(Date creationTime)
- Specified by:
setCreationTimein interfaceUserAccountEntity
-
getUpdaterId
public String getUpdaterId()
Description copied from interface:UserAccountThe id of the user that last updated the account- Specified by:
getUpdaterIdin interfaceUserAccount- Returns:
- the id of the user that last updated the account
-
setUpdaterId
public void setUpdaterId(String updaterId)
- Specified by:
setUpdaterIdin interfaceUserAccountEntity
-
getUpdateTime
public Date getUpdateTime()
Description copied from interface:UserAccountThe time of the last update of this account- Specified by:
getUpdateTimein interfaceUserAccount- Returns:
- the last update time of this account
-
setUpdateTime
public void setUpdateTime(Date updateTime)
- Specified by:
setUpdateTimein interfaceUserAccountEntity
-
-