Package com.flowable.core.idm.api
Interface UserAccount
-
- All Known Subinterfaces:
UserAccountEntity
- All Known Implementing Classes:
UserAccountEntityImpl
public interface UserAccount- Author:
- Filip Hrisafov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default 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.StringgetId()The unique id for the user account.StringgetName()The name of the account.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.default booleanisActive()Method to check if this user account has the stateACTIVE.
-
-
-
Method Detail
-
getId
String getId()
The unique id for the user account.- Returns:
- thd user account id
-
getUserId
String getUserId()
The 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).- Returns:
- the id of the user that this account belongs to
-
getTenantId
String getTenantId()
The id of the tenant that this user account belongs to- Returns:
- the tenant id
-
getName
String getName()
The name of the account. (e.g. WhatsApp for XY, etc)- Returns:
- the name of the account
-
getType
String getType()
The type of the account. (e.g. Messenger)- Returns:
- the type of the account
-
getSubType
String getSubType()
The sub type of the account. (e.g. WhatsApp, WeChat, Facebook, etc)- Returns:
- the sub type of the account
-
getState
String getState()
The state of the user account- Returns:
- the state
-
getSubState
String getSubState()
The sub state of the user account- Returns:
- the sub state
-
getBusinessAccountId
String getBusinessAccountId()
The id of the business account id this user account is linked to (e.g. WhatsApp business number xyz or WeChat official account, etc).- Returns:
- the business account id
-
getExternalUserId
String getExternalUserId()
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)- Returns:
- external user id
-
getUserAccountDefinitionId
String getUserAccountDefinitionId()
The id of the user account definition for this user account- Returns:
- the user account definition id
-
getCreatorId
String getCreatorId()
The id of the user that created this account- Returns:
- the id of the creator
-
getCreationTime
Date getCreationTime()
The time of creation of this account- Returns:
- the creation time of this account
-
getUpdaterId
String getUpdaterId()
The id of the user that last updated the account- Returns:
- the id of the user that last updated the account
-
getUpdateTime
Date getUpdateTime()
The time of the last update of this account- Returns:
- the last update time of this account
-
-