Class MdmPageLinkBuilder

    • Method Detail

      • buildMdmPageLinks

        public static MdmPageLinkTuple buildMdmPageLinks​( theServletRequestDetails,
                                               <MdmLinkJson> theCurrentPage,
                                                         MdmPageRequest thePageRequest)
        Generates an MdmPageLinkTuple which contains previous/self/next links for pagination purposes.
        theServletRequestDetails - the incoming request details. Used to determine server base.
        theCurrentPage - the page of MDM link data. Used for determining if there are next/previous pages available.
        thePageRequest - the incoming Page request, containing requested offset and count. Used for building offset for outgoing URLs.
        the MdmPageLinkTuple