Class HeadlessSearchDataProvider

    • Constructor Detail

      • HeadlessSearchDataProvider

        public HeadlessSearchDataProvider()
    • Method Detail

      • populateRowSlugField

        protected void populateRowSlugField​(SessionConfig sessionConfig,
                                            ISourceData row,
                                            ISearchHit hit,
                                            java.lang.String fieldId,
                                            SearchSource searchSource,
                                            ITransaction transaction)
        Populates the slug field for the given row.
        Parameters:
        sessionConfig - the user's session.
        row - the row to be populated.
        hit - the search hit.
        fieldId - the identifier of the field currently being populated.
        searchSource - the search source.
        transaction - the transaction.
        Since:
        14.2.0
      • populateRowURLField

        protected void populateRowURLField​(SessionConfig sessionConfig,
                                           ISourceData row,
                                           ISearchHit hit,
                                           java.lang.String fieldId,
                                           SearchSource searchSource,
                                           ITransaction transaction)
                                    throws PortalException
        Populates the URL field for the given row.
        Parameters:
        sessionConfig - the user's session.
        row - the row to be populated.
        hit - the search hit.
        fieldId - the identifier of the field currently being populated.
        searchSource - the search source.
        transaction - the transaction.
        Throws:
        PortalException
        Since:
        14.2.0