com.liferay.portal.search
Class IndexWriterImpl
java.lang.Object
com.liferay.portal.search.IndexWriterImpl
- All Implemented Interfaces:
- com.liferay.portal.kernel.search.IndexWriter
public class IndexWriterImpl
- extends java.lang.Object
- implements com.liferay.portal.kernel.search.IndexWriter
View Source
- Author:
- Bruno Farache
Method Summary |
void |
addDocument(long companyId,
com.liferay.portal.kernel.search.Document document)
|
void |
addDocuments(long companyId,
java.util.Collection<com.liferay.portal.kernel.search.Document> documents)
|
void |
deleteDocument(long companyId,
java.lang.String uid)
|
void |
deleteDocuments(long companyId,
java.util.Collection<java.lang.String> uids)
|
void |
deletePortletDocuments(long companyId,
java.lang.String portletId)
|
void |
updateDocument(long companyId,
com.liferay.portal.kernel.search.Document document)
|
void |
updateDocuments(long companyId,
java.util.Collection<com.liferay.portal.kernel.search.Document> documents)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IndexWriterImpl
public IndexWriterImpl()
addDocument
public void addDocument(long companyId,
com.liferay.portal.kernel.search.Document document)
- Specified by:
addDocument
in interface com.liferay.portal.kernel.search.IndexWriter
addDocuments
public void addDocuments(long companyId,
java.util.Collection<com.liferay.portal.kernel.search.Document> documents)
- Specified by:
addDocuments
in interface com.liferay.portal.kernel.search.IndexWriter
deleteDocument
public void deleteDocument(long companyId,
java.lang.String uid)
- Specified by:
deleteDocument
in interface com.liferay.portal.kernel.search.IndexWriter
deleteDocuments
public void deleteDocuments(long companyId,
java.util.Collection<java.lang.String> uids)
- Specified by:
deleteDocuments
in interface com.liferay.portal.kernel.search.IndexWriter
deletePortletDocuments
public void deletePortletDocuments(long companyId,
java.lang.String portletId)
- Specified by:
deletePortletDocuments
in interface com.liferay.portal.kernel.search.IndexWriter
updateDocument
public void updateDocument(long companyId,
com.liferay.portal.kernel.search.Document document)
- Specified by:
updateDocument
in interface com.liferay.portal.kernel.search.IndexWriter
updateDocuments
public void updateDocuments(long companyId,
java.util.Collection<com.liferay.portal.kernel.search.Document> documents)
- Specified by:
updateDocuments
in interface com.liferay.portal.kernel.search.IndexWriter