public class FeatureResponseBuilderImpl extends Object implements FeatureResponseBuilder
Constructor and Description |
---|
FeatureResponseBuilderImpl() |
Modifier and Type | Method and Description |
---|---|
Object |
buildAttributeResponse(PersistenceContext context,
Map<String,Object> queryParams,
String attribute,
Object result,
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.
|
Object |
buildSingleEntityResponse(PersistenceContext context,
Map<String,Object> queryParams,
Object result,
jakarta.ws.rs.core.UriInfo uriInfo)
Builds the single entity response.
|
Object |
buildSingleResultQueryResponse(PersistenceContext context,
Map<String,Object> queryParams,
Object result,
List<org.eclipse.persistence.internal.queries.ReportItem> items,
jakarta.ws.rs.core.UriInfo uriInfo)
Builds the single result query response.
|
List<jakarta.xml.bind.JAXBElement<?>> |
createShellJAXBElementList(List<org.eclipse.persistence.internal.queries.ReportItem> reportItems,
Object record)
Creates the shell jaxb element list.
|
public Object buildReadAllQueryResponse(PersistenceContext context, Map<String,Object> queryParams, List<Object> items, jakarta.ws.rs.core.UriInfo uriInfo)
buildReadAllQueryResponse
in interface FeatureResponseBuilder
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
context
- the contextqueryParams
- the query paramsresults
- the resultsitems
- the itemsuriInfo
- the uri infopublic Object buildAttributeResponse(PersistenceContext context, Map<String,Object> queryParams, String attribute, Object result, jakarta.ws.rs.core.UriInfo uriInfo)
buildAttributeResponse
in interface FeatureResponseBuilder
context
- the contextqueryParams
- the query paramsattribute
- the attributeresult
- the resultsuriInfo
- the uri infopublic Object buildSingleResultQueryResponse(PersistenceContext context, Map<String,Object> queryParams, Object result, List<org.eclipse.persistence.internal.queries.ReportItem> items, jakarta.ws.rs.core.UriInfo uriInfo)
buildSingleResultQueryResponse
in interface FeatureResponseBuilder
context
- the contextqueryParams
- the query paramsresult
- the resultitems
- the report items (result of ReportQuery)uriInfo
- the uri infopublic Object buildSingleEntityResponse(PersistenceContext context, Map<String,Object> queryParams, Object result, jakarta.ws.rs.core.UriInfo uriInfo)
buildSingleEntityResponse
in interface FeatureResponseBuilder
context
- the contextqueryParams
- the query paramsresult
- the resulturiInfo
- the uri infopublic List<jakarta.xml.bind.JAXBElement<?>> createShellJAXBElementList(List<org.eclipse.persistence.internal.queries.ReportItem> reportItems, Object record)
reportItems
- the report itemsrecord
- the recordCopyright © 2007–2020 Eclipse.org - EclipseLink Project. All rights reserved.