com.liferay.portlet.wiki.util
Class Indexer

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

Field Summary
static java.lang.String PORTLET_ID
           
 
Fields inherited from interface com.liferay.portal.kernel.search.Indexer
DEFAULT_INTERVAL
 
Constructor Summary
Indexer()
           
 
Method Summary
static void addPage(long companyId, long groupId, long userId, long resourcePrimKey, long nodeId, java.lang.String title, java.lang.String content, java.util.Date modifiedDate, java.lang.String[] tagsCategories, java.lang.String[] tagsEntries, com.liferay.portlet.expando.model.ExpandoBridge expandoBridge)
           
static void addPage(long companyId, long groupId, long resourcePrimKey, long nodeId, java.lang.String title, java.lang.String content, java.util.Date modifiedDate, java.lang.String[] tagsCategories, java.lang.String[] tagsEntries, com.liferay.portlet.expando.model.ExpandoBridge expandoBridge)
          Deprecated.  
static void deletePage(long companyId, long nodeId, java.lang.String title)
           
static void deletePages(long companyId, long nodeId)
           
 java.lang.String[] getClassNames()
           
 com.liferay.portal.kernel.search.DocumentSummary getDocumentSummary(com.liferay.portal.kernel.search.Document doc, java.lang.String snippet, javax.portlet.PortletURL portletURL)
           
static com.liferay.portal.kernel.search.Document getPageDocument(long companyId, long groupId, long userId, long resourcePrimKey, long nodeId, java.lang.String title, java.lang.String content, java.util.Date modifiedDate, java.lang.String[] tagsCategories, java.lang.String[] tagsEntries, com.liferay.portlet.expando.model.ExpandoBridge expandoBridge)
           
static com.liferay.portal.kernel.search.Document getPageDocument(long companyId, long groupId, long resourcePrimKey, long nodeId, java.lang.String title, java.lang.String content, java.util.Date modifiedDate, java.lang.String[] tagsCategories, java.lang.String[] tagsEntries, com.liferay.portlet.expando.model.ExpandoBridge expandoBridge)
          Deprecated.  
static java.lang.String getPageUID(long nodeId, java.lang.String title)
           
 void reIndex(java.lang.String[] ids)
           
 void reIndex(java.lang.String className, long classPK)
           
static void updatePage(long companyId, long groupId, long userId, long resourcePrimKey, long nodeId, java.lang.String title, java.lang.String content, java.util.Date modifiedDate, java.lang.String[] tagsCategories, java.lang.String[] tagsEntries, com.liferay.portlet.expando.model.ExpandoBridge expandoBridge)
           
static void updatePage(long companyId, long groupId, long resourcePrimKey, long nodeId, java.lang.String title, java.lang.String content, java.util.Date modifiedDate, java.lang.String[] tagsCategories, java.lang.String[] tagsEntries, com.liferay.portlet.expando.model.ExpandoBridge expandoBridge)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PORTLET_ID

public static final java.lang.String PORTLET_ID
See Also:
Constant Field Values
Constructor Detail

Indexer

public Indexer()
Method Detail

addPage

public static void addPage(long companyId,
                           long groupId,
                           long userId,
                           long resourcePrimKey,
                           long nodeId,
                           java.lang.String title,
                           java.lang.String content,
                           java.util.Date modifiedDate,
                           java.lang.String[] tagsCategories,
                           java.lang.String[] tagsEntries,
                           com.liferay.portlet.expando.model.ExpandoBridge expandoBridge)
                    throws com.liferay.portal.kernel.search.SearchException
Throws:
com.liferay.portal.kernel.search.SearchException

addPage

public static void addPage(long companyId,
                           long groupId,
                           long resourcePrimKey,
                           long nodeId,
                           java.lang.String title,
                           java.lang.String content,
                           java.util.Date modifiedDate,
                           java.lang.String[] tagsCategories,
                           java.lang.String[] tagsEntries,
                           com.liferay.portlet.expando.model.ExpandoBridge expandoBridge)
                    throws com.liferay.portal.kernel.search.SearchException
Deprecated. 

Throws:
com.liferay.portal.kernel.search.SearchException

deletePage

public static void deletePage(long companyId,
                              long nodeId,
                              java.lang.String title)
                       throws com.liferay.portal.kernel.search.SearchException
Throws:
com.liferay.portal.kernel.search.SearchException

deletePages

public static void deletePages(long companyId,
                               long nodeId)
                        throws com.liferay.portal.kernel.search.SearchException
Throws:
com.liferay.portal.kernel.search.SearchException

getPageDocument

public static com.liferay.portal.kernel.search.Document getPageDocument(long companyId,
                                                                        long groupId,
                                                                        long userId,
                                                                        long resourcePrimKey,
                                                                        long nodeId,
                                                                        java.lang.String title,
                                                                        java.lang.String content,
                                                                        java.util.Date modifiedDate,
                                                                        java.lang.String[] tagsCategories,
                                                                        java.lang.String[] tagsEntries,
                                                                        com.liferay.portlet.expando.model.ExpandoBridge expandoBridge)

getPageDocument

public static com.liferay.portal.kernel.search.Document getPageDocument(long companyId,
                                                                        long groupId,
                                                                        long resourcePrimKey,
                                                                        long nodeId,
                                                                        java.lang.String title,
                                                                        java.lang.String content,
                                                                        java.util.Date modifiedDate,
                                                                        java.lang.String[] tagsCategories,
                                                                        java.lang.String[] tagsEntries,
                                                                        com.liferay.portlet.expando.model.ExpandoBridge expandoBridge)
Deprecated. 


getPageUID

public static java.lang.String getPageUID(long nodeId,
                                          java.lang.String title)

updatePage

public static void updatePage(long companyId,
                              long groupId,
                              long userId,
                              long resourcePrimKey,
                              long nodeId,
                              java.lang.String title,
                              java.lang.String content,
                              java.util.Date modifiedDate,
                              java.lang.String[] tagsCategories,
                              java.lang.String[] tagsEntries,
                              com.liferay.portlet.expando.model.ExpandoBridge expandoBridge)
                       throws com.liferay.portal.kernel.search.SearchException
Throws:
com.liferay.portal.kernel.search.SearchException

updatePage

public static void updatePage(long companyId,
                              long groupId,
                              long resourcePrimKey,
                              long nodeId,
                              java.lang.String title,
                              java.lang.String content,
                              java.util.Date modifiedDate,
                              java.lang.String[] tagsCategories,
                              java.lang.String[] tagsEntries,
                              com.liferay.portlet.expando.model.ExpandoBridge expandoBridge)
                       throws com.liferay.portal.kernel.search.SearchException
Deprecated. 

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,
                                                                           java.lang.String snippet,
                                                                           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