Package com.enonic.xp.content
Class FindContentByQueryResult.Builder
- java.lang.Object
-
- com.enonic.xp.content.FindContentByQueryResult.Builder
-
- Enclosing class:
- FindContentByQueryResult
public static final class FindContentByQueryResult.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FindContentByQueryResult.Builder
aggregations(Aggregations aggregations)
FindContentByQueryResult
build()
FindContentByQueryResult.Builder
contents(Contents contents)
FindContentByQueryResult.Builder
highlight(java.util.Map<ContentId,HighlightedProperties> highlight)
FindContentByQueryResult.Builder
hits(long hits)
FindContentByQueryResult.Builder
totalHits(long totalHits)
-
-
-
Method Detail
-
aggregations
public FindContentByQueryResult.Builder aggregations(Aggregations aggregations)
-
contents
public FindContentByQueryResult.Builder contents(Contents contents)
-
totalHits
public FindContentByQueryResult.Builder totalHits(long totalHits)
-
hits
public FindContentByQueryResult.Builder hits(long hits)
-
highlight
public FindContentByQueryResult.Builder highlight(java.util.Map<ContentId,HighlightedProperties> highlight)
-
build
public FindContentByQueryResult build()
-
-