Class UserAccountEntityImpl

    • 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  
      • Fields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity

        id, isDeleted, isInserted, isUpdated, originalPersistentState, revision
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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 account
      java.lang.String getCreatorId()
      The id of the user that created this account
      java.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 account
      java.lang.String getSubState()
      The sub state of the user account
      java.lang.String getSubType()
      The sub type of the account.
      java.lang.String getTenantId()
      The id of the tenant that this user account belongs to
      java.lang.String getType()
      The type of the account.
      java.lang.String getUpdaterId()
      The id of the user that last updated the account
      java.util.Date getUpdateTime()
      The time of the last update of this account
      java.lang.String getUserAccountDefinitionId()
      The id of the user account definition for this user account
      java.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 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
    • Field Detail

      • 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 Detail

      • UserAccountEntityImpl

        public UserAccountEntityImpl()
    • Method Detail

      • getPersistentState

        public java.lang.Object getPersistentState()
        Specified by:
        getPersistentState in interface org.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 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
      • 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 interface UserAccount
        Returns:
        the tenant id
      • 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 interface UserAccount
        Returns:
        the name of the account
      • getType

        public java.lang.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
      • 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 interface UserAccount
        Returns:
        the sub type of the account
      • getState

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

        public java.lang.String getSubState()
        Description copied from interface: UserAccount
        The sub state of the user account
        Specified by:
        getSubState in interface UserAccount
        Returns:
        the sub state
      • 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 interface UserAccount
        Returns:
        the business account id
      • 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 interface UserAccount
        Returns:
        external user id
      • 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 interface UserAccount
        Returns:
        the user account definition id
      • getCreatorId

        public java.lang.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
      • getCreationTime

        public java.util.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
      • 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 interface UserAccount
        Returns:
        the id of the user that last updated the account
      • getUpdateTime

        public java.util.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