com.atlassian.stash.user.RecentlyAccessedRepositoriesService |
Class Overview
Provides information about a history of repositories that a user has accessed while interacting with a Stash
instance.
Public Methods
Returns a page of repositories accessed most recently by the current user. The list is ordered most recent to
least recent. Only repositories the user can currently access at the level specified by permission
are returned.
Parameters
permission
| the permission that the effective user has to have with regards to the returned repositories.
The permission has to be repository-related |
pageRequest
| describes the page of recently accessed repositories to retrieve |
@Nonnull
public
Page<Repository>
findByCurrentUser
(PageRequest pageRequest)
Parameters
pageRequest
| describes the page of recently accessed repositories to retrieve |