com.liferay.portal.kernel.search.messaging
Class SearchRequest
java.lang.Object
com.liferay.portal.kernel.search.messaging.SearchRequest
- All Implemented Interfaces:
- java.io.Serializable
public class SearchRequest
- extends java.lang.Object
- implements java.io.Serializable
View Source
- Author:
- Bruno Farache
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
add
public static SearchRequest add(long companyId,
Document document)
delete
public static SearchRequest delete(long companyId,
java.lang.String uid)
deletePortletDocuments
public static SearchRequest deletePortletDocuments(long companyId,
java.lang.String portletId)
search
public static SearchRequest search(long companyId,
Query query,
Sort[] sorts,
int start,
int end)
update
public static SearchRequest update(long companyId,
java.lang.String uid,
Document document)
getCompanyId
public long getCompanyId()
getDocument
public Document getDocument()
getEnd
public int getEnd()
getId
public java.lang.String getId()
getQuery
public Query getQuery()
getSearchEngineCommand
public SearchEngineCommand getSearchEngineCommand()
getSorts
public Sort[] getSorts()
getStart
public int getStart()
setCompanyId
public void setCompanyId(long companyId)
setDocument
public void setDocument(Document document)
setEnd
public void setEnd(int end)
setId
public void setId(java.lang.String id)
setQuery
public void setQuery(Query query)
setSorts
public void setSorts(Sort[] sorts)
setStart
public void setStart(int start)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object