public class PagingResponseBuilder extends FeatureResponseBuilderImpl
Constructor and Description |
---|
PagingResponseBuilder() |
Modifier and Type | Method and Description |
---|---|
Object |
buildAttributeResponse(PersistenceContext context,
Map<String,Object> queryParams,
String attribute,
Object results,
jakarta.ws.rs.core.UriInfo uriInfo)
Builds the attribute response.
|
Object |
buildReadAllQueryResponse(PersistenceContext context,
Map<String,Object> queryParams,
List<Object> items,
jakarta.ws.rs.core.UriInfo uriInfo)
Builds the read all query response.
|
Object |
buildReportQueryResponse(PersistenceContext context,
Map<String,Object> queryParams,
List<Object[]> results,
List<org.eclipse.persistence.internal.queries.ReportItem> items,
jakarta.ws.rs.core.UriInfo uriInfo)
Builds the report query response.
|
buildSingleEntityResponse, buildSingleResultQueryResponse, createShellJAXBElementList
public Object buildReadAllQueryResponse(PersistenceContext context, Map<String,Object> queryParams, List<Object> items, jakarta.ws.rs.core.UriInfo uriInfo)
buildReadAllQueryResponse
in interface FeatureResponseBuilder
buildReadAllQueryResponse
in class FeatureResponseBuilderImpl
context
- the contextqueryParams
- the query paramsitems
- the itemsuriInfo
- the uri infopublic Object buildReportQueryResponse(PersistenceContext context, Map<String,Object> queryParams, List<Object[]> results, List<org.eclipse.persistence.internal.queries.ReportItem> items, jakarta.ws.rs.core.UriInfo uriInfo)
buildReportQueryResponse
in interface FeatureResponseBuilder
buildReportQueryResponse
in class FeatureResponseBuilderImpl
context
- the contextqueryParams
- the query paramsresults
- the resultsitems
- the itemsuriInfo
- the uri infopublic Object buildAttributeResponse(PersistenceContext context, Map<String,Object> queryParams, String attribute, Object results, jakarta.ws.rs.core.UriInfo uriInfo)
buildAttributeResponse
in interface FeatureResponseBuilder
buildAttributeResponse
in class FeatureResponseBuilderImpl
context
- the contextqueryParams
- the query paramsattribute
- the attributeresults
- the resultsuriInfo
- the uri infoCopyright © 2007–2020 Eclipse.org - EclipseLink Project. All rights reserved.