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 Details

    • 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
  • Constructor Details

    • UserAccountEntityImpl

      public UserAccountEntityImpl()
  • Method Details

    • getPersistentState

      public Object getPersistentState()
      Specified by:
      getPersistentState in interface org.flowable.common.engine.impl.persistence.entity.Entity
    • getUserId

      public String getUserId()
      Description copied from interface: UserAccount
      The id of the user that this account belongs to. It might be null if the account is not yet linked with a user (during onboarding for example).
      Specified by:
      getUserId in interface UserAccount
      Returns:
      the id of the user that this account belongs to
    • setUserId

      public void setUserId(String userId)
      Specified by:
      setUserId in interface UserAccountEntity
    • getTenantId

      public String getTenantId()
      Description copied from interface: UserAccount
      The id of the tenant that this user account belongs to
      Specified by:
      getTenantId in interface UserAccount
      Returns:
      the tenant id
    • setTenantId

      public void setTenantId(String tenantId)
      Specified by:
      setTenantId in interface UserAccountEntity
    • getName

      public String getName()
      Description copied from interface: UserAccount
      The name of the account. (e.g. WhatsApp for XY, etc)
      Specified by:
      getName in interface UserAccount
      Returns:
      the name of the account
    • setName

      public void setName(String name)
      Specified by:
      setName in interface UserAccountEntity
    • getType

      public String getType()
      Description copied from interface: UserAccount
      The type of the account. (e.g. Messenger)
      Specified by:
      getType in interface UserAccount
      Returns:
      the type of the account
    • setType

      public void setType(String type)
      Specified by:
      setType in interface UserAccountEntity
    • getSubType

      public String getSubType()
      Description copied from interface: UserAccount
      The sub type of the account. (e.g. WhatsApp, WeChat, Facebook, etc)
      Specified by:
      getSubType in interface UserAccount
      Returns:
      the sub type of the account
    • setSubType

      public void setSubType(String subType)
      Specified by:
      setSubType in interface UserAccountEntity
    • getState

      public String getState()
      Description copied from interface: UserAccount
      The state of the user account
      Specified by:
      getState in interface UserAccount
      Returns:
      the state
    • setState

      public void setState(String state)
      Specified by:
      setState in interface UserAccountEntity
    • getSubState

      public String getSubState()
      Description copied from interface: UserAccount
      The sub state of the user account
      Specified by:
      getSubState in interface UserAccount
      Returns:
      the sub state
    • setSubState

      public void setSubState(String subState)
      Specified by:
      setSubState in interface UserAccountEntity
    • getBusinessAccountId

      public 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 interface UserAccount
      Returns:
      the business account id
    • setBusinessAccountId

      public void setBusinessAccountId(String businessAccountId)
      Specified by:
      setBusinessAccountId in interface UserAccountEntity
    • getExternalUserId

      public 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 interface UserAccount
      Returns:
      external user id
    • setExternalUserId

      public void setExternalUserId(String externalUserId)
      Specified by:
      setExternalUserId in interface UserAccountEntity
    • getUserAccountDefinitionId

      public String getUserAccountDefinitionId()
      Description copied from interface: UserAccount
      The id of the user account definition for this user account
      Specified by:
      getUserAccountDefinitionId in interface UserAccount
      Returns:
      the user account definition id
    • setUserAccountDefinitionId

      public void setUserAccountDefinitionId(String userAccountDefinitionId)
      Specified by:
      setUserAccountDefinitionId in interface UserAccountEntity
    • getCreatorId

      public String getCreatorId()
      Description copied from interface: UserAccount
      The id of the user that created this account
      Specified by:
      getCreatorId in interface UserAccount
      Returns:
      the id of the creator
    • setCreatorId

      public void setCreatorId(String creatorId)
      Specified by:
      setCreatorId in interface UserAccountEntity
    • getCreationTime

      public Date getCreationTime()
      Description copied from interface: UserAccount
      The time of creation of this account
      Specified by:
      getCreationTime in interface UserAccount
      Returns:
      the creation time of this account
    • setCreationTime

      public void setCreationTime(Date creationTime)
      Specified by:
      setCreationTime in interface UserAccountEntity
    • getUpdaterId

      public String getUpdaterId()
      Description copied from interface: UserAccount
      The id of the user that last updated the account
      Specified by:
      getUpdaterId in interface UserAccount
      Returns:
      the id of the user that last updated the account
    • setUpdaterId

      public void setUpdaterId(String updaterId)
      Specified by:
      setUpdaterId in interface UserAccountEntity
    • getUpdateTime

      public Date getUpdateTime()
      Description copied from interface: UserAccount
      The time of the last update of this account
      Specified by:
      getUpdateTime in interface UserAccount
      Returns:
      the last update time of this account
    • setUpdateTime

      public void setUpdateTime(Date updateTime)
      Specified by:
      setUpdateTime in interface UserAccountEntity