public class GamificationUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
BLACK_LISTED_USERS_GROUP |
static String |
GAMIFICATION_DATAMODEL_MIGRATION_DONE |
static String |
GAMIFICATION_DATAMODEL_MIGRATION_DONE_KEY |
static String |
GAMIFICATION_DATAMODEL_MIGRATION_USER_KEY |
| Constructor and Description |
|---|
GamificationUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
extractProfileOwnerFromUrl(String url,
String separator)
Build current username from url
|
static org.exoplatform.social.core.space.model.Space |
extractSpaceNameFromUrl(String url)
Build space name from url
|
static boolean |
isBlackListed(String userName)
Compute the list of user whithin the black list (user we shouldn't display them on leaderboard screen)
|
public static String BLACK_LISTED_USERS_GROUP
public static final String GAMIFICATION_DATAMODEL_MIGRATION_USER_KEY
public static final String GAMIFICATION_DATAMODEL_MIGRATION_DONE_KEY
public static final String GAMIFICATION_DATAMODEL_MIGRATION_DONE
public static boolean isBlackListed(String userName)
userName - : the user social id to check if is already black listedpublic static String extractProfileOwnerFromUrl(String url, String separator)
url - : http urlseparator - : seperator to use to build profile's ownerCopyright © 2003–2019 eXo Platform SAS. All rights reserved.