Package com.google.gerrit.server
Interface StarredChangesReader
- All Known Subinterfaces:
StarredChangesUtil
- All Known Implementing Classes:
StarredChangesUtilNoteDbImpl
public interface StarredChangesReader
-
Method Summary
Modifier and TypeMethodDescriptionareStarred
(org.eclipse.jgit.lib.Repository allUsersRepo, List<Change.Id> changeIds, Account.Id caller) Returns a subset of change IDs among the inputchangeIds
list that are starred by thecaller
user.com.google.common.collect.ImmutableSet<Change.Id>
byAccountId
(Account.Id accountId) com.google.common.collect.ImmutableSet<Change.Id>
byAccountId
(Account.Id accountId, boolean skipInvalidChanges) com.google.common.collect.ImmutableMap<Account.Id,
org.eclipse.jgit.lib.Ref> boolean
isStarred
(Account.Id accountId, Change.Id changeId)
-
Method Details
-
isStarred
-
areStarred
Set<Change.Id> areStarred(org.eclipse.jgit.lib.Repository allUsersRepo, List<Change.Id> changeIds, Account.Id caller) Returns a subset of change IDs among the inputchangeIds
list that are starred by thecaller
user. -
byChange
com.google.common.collect.ImmutableMap<Account.Id,org.eclipse.jgit.lib.Ref> byChange(Change.Id changeId) -
byAccountId
-
byAccountId
com.google.common.collect.ImmutableSet<Change.Id> byAccountId(Account.Id accountId, boolean skipInvalidChanges)
-