com.liferay.portal.kernel.search
Class SearchResult
java.lang.Object
com.liferay.portal.kernel.search.SearchResult
public class SearchResult
- extends Object
SearchResult
public SearchResult(String className,
long classPK)
addComment
public void addComment(Comment comment,
Summary summary)
addFileEntry
public void addFileEntry(FileEntry fileEntry,
Summary summary)
addVersion
public void addVersion(String version)
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
getClassName
public String getClassName()
getClassPK
public long getClassPK()
getCommentRelatedSearchResults
public List<RelatedSearchResult<Comment>> getCommentRelatedSearchResults()
getFileEntryRelatedSearchResults
public List<RelatedSearchResult<FileEntry>> getFileEntryRelatedSearchResults()
getSummary
public Summary getSummary()
getVersions
public List<String> getVersions()
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
setClassName
@Deprecated
public void setClassName(String className)
- Deprecated. As of 7.0.0, with no direct replacement
setClassPK
@Deprecated
public void setClassPK(long classPK)
- Deprecated. As of 7.0.0, with no direct replacement
setSummary
public void setSummary(Summary summary)