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
- Author:
- Filip Hrisafov
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Dateprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Dateprotected Stringprotected StringFields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
id, isDeleted, isInserted, isUpdated, originalPersistentState, revision -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe id of the business account id this user account is linked to (e.g.The time of creation of this accountThe id of the user that created this accountThe id of the user within the external system (e.g.getName()The name of the account.getState()The state of the user accountThe sub state of the user accountThe sub type of the account.The id of the tenant that this user account belongs togetType()The type of the account.The id of the user that last updated the accountThe time of the last update of this accountThe id of the user account definition for this user accountThe id of the user that this account belongs to.voidsetBusinessAccountId(String businessAccountId) voidsetCreationTime(Date creationTime) voidsetCreatorId(String creatorId) voidsetExternalUserId(String externalUserId) voidvoidvoidsetSubState(String subState) voidsetSubType(String subType) voidsetTenantId(String tenantId) voidvoidsetUpdaterId(String updaterId) voidsetUpdateTime(Date updateTime) voidsetUserAccountDefinitionId(String userAccountDefinitionId) voidMethods 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, setUpdatedMethods inherited from interface org.flowable.common.engine.impl.db.HasRevision
getRevision, getRevisionNext, setRevisionMethods inherited from interface com.flowable.core.idm.api.UserAccount
getId, isActive
-
Field Details
-
userId
-
tenantId
-
name
-
type
-
subType
-
state
-
subState
-
businessAccountId
-
externalUserId
-
userAccountDefinitionId
-
creatorId
-
creationTime
-
updaterId
-
updateTime
-
-
Constructor Details
-
UserAccountEntityImpl
public UserAccountEntityImpl()
-
-
Method Details
-
getPersistentState
- Specified by:
getPersistentStatein interfaceEntity
-
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
- Specified by:
setUserIdin interfaceUserAccountEntity
-
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
- Specified by:
setTenantIdin interfaceUserAccountEntity
-
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
- Specified by:
setNamein interfaceUserAccountEntity
-
getType
Description copied from interface:UserAccountThe type of the account. (e.g. Messenger)- Specified by:
getTypein interfaceUserAccount- Returns:
- the type of the account
-
setType
- Specified by:
setTypein interfaceUserAccountEntity
-
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
- Specified by:
setSubTypein interfaceUserAccountEntity
-
getState
Description copied from interface:UserAccountThe state of the user account- Specified by:
getStatein interfaceUserAccount- Returns:
- the state
-
setState
- Specified by:
setStatein interfaceUserAccountEntity
-
getSubState
Description copied from interface:UserAccountThe sub state of the user account- Specified by:
getSubStatein interfaceUserAccount- Returns:
- the sub state
-
setSubState
- Specified by:
setSubStatein interfaceUserAccountEntity
-
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
- Specified by:
setBusinessAccountIdin interfaceUserAccountEntity
-
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
- Specified by:
setExternalUserIdin interfaceUserAccountEntity
-
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
- Specified by:
setUserAccountDefinitionIdin interfaceUserAccountEntity
-
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
- Specified by:
setCreatorIdin interfaceUserAccountEntity
-
getCreationTime
Description copied from interface:UserAccountThe time of creation of this account- Specified by:
getCreationTimein interfaceUserAccount- Returns:
- the creation time of this account
-
setCreationTime
- Specified by:
setCreationTimein interfaceUserAccountEntity
-
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
- Specified by:
setUpdaterIdin interfaceUserAccountEntity
-
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
- Specified by:
setUpdateTimein interfaceUserAccountEntity
-