Liferay 7.0-ce-b4

com.liferay.portal.kernel.search
Class SearchResult

java.lang.Object
  extended by com.liferay.portal.kernel.search.SearchResult

public class SearchResult
extends Object


Constructor Summary
SearchResult(String className, long classPK)
           
 
Method Summary
 void addComment(Comment comment, Summary summary)
           
 void addFileEntry(FileEntry fileEntry, Summary summary)
           
 void addVersion(String version)
           
 boolean equals(Object obj)
           
 String getClassName()
           
 long getClassPK()
           
 List<RelatedSearchResult<Comment>> getCommentRelatedSearchResults()
           
 List<RelatedSearchResult<FileEntry>> getFileEntryRelatedSearchResults()
           
 Summary getSummary()
           
 List<String> getVersions()
           
 int hashCode()
           
 void setClassName(String className)
          Deprecated. As of 7.0.0, with no direct replacement
 void setClassPK(long classPK)
          Deprecated. As of 7.0.0, with no direct replacement
 void setSummary(Summary summary)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchResult

public SearchResult(String className,
                    long classPK)
Method Detail

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)

Liferay 7.0-ce-b4