Interface UserService
public interface UserService
User Service
- 
Method SummaryModifier and TypeMethodDescriptionList<com.atlassian.jira.user.ApplicationUser>getAllUsers(com.atlassian.jira.user.ApplicationUser applicationUser, boolean includeInactive) Return all the users with user as contextgetLastVisitDate(com.atlassian.jira.user.ApplicationUser applicationUser, Filter filter) Return the last date when the filter was visitedcom.atlassian.jira.user.ApplicationUsergetUserByKey(String key) Return the user by a specific key without checked permissioncom.atlassian.jira.user.ApplicationUsergetUserByName(String name) Return the user by a specific name without checked permissioncom.atlassian.jira.user.ApplicationUsergetUserByName(String name, com.atlassian.jira.user.ApplicationUser contextUser) Return the user by a specific name with checked permissionlastFilters(com.atlassian.jira.user.ApplicationUser applicationUser) Returns the user views sorted by most visitedvoidvisitFilter(com.atlassian.jira.user.ApplicationUser applicationUser, Filter filter) Increment the visits counter for this view
- 
Method Details- 
visitFilterIncrement the visits counter for this view- Parameters:
- applicationUser- the user
- filter- the visited filter
 
- 
lastFiltersReturns the user views sorted by most visited- Parameters:
- applicationUser- the user
- Returns:
- the filter
 
- 
getLastVisitDateReturn the last date when the filter was visited- Parameters:
- applicationUser-
- filter-
- Returns:
- Date
 
- 
getUserByNameReturn the user by a specific name without checked permission- Parameters:
- name-
- Returns:
- an user
 
- 
getUserByNamecom.atlassian.jira.user.ApplicationUser getUserByName(String name, com.atlassian.jira.user.ApplicationUser contextUser) Return the user by a specific name with checked permission- Parameters:
- name-
- contextUser- an user to check permisison
- Returns:
- an user
 
- 
getUserByKeyReturn the user by a specific key without checked permission- Parameters:
- key-
- Returns:
- an user
 
- 
getAllUsersList<com.atlassian.jira.user.ApplicationUser> getAllUsers(@Nullable com.atlassian.jira.user.ApplicationUser applicationUser, boolean includeInactive) Return all the users with user as context- Returns:
- All the users
 
 
-