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.StringbusinessAccountIdprotected java.util.DatecreationTimeprotected java.lang.StringcreatorIdprotected java.lang.StringexternalUserIdprotected java.lang.Stringnameprotected java.lang.Stringstateprotected java.lang.StringsubStateprotected java.lang.StringsubTypeprotected java.lang.StringtenantIdprotected java.lang.Stringtypeprotected java.lang.StringupdaterIdprotected java.util.DateupdateTimeprotected java.lang.StringuserAccountDefinitionIdprotected java.lang.StringuserId -
Constructor Summary
Constructors Constructor Description UserAccountEntityImpl() -
Method Summary
Modifier and Type Method Description java.lang.StringgetBusinessAccountId()The id of the business account id this user account is linked to (e.g.java.util.DategetCreationTime()The time of creation of this accountjava.lang.StringgetCreatorId()The id of the user that created this accountjava.lang.StringgetExternalUserId()The id of the user within the external system (e.g.java.lang.StringgetName()The name of the account.java.lang.ObjectgetPersistentState()java.lang.StringgetState()The state of the user accountjava.lang.StringgetSubState()The sub state of the user accountjava.lang.StringgetSubType()The sub type of the account.java.lang.StringgetTenantId()The id of the tenant that this user account belongs tojava.lang.StringgetType()The type of the account.java.lang.StringgetUpdaterId()The id of the user that last updated the accountjava.util.DategetUpdateTime()The time of the last update of this accountjava.lang.StringgetUserAccountDefinitionId()The id of the user account definition for this user accountjava.lang.StringgetUserId()The id of the user that this account belongs to.voidsetBusinessAccountId(java.lang.String businessAccountId)voidsetCreationTime(java.util.Date creationTime)voidsetCreatorId(java.lang.String creatorId)voidsetExternalUserId(java.lang.String externalUserId)voidsetName(java.lang.String name)voidsetState(java.lang.String state)voidsetSubState(java.lang.String subState)voidsetSubType(java.lang.String subType)voidsetTenantId(java.lang.String tenantId)voidsetType(java.lang.String type)voidsetUpdaterId(java.lang.String updaterId)voidsetUpdateTime(java.util.Date updateTime)voidsetUserAccountDefinitionId(java.lang.String userAccountDefinitionId)voidsetUserId(java.lang.String userId)Methods inherited from class com.flowable.idm.engine.impl.persistence.entity.AbstractIdmEngineEntity
getIdPrefixMethods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
getId, getOriginalPersistentState, getRevision, getRevisionNext, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setRevision, setUpdatedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
getPersistentStatein interfaceorg.flowable.common.engine.impl.persistence.entity.Entity
-
getUserId
public java.lang.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(java.lang.String userId)- Specified by:
setUserIdin interfaceUserAccountEntity
-
getTenantId
public java.lang.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(java.lang.String tenantId)- Specified by:
setTenantIdin interfaceUserAccountEntity
-
getName
public java.lang.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(java.lang.String name)- Specified by:
setNamein interfaceUserAccountEntity
-
getType
public java.lang.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(java.lang.String type)- Specified by:
setTypein interfaceUserAccountEntity
-
getSubType
public java.lang.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(java.lang.String subType)- Specified by:
setSubTypein interfaceUserAccountEntity
-
getState
public java.lang.String getState()Description copied from interface:UserAccountThe state of the user account- Specified by:
getStatein interfaceUserAccount- Returns:
- the state
-
setState
public void setState(java.lang.String state)- Specified by:
setStatein interfaceUserAccountEntity
-
getSubState
public java.lang.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(java.lang.String subState)- Specified by:
setSubStatein interfaceUserAccountEntity
-
getBusinessAccountId
public java.lang.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(java.lang.String businessAccountId)- Specified by:
setBusinessAccountIdin interfaceUserAccountEntity
-
getExternalUserId
public java.lang.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(java.lang.String externalUserId)- Specified by:
setExternalUserIdin interfaceUserAccountEntity
-
getUserAccountDefinitionId
public java.lang.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(java.lang.String userAccountDefinitionId)- Specified by:
setUserAccountDefinitionIdin interfaceUserAccountEntity
-
getCreatorId
public java.lang.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(java.lang.String creatorId)- Specified by:
setCreatorIdin interfaceUserAccountEntity
-
getCreationTime
public java.util.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(java.util.Date creationTime)- Specified by:
setCreationTimein interfaceUserAccountEntity
-
getUpdaterId
public java.lang.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(java.lang.String updaterId)- Specified by:
setUpdaterIdin interfaceUserAccountEntity
-
getUpdateTime
public java.util.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(java.util.Date updateTime)- Specified by:
setUpdateTimein interfaceUserAccountEntity
-