Liferay 7.0-ce-b4

com.liferay.portal.search.test
Class SearchTestUtil

java.lang.Object
  extended by com.liferay.portal.search.test.SearchTestUtil

public class SearchTestUtil
extends Object


Field Summary
static String ATTACHMENT_OWNER_CLASS_NAME
           
static long ATTACHMENT_OWNER_CLASS_NAME_ID
           
static long ATTACHMENT_OWNER_CLASS_PK
           
static long ENTRY_CLASS_PK
           
static String SUMMARY_CONTENT
           
static String SUMMARY_TITLE
           
 
Constructor Summary
SearchTestUtil()
           
 
Method Summary
static Document createAttachmentDocument(String entryClassName)
           
static Document createAttachmentDocument(String entryClassName, long entryClassPK)
           
static Document createDocument(String entryClassName)
           
static Document createDocument(String entryClassName, long entryClassPK)
           
static List<SearchResult> getSearchResults(SearchResultTranslator searchResultTranslator, Document... documents)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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 Detail

SearchTestUtil

public SearchTestUtil()
Method Detail

createAttachmentDocument

public static Document createAttachmentDocument(String entryClassName)

createAttachmentDocument

public static Document createAttachmentDocument(String entryClassName,
                                                long entryClassPK)

createDocument

public static Document createDocument(String entryClassName)

createDocument

public static Document createDocument(String entryClassName,
                                      long entryClassPK)

getSearchResults

public static List<SearchResult> getSearchResults(SearchResultTranslator searchResultTranslator,
                                                  Document... documents)

Liferay 7.0-ce-b4