Package org.exoplatform.chat.services
Class TokenServiceImpl
java.lang.Object
org.exoplatform.chat.services.TokenServiceImpl
- All Implemented Interfaces:
org.exoplatform.chat.services.TokenService
@Named("tokenService")
@ApplicationScoped
@Singleton
public class TokenServiceImpl
extends Object
implements org.exoplatform.chat.services.TokenService
-
Field Summary
Fields inherited from interface org.exoplatform.chat.services.TokenService
ANONIM_USER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgetActiveUsersFilterBy(String user, List<String> limitUsers, boolean withUsers, boolean withPublic, boolean isAdmin, int limit) booleanhasUserWithToken(String user, String token) booleanisDemoUser(String user) voidremoveUserToken(String user, String token)
-
Constructor Details
-
TokenServiceImpl
public TokenServiceImpl()
-
-
Method Details
-
getToken
- Specified by:
getTokenin interfaceorg.exoplatform.chat.services.TokenService
-
hasUserWithToken
- Specified by:
hasUserWithTokenin interfaceorg.exoplatform.chat.services.TokenService
-
addUser
- Specified by:
addUserin interfaceorg.exoplatform.chat.services.TokenService
-
removeUserToken
- Specified by:
removeUserTokenin interfaceorg.exoplatform.chat.services.TokenService
-
getActiveUsersFilterBy
public Map<String,org.exoplatform.chat.model.UserBean> getActiveUsersFilterBy(String user, List<String> limitUsers, boolean withUsers, boolean withPublic, boolean isAdmin, int limit) - Specified by:
getActiveUsersFilterByin interfaceorg.exoplatform.chat.services.TokenService
-
isDemoUser
- Specified by:
isDemoUserin interfaceorg.exoplatform.chat.services.TokenService
-