com.liferay.portlet.imagegallery.util
Class Indexer
java.lang.Object
com.liferay.portlet.imagegallery.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, Bruno Farache
Method Summary |
static void |
addImage(long companyId,
long groupId,
long folderId,
long imageId,
java.lang.String name,
java.lang.String description,
java.lang.String[] tagsEntries)
|
static void |
deleteImage(long companyId,
long imageId)
|
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 |
getImageDocument(long companyId,
long groupId,
long folderId,
long imageId,
java.lang.String name,
java.lang.String description,
java.lang.String[] tagsEntries)
|
static java.lang.String |
getImageUID(long imageId)
|
void |
reIndex(java.lang.String[] ids)
|
static void |
updateImage(long companyId,
long groupId,
long folderId,
long imageId,
java.lang.String name,
java.lang.String description,
java.lang.String[] tagsEntries)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PORTLET_ID
public static final java.lang.String PORTLET_ID
- See Also:
- Constant Field Values
Indexer
public Indexer()
addImage
public static void addImage(long companyId,
long groupId,
long folderId,
long imageId,
java.lang.String name,
java.lang.String description,
java.lang.String[] tagsEntries)
throws com.liferay.portal.kernel.search.SearchException
- Throws:
com.liferay.portal.kernel.search.SearchException
deleteImage
public static void deleteImage(long companyId,
long imageId)
throws com.liferay.portal.kernel.search.SearchException
- Throws:
com.liferay.portal.kernel.search.SearchException
getImageDocument
public static com.liferay.portal.kernel.search.Document getImageDocument(long companyId,
long groupId,
long folderId,
long imageId,
java.lang.String name,
java.lang.String description,
java.lang.String[] tagsEntries)
getImageUID
public static java.lang.String getImageUID(long imageId)
updateImage
public static void updateImage(long companyId,
long groupId,
long folderId,
long imageId,
java.lang.String name,
java.lang.String description,
java.lang.String[] tagsEntries)
throws com.liferay.portal.kernel.search.SearchException
- Throws:
com.liferay.portal.kernel.search.SearchException
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[] 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