public class SiteQuery extends Object
SiteQuery.Builder
.Modifier and Type | Class and Description |
---|---|
static class |
SiteQuery.Builder
The builder class responsible for building SiteQuery objects.
|
Modifier and Type | Method and Description |
---|---|
Filter<Site> |
getFilter() |
Pagination |
getPagination() |
EnumSet<SiteType> |
getSiteTypes()
The site types used for this query.
|
Sorting<Site> |
getSorting() |
boolean |
isIncludeEmptySites()
The flag indicates if the query should include/exclude sites that are empty.
|
SiteQuery |
nextPage()
Convenience method for creating a new SiteQuery with pagination set to the next page represented by by
Pagination.getNext() |
SiteQuery |
previousPage()
Convenience method for creating a new SiteQuery with pagination set to the previous page represented by by
Pagination.getPrevious() |
public EnumSet<SiteType> getSiteTypes()
public boolean isIncludeEmptySites()
/platform
is the parent group of /platform/administrators
, however the /platform space should
never be returned as a site in most cases.public Pagination getPagination()
public SiteQuery nextPage()
Pagination.getNext()
public SiteQuery previousPage()
Pagination.getPrevious()
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.