public class SearchResultsUtil extends Object
| Constructor and Description |
|---|
SearchResultsUtil() |
| Modifier and Type | Method and Description |
|---|---|
static <T> List<T> |
constrainResults(List<T> results,
int startIndex,
int maxResults)
Performs a sublist operation on the list of results.
|
static List<String> |
convertEntitiesToNames(Iterable<? extends DirectoryEntity> entities)
Transforms collection of directory entities to collection of entity names.
|
public static List<String> convertEntitiesToNames(Iterable<? extends DirectoryEntity> entities)
entities - directory entities.public static <T> List<T> constrainResults(List<T> results, int startIndex, int maxResults)
T - type of results is unchanged.results - collection of all results.startIndex - start index for output.maxResults - max number of results for output. The special value EntityQuery.ALL_RESULTS is honoured.Copyright © 2018 Atlassian. All rights reserved.