1
14
15 package com.liferay.portal.kernel.search;
16
17 import java.util.Collection;
18
19
24 public interface IndexWriter {
25
26 public void addDocument(long companyId, Document document)
27 throws SearchException;
28
29 public void addDocuments(long companyId, Collection<Document> documents)
30 throws SearchException;
31
32 public void deleteDocument(long companyId, String uid)
33 throws SearchException;
34
35 public void deleteDocuments(long companyId, Collection<String> uids)
36 throws SearchException;
37
38 public void deletePortletDocuments(long companyId, String portletId)
39 throws SearchException;
40
41 public void updateDocument(long companyId, Document document)
42 throws SearchException;
43
44 public void updateDocuments(long companyId, Collection<Document> documents)
45 throws SearchException;
46
47 }