public abstract class IdentityInfo extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
avatarLink
The avatar link.
|
static String |
EMPTY
The Constant EMPTY.
|
protected String |
id
The id.
|
static int |
ID_MAX_LENGTH
The Constant ID_MAX_LENGTH.
|
protected String |
profileLink
The profile link.
|
protected String |
title
The title.
|
| Constructor and Description |
|---|
IdentityInfo(String id,
String title)
Instantiates a new identity info.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAvatarLink()
Gets the avatar link.
|
String |
getId()
Gets the id.
|
String |
getProfileLink()
Gets the profile link.
|
String |
getTitle()
Gets the title.
|
abstract String |
getType()
Gets the identity type.
|
abstract boolean |
isGroup()
Checks if it is a group.
|
static boolean |
isValidId(String id)
Checks is ID valid (not null, not empty and not longer of 255) chars.
|
protected void |
setAvatarLink(String avatarLink)
Sets the avatar link.
|
protected void |
setProfileLink(String profileLink)
Sets the profile link.
|
public static final int ID_MAX_LENGTH
public static final String EMPTY
protected final String title
protected final String id
protected String avatarLink
protected String profileLink
public static boolean isValidId(String id)
id - the idpublic String getId()
public String getTitle()
public String getAvatarLink()
public String getProfileLink()
protected void setAvatarLink(String avatarLink)
avatarLink - the new avatar linkprotected void setProfileLink(String profileLink)
profileLink - the new profile linkpublic abstract boolean isGroup()
public abstract String getType()
Copyright © 2003–2018 eXo Platform SAS. All rights reserved.