public class FieldUserIdentification extends Object implements UserIdentification
| Constructor and Description |
|---|
FieldUserIdentification() |
| Modifier and Type | Method and Description |
|---|---|
String |
getExternalSystemId() |
String |
getExternalUserId() |
Boolean |
getIsSystemUser()
States if this identification represents a system user.
|
ExternalUserVO |
getPreviousExternalUser() |
Map<String,Object> |
getProperties() |
String |
getUserAlias() |
Long |
getUserId() |
FieldUserIdentification |
setExternalSystemId(String externalSystemId) |
FieldUserIdentification |
setExternalUserId(String externalUserId) |
FieldUserIdentification |
setIsSystemUser(Boolean isSystemUser) |
FieldUserIdentification |
setPreviousExternalUser(ExternalUserVO previousExternalUser)
Also set the externalUserId if it has not been set before
|
FieldUserIdentification |
setUserAlias(String userAlias) |
FieldUserIdentification |
setUserId(Long userId) |
String |
toString() |
public String getExternalSystemId()
getExternalSystemId in interface UserIdentificationpublic String getExternalUserId()
getExternalUserId in interface UserIdentificationpublic Boolean getIsSystemUser()
getIsSystemUser in interface UserIdentificationpublic ExternalUserVO getPreviousExternalUser()
getPreviousExternalUser in interface UserIdentificationpublic String getUserAlias()
getUserAlias in interface UserIdentificationpublic Long getUserId()
getUserId in interface UserIdentificationpublic FieldUserIdentification setExternalSystemId(String externalSystemId)
externalSystemId - the external systempublic FieldUserIdentification setExternalUserId(String externalUserId)
externalUserId - the id of the user in an external systempublic FieldUserIdentification setIsSystemUser(Boolean isSystemUser)
isSystemUser - states if this identification represents a system user. false means a definite no,
true means a definite yes. Null means it cannot be said.public FieldUserIdentification setPreviousExternalUser(ExternalUserVO previousExternalUser)
previousExternalUser - user information that have been obtained beforepublic FieldUserIdentification setUserAlias(String userAlias)
userAlias - the internal user aliaspublic FieldUserIdentification setUserId(Long userId)
userId - the user idCopyright © 2019 Communote team. All rights reserved.