Package org.exoplatform.task.service
Interface UserService
-
- All Known Implementing Classes:
UserServiceImpl
public interface UserService- Author:
- Tuyen Nguyen The.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.exoplatform.commons.utils.ListAccess<User>findUserByName(String keyword)For now, this method is used only for search user in assignee, permission or mention.UserSettinggetUserSetting(String username)TimeZonegetUserTimezone(String username)voidhideProject(org.exoplatform.services.security.Identity identity, Long projectId, boolean hide)UserloadUser(String username)voidshowHiddenLabel(String username, boolean show)voidshowHiddenProject(String username, boolean show)
-
-
-
Method Detail
-
findUserByName
org.exoplatform.commons.utils.ListAccess<User> findUserByName(String keyword)
For now, this method is used only for search user in assignee, permission or mention. These function use username, fullName and avatar, so some other infos will be null to avoid recall organizationService- Parameters:
keyword- name of the user- Returns:
- List of users
-
getUserSetting
UserSetting getUserSetting(String username)
-
showHiddenProject
void showHiddenProject(String username, boolean show)
-
showHiddenLabel
void showHiddenLabel(String username, boolean show)
-
hideProject
void hideProject(org.exoplatform.services.security.Identity identity, Long projectId, boolean hide) throws EntityNotFoundException, NotAllowedOperationOnEntityException
-
-