public class SelfLinksResponseBuilder extends FeatureResponseBuilderImpl
Constructor and Description |
---|
SelfLinksResponseBuilder() |
Modifier and Type | Method and Description |
---|---|
Object |
buildAttributeResponse(PersistenceContext context,
Map<String,Object> queryParams,
String attribute,
Object item,
javax.ws.rs.core.UriInfo uriInfo)
Builds the attribute response.
|
Object |
buildReadAllQueryResponse(PersistenceContext context,
Map<String,Object> queryParams,
List<Object> items,
javax.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,
javax.ws.rs.core.UriInfo uriInfo)
Builds the report query response.
|
Object |
buildSingleEntityResponse(PersistenceContext context,
Map<String,Object> queryParams,
Object result,
javax.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,
javax.ws.rs.core.UriInfo uriInfo)
Builds the single result query response.
|
createShellJAXBElementList
public Object buildReadAllQueryResponse(PersistenceContext context, Map<String,Object> queryParams, List<Object> items, javax.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, javax.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 buildSingleResultQueryResponse(PersistenceContext context, Map<String,Object> queryParams, Object result, List<org.eclipse.persistence.internal.queries.ReportItem> items, javax.ws.rs.core.UriInfo uriInfo)
buildSingleResultQueryResponse
in interface FeatureResponseBuilder
buildSingleResultQueryResponse
in class FeatureResponseBuilderImpl
context
- the contextqueryParams
- the query paramsresult
- the resultitems
- the report items (result of ReportQuery)uriInfo
- the uri infopublic Object buildAttributeResponse(PersistenceContext context, Map<String,Object> queryParams, String attribute, Object item, javax.ws.rs.core.UriInfo uriInfo)
buildAttributeResponse
in interface FeatureResponseBuilder
buildAttributeResponse
in class FeatureResponseBuilderImpl
context
- the contextqueryParams
- the query paramsattribute
- the attributeitem
- the resultsuriInfo
- the uri infopublic Object buildSingleEntityResponse(PersistenceContext context, Map<String,Object> queryParams, Object result, javax.ws.rs.core.UriInfo uriInfo)
buildSingleEntityResponse
in interface FeatureResponseBuilder
buildSingleEntityResponse
in class FeatureResponseBuilderImpl
context
- the contextqueryParams
- the query paramsresult
- the resulturiInfo
- the uri info