Package org.exoplatform.task.service
Interface UserService
- All Known Implementing Classes:
UserServiceImpl
public interface UserService
- Author:
- Tuyen Nguyen The.
-
Method Summary
Modifier and TypeMethodDescriptionorg.exoplatform.commons.utils.ListAccess<User>findUserByName(String keyword, boolean excludeExternal) For now, this method is used only for search user in assignee, permission or mention.getUserSetting(String username) getUserTimezone(String username) voidhideProject(org.exoplatform.services.security.Identity identity, Long projectId, boolean hide) voidshowHiddenLabel(String username, boolean show) voidshowHiddenProject(String username, boolean show)
-
Method Details
-
loadUser
-
findUserByName
org.exoplatform.commons.utils.ListAccess<User> findUserByName(String keyword, boolean excludeExternal) 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 userexcludeExternal- if true, exclude external users from search- Returns:
- List of users
-
getUserSetting
-
showHiddenProject
-
showHiddenLabel
-
hideProject
void hideProject(org.exoplatform.services.security.Identity identity, Long projectId, boolean hide) throws EntityNotFoundException, NotAllowedOperationOnEntityException -
getUserTimezone
-