Package | Description |
---|---|
org.gatein.api.page |
Modifier and Type | Method and Description |
---|---|
PageQuery.Builder |
PageQuery.Builder.from(PageQuery query)
Creates a new builder from an existing
PageQuery . |
PageQuery.Builder |
PageQuery.Builder.withDisplayName(String displayName)
Sets the display name for this builder to be used to query all sites that have the displayName.
|
PageQuery.Builder |
PageQuery.Builder.withFilter(Filter<Page> filter)
Sets the filter for this builder
|
PageQuery.Builder |
PageQuery.Builder.withNextPage()
Sets the pagination of this builder to
pagination.getNext() if it's not null. |
PageQuery.Builder |
PageQuery.Builder.withPagination(int offset,
int limit)
Sets the pagination object of this builder to use the specified offset and limit.
|
PageQuery.Builder |
PageQuery.Builder.withPagination(Pagination pagination)
Sets the pagination object of this builder
|
PageQuery.Builder |
PageQuery.Builder.withPreviousPage()
Sets the pagination of this builder to
pagination.getPrevious() if it's not null. |
PageQuery.Builder |
PageQuery.Builder.withSiteId(SiteId siteId)
Convenience method for setting both the site type and site name.
|
PageQuery.Builder |
PageQuery.Builder.withSiteName(String siteName)
Sets the siteName for this builder to be used to query all sites that have the name.
|
PageQuery.Builder |
PageQuery.Builder.withSiteType(SiteType siteType)
Sets the siteType for this builder to be used to query all sites that have the
SiteType . |
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.