Class SearchTestUtil

java.lang.Object
com.liferay.portal.search.test.util.SearchTestUtil

public class SearchTestUtil extends Object
  • Field Details

    • ATTACHMENT_OWNER_CLASS_NAME

      public static final String ATTACHMENT_OWNER_CLASS_NAME
    • ATTACHMENT_OWNER_CLASS_NAME_ID

      public static final long ATTACHMENT_OWNER_CLASS_NAME_ID
    • ATTACHMENT_OWNER_CLASS_PK

      public static final long ATTACHMENT_OWNER_CLASS_PK
    • ENTRY_CLASS_PK

      public static final long ENTRY_CLASS_PK
    • SUMMARY_CONTENT

      public static final String SUMMARY_CONTENT
    • SUMMARY_TITLE

      public static final String SUMMARY_TITLE
  • Constructor Details

    • SearchTestUtil

      public SearchTestUtil()
  • Method Details

    • createAttachmentDocument

      public static com.liferay.portal.kernel.search.Document createAttachmentDocument(String entryClassName)
    • createAttachmentDocument

      public static com.liferay.portal.kernel.search.Document createAttachmentDocument(String entryClassName, long entryClassPK)
    • createDocument

      public static com.liferay.portal.kernel.search.Document createDocument(String entryClassName)
    • createDocument

      public static com.liferay.portal.kernel.search.Document createDocument(String entryClassName, long entryClassPK)
    • getSearchResults

      public static List<com.liferay.portal.kernel.search.SearchResult> getSearchResults(com.liferay.portal.kernel.search.result.SearchResultTranslator searchResultTranslator, com.liferay.portal.kernel.search.Document... documents)