Class UserServiceImpl
java.lang.Object
org.exoplatform.task.service.impl.UserServiceImpl
- All Implemented Interfaces:
UserService
-
Constructor Summary
ConstructorsConstructorDescriptionUserServiceImpl(org.exoplatform.services.organization.OrganizationService orgService, org.exoplatform.social.core.manager.IdentityManager idMgr, DAOHandler handler) -
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)
-
Constructor Details
-
UserServiceImpl
public UserServiceImpl(org.exoplatform.services.organization.OrganizationService orgService, org.exoplatform.social.core.manager.IdentityManager idMgr, DAOHandler handler)
-
-
Method Details
-
loadUser
- Specified by:
loadUserin interfaceUserService
-
findUserByName
public org.exoplatform.commons.utils.ListAccess<User> findUserByName(String keyword, boolean excludeExternal) Description copied from interface:UserServiceFor 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- Specified by:
findUserByNamein interfaceUserService- Parameters:
keyword- name of the userexcludeExternal- if true, exclude external users from search- Returns:
- List of users
-
getUserSetting
- Specified by:
getUserSettingin interfaceUserService
-
hideProject
public void hideProject(org.exoplatform.services.security.Identity identity, Long projectId, boolean hide) throws EntityNotFoundException, NotAllowedOperationOnEntityException - Specified by:
hideProjectin interfaceUserService- Throws:
EntityNotFoundExceptionNotAllowedOperationOnEntityException
-
showHiddenProject
- Specified by:
showHiddenProjectin interfaceUserService
-
showHiddenLabel
- Specified by:
showHiddenLabelin interfaceUserService
-
getUserTimezone
- Specified by:
getUserTimezonein interfaceUserService
-