Class SearchResultReference

    • Constructor Detail

      • SearchResultReference

        public SearchResultReference​(String referralURL)
        Creates a new search result reference with the provided referral URL.
        Parameters:
        referralURL - The referral URL for this search result reference.
      • SearchResultReference

        public SearchResultReference​(List<String> referralURLs)
        Creates a new search result reference with the provided set of referral URLs and no controls.
        Parameters:
        referralURLs - The referral URLs for this search result reference.
      • SearchResultReference

        public SearchResultReference​(List<String> referralURLs,
                                     List<Control> controls)
        Creates a new search result reference with the provided set of referral URLs and no controls.
        Parameters:
        referralURLs - The referral URLs for this search result reference.
        controls - The set of controls for this search result reference.
    • Method Detail

      • getReferralURLs

        public List<String> getReferralURLs()
        Retrieves the set of referral URLs for this search result reference. It may be modified by the caller.
        Returns:
        The set of referral URLs for this search result reference.
      • getReferralURLString

        public String getReferralURLString()
        Retrieves a string representation of the referral URL(s) for this search result reference.
        Returns:
        A string representation of the referral URL(s) for this search result reference.
      • getControls

        public List<Control> getControls()
        Retrieves the set of controls to include with this search result reference when it is sent to the client. This set may be modified by the caller.
        Returns:
        The set of controls to include with this search result reference when it is sent to the client.