com.liferay.portlet.documentlibrary.util
Class Indexer

java.lang.Object
  extended by com.liferay.portlet.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, Raymond Augé

Constructor Summary
Indexer()
           
 
Method Summary
 java.lang.String[] getClassNames()
           
 com.liferay.portal.kernel.search.DocumentSummary getDocumentSummary(com.liferay.portal.kernel.search.Document doc, javax.portlet.PortletURL portletURL)
           
 void reIndex(java.lang.String[] ids)
           
 void reIndex(java.lang.String className, long classPK)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Indexer

public Indexer()
Method Detail

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)
             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

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