com.liferay.documentlibrary.util
Class Indexer
java.lang.Object
com.liferay.documentlibrary.util.Indexer
- All Implemented Interfaces:
- com.liferay.portal.kernel.search.Indexer
public class Indexer
- extends java.lang.Object
- implements com.liferay.portal.kernel.search.Indexer
View Source
- Author:
- Brian Wing Shun Chan, Harry Mark, Bruno Farache, Raymond Augé
Fields inherited from interface com.liferay.portal.kernel.search.Indexer |
DEFAULT_INTERVAL |
Method Summary |
static void |
addFile(long companyId,
java.lang.String portletId,
long groupId,
long repositoryId,
java.lang.String fileName)
|
static void |
addFile(long companyId,
java.lang.String portletId,
long groupId,
long repositoryId,
java.lang.String fileName,
long fileEntryId,
java.lang.String properties,
java.util.Date modifiedDate,
java.lang.String[] tagsCategories,
java.lang.String[] tagsEntries)
|
static void |
deleteFile(long companyId,
java.lang.String portletId,
long repositoryId,
java.lang.String fileName)
|
java.lang.String[] |
getClassNames()
|
com.liferay.portal.kernel.search.DocumentSummary |
getDocumentSummary(com.liferay.portal.kernel.search.Document doc,
javax.portlet.PortletURL portletURL)
|
static com.liferay.portal.kernel.search.Document |
getFileDocument(long companyId,
java.lang.String portletId,
long groupId,
long repositoryId,
java.lang.String fileName)
|
static com.liferay.portal.kernel.search.Document |
getFileDocument(long companyId,
java.lang.String portletId,
long groupId,
long repositoryId,
java.lang.String fileName,
long fileEntryId,
java.lang.String properties,
java.util.Date modifiedDate,
java.lang.String[] tagsCategories,
java.lang.String[] tagsEntries)
|
static java.lang.String |
getFileUID(java.lang.String portletId,
long repositoryId,
java.lang.String fileName)
|
void |
reIndex(java.lang.String[] ids)
|
void |
reIndex(java.lang.String className,
long classPK)
|
static void |
updateFile(long companyId,
java.lang.String portletId,
long groupId,
long repositoryId,
java.lang.String fileName,
long fileEntryId,
java.lang.String properties,
java.util.Date modifiedDate,
java.lang.String[] tagsCategories,
java.lang.String[] tagsEntries)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Indexer
public Indexer()
addFile
public static void addFile(long companyId,
java.lang.String portletId,
long groupId,
long repositoryId,
java.lang.String fileName)
throws com.liferay.portal.kernel.search.SearchException
- Throws:
com.liferay.portal.kernel.search.SearchException
addFile
public static void addFile(long companyId,
java.lang.String portletId,
long groupId,
long repositoryId,
java.lang.String fileName,
long fileEntryId,
java.lang.String properties,
java.util.Date modifiedDate,
java.lang.String[] tagsCategories,
java.lang.String[] tagsEntries)
throws com.liferay.portal.kernel.search.SearchException
- Throws:
com.liferay.portal.kernel.search.SearchException
deleteFile
public static void deleteFile(long companyId,
java.lang.String portletId,
long repositoryId,
java.lang.String fileName)
throws com.liferay.portal.kernel.search.SearchException
- Throws:
com.liferay.portal.kernel.search.SearchException
getFileDocument
public static com.liferay.portal.kernel.search.Document getFileDocument(long companyId,
java.lang.String portletId,
long groupId,
long repositoryId,
java.lang.String fileName)
throws com.liferay.portal.kernel.search.SearchException
- Throws:
com.liferay.portal.kernel.search.SearchException
getFileDocument
public static com.liferay.portal.kernel.search.Document getFileDocument(long companyId,
java.lang.String portletId,
long groupId,
long repositoryId,
java.lang.String fileName,
long fileEntryId,
java.lang.String properties,
java.util.Date modifiedDate,
java.lang.String[] tagsCategories,
java.lang.String[] tagsEntries)
throws com.liferay.portal.kernel.search.SearchException
- Throws:
com.liferay.portal.kernel.search.SearchException
getFileUID
public static java.lang.String getFileUID(java.lang.String portletId,
long repositoryId,
java.lang.String fileName)
updateFile
public static void updateFile(long companyId,
java.lang.String portletId,
long groupId,
long repositoryId,
java.lang.String fileName,
long fileEntryId,
java.lang.String properties,
java.util.Date modifiedDate,
java.lang.String[] tagsCategories,
java.lang.String[] tagsEntries)
throws com.liferay.portal.kernel.search.SearchException
- Throws:
com.liferay.portal.kernel.search.SearchException
getClassNames
public java.lang.String[] getClassNames()
- Specified by:
getClassNames
in interface com.liferay.portal.kernel.search.Indexer
getDocumentSummary
public com.liferay.portal.kernel.search.DocumentSummary getDocumentSummary(com.liferay.portal.kernel.search.Document doc,
javax.portlet.PortletURL portletURL)
- Specified by:
getDocumentSummary
in interface com.liferay.portal.kernel.search.Indexer
reIndex
public void reIndex(java.lang.String className,
long classPK)
- Specified by:
reIndex
in interface com.liferay.portal.kernel.search.Indexer
reIndex
public void reIndex(java.lang.String[] ids)
throws com.liferay.portal.kernel.search.SearchException
- Specified by:
reIndex
in interface com.liferay.portal.kernel.search.Indexer
- Throws:
com.liferay.portal.kernel.search.SearchException