public class SelfLinksResponseBuilder extends FeatureResponseBuilderImpl
| Constructor and Description |
|---|
SelfLinksResponseBuilder() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
buildAttributeResponse(PersistenceContext context,
java.util.Map<java.lang.String,java.lang.Object> queryParams,
java.lang.String attribute,
java.lang.Object item,
javax.ws.rs.core.UriInfo uriInfo)
Builds the attribute response.
|
java.lang.Object |
buildReadAllQueryResponse(PersistenceContext context,
java.util.Map<java.lang.String,java.lang.Object> queryParams,
java.util.List<java.lang.Object> items,
javax.ws.rs.core.UriInfo uriInfo)
Builds the read all query response.
|
java.lang.Object |
buildReportQueryResponse(PersistenceContext context,
java.util.Map<java.lang.String,java.lang.Object> queryParams,
java.util.List<java.lang.Object[]> results,
java.util.List<org.eclipse.persistence.internal.queries.ReportItem> items,
javax.ws.rs.core.UriInfo uriInfo)
Builds the report query response.
|
java.lang.Object |
buildSingleEntityResponse(PersistenceContext context,
java.util.Map<java.lang.String,java.lang.Object> queryParams,
java.lang.Object result,
javax.ws.rs.core.UriInfo uriInfo)
Builds the single entity response.
|
java.lang.Object |
buildSingleResultQueryResponse(PersistenceContext context,
java.util.Map<java.lang.String,java.lang.Object> queryParams,
java.lang.Object result,
java.util.List<org.eclipse.persistence.internal.queries.ReportItem> items,
javax.ws.rs.core.UriInfo uriInfo)
Builds the single result query response.
|
createShellJAXBElementListpublic java.lang.Object buildReadAllQueryResponse(PersistenceContext context, java.util.Map<java.lang.String,java.lang.Object> queryParams, java.util.List<java.lang.Object> items, javax.ws.rs.core.UriInfo uriInfo)
buildReadAllQueryResponse in interface FeatureResponseBuilderbuildReadAllQueryResponse in class FeatureResponseBuilderImplcontext - the contextqueryParams - the query paramsitems - the itemsuriInfo - the uri infopublic java.lang.Object buildReportQueryResponse(PersistenceContext context, java.util.Map<java.lang.String,java.lang.Object> queryParams, java.util.List<java.lang.Object[]> results, java.util.List<org.eclipse.persistence.internal.queries.ReportItem> items, javax.ws.rs.core.UriInfo uriInfo)
buildReportQueryResponse in interface FeatureResponseBuilderbuildReportQueryResponse in class FeatureResponseBuilderImplcontext - the contextqueryParams - the query paramsresults - the resultsitems - the itemsuriInfo - the uri infopublic java.lang.Object buildSingleResultQueryResponse(PersistenceContext context, java.util.Map<java.lang.String,java.lang.Object> queryParams, java.lang.Object result, java.util.List<org.eclipse.persistence.internal.queries.ReportItem> items, javax.ws.rs.core.UriInfo uriInfo)
buildSingleResultQueryResponse in interface FeatureResponseBuilderbuildSingleResultQueryResponse in class FeatureResponseBuilderImplcontext - the contextqueryParams - the query paramsresult - the resultitems - the report items (result of ReportQuery)uriInfo - the uri infopublic java.lang.Object buildAttributeResponse(PersistenceContext context, java.util.Map<java.lang.String,java.lang.Object> queryParams, java.lang.String attribute, java.lang.Object item, javax.ws.rs.core.UriInfo uriInfo)
buildAttributeResponse in interface FeatureResponseBuilderbuildAttributeResponse in class FeatureResponseBuilderImplcontext - the contextqueryParams - the query paramsattribute - the attributeitem - the resultsuriInfo - the uri infopublic java.lang.Object buildSingleEntityResponse(PersistenceContext context, java.util.Map<java.lang.String,java.lang.Object> queryParams, java.lang.Object result, javax.ws.rs.core.UriInfo uriInfo)
buildSingleEntityResponse in interface FeatureResponseBuilderbuildSingleEntityResponse in class FeatureResponseBuilderImplcontext - the contextqueryParams - the query paramsresult - the resulturiInfo - the uri info