Class PagingResponseBuilder

  • All Implemented Interfaces:
    FeatureResponseBuilder

    public class PagingResponseBuilder
    extends FeatureResponseBuilderImpl
    FeatureResponseBuilder implementation used for pageable collections. Used in JPARS 2.0.
    Author:
    gonural
    Since:
    EclipseLink 2.6.0.
    • Constructor Detail

      • PagingResponseBuilder

        public PagingResponseBuilder()
    • Method Detail

      • buildReportQueryResponse

        public 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.
        Specified by:
        buildReportQueryResponse in interface FeatureResponseBuilder
        Overrides:
        buildReportQueryResponse in class FeatureResponseBuilderImpl
        Parameters:
        context - the context
        queryParams - the query params
        results - the results
        items - the items
        uriInfo - the uri info
        Returns:
        the object
      • buildAttributeResponse

        public java.lang.Object buildAttributeResponse​(PersistenceContext context,
                                                       java.util.Map<java.lang.String,​java.lang.Object> queryParams,
                                                       java.lang.String attribute,
                                                       java.lang.Object results,
                                                       javax.ws.rs.core.UriInfo uriInfo)
        Builds the attribute response.
        Specified by:
        buildAttributeResponse in interface FeatureResponseBuilder
        Overrides:
        buildAttributeResponse in class FeatureResponseBuilderImpl
        Parameters:
        context - the context
        queryParams - the query params
        attribute - the attribute
        results - the results
        uriInfo - the uri info
        Returns:
        the object