public class GroupQueryProcessor extends QueryProcessor<AccountGroup>
QueryProcessor.Metrics
start, userProvider
Modifier | Constructor and Description |
---|---|
protected |
GroupQueryProcessor(com.google.inject.Provider<CurrentUser> userProvider,
QueryProcessor.Metrics metrics,
IndexConfig indexConfig,
GroupIndexCollection indexes,
GroupIndexRewriter rewriter,
GroupControl.GenericFactory groupControlFactory) |
Modifier and Type | Method and Description |
---|---|
protected Predicate<AccountGroup> |
enforceVisibility(Predicate<AccountGroup> pred)
Invoked after the query was rewritten.
|
createOptions, enforceVisibility, isDisabled, query, query, setLimit, setRequestedFields, setStart
@Inject protected GroupQueryProcessor(com.google.inject.Provider<CurrentUser> userProvider, QueryProcessor.Metrics metrics, IndexConfig indexConfig, GroupIndexCollection indexes, GroupIndexRewriter rewriter, GroupControl.GenericFactory groupControlFactory)
protected Predicate<AccountGroup> enforceVisibility(Predicate<AccountGroup> pred)
QueryProcessor
enforceVisibility
in class QueryProcessor<AccountGroup>
pred
- the query